Skip to content

Releases: dflydev/dflydev-dot-access-data

v3.0.3

08 Jul 12:27
v3.0.3
a23a2bf
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.0.2...v3.0.3

Version 3.0.2

27 Oct 11:45
v3.0.2
f417154
Compare
Choose a tag to compare

Fixed

  • Added missing return types to docblocks (#44, #45)

Version 3.0.1

13 Aug 13:08
Compare
Choose a tag to compare

Added

  • Adds ReturnTypeWillChange to suppress PHP 8.1 warnings (#40)

Version 3.0.0

01 Jan 22:20
Compare
Choose a tag to compare

Added

  • Added support for both . and /-delimited key paths (#24)
  • Added parameter and return types to everything; enabled strict type checks (#18)
  • Added new exception classes to better identify certain types of errors (#20)
  • Data now implements ArrayAccess (#17)
  • Added ability to merge non-associative array values (#31, #32)

Changed

  • All thrown exceptions are now instances or subclasses of DataException (#20)
  • Calling get() on a missing key path without providing a default will throw a MissingPathException instead of returning null (#29)
  • Bumped supported PHP versions to 7.1 - 8.x (#18)

Fixed

  • Fixed incorrect merging of array values into string values (#32)
  • Fixed get() method behaving as if keys with null values didn't exist