Skip to content

6.10.0

Compare
Choose a tag to compare
@oscarotero oscarotero released this 14 Apr 10:24
· 150 commits to master since this release
  • The field method Field::setConfig() returns self
  • If a field value is an empty strings and null values are allowed, save null.
  • Fixed tests in php 7
  • Fixed other bugs.

Breaking changes

  • Removed File field, and moved to a different repository: https://github.com/oscarotero/simple-crud-extra-fields
  • Added magic properties to Table, that returns the Field instances. For example: $simplecrud->post->id.
  • Replaced the property $table->name by the method $table->getName()
  • Removed the property $table->fields. Use the magic method to get a specific property or $table->getScheme()['fields'] to get the list of all fields.