Skip to content

Releases: squirrelphp/entities

New dependency basis

29 Sep 20:11
Compare
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
Compare
Choose a tag to compare

Otherwise no changes.

Upgrade types dependency

16 Dec 08:56
Compare
Choose a tag to compare

Use new stable version.

v1.1.1: More verbose deprecation messages

21 Jun 08:31
Compare
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
Compare
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
Compare
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.

Improve type guessing

04 May 14:43
Compare
Choose a tag to compare

Type guessing in multi repository expressions have been vastly improved to make sure no information is lost and to keep a value as a string if a conversion would lead to a loss of information.

Remove Iterator/IteratorAggregate type hints

14 Feb 15:18
Compare
Choose a tag to compare

Newer PHPStan versions use the wrong type information if multiple
type hints exists on different classes, leading to the typing
of generated repositories being ignored/overlooked. By removing
the type hints for the base classes, only one type hint exists
and PHPStan applies it correctly.

Adjust type hints for generated repositories

15 Dec 16:34
Compare
Choose a tag to compare

Both PHPStan and Psalm were confused by the @implements type hints in generated repositories because Iterator/IteratorAggregate were not directly implemented (only through the base class), so we added those explicitely through "implements". This changes nothing about the functionality though.

First stable release

15 Dec 15:59
Compare
Choose a tag to compare

Built upon the squirrelphp queries library v1.2+, the entities library should be in good shape for a stable release.