Skip to content

v1.4.0

Choose a tag to compare

@ihinsdale ihinsdale released this 16 Apr 23:11

This release introduces more performant support for the omitNew option to {Model,Collection}.toJSON, and it introduces a defaultOmitNew plugin option which can be used to specify a default value for omitNew.

See bookshelf/bookshelf#753 and bookshelf/bookshelf#1286 for background on using omitNew to avoid serializing empty models.