Skip to content

Releases: Wisembly/Totem

v1.5.1

Choose a tag to compare

@morliaguet morliaguet released this 25 Apr 15:55
9563f2d

What's Changed

New Contributors

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

PHP8 Compatibility

Choose a tag to compare

@Taluu Taluu released this 06 May 09:41
410b9a5

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

Choose a tag to compare

@Taluu Taluu released this 08 Jan 10:18

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

Choose a tag to compare

@Taluu Taluu released this 03 Aug 11:16

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

Choose a tag to compare

@Taluu Taluu released this 23 Jul 16:12
  • #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

Choose a tag to compare

@Taluu Taluu released this 20 Jul 11:01

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

Choose a tag to compare

@Taluu Taluu released this 10 Jun 14:20

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

New package name

Choose a tag to compare

@Taluu Taluu released this 10 Jun 08:18

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

Set manipulations

Choose a tag to compare

@Taluu Taluu released this 02 Jun 14:33

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

Choose a tag to compare

@Taluu Taluu released this 31 May 20:56

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