Skip to content

Releases: squirrelphp/entities

v0.6.8

09 Dec 10:19
Compare
Choose a tag to compare
Add some missing array type definitions

v0.6.7: Add Iterator/IteratorAggregate type hints

09 Dec 10:02
Compare
Choose a tag to compare
PHPStan checks for types in Iterator and IteratorAggregate, with
this update we add them everywhere so the option
"checkGenericClassInNonGenericObjectType" does not need to be
turned off within this project and within child projects.

v0.6.6

08 Dec 20:46
Compare
Choose a tag to compare
Fix type hints for repositories

Slight fix for generated repositories

08 Dec 17:26
Compare
Choose a tag to compare

One type hint was wrong/mangled in generated read-only repositories, and two iterator functions had missing void return type hints. Both these issues are now corrected.

v0.6.4

03 Dec 18:02
Compare
Choose a tag to compare
Use iterable in EntityConstructorTrait

v0.6.3

03 Dec 17:13
Compare
Choose a tag to compare
Introduce EntityConstructorTrait + tests

v0.6.2

29 Nov 14:42
Compare
Choose a tag to compare
Allow Symfony 5.0 and use composer-bin-plugin

Support order by with no variables

20 Aug 11:39
Compare
Choose a tag to compare

Before ordering by "RAND()" or other expressions which did
not contain a variable did not work, now we check for
characters which indicate the order by expression should
not be interpreted as a field name.

v0.6: Use squirrelphp/debug for debug functionality

10 Jul 11:19
Compare
Choose a tag to compare
squirrelphp/debug is now used for all exception and debug
functionality, so we do not need to replicate it for every
squirrel component.

v0.5.3: Improve exception handling

29 Jun 11:46
Compare
Choose a tag to compare
- Instead of only handling InvalidOptions exceptions from
  Queries we handle all the exceptions, because we want to
  return the original database call no matter the exception
- Include previous exception (the one from Doctrine DBAL)
  so a user can differentiate especially for driver exceptions