Repository navigation
Releases
Releases · freyr/identity
v2.0.0
Version 2.0.0 replaces the versions 1.1.0, 1.2.0 and 1.3.0, which held a breaking change in a minor release and are withdrawn. The previous release is 1.0.2. See Upgrade from 1.x to 2.0.
Breaking changes
- The constructor of
Idisfinal privateand its ULID property isprivate readonly. A subclass cannot define a constructor or read$this->id; usefromString(),fromBinary(),(string) $id,toBinary()ortoUuid(). (#27, #35) (773271c, f9afc5f)
Features
- feat: add Id::equalTo() (#27) (773271c)
- feat: allow symfony/uid 8 (#33) (4b05e0e)
- feat: create identifiers in the UUID v7 layout and add Id::toUuid() (#34) (913f336)
Other changes
- docs: align CLAUDE.md, the README and the Doctrine example with the code (#32) (3d2d94d)
- test: raise the Infection thresholds to 98 and require coverage metadata (#31) (7a054bd)
- build: analyze tests/ with PHPStan (#30) (8fac987)
- test: assert known-answer values, messages and order in the Id tests (#29) (89b5f4f)
- test: assert exact values and order in the IdCollection tests (#28) (f77de5e)
- ci: test the lowest dependency versions on PHP 8.2 (#25) (8d6323c)
- build(deps-dev): allow PHPUnit 13 and remove unused Composer plugin entries (#24) (42e7528)
- ci: test PHP 8.5 and run the tools on PHP 8.5 (#23) (8e7a419)
- build: repair the ECS config for ECS 13.3.17 (#22) (687bfda)
v1.0.2
Fixes
Other changes
- ci: pin freyr/.github v1.0.1 (#8) (bc9b752)
- test: add mutation testing, a coverage floor and Composer checks to CI (#7) (bcaf796)
- build(deps-dev): update symplify/easy-coding-standard requirement from ^12.5 to ^12.5 || ^13.0 in the dependencies group (#6) (332f389)
- ci: bump the actions group with 2 updates (#5) (1fd665a)
- ci: adopt the freyr PR and release standard (#4) (aca92ac)