Skip to content

Tags

Tags give the ability to mark specific points in history as being important
  • v2.27.1

    6ef7dc59 · 2.27.1 ·
    2.27.1
    
     * Make sure relation scope is applied during include (Raymond Feng)
    
     * Updated JSdoc for Datasource constructor (crandmck)
  • v2.27.0

    82ea32f3 · 2.27.0 ·
    2.27.0
    
     * Fix the target id resolution (Raymond Feng)
    
     * DB Call Optimization in relation includes - Fixes #408 & #166 (ningsuhen)
    
     * Conditionally pass options to connector CRUD methods (Raymond Feng)
    
     * Pass-through options from save to create (Fabien Franzen)
  • v2.26.4

    d8ecea61 · 2.26.4 ·
    2.26.4
    
     * dao: support validateUpsert:false (Miroslav Bajtoš)
    
     * Changes to API docs per Dennis (Rand McKinney)
    
     * Add unit-test for "array" type (Miroslav Bajtoš)
  • v2.26.3

    ef0a10db · 2.26.3 ·
    2.26.3
    
     * Fix the test cases (Raymond Feng)
    
     * Add support for merging include filters (ningsuhen)
    
     * add test case for hasmanythrough bi-drectional relations (ningsuhen)
    
     * Fix for bug - https://github.com/strongloop/loopback-datasource-juggler/issues/571 (ningsuhen)
  • v2.26.2

    b0e43125 · 2.26.2 ·
    2.26.2
    
     * Allow leading slash for `path` in model settings (Raymond Feng)
  • v2.26.1

    51265ba2 · 2.26.1 ·
    2.26.1
    
     * validations: treat `NaN` as a blank value (Miroslav Bajtoš)
  • v2.26.0

    e4c602b0 · 2.26.0 ·
    2.26.0
    
     * Allow custom name mapping for discovered models (Raymond Feng)
  • v2.25.1

    2a9a9841 · 2.25.1 ·
    2.25.1
    
     * Validate model on updateOrCreate (upsert). (Miroslav Bajtoš)
  • v2.25.0

    0786dc56 · 2.25.0 ·
    2.25.0
    
     * Extend findById to accept an optional filter object (Raymond Feng)
  • v2.24.0

    dc54d024 · 2.24.0 ·
    2.24.0
    
     * Add new strict mode "validate" (Miroslav Bajtoš)
    
     * Promisify model relation methods (Partap Davis)
    
     * Deprecate property names containing a dot (Miroslav Bajtoš)
    
     * Allow nesting properties to be queried for memory connector (Raymond Feng)
  • v2.23.0

    0002aaed · 2.23.0 ·
    2.23.0
    
     * Fix test for "after save" called on save/CREATE (Miroslav Bajtoš)
    
     * Code cleanup in lib/dao.js (Miroslav Bajtoš)
    
     * Save parent model of embedded relations (Fabien Franzen)
    
     * Pass options in operation hooks context. (Fabien Franzen)
    
     * check if id does not exist a bit more explicitly (Pulkit Singhal)
    
     * Fix persistUndefinedAsNull tests w/ SQL connectors (Miroslav Bajtoš)
    
     * Implement scope.updateAll (Fabien Franzen)
    
     * Fix the test cases so that they be run with the mssql connector (Raymond Feng)
    
     * Add model setting "persistUndefinedAsNull" (Miroslav Bajtoš)
    
     * Add abilities to remove and clear observers - Operation Hooks. (0angelic0)
  • v2.22.0

    dac1899f · 2.22.0 ·
    2.22.0
    
     * Code cleanup in updateAll/deleteAll (Miroslav Bajtoš)
    
     * Return scope object from DAO.scope (Fabien Franzen)
    
     * Remove all usages of lodash. (Miroslav Bajtoš)
    
     * Clean up delete and update tests (Simon Ho)
    
     * Clean up wording in update/delete tests (Simon Ho)
    
     * Fix wording in update test (Simon Ho)
    
     * Properly support embedsMany destroyAll (Fabien Franzen)
    
     * Clean up update/delete manipulation tests (Simon Ho)
    
     * test: fix test failure in MySQL connector (Miroslav Bajtoš)
    
     * Improve test failure messages (Miroslav Bajtoš)
    
     * Fix regression in prototype.save (Miroslav Bajtoš)
    
     * Enable more CRUD remoting methods for embedsOne (Fabien Franzen)
    
     * Implement scope.findOne (Fabien Franzen)
    
     * use findOrCreate for HasManyThrough#create (Clark Wang)
    
     * Enhance id comparision for updateAttributes (Raymond Feng)
    
     * Enable custom methods on singular relations (Fabien Franzen)
    
     * Implement scope.findById (Fabien Franzen)
    
     * Fix updateAll callback in "transient" connector (Miroslav Bajtoš)
    
     * Memory connector returns updated records count (Simon Ho)
    
     * Add ctx.isNewInstance for "save" hooks (Miroslav Bajtoš)
    
     * deleteAll returns number of deleted records (Miroslav Bajtoš)
    
     * Use the correct way to iterate over an array (Raymond Feng)
    
     * DAO: Fix updateOrCreate to set persisted:true (Miroslav Bajtoš)
    
     * Reject CREATE with a duplicate id (Miroslav Bajtoš)
    
     * add tests for between in memory connector (Daniel B. Vasquez)
    
     * enable between filter for memory db connector (Daniel B. Vasquez)
    
     * fix #429 Multiple Models can't mixin same class (Clark Wang)
  • v2.21.0

    53d694b4 · 2.21.0 ·
    2.21.0
    
     * Fix the test case so that at least one property is to be changed (Raymond Feng)
    
     * Make sure id properties cannot be changed (Raymond Feng)
  • v2.20.0

    7dc0fcd2 · 2.20.0 ·
    2.20.0
    
     * Remove trailing spaces. (Miroslav Bajtoš)
    
     * Improve instance-level operation hooks (Fabien Franzen)
    
     * Fix the test case (Raymond Feng)
    
     * fix foreign key dataType bug (didikeke)
    
     * Reformat notifyObserversOf context argument (Fabien Franzen)
    
     * Implement operation hooks' context (Fabien Franzen)
    
     * Allow submodel to hide base properties (Raymond Feng)
  • v2.19.2

    b7abb08d · 2.19.2 ·
    2.19.2
    
     * Improved and corrected API docs (crandmck)
    
     * Fix problems in annotations that prvented validateAsync and validate functions from appearing in API docs. (crandmck)
  • v2.19.1

    666e15f8 · 2.19.1 ·
    2.19.1
    
     * Make sure inclusion filter is applied to the target model (Raymond Feng)
  • v2.19.0

    4fb4e356 · 2.19.0 ·
    2.19.0
    
     * Deprecate DAO events (Miroslav Bajtoš)
    
     * Deprecate Model hooks (Miroslav Bajtoš)
    
     * Add Promises to DAO (Partap Davis)
    
     * test for updateAll (rudzon)
    
     * enhance the coercion for boolean/date types (rudzon)
    
     * enhance updateAll to coerce the data per property definitions (rudzon)
    
     * relation-definition: remove trailing whitespace (Miroslav Bajtoš)
  • v2.18.1

    fc0667fb · 2.18.1 ·
    2.18.1
    
     * Make sure models are migrated to avoid conflicts (Raymond Feng)
    
     * Add err checks (Raymond Feng)
    
     * Fix findByIds test cases (Raymond Feng)
  • v2.18.0

    d5e71f11 · 2.18.0 ·
    2.18.0
    
     * Fix the idType so that it works with both MongoDB and RDBs (Raymond Feng)
    
     * Tidy up tests so that they will work with RDBs (Raymond Feng)
    
     * Fix JS style issues (Raymond Feng)
    
     * Add a new property option `defaultFn` (Miroslav Bajtoš)
    
     * Fix the null/undefined check (Raymond Feng)
    
     * Fix createdAt type so that it won't overflow SQL server int (Raymond Feng)
    
     * ModelBaseClass: promise mode for notifyObserversOf (Miroslav Bajtoš)
    
     * ModelBaseClass: support promise-based observers (Miroslav Bajtoš)
    
     * use lodash to update the findBelongsTo which now returns an array of matches (Bryan Clark)
    
     * Add $now as shortcut default value for date property (Pradnya Baviskar)
    
     * Fix `deleteById(id)` and other test failures (Miroslav Bajtoš)
  • v2.17.0

    b4189bf9 · 2.17.0 ·
    2.17.0
    
     * Add an optional `options` argument to all CRUD methods (Raymond Feng)
    
     * Upgrade deps (Raymond Feng)
    
     * Remove workaround for perfomance degradation (Denis Bardadym)
    
     * Change equal to eql to support mongodb ObjectID (Raymond Feng)
    
     * Enhance the coercion for boolean/date types (Raymond Feng)
    
     * Make sure base properties/settings are merged into the submodel (Raymond Feng)
    
     * support optimized findOrCreate (Clark Wang)
    
     * Fix the perf around should.not.equal for complex objects (Raymond Feng)
    
     * testcase for #420 (Andrey Loukhnov)
    
     * use findOrCreate in hasOne#create (Clark Wang)
    
     * Create model foreign key matching type of opposite part of relation (even if it has a custom field type) (Andrey Loukhnov)
    
     * minor formatting issues (trailing spaces and such) and .editorconfig (Andrey Loukhnov)