Skip to content

Releases: bfitech/zapcore

2.3.1

02 Oct 20:38
2.3.1
Compare
Choose a tag to compare
  • Improve Header.
  • Improve ETag generator.
  • Improve Config subsection parsing.
  • Prevent Config::add from accepting numeric key.

2.3.0

11 Jul 05:56
2.3.0
Compare
Choose a tag to compare
  • Fix ParserError::PARAM_KEY_REUSED value.
  • Add middleware management.
  • Add Header::send_cookie_with_opts to send cookie with samesite and other future attributes. This is supported on PHP>=7.0.
  • Deprecate Header::send_cookie. This still works but is unable to send samesite attribute.

2.2.0

08 Feb 10:19
2.2.0
Compare
Choose a tag to compare
  • Reimplement static file serving. This is a breaking change at a lower level.
  • Strict type checking. Additionally, always use type hinting unless a parameter is intentionally able to have multiple types.
  • Add logger resource getter. Useful to merge log with other existing loggers.
  • Move path parsing functionalities to separate Parser class.
  • Reorganize default routing methods into separate RouteDefault class.
  • Improve Rout{er,ing}Dev classes. Allow merging request headers with those from environment variable.
  • Introduce JSON body parser.
  • Add additional reference parameter to Common::exec to separate output lines and return code. This is a breaking change in return value.
  • PHP 7.4 support.

2.1.1

15 Jul 01:03
2.1.1
Compare
Choose a tag to compare

Make ZapCoreDev\TestCase abstract so phpunit won't run it.

1.4.1

15 Jul 01:03
1.4.1
Compare
Choose a tag to compare

Make ZapCoreDev\TestCase abstract so phpunit won't run it.

2.1.0

14 Jul 18:59
2.1.0
Compare
Choose a tag to compare
  • Add ZapCore\Config, a generic configuration management.
  • Fix unexpected behaviour of ZapCoreDev\RoutingDev::request.
  • Add ZapCoreDev\TestCase, a wrapper of PHPUnit for lazy typers.
  • Bring back test directory checker, now renamed to ZapCoreDev\TestCase::tdir.
  • Strict type checking.

1.4.0

14 Jul 18:50
1.4.0
Compare
Choose a tag to compare

2.1.0 backport. Use this only if you're stuck with PHP 5.

2.0.0

05 May 12:40
2.0.0
Compare
Choose a tag to compare
  • Drop PHP 5.6 support.
  • Support PHP 7.3.
  • Comprehensive type hinting.
  • Simplify constructor parameters of Router.
  • Throw exceptions on route path errors.
  • Change parameters of Header::send_file.
  • Remove HTTP-based test classes.
  • Remove logging temporary de/activation.
  • Stricter linter.

1.3.7

18 Jul 06:04
1.3.7
Compare
Choose a tag to compare
  • End of PHP 5.6 support.
  • Fix route path parser bug.
  • Simplify unit tests.

1.3.6

18 Jul 06:03
1.3.6
Compare
Choose a tag to compare

Mark PHP 7.2 as unsupported.