waterline
Advanced tools
Changelog
0.11.4
Changelog
0.12.2
[BUGFIX] Fix issues with compatibility in alter auto-migrations. This was causing corrupted data depending on the permutation of adapter version and Waterline version. This should be fixed in the SQL adapters that support the new select query modifier.
[ENHANCEMENT] Updated dependencies to remove warning messages when installing.
Changelog
0.12.0
[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 the meta
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.
Changelog
0.11.1
Changelog
0.11.0
[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 from WLError
.
[BUGFIX] 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.
[BUGFIX] Fixed issue with booleans not being cast correctly for validations. See #1225 for more details. Thanks @edupsousa for the patch.
[BUGFIX] Fixed bug where dates as primary keys would fail serialization. See #1269 for more details. Thanks @elennaro for the patch.
[BUGFIX] Update support and patch some bugs in Many-To-Many through associations. See #1134 for more details. Thanks @atiertant for the patch.