Skip to content

Releases: oscarotero/simple-crud

5.4.5

05 Jan 18:58
Compare
Choose a tag to compare

Integer format is asigned to fields of type tinyint, smallint, mediumint, bigint and year

5.4.4

21 Dec 18:44
Compare
Choose a tag to compare
  • Fixed exceptions in some automatic relations

5.4.3

19 Dec 11:35
Compare
Choose a tag to compare

Asigned Boolean format to fields with names begining by "in" (for example: "inHome", etc).

5.4.2

16 Dec 11:23
Compare
Choose a tag to compare

The method Row::__isset() autoloads the relations.

5.4.1

16 Dec 11:04
Compare
Choose a tag to compare
  • Fixed Row::has() with NullValue.
  • Fixed Row::__isset() magic method with emtpy values.

5.4.0

15 Dec 15:54
Compare
Choose a tag to compare
  • Change the FieldInterface to allow set config values. For example:

    $entity->setField('data', 'json', ['assoc' => true]);
  • New field File

5.3.0

09 Dec 19:20
Compare
Choose a tag to compare

New NullValue class returned to prevent break chains with exceptions.

Before:

$post->category->id;
//thows exception if $post->category returns null

Now:

$post->category->id;
//It woks fine because $post->category returns a NullValue instance

Note: it only affects to automatic loaded relations of type RELATION_HAS_ONE that previously returned null.

5.2.4

08 Dec 10:44
Compare
Choose a tag to compare
  • New method RowCollection::find() that works like filter() but returns the first row found.

5.2.3

07 Dec 19:08
Compare
Choose a tag to compare

In PHP 7 the classname Float is not allowed. Renamed to Decimal

5.2.2

03 Dec 14:12
Compare
Choose a tag to compare

hotfix