Skip to content

Releases: squirrelphp/entities

v3.3

10 Dec 11:50

Choose a tag to compare

Avoid deprecations in PHP 8.5

v3.2

29 Nov 11:05

Choose a tag to compare

Require PHP 8.4, allow Symfony 8 + streamline docker scripts

v3.1: Improve where handling for multi repository queries

06 Sep 07:00

Choose a tag to compare

Allow null as a value for table field name keys, this was a legacy
restriction that has been removed everywhere else.

Remove some deprecated baggage + more readonly/final

02 Mar 16:25

Choose a tag to compare

  • Make many classes readonly and/or final, where it is clear that it is the right choice
  • Refactor some of the internal code to use match, str_contains and other more modern ways to write code
  • Add missing test to get back to 100% code coverage
  • Generate classes with readonly and final where possible
  • Remove PopulatePropertiesWithIterableTrait, as constructor property promotion and named arguments should be used instead
  • Wrong type coercions now throw exceptions instead of deprecation notices

New dependency basis

29 Sep 20:11

Choose a tag to compare

Now based on squirrelphp/queries v2.0 and squirrelphp/connection, so Doctrine DBAL has been removed.

Allow Symfony 7

01 Dec 08:58

Choose a tag to compare

Otherwise no changes.

Upgrade types dependency

16 Dec 08:56

Choose a tag to compare

Use new stable version.

v1.1.1: More verbose deprecation messages

21 Jun 08:31

Choose a tag to compare

Makes it easier to pinpoint the origin/cause of the
deprecation.

Add better coercion with deprecations

11 Jun 10:53

Choose a tag to compare

Emit a deprecation notice if a suspect value is being coerced for a known type. This will be escalated to an exception in v2.

Support expressions in group part

04 May 15:00

Choose a tag to compare

When using multi table queries the group by part did not support expressions until now, only known field names. This adds support for arbitrary expressions.