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