Skip to content

Version 3.0.0

Compare
Choose a tag to compare
@simensen simensen released this 01 Jan 22:20
· 13 commits to main since this release

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