Skip to content

Releases: squirrelphp/entities

Fix dependency version

14 Dec 14:52
Compare
Choose a tag to compare

We updated the queries dependency too early - reverted that change now.

Improve typing information

14 Dec 14:26
Compare
Choose a tag to compare

Enable fully typed mode in Psalm for generated repositories.

v0.12.2

29 Nov 20:34
Compare
Choose a tag to compare
Allow Symfony 6

PHP 8.1 compatibility for generated repositories

20 Nov 13:47
Compare
Choose a tag to compare

PHP 8.1 reported an error about "Could not check
compatibility" because SelectIterator was type
hinted before it was defined when generating
repositories.

Move to PHP8-only (with BC break)

15 Jun 11:04
Compare
Choose a tag to compare
  • Rename Annotation directory to Attribute - this is a BC break
      (you will need to change the class imports in your entities)
  • Remove annotation support and dependency on doctrine annotations
  • Check all tests with Psalm and add better typing

Enable upserts to have complicated update clauses

11 Feb 17:40
Compare
Choose a tag to compare

insertOrUpdate did not accept all the possibilities of an
update clause so far - it had its own implementation on
how to parse the updates. We now use the exact same logic
as for update, enabling the same queries.

Support PHP8 attributes

18 Dec 15:56
Compare
Choose a tag to compare

Both annotations and attributes are supported, but attributes are the way forward and preferred.

Fix class finder for PHP8

08 Dec 20:50
Compare
Choose a tag to compare

PHP8 changed how namespaces and class names are composed, so
finding the correct namespaces and used classes is slightly
different.

v0.11

17 Nov 12:44
Compare
Choose a tag to compare
Upgrade queries dependency to 0.12

v0.10: Rename trait to populate entity properties

15 Oct 21:24
Compare
Choose a tag to compare
- Also fix multi repositories use case with no where
  query and only one repository
- Some configuration updates