Skip to content

4.0.0

Latest
Compare
Choose a tag to compare
@theodorejb theodorejb released this 03 Jan 21:18
· 1 commit to master since this release

Changed

  • getMap() is no longer abstract and returns an empty array by default, so it is no longer necessary to implement for read-only APIs.
  • If the ID column is returned from getMap(), it is now automatically writable without having to set a writableId flag.
  • getSelectMap() now returns an empty array by default (rather than the getMap() value), so it is no longer necessary to implement this method just to prevent selecting write-only properties when using getSelectProps().

Important

When upgrading, remove readonly ID properties from getMap(), and implement getSelectMap() if any writable property is not returned by getSelectProps().

Removed

  • Unnecessary getDefaultValues() method. Defaults can be set via processValues() instead.
  • writableId bool property.