Skip to content

Releases: ingenerator/php-utils

v2.2.0

14 Nov 14:16
5d21d8a
Compare
Choose a tag to compare

What's Changed

  • feature: Add ago() and future() helpers to RealtimeClock by @acoulton in #62

Full Changelog: v2.1.1...v2.2.0

v2.1.1

13 Sep 11:54
9f63045
Compare
Choose a tag to compare

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

02 Aug 16:54
f5168a7
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.0...v2.1.0

v2.0.0

27 Oct 10:15
4277373
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.20.0...v2.0.0

Fix session persistence bug, add more date helpers

17 Oct 16:47
7fdedf1
Compare
Choose a tag to compare
  • 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

27 Apr 14:32
3181bec
Compare
Choose a tag to compare

What's Changed

  • Add assertCapturedOneExactTimer helper. by @craig410 in #55

Full Changelog: v1.19.1...v1.19.2

v1.19.1

22 Mar 17:51
8f835c3
Compare
Choose a tag to compare

What's Changed

  • Fix the dockblock typehint for InitialisableSingletonTrait::instance() by @acoulton in #53
  • Fix ability to store & retrieve null values in UniqueMap by @acoulton in #54

Full Changelog: v1.19.0...v1.19.1

v1.19.0

17 Mar 10:58
430edeb
Compare
Choose a tag to compare

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

15 Dec 18:35
3aa5eea
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.17.2...v1.18.0

Tweak JSON::decode null behaviour and deprecate StrictDate validators

31 Oct 12:59
f338cd5
Compare
Choose a tag to compare

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