Skip to content

Releases: squirrelphp/entities

v0.9: Restructure and move parts to queries library

26 Aug 12:04
Compare
Choose a tag to compare
- Move Action directory to Builder directory
- Use interface and trait for flattened fields from
  queries library
- Add more PHPCS rules and adjust source code accordingly

Add psalm annotations + flattened fields amendmend

21 Aug 13:08
Compare
Choose a tag to compare
  • Add first psalm-immutable and psalm-pure annotations
  • Additional tests to make sure flattened fields all had
    a sensible type
  • Add path coverage to code coverage composer command

v0.8.4: Only update .gitignore if necessary

06 Jul 10:07
Compare
Choose a tag to compare
Generated repositories are added to .gitignore, but
up till now that file was always recreated/written to
again. Now it is only updated when there was a change.

Also adjust a type hint to be more accurate in
InsertOrUpdate query builder.

Improve flattened fields with types

10 May 16:48
Compare
Choose a tag to compare
  • Coerce values that can sensibly be coerced
  • Convert the functions into a trait so they can
    be shared between the three select classes
  • Adjust tests accordingly

Adjust repositories generator

10 May 15:58
Compare
Choose a tag to compare

Add missing getFlattenedFields functions.

Add flattened fields with types

10 May 14:52
Compare
Choose a tag to compare

New functions in select builder class:

  • getFlattenedIntegerFields
  • getFlattenedFloatFields
  • getFlattenedStringFields
  • getFlattenedBooleanFields

Adjust interface for flattenFields option

26 Apr 15:24
Compare
Choose a tag to compare

flattenFields is no option anymore, instead there is the fetchAllAndFlatten function.

v0.7.1: Remove template syntax because of PHPStan

24 Apr 16:18
Compare
Choose a tag to compare
PHPStan seems to misinterpret the syntax and there
is no way to give this syntax to psalm while not
causing the errors in PHPStan.

Leverage PHP 7.4 features

24 Apr 15:09
Compare
Choose a tag to compare
  • Remove type and nullable annotation options, infer them automatically from property types
  • Property types are now mandatory because of this
  • Some cleanup in configuration and some more usage of PHP 7.4 features in code

v0.6.9: Improve dev configuration & upgrade PHPStan

18 Dec 17:25
Compare
Choose a tag to compare
- Upgrade to PHPStan 0.12 and make needed changes
- Add PHP 7.4 to Travis
- No changes to usage of this library