UNPKG

loopback-datasource-juggler

Version:
2,019 lines (1,010 loc) 119 kB
2019-09-04, Version 4.12.1 ========================== * chore: reduce identifier length (Hage Yaapa) 2019-08-19, Version 4.12.0 ========================== * feat: add applyDefaultOnWrites property (Hage Yaapa) * Fix polymorphic hasMany inverse relation (#1621) (Ayeni Olusegun) 2019-08-09, Version 4.11.0 ========================== * fix: prevent max listeners warning (Dominique Emond) 2019-07-26, Version 4.10.1 ========================== * Fix coercion of PK value in `replaceById` method (Miroslav Bajtoš) * Fix autoupdate queueing automigrate instead (#1762) (darthmaim) 2019-07-23, Version 4.10.0 ========================== * fix: use only promises for beginTransaction (Biniam Admikew) * feat: add DataSource.deleteAllModels() API (Miroslav Bajtoš) 2019-07-15, Version 4.9.0 ========================= * fix: report errors from automigrate/autoupdate (Miroslav Bajtoš) * feat: add beginTransaction API on datasource (Biniam Admikew) * Revert "chore: expose beginTransaction API" (Biniam Admikew) 2019-06-24, Version 4.8.2 ========================= * chore: expose beginTransaction API (Biniam Admikew) * update LTS in README (#1751) (Diana Lau) 2019-06-20, Version 4.8.1 ========================= * test: add property index to support cloudant (#1750) (Janny) 2019-06-13, Version 4.8.0 ========================= * Fix types to describe native Promise (Miroslav Bajtoš) * feat: after operation hook in case of errors (spurreiter) * Fix for #1724 - Added options to attribute updates (#1725) (Bill Matson) 2019-05-14, Version 4.7.1 ========================= * Fix "access" hook for unoptimized "near" queries (Miroslav Bajtoš) * Fix "loaded" hook for unoptimized "near" queries (Miroslav Bajtoš) * Test "near" queries executed in memory (Miroslav Bajtoš) * Fix DateString ctor to accept DateString instances (Miroslav Bajtoš) * datasource: copy settings object in constructor (Miroslav Bajtoš) * chore: update copyrights years (#1737) (Agnes Lin) * chore: update LTS status (#1734) (Diana Lau) 2019-05-03, Version 4.7.0 ========================= * fix: allow coercion of nested properties (biniam) 2019-05-03, Version 4.6.4 ========================= * Fix tests for empty/default values to pass on SQL (Miroslav Bajtoš) * Update nyc to 14.0.0 (Miroslav Bajtoš) * test: define models in before hooks (biniam) * Update `should` to `13.2.3` (Miroslav Bajtoš) * Update `mocha` to `6.1.4` (Miroslav Bajtoš) 2019-04-30, Version 4.6.3 ========================= * Add support for Node.js 12.x (Miroslav Bajtoš) * fix: coerce primitive properties on update (biniam) * fix: coerce date array properties (biniam) * fix: normalize include with boolean or number (spurreiter) 2019-04-10, Version 4.6.2 ========================= * chore: update CODEOWNERS (#1712) (Diana Lau) * fix: ignore git file (#1714) (Janny) * remove kv-extreme-scale ctor from downstream test (#1710) (Diana Lau) 2019-04-09, Version 4.6.1 ========================= * Improve tests for empty vs. default values (Miroslav Bajtoš) * Do not apply default values on data from database (Miroslav Bajtoš) * Update datasource-connector.md (#1703) (Jam Risser) * feat: support array within array (Hage Yaapa) * fix: update lodash (#1696) (Janny) 2019-02-26, Version 4.6.0 ========================= * feat: Support "type" key in sub-properties (Hage Yaapa) * fix: use correct callback for geo find queries (biniam) * fix: update typescript declarations (biniam) 2019-01-29, Version 4.5.3 ========================= * Support nested properties with class type (Miroslav Bajtoš) 2019-01-24, Version 4.5.2 ========================= * Improve Model type definitions (Miroslav Bajtoš) * fix: use existing field in exclude test (biniam) 2018-12-14, Version 4.5.0 ========================= * Revert "5.0.0". It was released accidentally. (Diana Lau) * Upgrade eslint-config-loopback to latest (Miroslav Bajtoš) * manually fix remaining problems (Miroslav Bajtoš) * autofix eslint errors (Miroslav Bajtoš) * eslint: enable no-var and prefer-const rules (Miroslav Bajtoš) * Update eslint-config-loopback to latest (Miroslav Bajtoš) * Update dependencies to latest versions (Miroslav Bajtoš) * Upgrade bson to 4.x (latest) (Miroslav Bajtoš) * feat: dataSource.execute(cmd, args, opts, cb) (Miroslav Bajtoš) * eslint: enable ES2017 (async functions) (Miroslav Bajtoš) 2018-11-15, Version 4.4.0 ========================= * Use options from request for settings (Raymond Feng) 2018-11-12, Version 4.3.0 ========================= * Allow flags to be passed via options (Raymond Feng) * chore: update file list for apidocs (biniam) 2018-11-07, Version 4.2.1 ========================= * [ BUGFIX ] maxDepthOfQuery config (leon3s) 2018-10-31, Version 4.2.0 ========================= * Allow configuration of maxDepthOfQuery (Raymond Feng) 2018-10-29, Version 4.1.2 ========================= * Check composite keys containing hidden props (Raymond Feng) * Improve hidden/protected property checks (Raymond Feng) 2018-10-27, Version 4.1.1 ========================= * Allow hidden/protected props as an object (Raymond Feng) 2018-10-26, Version 4.1.0 ========================= * Ren handleUndefined to normalizeUndefinedInQuery (Raymond Feng) * Report circular or deep query objects (Raymond Feng) * Hide offending properties from the error object (Raymond Feng) * Tidy up extended operator check (Raymond Feng) * Prevent hidden/protected props from being searched (Raymond Feng) * Report errors for missing id props for include (Raymond Feng) * fix: add test coverage, correct typo that exposed (Matthew Gabeler-Lee) * fix: accelerate unique id checking (Matthew Gabeler-Lee) * remove null in embedded doc properties updates (Dimitris) 2018-10-08, Version 4.0.0 ========================= * Update LTS versions in README (Miroslav Bajtoš) * Switch from Bluebird to native Promise (Miroslav Bajtoš) * Start 4.0 development, drop support for Node 6 (Miroslav Bajtoš) 2018-09-17, Version 3.24.0 ========================== * Add IBM copyright and MIT license headers (Raymond Feng) * Allow List to take items as instances of a class (Raymond Feng) * fix: ignore extra properties when strict=filter (#1423) (Tom Kirkpatrick) * Add EventEmitter type info to DataSource type (shimks) 2018-07-16, Version 3.23.0 ========================== * fix: update TypeScript declaration for KV (Raymond Feng) * Upgrade eslint-config-loopback + fix formatting (Miroslav Bajtoš) * Hide nyc coverage from test output (Miroslav Bajtoš) * Configure Mocha to use dot reporter (Miroslav Bajtoš) 2018-07-09, Version 3.22.2 ========================== * assertation of undefined could be null (shenghu) * fix: regression on Operation Hooks (virkt25) 2018-07-02, Version 3.22.1 ========================== * [WebFM] cs/pl/ru translation (#1600) (tangyinb) * fixup! address code review comments (Miroslav Bajtoš) * Fix type definitions for PersistedModel API (Miroslav Bajtoš) * Fix Operation Hooks to propagate data changes (Miroslav Bajtoš) * Fix stalebot config to ignore "good first issue" (Miroslav Bajtoš) 2018-06-12, Version 3.22.0 ========================== * Update strong-globalize to 4.x (Miroslav Bajtoš) * Update remaining dev-dependencies to latest (Miroslav Bajtoš) * Update eslint + config to latest (Miroslav Bajtoš) * Disable package-lock feature of npm (Miroslav Bajtoš) * Travis: add Node.js 10.x to the build matrix (Miroslav Bajtoš) * Drop support for Node 4.x (Miroslav Bajtoš) 2018-05-24, Version 3.21.1 ========================== * Fix tests to ensure compatibility w/ should@10 (Raymond Feng) 2018-05-22, Version 3.21.0 ========================== * Fix datasource state management (Raymond Feng) 2018-05-11, Version 3.20.2 ========================== * Remove node ref (Raymond Feng) 2018-05-11, Version 3.20.1 ========================== * Update deps (Raymond Feng) 2018-05-10, Version 3.20.0 ========================== * Fix typescript definitions to be compatible with LB4 (Raymond Feng) * Allow toObject() to accept an 'options' argument (Raymond Feng) 2018-05-10, Version 3.19.0 ========================== * Add typescript type definitions (Raymond Feng) * Tidy up datasource (Raymond Feng) 2018-04-19, Version 3.18.1 ========================== * Polyfill Number.isFinite() to support PhantomJS (Miroslav Bajtoš) 2018-04-17, Version 3.18.0 ========================== * feat: remove a Model from all registries (Miroslav Bajtoš) 2018-04-16, Version 3.17.0 ========================== * feat: omit default fn for embedsMany (#1532) (Janny) 2018-03-22, Version 3.16.0 ========================== * Pass options argument to custom validators (bmatson) * chore: update CODEOWNERS (#1566) (Diana Lau) 2018-03-16, Version 3.15.5 ========================== * Exclude .nyc_output from being published (Raymond Feng) * CODEOWNERS: add nitro404 (Miroslav Bajtoš) 2018-02-13, Version 3.15.4 ========================== * fix: allow `new DataSource(connector, settings)` (Raymond Feng) 2018-02-09, Version 3.15.3 ========================== * fix: add more tests to verify new DataSource() (Raymond Feng) 2018-02-07, Version 3.15.2 ========================== * feat(datasource): seperate name and connector name (Nguyen Truong Minh) * Fix datasource not correctly retaining name value (Kevin Scroggins) 2018-02-06, Version 3.15.1 ========================== * Added error handling for persist operation hook (#1531) (Kevin Scroggins) * Add warning for datasources with mismatched names (Kevin Scroggins) 2018-01-19, Version 3.15.0 ========================== * fix unauthorized fk change (#1538) (Taranveer Virk) * Set model constructor name to model name (Miroslav Bajtoš) 2017-12-14, Version 3.14.0 ========================== * Allow new transaction method in postgresql (#1493) (zbarbuto) * Fix bug in utils uniq function (#1526) (Peter Bouda) * Fix query for related models (#1522) (Joost de Bruijn) * chore:update license (#1521) (Diana Lau) * Allow customizing embedded relation property (#1513) (zbarbuto) * :book: Typo on README.md (#1517) (JP Ventura) * CODEOWNERS: move @lehni to Alumni section (Miroslav Bajtoš) 2017-10-17, Version 3.13.0 ========================== * update strong-globalize to 3.1.0 (#1505) (Kyusung Shim) * Fix basic-querying (#1509) (Janny) * translation return for Q4 drop1 (tangyinb) * Allow passing null to base model ctor (Zak Barbuto) * CODEOWNERS: add zbarbuto (Miroslav Bajtoš) * update globalize string (Diana Lau) 2017-09-07, Version 3.12.0 ========================== * Add a better way to handle transactions (Jürg Lehni) * validations: use new regex per evaluation (#1479) (Joost de Bruijn) * Transaction: Bind timeout to tx instance (#1484) (Jürg Lehni) * CODEOWNERS: add lehni (#1483) (Miroslav Bajtoš) * Add node8 support for travis (loay) * Add nyc coverage, report data to coveralls.io (Miroslav Bajtoš) * Update translations from TVT (Allen Boone) * Add test coverage for hasAndBelongsToMany (loay) * package: use qs@6.5.0 (#1471) (Kevin Delisle) 2017-08-22, Version 3.11.0 ========================== * Flag id as updateOnly when forceId is in effect (#1453) (Rashmi Hunt) * Add stalebot configuration (Kevin Delisle) 2017-08-21, Version 3.10.0 ========================== * Catch err using Callback (loay) * Update Issue and PR Templates (#1462) (Sakib Hasan) * Update translated strings Q3 2017 (Allen Boone) * test: call true/false in isValid checks (Tom Kirkpatrick) * fix: support numbers in validatesFormatOf (Tom Kirkpatrick) * Fix undefined properties in where (Raymond Feng) * Honor backwards compatability with validate update (ssh24) * Fix update validation callback (ssh24) * Validate updateAll (ssh24) * Sort arrays before testing (ssh24) * update translation file (Diana Lau) * Missing the option argument (#1426) (dmellonch) * Add CODEOWNER file (Diana Lau) * use connector flag throughout tests (biniam) 2017-07-26, Version 3.9.3 ========================= * Catch errors using cb (loay) * Rename getAsync() methods to find() and get() (Jürg Lehni) * #1386 Allow empty values when allowBlank is true (Simo Moujami) * Skip imcompatible tests (#1420) (Janny) * Run juggler tests for Cloudant (#1414) (Janny) 2017-06-22, Version 3.9.2 ========================= * Fix the case where qWhere[idKey] is null (Tetsuo Seto) * test/helpers: annotate skipped tests (Kevin Delisle) * Fix mixins/validatable docs (ssh24) 2017-06-01, Version 3.9.1 ========================= * Update translated strings Q2 2017 (Allen Boone) * Fix updateAttributes cb (ssh24) * Apply iteration on the model object (ssh24) * Remove spurious extra options arg (#1390) (Rand McKinney) * include: remove JSDoc refs to recursive calls (Kevin Delisle) * Fix count of properties (ssh24) * hooks: add JSDoc for .trigger (Kevin Delisle) * model-builder: JSDoc tidy-up (Kevin Delisle) 2017-05-19, Version 3.9.0 ========================= * Return promise for batch create (Raymond Feng) * Use correct data on replace callback (ssh24) 2017-05-15, Version 3.8.0 ========================= * fix assert, make the test case more clear (rashmihunt) * code review, better asserts (rashmihunt) * test case to exclude base props (rashmihunt) * handle excludeBaseProperties (rashmihunt) 2017-05-15, Version 3.7.0 ========================= * Remove unnecessary tests for adhocSort !== false (Tetsuo Seto) * Fix the test case to avoid duplicate userId (Tetsuo Seto) * Support include rework for C* connector (Tetsuo Seto) * Overall review of polymorphic relations (ebarault) * configurable model merge (ebarault) * Fix assertion errors (Loay) * Update modelbaseclass api docs (Loay) * Add caseInsensitive opt to validatesUniquenessOf (Bram Borggreve) 2017-05-02, Version 3.6.1 ========================= * docs: add DateString definition (Kevin Delisle) 2017-05-02, Version 3.6.0 ========================= * create sequence for nosql id (#1354) (Janny) * Fix order of query results (Loay) * Add DateString type (Kevin Delisle) * datatype.test: use predefined date (Kevin Delisle) * Update api documents (Loay) * Datasource documentation tune-up (Kevin Delisle) * Added unit tests specific to DateType where null (#1349) (Andrew McDonnell) * Fix/geo null (#1334) (paulussup) * replace exception thrown for invalid dates (Diana Lau) * Revert PR #1326 (#1336) (Sakib Hasan) * Make lib peerDepend on loopback-connector (#1326) (Russ Tyndall) * Add test case using updateAttributes (Loay) * Fix forceId bug for updateOrCreate (Loay) * Fix typo in description (jannyHou) * Fix relations test case (loay) 2017-04-17, Version 3.5.0 ========================= * Add instructions for running the tests (#1330) (Andrew McDonnell) * handle deep geo-near queries (#1314) (Eric Barault) * Unskip test case (Loay) * Make tests work for other connectors as well as C* (Tetsuo Seto) * Remove debugger statement (Tetsuo Seto) * Fixup test support for Cassandra connector (Tetsuo Seto) * Add test support for Cassandra connector (Tetsuo Seto) * package: use loopback-connector@^4.0.0 (Kevin Delisle) * Revert "handle deep geo-near queries (#1216)" (Sakib Hasan) * Revert "Allow `after save` hook to see count of records changed (#1231)" (Sakib Hasan) * Allow `after save` hook to see count of records changed (#1231) (Joshua Chaitin-Pollak) * handle deep geo-near queries (#1216) (Corentin H) * Fix model def column name method (#1224) (destillat) * Added notify flag for create and upsert (#1277) (Jonathan Sheely) * Custom Table Names on rels (#1303) (Waldemar Zahn) * Support multiple fk relations (#1308) (Sakib Hasan) * #1261 Property name "constructor" is not allowed in 'Model' data (#1284) (Thaer Abbas) 2017-04-04, Version 3.4.1 ========================= * Use dataSource.connect to avoid duplicate connects (Raymond Feng) * remove equality value for user defined id (#1293) (Matteo Padovano) 2017-04-04, Version 3.4.0 ========================= * Fix in-mem connector file operation racing condition (Raymond Feng) 2017-03-31, Version 3.3.0 ========================= * make geo nearFilter support minDistance (#987) (Vincent Wen) * Disallow regexp string in arrays for coerce (#1279) (Mikhail) * Fix - `_targetClass` on scope function (#1280) (Clark Wang) * Fixes #1275. `Include` filter transforms fields property into array. (#1276) (Nick Oikonomou) * Included models from include operations do not change defined `strict` model option (#1259) (Dimitris) * Using a filter with exclusion of a non existent property, removes an existing one (#1257) (Dimitris) * Clean version of PR 1272 (#1273) (Sakib Hasan) * Replicate new issue_template from loopback (Siddhi Pai) * Replicate issue_template from loopback repo (Siddhi Pai) * Update README.md (Rand McKinney) * FindOrCreate missing error callback (Diana Lau) * Fixes #1230 coerceArray converts empty Objects (#1269) (Dimitris) * override collection name for arangodb (#1243) (Matteo Padovano) * Add test coverage for `validatesInclusionOf` (#1249) (Rémi Bèges) * dao: catch errors on Model creation in find (Kevin Delisle) * dao: catch sync errors on setAttributes (Kevin Delisle) * Update error message (Loay) * Fix Order query test case (Loay) * Doc:Add option for discoverModelDefinitions (jannyHou) * Add tests for validatesExclusionOf (#1248) (Rémi Bèges) * Fix id update error message formatting (Rémi Bèges) * Add test case for all connectors (jannyHou) * Add proper statusCode for duplicate (Loay) * Fix datasource to report connector-loading errors (Miroslav Bajtoš) * Ensure replaceById returns 404 when id not found (Loay) * Upgrade eslint-config, fix new violations (Miroslav Bajtoš) * Fix option propagation in relation methods (Miroslav Bajtoš) * Refactor logic of options.allowExtendedOperators (Matteo Padovano) * Fix forceId validation error (Loay) * Add two basic tests for "inq" operator (Miroslav Bajtoš) 2017-01-19, Version 3.2.0 ========================= * Fix should dep (Raymond Feng) * Upgrade dependencies to remove npm install warnings (Raymond Feng) * Add missing return for KVAO delete all (Simon Ho) * Add missing return in KVAO keys test suite (Simon Ho) * Detect deleteAll support in KVAO tests (Simon Ho) * Coerce array-like objects into arrays (Heath Morrison) * Refactor flush to deleteAll (Simon Ho) * Upgrade eslint-config to 7.x (Miroslav Bajtoš) * Throw error when model relation name is trigger (Brian Schemp) * Add flush operation to KVAO (Simon Ho) * Fix block padding (Siddhi Pai) 2016-12-21, Version 3.1.1 ========================= * Update package.json for LB3 release (Simon Ho) * Fix eslint errors reported by the latest eslint (Miroslav Bajtoš) * Fix HasOne.update to propagate options arg (Miroslav Bajtoš) * Fix linter errors for CI (Simon Ho) * Replicate .github from loopback repo (Siddhi Pai) * Update ko translation file (Candy) * Honour allowExtendedOperators in "DAO.find" (Miroslav Bajtoš) * Fix MySql CI server Failure (Loay) * Upgrade eslint & config to latest (Miroslav Bajtoš) 2016-12-05, Version 3.1.0 ========================= * Apply hasManyThrough filter on target model (jannyHou) * Remove valid connectors from downstream ignores (Simon Ho) * Add some connectors to ignoreList (jannyHou) * Tests cleanup (Amir Jafarian) * Fixed example for creating ValidationError (Boštjan Pišler) * Correct tests for DAO.Create (Amir Jafarian) * Add downstream ignore list config (Simon Ho) * Remove duplicate "engines" from package.json (Miroslav Bajtoš) * Drop support for Node v0.10 and v0.12 (Miroslav Bajtoš) * Fix a test (Amir Jafarian) * Add more robust OH tests for find method (Amir Jafarian) * Add support for `loaded` hook (Amir Jafarian) * Use imperative mood for tests (Amir Jafarian) * Continue _coerce after logical operators (Heath Morrison) * Make variable names more clear (Amir Jafarian) * test/kvao: add connectorCapabilities options (Miroslav Bajtoš) * Fix validateNumericality, nullCheck & add tests (CerealGuy) * Add test for operation hooks (Amir Jafarian) * Add ilike and nilike operators (Nick Duffy) * Fix JSDoc issue (Amir Jafarian) * Update ja translation file (Candy) * Remove 3.0 RELEASE-NOTES (Miroslav Bajtoš) * Fix linting errors (Simon Ho) * Update validations.js (Rand McKinney) * Update translation files - round#2 (Candy) * Fix CI Failures in MySQL (Loay) * Add code review fixups (Simon Ho) * More descriptive name for model with shortid (Tim De Pauw) * Polish PR (Tim De Pauw) * Support {defaultFn: 'shortid'} (Tim De Pauw) 2016-09-22, Version 3.0.0 ========================= * Describe the change of forceId (jannyHou) * Add translation files (Amir Jafarian) * Add 'isNewInstance' for updateAttributes (Amir Jafarian) * Strict mode now always return validationError (David Cheung) * Add docs for KVAO (Simon Ho) * Skip test temporarily (Loay) * Fix BSON Object ID errors for CI (Simon Ho) 2016-09-08, Version 3.0.0-alpha.8 ================================= * Add missing "done" arg in test/kvao/ttl.suite (Miroslav Bajtoš) * Support nested queries for arrays (pponugo) * Refactor TTL tests for KV memory connector (Simon Ho) * Fix test case for expire (Simon Ho) * Fix failures of upsertWithWhere (Amir Jafarian) * Remove expired item before executing expire (Simon Ho) * Disable `strict` for a few files (Amir Jafarian) 2016-08-26, Version 3.0.0-alpha.7 ================================= * test/memory: remove dummy findOrCreate impl (Miroslav Bajtoš) * Fix CI introduced by `use strict` (Amir Jafarian) * Fix manually (Amir Jafarian) * Auto-update by eslint --fix (Amir Jafarian) * Update eslint (Amir Jafarian) * kvao: implement key filter (Miroslav Bajtoš) * kvao: add iterateKeys() and keys() (Miroslav Bajtoš) * Globalize KeyValue Memory connector (Simon Ho) * upsertWithWhere feature support in juggler DAO (Sonali Samantaray) * Fix typo (Amir Jafarian) * Rename get test suite to match other test suites (Simon Ho) * Add TTL for KeyValue related features (Simon Ho) 2016-08-11, Version 3.0.0-alpha.6 ================================= * Return error if the connector does not implement (Amir Jafarian) * kv-memory: fix crash in regular cleanup (Miroslav Bajtoš) * test/relation: add missing error handlers (Miroslav Bajtoš) * forceId=true with auto-increment db (jannyHou) * Fixup globalization (Amir Jafarian) * kvao: return 404 when expiring unknown key (Miroslav Bajtoš) * Implement KeyValue API and memory connector (Miroslav Bajtoš) * Disallow bulk updateOrCreate. (Richard Pringle) * Update globalization (Amir Jafarian) * Use g.f instead of utils.format (Amir Jafarian) * Optimize related model queries (Horia Radu) * Support for globalization (Amir Jafarian) * Update include.js (Rand McKinney) * Fix test case typo (Supasate Choochaisri) * Remove unused variables in model.js (Amir Jafarian) * Declare `definition` (Amir Jafarian) * Add test to catch invalid date property (Supasate Choochaisri) * Update URLs in CONTRIBUTING.md (#1002) (Ryan Graham) * Ensure stable order of items in DAO.find() (Miroslav Bajtoš) * Add test for updateOrCreate (Amir Jafarian) * Update validations.js (Rand McKinney) * Remove DataSource.registerType() (gunjpan) * give options to validators #984 (RobinBiondi) * Throw Error for property names with dots (gunjpan) * Update datasource.js (Ritchie Martori) 2016-06-13, Version 3.0.0-alpha.5 ================================= * Give warning if PK is changed in hooks (Amir Jafarian) * Remove model events (Candy) * Persist changes on parent for embedsOne (Dimitris Halatsis) * Fix (Amir Jafarian) * Fix error message (Amir Jafarian) * ModelBuilder: add new setting strictEmbeddedModels (Dimitris Halatsis) * Retun err for UPSERT if the connector returns err (Amir Jafarian) * fix error handling when applying undefined mixins (Alex Pitigoi) * Add test's description (Amir Jafarian) * Fix incompatibility between different connectors (Amir Jafarian) * travis: add v4, v6, drop io.js (Miroslav Bajtoš) * fix avoid duplicate record on scope with promise (Alex Pitigoi) * Document promise support for DAO::find (Sequoia McDowell) * Set ESLint as devdep (Simon Ho) * Use mocha instead of Makefile for testing (Simon Ho) * DAO.create: don't return the instance (Miroslav Bajtoš) * RELEASE-NOTES: describe 30283291 (Miroslav Bajtoš) * Implement operation hooks for EmbedsMany methods (Miroslav Bajtoš) * Implement operation hooks for EmbedsOne methods (Miroslav Bajtoš) * eslint config 2.0 + remove extra empty lines (Miroslav Bajtoš) * Test coverages for hashed password (Amir Jafarian) * Fix `forceId` check for `replaceById` (Amir Jafarian) * Fix `notify` bugs for `find` (Amir Jafarian) * test: extract hook-monitor helper (Miroslav Bajtoš) * test: extract uid-generator helper (Miroslav Bajtoš) * test: extract context-test-helpers (Miroslav Bajtoš) * Define `patch` aliases (Amir Jafarian) 2016-04-07, Version 3.0.0-alpha.4 ================================= * Partition by foreign key for pagination (Raymond Feng) * Fix style errors (Raymond Feng) * fix remaining eslint issues (Miroslav Bajtoš) * eslint --fix (Miroslav Bajtoš) * Add eslint as "npm run lint" and "posttest" hook (Miroslav Bajtoš) * Remove unused support/ files (Miroslav Bajtoš) * Insert copyright headers (Ryan Graham) * Relicense as MIT only (Ryan Graham) * Fix Mongo compatibility issue (Amir Jafarian) * Add automigrate to setup tables for replace test cases (Amir Jafarian) * Allow test folder to be published (Amir Jafarian) * support custom field settings under the connector's namespace (bitmage) * Update error message for missing connector (gunjpan) * Fix tests for mysql (Amir Jafarian) * Add forgotten unit test (Miroslav Bajtoš) * fix nin support for in memory datasource (Horia Radu) * Improve error message on connector init error (Miroslav Bajtoš) * discoverSchemas returns an error when modelName is not found, discoverSchema forwards that error and does not hang when no columns, no errors are returned (bitmage) 2016-02-22, Version 3.0.0-alpha.3 ================================= * Fix missing connector error msg for db2, cloudant (Candy) * Update describe-operation-hooks (Miroslav Bajtoš) 2016-02-05, Version 3.0.0-alpha.2 ================================= * Implementtaion of replace (Amir Jafarian) * Fix conversion for `updateAttributes` (Amir Jafarian) * Prevent constructor to be property name (Jue Hou) * Revert "Change "npm test" to call mocha directly" (Miroslav Bajtoš) * Change "npm test" to call mocha directly (Hans(Zhenghan) Zhang) * Refactor `updateAttributes` (Amir Jafarian) * Update README.md (Simon Ho) * Add unit test to verify fix for #754 (Tom Kirkpatrick) * Update package.json (Janny) * Try mocha test (Janny) * Implement `findOrCreate` for memory connector (Amir Jafarian) * Fix a bug when validation is off for findOrCreate (Amir Jafarian) * Use bluebird in utils.js Replace `global.Promise` with `bluebird` (Jue Hou) * Fix broken code fencings in the docs (Farid Nouri Neshat) * Revert "Correct syntax for should and more" (Simon Ho) * Fix test for shouldjs 8.0.2 upgrade (Simon Ho) * Upgrade shouldjs to 8.0.2 (Simon Ho) * Enhance "persist" hook in DAO.updateOrCreate (Miroslav Bajtoš) * Enhance "persisted" hook in DAO.updateAttributes (Miroslav Bajtoš) * "loaded" hook in DAO.find: ctx.data, not instance (Miroslav Bajtoš) * describe-operation-hooks: add "loaded" hook (Miroslav Bajtoš) 2015-12-22, Version 3.0.0-alpha.1 ================================= * Start development of 3.0 (Miroslav Bajtoš) * Correct syntax for should and more (Amir Jafarian) 2015-12-13, Version 2.44.0 ========================== * Fix failing test for MongoDB connector (Simon Ho) * Make automatic validation optional (Bert Casier) * Add refresh script (Simon Ho) * Add clean scripts (Simon Ho) * Refactor Makefile (Simon Ho) 2015-11-27, Version 2.43.0 ========================== * Explicitly initialize column of partition by clause and pass it in find()'s options argument (eugene-frb) * Fix for issue #774 (Pradeep Kumar Tippa) * silence a warning that introduced in bluebird 3.0 (Clark Wang) * fixed a bug where an error was sent to the updateAttributesCallback and then ignored (Abe BW) * Capture includeHasMany() as a find()'s caller by findCaller option (eugene-frb) * UpdateAttributes: Raises an error if database fails (Wilson Júnior) * fixes #753 (Joseph M. Persie) * typo fix (nennad) * Fix foreignKey length issue (nennad) 2015-11-23, Version 2.42.0 ========================== * Correction of a regression introduced by commit 632898b: when querying an empty array ([]) with a 'neq' filter, there were no matching. (Michael Diguet) * dropped unused functions and tests fixed (Wert_Lex) * One more comment (Wert_Lex) * Looks better now (Wert_Lex) * home-written map extended with proper .set() method (Wert_Lex) * on the halfway to keeping original keys (Wert_Lex) * with updated map which stores original key and tests for them (Wert_Lex) * Moved inst initialization to place where it used (Wert_Lex) * All tests passed (Wert_Lex) * Dirty merge. Tests are broken (Wert_Lex) * include utils add. Tests ported to should.js (Wert_Lex) 2015-11-17, Version 2.41.2 ========================== * Fix the typo (Raymond Feng) * fix typo (Clark Wang) * fix global leak that mocha complains (Clark Wang) * Refer to licenses with a link (Sam Roberts) 2015-10-28, Version 2.41.1 ========================== * Added missing callback when a model is not found (Federico Rampazzo) * Rewrite of variable (mdartic) * Filtering relations of a model with an order specified (mdartic) 2015-10-07, Version 2.41.0 ========================== * Ability to define normalization of undefined query (Ryan Schumacher) * findByIds would fail when an array of 0 length was passed as its first argument (James Cooke) * Use strongloop conventions for licensing (Sam Roberts) 2015-09-11, Version 2.40.1 ========================== * Fix the test so that it works across DBs (Raymond Feng) 2015-09-10, Version 2.40.0 ========================== * Fix id comparision in tests so that they work with mongodb object id (Raymond Feng) * Update validations.js (Rand McKinney) * Add support for using UUID V4 as defaultFn (Bram Borggreve) * primaryKey for hasMany and belongsTo relations (sklyukin) * primaryKey to hasOne relation (sklyukin) * Add direct copmarison value for array matching (Laurent Villeneuve) * Add support for matching array values à la mongo. (Laurent Villeneuve) * Fixed ReferencesMany .findById to check the given id in the ids array of the model instance (Satyadeep) 2015-08-27, Version 2.39.0 ========================== * Optimze automigrate() to cut the test time signicantly (Raymond Feng) * Fix primary key checks (Simon Ho) * travis: drop 0.6 and 0.8, add iojs (Miroslav Bajtoš) * Upgrade Travis to container-based infrastructure (Miroslav Bajtoš) * Relax id requirement for basic query operations (Simon Ho) 2015-08-18, Version 2.38.0 ========================== * Support embedded query in memory connector. Fix memory connector bug (Laurent Villeneuve) * Use idEquals when comparing ids in relation definitions (Laurent Villeneuve) * Handle possible undefined id (Laurent Villeneuve) * Fix id copmarison by using strings (Laurent Villeneuve) * Refactor idEquals to utils (Raymond Feng) 2015-08-14, Version 2.37.0 ========================== * Do not coerce RegExp objects to strings (Simon Ho) * Indicate result of destroyById/protototype.destroy (Fabien Franzen) * Removed extra ")" (Chris Finn) * Fixed typo & added the filter units (Chris Finn) 2015-08-05, Version 2.36.0 ========================== * Report deferred exceptions via callback (Raymond Feng) * fixes issue 673: Include hasMany of relation does not return empty array (Kenta Fried) 2015-07-30, Version 2.35.3 ========================== * Fix the test case with automigrate (Raymond Feng) 2015-07-30, Version 2.35.2 ========================== * Fix regexp error for the memory connector (Simon Ho) 2015-07-29, Version 2.35.1 ========================== * Fix error handling (Raymond Feng) 2015-07-29, Version 2.35.0 ========================== * Remove test for unused utility function (Simon Ho) * Remove try/catch from find function (Simon Ho) * Add support for regex operator (Simon Ho) * Async 'loaded' hook for find (Pradnya Baviskar) * Promisify all 'discover' methods (Pradnya Baviskar) * Fix 'persist' hook for updateAttributes() (Pradnya Baviskar) 2015-07-22, Version 2.34.0 ========================== * Don't enforce strictness if allowExtendedOperators: true (MongoDB) (Fabien Franzen) * Take strict: validate and throw settings into account (Fabien Franzen) * Filter attributes when strict: true (Fabien Franzen) 2015-07-21, Version 2.33.3 ========================== * Make sure done() is called within the callback (Raymond Feng) 2015-07-18, Version 2.33.2 ========================== * Add NOTICE (Raymond Feng) * prevent upsert overwriting default values with applyDefaultValues option (Bryan Clark) * use fromDb to deserialize data after save in Memory connector (Bryan Clark) * Correctly handle validatesUniquenessOf(idName) (Fabien Franzen) 2015-07-10, Version 2.33.1 ========================== * Fix object merge (Raymond Feng) 2015-07-10, Version 2.33.0 ========================== * Make sure base property definitions are cloned (Raymond Feng) 2015-07-03, Version 2.32.0 ========================== * Fix the regression for date conversion (Raymond Feng) * Don't cache static scope method results #575 (Fabien Franzen) 2015-07-02, Version 2.31.1 ========================== * Fix the regexp value for like/nlike (Raymond Feng) 2015-07-02, Version 2.31.0 ========================== * Assert the existence of instance (Raymond Feng) * Make sure operator/options are honored (Raymond Feng) * Fix coercion from ObjectID to String (Raymond Feng) * Fix #623 - use actual id order (Fabien Franzen) * test: fix persistence-hooks failures in MySQL (Miroslav Bajtoš) * Includes with transaction support (Rus1) * Fix updateOrCreate transaction propagation (Rus1) * Fix promise chaining in case of error (Rus1) * Promisify 'autoupdate' (Pradnya Baviskar) * Add new hook 'loaded' (Pradnya Baviskar) 2015-06-16, Version 2.30.1 ========================== * Ping async to 1.0.0 to work around context propagation (Raymond Feng) * Fix the test case (Raymond Feng) 2015-06-16, Version 2.30.0 ========================== * Promisify 'automigrate' (Pradnya Baviskar) * check object exists before setting __cachedRelations (ningsuhen) * Fix the test case as updateAll takes `where` directly (Raymond Feng) * Fix for issues #622 & #623 (ningsuhen) * Add new hook 'persist' (Pradnya Baviskar) * Create a script to describe operation hooks (Miroslav Bajtoš) * Allow 0 as the FK (Raymond Feng) * fix typo (Clark Wang) * Dedupe ids args of inq for include (Raymond Feng) 2015-05-29, Version 2.29.2 ========================== * Fix the test case (Raymond Feng) 2015-05-28, Version 2.29.1 ========================== * Update deps (Raymond Feng) * Don't silently swallow db errors on validation. (Samuel Reed) * adapt coding style @bajtos (mamboer) * addressing #603 (Patrick Perini) * enhancement on #588 (mamboer) * fix issue #587 (mamboer) * add test suit for scope - dynamic function (Nemo) 2015-05-27, Version 2.29.0 ========================== * Enhance the apis and add more tests (Raymond Feng) * Fix for https://github.com/strongloop/loopback/issues/1401 (Raymond Feng) * Fix ReferenceError: definition is not defined (Dmitry Manannikov) * Mix in observer apis to the connector (Raymond Feng) * Enhance fieldsToArray to consider strict mode (Raymond Feng) 2015-05-20, Version 2.28.1 ========================== * Remove dep on sinon (Raymond Feng) * Update deps (Raymond Feng) 2015-05-18, Version 2.28.0 ========================== * Make sure promise is returned (Raymond Feng) * Update deps to loopback-connector (Raymond Feng) * Fix comments (Raymond Feng) * Enable docs (Raymond Feng) * Add an optional `options` argument to relation methods (Raymond Feng) * Add transaction apis (Raymond Feng) * Refactor the observer functions into a plugin (Raymond Feng) * Add transaction (Raymond Feng) 2015-05-16, Version 2.27.1 ========================== * Make sure relation scope is applied during include (Raymond Feng) * Updated JSdoc for Datasource constructor (crandmck) 2015-05-13, Version 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) 2015-05-05, Version 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š) 2015-04-24, Version 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) 2015-04-24, Version 2.26.2 ========================== * Allow leading slash for `path` in model settings (Raymond Feng) 2015-04-22, Version 2.26.1 ========================== * validations: treat `NaN` as a blank value (Miroslav Bajtoš) 2015-04-22, Version 2.26.0 ========================== * Allow custom name mapping for discovered models (Raymond Feng) 2015-04-17, Version 2.25.1 ========================== * Validate model on updateOrCreate (upsert). (Miroslav Bajtoš) 2015-04-16, Version 2.25.0 ========================== * Extend findById to accept an optional filter object (Raymond Feng) 2015-04-14, Version 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) 2015-04-01, Version 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) 2015-03-27, Version 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) 2015-03-16, Version 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) 2015-03-12, Version 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) 2015-03-04, Version 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) 2015-03-03, Version 2.19.1 ========================== * Make sure inclusion filter is applied to the target model (Raymond Feng) 2015-03-02, Version 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š) 2015-02-20, Version 2.18.1 ========================== * Make sure models are migrated to avoid conflicts (Raymond Feng) * Add err checks (Raymond Feng) * Fix findByIds test cases (Raymond Feng) 2015-02-20, Version 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š) 2015-02-11, Version 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) 2015-02-05, Version 2.16.0 ========================== * Return 400 when client provides an incorrect value (Pradnya Baviskar) * Relax "id" checks in test/manipulation.test.js (Miroslav Bajtoš) * Fix typo (Raymond Feng) * test: undefined property values are preserved (Miroslav Bajtoš) * Remove undefined properties for create (Raymond Feng) * Update to `should` to the latest version 4.6.3 (Miroslav Bajtoš) * Relax the id equality test for mongodb object ids (Raymond Feng) 2015-02-02, Version 2.15.0 ========================== * Fix id type issue for update (Raymond Feng) * Rename hook "query" to "access" (Miroslav Bajtoš) * Implement intent hook `before delete` (Miroslav Bajtoš) * Remove redundant `.toObject()` call from `upsert` (Miroslav Bajtoš) * Fix regression in `.save()` from 1fd6eff1 (Miroslav Bajtoš) * Fix hasOne remoting (Raymond Feng) * Make sure batch create calls back with correct data (Raymond Feng) * Intent-based hooks for persistence (Miroslav Bajtoš) * ModelBaseClass: implement async observe/notify (Miroslav Bajtoš) * Upgrade `should` to the latest 1.x version (Miroslav Bajtoš) * Fixed nullCheck in validations to correct behavior when dealing with undefined attributes (James Billingham) * Supply target to applyProperties function (Fabien Franzen) * fix id property for composite ids (Clark Wang) * fix id properties should sort by its index (Clark Wang) * Fixed typos and logic for protected properties (Christian Enevoldsen) * adds support for protected properties. (Christian Enevoldsen) * support embeds data for belongsTo relation Signed-off-by: Clark Wang <clark.wangs@gmail.com> (Clark Wang) 2015-01-15, Version 2.14.1 ========================== * Fix detection of `util.inspect` version (Miroslav Bajtoš) * fix recursive calls if create belongsTo model in beforeCreate hook (Clark Wang) 2015-01-14, Version 2.14.0 ========================== * Remove console.log (Raymond Feng) * Fix for #369 (Dallon Feldner) * Fix virtual id get function. (Berkeley Martinez) * Fix Model.prototype.inspect (Miroslav Bajtoš) * Include property value in the error message (Miroslav Bajtoš) * Update datasource.js (Rand McKinney) * Change Model to BaseModel for clarity (Fabien Franzen) * Don't coerce nested objects into Model instances (Fabien Franzen) 2015-01-07, Version 2.13.0 ========================== * added test for sorting undefined values (Christian Vette) * Fix the floating number comparison (Raymond Feng) * Fix bad CLA URL in CONTRIBUTING.md (Ryan Graham) * replace deprecated function __defineGetter__ (bitmage) * add a flag to callback of findOrCreate to indicate find or create (Clark Wang) * fix sorting of undefined values with multiple columns (Christian Vette) * code style (cvette) * fix sorting with undefined in memory connector (cvette) * Added support for inline parameters like: new GeoPoint(-34, 150) (Simo Moujami) * fix default include in default scope fails findById (Clark Wang) * Added test for toString() (Simo Moujami) * Additional formatting (Simo Moujami) * Fixed constructor parameters and added bdd tests for constructor validation (Simo Moujami) * Fixed indentation (Simo Moujami) * Added mocha tests for GeoPoint (Simo Moujami) * renamed intermediary variable (Simo Moujami) * Fixed the haversine formula to calculate distance between 2 points properly (Simo Moujami) 2014-12-08, Version 2.12.0 ========================== * Relax the id comparison (Raymond Feng) * Allow more flavors of nullable values from DB discovery (Raymond Feng) * Fix a typo (Raymond Feng) * docs.json: add lib/model.js (Miroslav Bajtoš) * Update README.md (Rand McKinney) * fix embedsOne error when embed instance is undefined or null (Clark Wang) * Be explicit: set RelationDefinition multiple flag (Fabien Franzen) * Allow hasOne relation to have a scope option (Clark Wang) * fix skipping async validator will always fail if condition is un-fulfilled (Clark Wang) 2014-11-13, Version 2.11.0 ========================== * Bump version (Raymond Feng) * handle relationship create with [array] (bitmage) * #350: Creating a batch via hasMany relation is failing. Added handling of array argument. (Alex Voitau) * #350: Creating a batch via hasMany relation is failing. Added context 'with scope' to allow individual execution of tests. (Alex Voitau) 2014-11-04, Version 2.10.3 ========================== * Bump version (Raymond Feng) * Add support for multiple includes that use relation syntax (Raymond Feng) * Tests for non standard id - hasOne and polymorphic (Pandaiolo) * Fix HasOne PK on modelFrom instead of modelTo (Pandaiolo) * Remove "Suite" (Rand McKinney) * Tiny fix: default __persisted to false (Fabien Franzen) * Don't apply defaults when fields are specified (Fabien Franzen) 2014-10-21, Version 2.10.2 ========================== * Bump version (Raymond Feng) * Fix the automigrate issue (Raymond Feng) 2014-10-15, Version 2.10.1 ========================== * Bump version (Raymond Feng) * Enable include scope for belongsTo (Fabien Franzen) * Call relation methods in the right context (Fabien Franzen) 2014-1