You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.9 KiB

3 years ago
  1. # Changelog
  2. All notable changes to this project will be documented in this file.
  3. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
  4. and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
  5. ## [Unreleased]
  6. ## [3.0.0] - 2021-01-01
  7. ### Added
  8. - Added support for both `.` and `/`-delimited key paths (#24)
  9. - Added parameter and return types to everything; enabled strict type checks (#18)
  10. - Added new exception classes to better identify certain types of errors (#20)
  11. - `Data` now implements `ArrayAccess` (#17)
  12. - Added ability to merge non-associative array values (#31, #32)
  13. ### Changed
  14. - All thrown exceptions are now instances or subclasses of `DataException` (#20)
  15. - Calling `get()` on a missing key path without providing a default will throw a `MissingPathException` instead of returning `null` (#29)
  16. - Bumped supported PHP versions to 7.1 - 8.x (#18)
  17. ### Fixed
  18. - Fixed incorrect merging of array values into string values (#32)
  19. - Fixed `get()` method behaving as if keys with `null` values didn't exist
  20. ## [2.0.0] - 2017-12-21
  21. ### Changed
  22. - Bumped supported PHP versions to 7.0 - 7.4 (#12)
  23. - Switched to PSR-4 autoloading
  24. ## [1.1.0] - 2017-01-20
  25. ### Added
  26. - Added new `has()` method to check for the existence of the given key (#4, #7)
  27. ## [1.0.1] - 2015-08-12
  28. ### Added
  29. - Added new optional `$default` parameter to the `get()` method (#2)
  30. ## [1.0.0] - 2012-07-17
  31. **Initial release!**
  32. [Unreleased]: https://github.com/dflydev/dflydev-dot-access-data/compare/v3.0.0...main
  33. [3.0.0]: https://github.com/dflydev/dflydev-dot-access-data/compare/v2.0.0...v3.0.0
  34. [2.0.0]: https://github.com/dflydev/dflydev-dot-access-data/compare/v1.1.0...v2.0.0
  35. [1.1.0]: https://github.com/dflydev/dflydev-dot-access-data/compare/v1.0.1...v1.1.0
  36. [1.0.1]: https://github.com/dflydev/dflydev-dot-access-data/compare/v1.0.0...v1.0.1
  37. [1.0.0]: https://github.com/dflydev/dflydev-dot-access-data/releases/tag/v1.0.0