Releases: tiny-blocks/immutable-object
Releases · tiny-blocks/immutable-object
v1.1.0
- Bump PHP requirement to 8.5 in composer.json and Docker image.
- Update dev dependencies and scripts for latest tool versions.
- Refactor exception constructors to use readonly properties.
- Enhance Makefile with help, color output, and improved targets.
- Add dependabot and CodeQL configuration for automated security and dependency checks.
- Improve CI workflow, add build job, artifact caching, and optimize steps.
- Remove phpmd from scripts and export-ignore lists.
- Update .gitignore and phpstan config for better coverage.
v1.0.1
- Fixes execution of composer scripts and updates dependencies.
v1.0.0
- Added Immutable interface to enforce immutability on objects and collections.
- Introduced the Immutability trait to provide default behavior for __set, __unset, offsetSet, and offsetUnset methods.
- Implemented exception handling to throw specific exceptions when attempts are made to modify or unset properties or collection elements.
- Provided documentation explaining the usage of the Immutable interface and the Immutability trait.