Releases: oscarotero/simple-crud
Releases · oscarotero/simple-crud
5.4.5
Integer format is asigned to fields of type tinyint
, smallint
, mediumint
, bigint
and year
5.4.4
- Fixed exceptions in some automatic relations
5.4.3
Asigned Boolean format to fields with names begining by "in" (for example: "inHome", etc).
5.4.2
The method Row::__isset()
autoloads the relations.
5.4.1
- Fixed
Row::has()
withNullValue
. - Fixed
Row::__isset()
magic method with emtpy values.
5.4.0
-
Change the
FieldInterface
to allow set config values. For example:$entity->setField('data', 'json', ['assoc' => true]);
-
New field
File
5.3.0
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
- New method
RowCollection::find()
that works likefilter()
but returns the first row found.
5.2.3
In PHP 7 the classname Float
is not allowed. Renamed to Decimal
5.2.2
hotfix