From 1e61bd9161d40a51e131551498e0e48d0d399952 Mon Sep 17 00:00:00 2001 From: Sorin Sarca Date: Sun, 5 Jan 2025 00:37:45 +0200 Subject: [PATCH] Updated changelog and readme --- CHANGELOG.md | 26 ++++++++++++++++++++++++++ README.md | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) 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" } } ```