- [BUG] Fixes an issue when searching by
id
in schemaless mode. See #1326 for more details.
-
[Enhancement] Allows attribute definitions to contain a
meta
property that will be passed down to the adapter. This allows arbitrary information about an attribute to be passed down to interactions on the physical storage engine. Going forward any adapter specific migration information should be sent via themeta
property. See #1306 for more information. -
[Enhancement] Allows for the use of
.select()
to build out projections in both top level queries and association queries. See #1310 for more details and examples. -
[Enhancement] Allow for the ability to pass in extra data to an adapter function using the
.meta()
option. This could be used for a variety of things inside custom adapters such as passing connections around for transactions or passing config values for muti-tenant functionality. For more details see #1325.
- [BUG] Fixes an issue when searching by
id
in schemaless mode. See #1326 for more details.
- [Enhancement] Handles fatal errors in validations better and returns clearer error messages for them. Who knew crashing the process would be bad? Thanks @mikermcneil
-
[BREAKING CHANGE] Removed the second argument from
.save()
commands that returns the newly updated data that has been re-populated. This should increase performance and limit memory. See #1295 for more details. -
[ENHANCEMENT] Errors coming from
.save()
now return actual Error objects that have been extended fromWLError
. -
[BUG] Fixes issue with dynamic finders not understanding custom
columnName
attributes. See #1298 for more details. Thanks @HaKr for the detailed test case. -
[ENHANCEMENT] Auto timestamps column names are now overridable. See#946 for more details. Thanks @Esya for the patch.
-
[ENHANCEMENT] Add support for an array of values to be passed into
populate
. ex.populate(['foo', 'bar'])
. See #1190 for more details. Thanks @luislobo for the patch. -
[ENHANCEMENT] Ensures that createdAt and updatedAt are always the exact same on
create
. See #1201 for more details. Thanks @ziacik for the patch. -
[BUG] Fixed issue with booleans not being cast correctly for validations. See #1225 for more details. Thanks @edupsousa for the patch.
-
[BUG] Fixed bug where dates as primary keys would fail serialization. See #1269 for more details. Thanks @elennaro for the patch.
-
[BUG] Update support and patch some bugs in Many-To-Many through associations. See #1134 for more details. Thanks @atiertant for the patch.
- [BUG] Fix issue with maximum callstack when using dates as foreign keys. See #1265 for more details. Thanks @elennaro for the patch.
- [ENHANCEMENT] Update version of Anchor to fix issue with email validations
-
[BUG] Fix issue with
through
table joins. See #1134 for more details. Thanks @atiertant for the patch! -
[ENHANCEMENT] Bump version of Waterline-Schema to the latest.
-
[ENHANCEMENT] Update Travis tests to run on Node 4 and 5.
- [BUG] Fix issue with invalid
in
criteria removing more data than it should. See #1076 for more details. Thanks @slester for the patch!
- [BUG] Fix issue with
defaultsTo
not setting values for undefined values.