Releases: squirrelphp/entities
Releases · squirrelphp/entities
v0.6.8
v0.6.7: Add Iterator/IteratorAggregate type hints
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
Slight fix for generated repositories
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
v0.6.3
v0.6.2
Support order by with no variables
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
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
- 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