Releases: squirrelphp/entities
Releases · squirrelphp/entities
v3.3
v3.2
v3.1: Improve where handling for multi repository queries
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
- 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
Now based on squirrelphp/queries v2.0 and squirrelphp/connection, so Doctrine DBAL has been removed.
Allow Symfony 7
Otherwise no changes.
Upgrade types dependency
Use new stable version.
v1.1.1: More verbose deprecation messages
Makes it easier to pinpoint the origin/cause of the deprecation.
Add better coercion with deprecations
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
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.