Skip to content

Releases: Wisembly/Totem

v1.5.1

25 Apr 15:55
9563f2d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.5.0...v1.5.1

PHP8 Compatibility

06 May 09:41
410b9a5
Compare
Choose a tag to compare

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.

We don't need no reflection

08 Jan 10:18
Compare
Choose a tag to compare

New patch release, which optimizes things

  • #37 #34 Remove reflection in ObjectSnapshot (using an exported array instead)
  • #36 Refactor the Set switch (more readable and micro optimized)
  • #32 Some composer and travis changes

And that's pretty much it

More flexible key handling in Collection Snapshot

03 Aug 11:16
Compare
Choose a tag to compare

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.

  • #28 : Use PropertyPath instead of a wild guess for CollectionSnapshot (81695b4)

Bug fixes and DX enhancement

23 Jul 16:12
Compare
Choose a tag to compare
  • #25 : The changeset for a Collection is now numeric indexed based
  • Add a link attribute to the CollectionSnapshot
  • Prevent a bug when computing the Set
  • Fixes #24 : Propagate the setClass onto sub children

CollectionSnapshot

20 Jul 11:01
Compare
Choose a tag to compare

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.

Add a ChangeInterface

10 Jun 14:20
Compare
Choose a tag to compare

This release adds a new ChangeInterface, just to allow to implement this interface and maybe regroup similar user classes together

New package name

10 Jun 08:18
Compare
Choose a tag to compare

The repo (and thus the composer package) was transferred to a new repo. So this is a really minor update.

Set manipulations

02 Jun 14:33
Compare
Choose a tag to compare

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.

PSR-4 capabilities

31 May 20:56
Compare
Choose a tag to compare

This release is now using PSR-4 rather than PSR-0 for its autoloading feature, and changes some internal stuff, such as...

  • enhancing the coverage via coveralls.io
  • making sure that PHP 5.6 and HHVM are now supported
  • breaking the Set class