Changeset calculator between two states of a data
Full Changelog: https://github.com/Wisembly/Totem/compare/v1.5.0...v1.5.1
A simple release, as this lib has been marked as compatible with PHP 8.0, thanks to the efforts of @marko-ilic in #40.
This is a minor bump because the compatibility with PHP5 has been removed, with using actual maintained PHP versions instead (so 7.3+). This should be okay as just this has been changed.
New patch release, which optimizes things
And that's pretty much it
This is a tiny BC Break in 1.4, as if a key
primary key is used for an array in a CollectionSnapshot
, it won't work anymore. [key]
or a PropertyPath
should be used instead.
This release introduces the CollectionSnapshot
, which can make a snapshot of collection type elements. It also extends the tested code coverage to 100%, and does not abruptly normalize everything in the AbstractSnapshot
's normalizer.
This release adds a new ChangeInterface
, just to allow to implement this interface and maybe regroup similar user classes together
The repo (and thus the composer package) was transferred to a new repo. So this is a really minor update.
In this version, the possibility to use a whole different Set
class than the default provided is now available.
For this, a SetInterface
was introduced, and as on the meaning of the Set
object there was no sense whatsoever to extend the AbstractChange
object, this filiation was removed.
The possible BC Break (located on the Set
constructor) was avoided, even if passing values other than null, null
(which are the defaults) is deprecated and strongly discouraged.