diff --git a/CHANGELOG.md b/CHANGELOG.md index 5050e79..09a2087 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,32 @@ CHANGELOG --------- +### v4.1.0, 2025.01.05 + +#### Changes + +- Improved closure parser +- Improved array & object serialization/deserialization +- Added `ClosureInfo::getClosure()` +- Fixed `ClosureInfo::getFactory()` bindings and marked the method as internal + +#### Internal changes + +Added + +- `ClassInfo::get()` +- `ClassInfo::clear()` +- `ClassInfo::isInternal()` +- `ClassInfo::isEnum()` +- `ClassInfo::refId()` +- `ClassInfo` is final +- `ClassInfo` constructor is private + +Removed + +- `Serializer::getClassInfo()` (replaced by `ClassInfo::get()`) +- `Serializer::isEnum()` (replaced by `ClassInfo::isEnum()`) + ### v4.0.1, 2025.01.04 - Fixes unserialization error [#149](https://github.com/opis/closure/issues/149) diff --git a/README.md b/README.md index d445461..68b2f5b 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ Or you could directly reference it into your `composer.json` file as a dependenc ```json { "require": { - "opis/closure": "^4.0" + "opis/closure": "^4.1" } } ```