Releases: ingenerator/php-utils
Releases · ingenerator/php-utils
v2.2.0
v2.1.1
What's Changed
- Support specifying unescaped-slashes in JSON::encode()
- Don't escape / in JSON-encoded log payloads from StackdriverApplicationLogger
- Ensure StackdriverApplicationLogger can always log even with invalid UTF8 characters anywhere in payload
- Fix session & logging bugs when incoming user-agent contains invalid UTF8 or escape characters
Full Changelog: v2.1.0...v2.1.1
v2.1.0
v2.0.0
Fix session persistence bug, add more date helpers
- Add DateIntervalUtils to stringify a DateInterval, and DateIntervalFactory for shorthand creation
- Add DateTimeImmutableFactory::zeroMicros() to create / modify a DT with microseconds truncated to zero
- Add DateTimeImmutableFactory::fromIso() to strictly parse ISO 8601 / RFC 3339 date-time strings
- Fix bug where devices with long user agents generated a database exception when attempting to create a session.
v1.19.2
v1.19.1
v1.19.0
What's Changed
- Drop support for PHP 8.0 by @acoulton in #50
- Add light wrapper around native anonymous public key encryption #51
- Add a UniqueMap data structure class, for a strict associative array that throws on attempt to overwrite a key.
- Update readme now that this is in packagist
Full Changelog: v1.18.0...v1.19.0
v1.18.0
Tweak JSON::decode null behaviour and deprecate StrictDate validators
What's Changed
- Fix StrictDate::date_after tests & deprecate validating InvalidUserDateTime by @acoulton in #46
- Update JSON::decode to throw on null instead of catching ErrorException by @acoulton in #47
Full Changelog: v1.17.1...v1.17.2