Commit Graph

563 Commits

Author SHA1 Message Date
Raymond Feng 64b6aef924 2.33.1
* Fix object merge (Raymond Feng)
2015-07-10 14:15:33 -07:00
Raymond Feng 9d653c1a45 2.33.0
* Make sure base property definitions are cloned (Raymond Feng)
2015-07-10 10:40:29 -07:00
Raymond Feng f3b2a97c84 2.32.0
* Fix the regression for date conversion (Raymond Feng)

 * Don't cache static scope method results #575 (Fabien Franzen)
2015-07-03 09:29:58 -07:00
Raymond Feng 88229fb5cf 2.31.1
* Fix the regexp value for like/nlike (Raymond Feng)
2015-07-02 23:22:56 -07:00
Raymond Feng 62a429b2a6 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-07-02 14:57:11 -07:00
Raymond Feng 019705d32f 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 13:43:28 -07:00
Raymond Feng 8302b2480d Ping async to 1.0.0 to work around context propagation 2015-06-16 13:43:06 -07:00
Raymond Feng 62f3f3af0d 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-06-16 09:00:08 -07:00
Raymond Feng 56344fe99e 2.29.2
* Fix the test case (Raymond Feng)
2015-05-29 09:29:05 -07:00
Raymond Feng 270fc4c247 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-28 14:53:28 -07:00
Raymond Feng d4d367e786 Update deps 2015-05-28 14:47:43 -07:00
Raymond Feng e8e3ce6688 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-27 11:09:03 -07:00
Raymond Feng 44bdeb7ae0 2.28.1
* Remove dep on sinon (Raymond Feng)

 * Update deps (Raymond Feng)
2015-05-20 09:14:42 -07:00
Raymond Feng cbb8d7c789 Remove dep on sinon 2015-05-20 09:13:56 -07:00
Raymond Feng 9705819972 Update deps 2015-05-18 14:29:54 -07:00
Raymond Feng 288e6e4c7e 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-18 14:25:02 -07:00
Raymond Feng 9031400838 Update deps to loopback-connector 2015-05-18 09:36:46 -07:00
Raymond Feng 6ef7dc5914 2.27.1
* Make sure relation scope is applied during include (Raymond Feng)

 * Updated JSdoc for Datasource constructor (crandmck)
2015-05-16 11:51:45 -07:00
Raymond Feng 82ea32f319 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-13 16:14:40 -07:00
ningsuhen d009557a76 DB Call Optimization in relation includes - Fixes #408 & #166 2015-05-14 00:19:43 +05:30
Miroslav Bajtoš d8ecea6111 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-05-05 17:51:35 +02:00
Raymond Feng ef0a10dbb6 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 17:04:00 -07:00
Raymond Feng b0e4312585 2.26.2
* Allow leading slash for `path` in model settings (Raymond Feng)
2015-04-24 08:47:23 -07:00
Miroslav Bajtoš 51265ba26e 2.26.1
* validations: treat `NaN` as a blank value (Miroslav Bajtoš)
2015-04-22 20:13:17 +02:00
Raymond Feng e4c602b098 2.26.0
* Allow custom name mapping for discovered models (Raymond Feng)
2015-04-22 08:44:02 -07:00
Miroslav Bajtoš 2a9a98415a 2.25.1
* Validate model on updateOrCreate (upsert). (Miroslav Bajtoš)
2015-04-17 19:34:37 +02:00
Raymond Feng 0786dc563b 2.25.0
* Extend findById to accept an optional filter object (Raymond Feng)
2015-04-16 11:04:36 -07:00
Miroslav Bajtoš dc54d02485 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-14 19:10:43 +02:00
Miroslav Bajtoš 0002aaedef 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-04-01 18:48:22 +02:00
Miroslav Bajtoš dac1899f59 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-27 18:03:08 +01:00
Miroslav Bajtoš 5d8b3323ad Remove all usages of lodash.
This commit is dropping lodash in favour of hand-written implementation
based on ES5 Array methods. As a result, the size of the (unminified)
loopback browser bundle is decreased by approx 360KB.
2015-03-26 09:33:48 +01:00
Raymond Feng 53d694b429 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-16 09:54:06 -07:00
Raymond Feng 7dc0fcd26f 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-12 10:22:05 -07:00
Raymond Feng b7abb08da8 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-04 22:19:51 -08:00
Raymond Feng 666e15f8a4 2.19.1
* Make sure inclusion filter is applied to the target model (Raymond Feng)
2015-03-03 11:11:19 -08:00
Miroslav Bajtoš 4fb4e356af 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-03-02 17:06:04 +01:00
Miroslav Bajtoš 03daaca9de Deprecate Model hooks
List of deprecated hooks:

 - beforeValidate
 - afterValidate
 - beforeCreate
 - afterCreate
 - beforeSave
 - afterSave
 - beforeUpdate
 - afterUpdate
 - beforeDestroy
 - afterDestroy

Also add a lightweight browser version of "depd", because the "depd"
does not support browser and it is not trivial to fix that.
This commits adds a lightweight implementation of depd's "deprecate"
function.
2015-02-27 16:58:24 +01:00
Raymond Feng fc0667fbf4 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 21:51:15 -08:00
Raymond Feng d5e71f1157 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-20 17:08:01 -08:00
Miroslav Bajtoš ba0f3c1616 Add a new property option `defaultFn`
The property allows developers to specify that the default value
should be retrieved via a named function.

Only two built-in functions are supported at the moment:

  "guid", "uuid" - generate a new GUID/UUID
  "now" - use the current date and time

Support for custom (user-provided) functions is not implemented yet.
2015-02-20 20:08:25 +01:00
Miroslav Bajtoš a2836fbb56 ModelBaseClass: support promise-based observers
Allow the observer functions passed to `ModelBaseClass.observe`
to return a promise instead of calling the callback.
2015-02-17 17:31:42 +01:00
Bryan Clark 98fcf6b52c use lodash to update the findBelongsTo which now returns an array of matches 2015-02-16 15:36:51 -08:00
Raymond Feng b4189bf997 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-11 20:59:24 -08:00
Raymond Feng 770c69b1d4 Upgrade deps 2015-02-10 09:49:54 -08:00
Denis Bardadym 32e534732c Remove workaround for perfomance degradation 2015-02-10 13:28:47 +03:00
Miroslav Bajtoš aca258f7e0 v2.16.0 2015-02-05 12:47:33 +01:00
Miroslav Bajtoš 3593127ef3 Update to `should` to the latest version 4.6.3 2015-02-03 11:44:15 +01:00
Miroslav Bajtoš b169650618 v2.15.0 2015-02-02 19:10:36 +01:00
Miroslav Bajtoš f9b0ac482c Upgrade `should` to the latest 1.x version 2015-01-29 08:41:19 +01:00
Miroslav Bajtoš 825b4d5ba3 v2.14.1 2015-01-15 08:53:57 +01:00
Raymond Feng 0ff7e3de91 v2.14.0 2015-01-14 12:44:22 -08:00
Raymond Feng 0c4bc5e40e v2.13.0 2015-01-07 13:58:06 -08:00
Raymond Feng 01e578be15 v2.12.0 2014-12-08 16:19:09 -08:00
Raymond Feng 7e69d7c691 Bump version 2014-11-13 12:57:35 -08:00
Raymond Feng c43783f78c Bump version 2014-11-04 22:11:12 -08:00
Raymond Feng 354b843bf0 Bump version 2014-10-21 10:58:32 -07:00
Raymond Feng 0335d0a7b9 Bump version 2014-10-15 09:19:36 -07:00
Raymond Feng f2ed39cb2d Bump version 2014-10-13 08:34:24 -07:00
Raymond Feng 8ad25a179a Bump version 2014-09-12 22:49:59 -07:00
Raymond Feng 05d9d91463 Bump version 2014-09-04 10:23:30 -07:00
Raymond Feng 9cad519d97 Bump version 2014-08-27 11:15:57 -07:00
Raymond Feng debcc3d831 Bump version 2014-08-25 22:18:19 -07:00
Raymond Feng b26dc8207b Bump version 2014-08-22 11:07:24 -07:00
Raymond Feng 9e25cf1cd3 Bump version 2014-08-21 13:50:15 -07:00
Raymond Feng 76119e1f56 Bump version 2014-08-21 10:59:31 -07:00
Raymond Feng 6f680f92fc Bump version 2014-08-20 15:08:33 -07:00
Raymond Feng b47197e854 Bump version 2014-08-18 20:36:45 -07:00
Raymond Feng 4df1f52c47 Bump version 2014-08-15 23:31:19 -07:00
Raymond Feng 5baf05c237 Bump version 2014-08-15 13:49:09 -07:00
Raymond Feng c53dc74d16 Fix a name conflict in scope metadata 2014-08-08 15:52:30 -07:00
Raymond Feng 366ff3bf62 Bump version 2014-08-08 09:30:16 -07:00
Raymond Feng 3efd758658 Bump version 2014-08-07 10:36:49 -07:00
Raymond Feng 1cb4ea2ff0 Upgrade qs 2014-08-07 10:35:13 -07:00
Raymond Feng 5a2bb6548a Upgrade qs version 2014-08-04 16:37:21 -07:00
Raymond Feng e89a79916a Bump version 2014-08-04 15:29:45 -07:00
Raymond Feng 79af219618 Bump version 2014-07-30 09:19:40 -07:00
Raymond Feng 08070aab76 Bump version 2014-07-27 00:40:10 -07:00
Raymond Feng 4f80890489 Bump version 2014-07-26 23:58:51 -07:00
Miroslav Bajtoš cbab9d754a 2.0.0 2014-07-22 20:29:42 +02:00
Raymond Feng f9e31de7c8 Bump version 2014-07-21 11:34:38 -07:00
Raymond Feng 671b32dd43 Add missing inflection dep back 2014-07-16 12:31:44 -07:00
Raymond Feng 523db2fbad Bump version 2014-07-15 17:11:22 -07:00
Raymond Feng fc710ca55a Merge branch 'master' into 2.0 2014-07-15 17:09:20 -07:00
Raymond Feng f406c32b33 Bump version 2014-07-15 12:55:40 -07:00
Miroslav Bajtoš 1e3be7f474 1.6.3 2014-07-03 08:41:31 +02:00
Raymond Feng e7a97da3bf Bump version and update deps 2014-06-27 10:12:10 -07:00
Miroslav Bajtoš a7124c4821 2.0.0-beta2 2014-06-24 08:29:21 +02:00
Raymond Feng 44de2da21f Merge branch 'master' into 2.0 2014-06-20 23:02:37 -07:00
Raymond Feng 58131029cf Bump version 2014-06-20 21:16:39 -07:00
Raymond Feng 8087e4b1e7 Bump version 2014-06-04 15:26:04 -07:00
Miroslav Bajtoš a86648ed7b Replace connector base with loopback-connector
Remove references to Connector and BaseSQL, connectors should require()
loopback-connector instead of loopback-datasource-juggler.
2014-05-29 11:57:49 +02:00
Raymond Feng fb4dfb6f62 Bump version 2014-05-27 22:03:41 -07:00
Raymond Feng fc6c224599 Bump version 2014-05-27 21:59:21 -07:00
Miroslav Bajtoš 8e60915061 1.5.2 2014-05-27 21:59:21 -07:00
Ritchie Martori 6261eba266 2.0.0-beta1 2014-05-27 16:08:05 -07:00
Ritchie Martori 104ba1aab8 1.6.0 2014-05-20 13:59:53 -07:00
Miroslav Bajtoš 934b5a3fa9 1.5.2 2014-05-20 17:59:05 +02:00
Raymond Feng a9a7ab1315 Bump version 2014-05-16 08:52:25 -07:00
Miroslav Bajtoš ed533485aa 1.5.0 2014-05-15 09:35:55 +02:00
skawful@gmail.com 7a02c0935b 1.4.0 2014-05-14 13:47:06 -07:00
Raymond Feng d3fc157601 Update deps 2014-05-13 08:46:34 -07:00
Raymond Feng 4b93adfbe9 Bump version 2014-05-13 08:34:44 -07:00
Ritchie Martori 9b9833df0f 1.3.12 2014-05-01 14:25:49 -07:00
Ritchie Martori 503da59218 1.3.11 2014-04-11 12:37:24 -07:00
Raymond Feng e3eca4cf19 Bump version 2014-04-04 09:02:12 -07:00
Miroslav Bajtoš de3aaf1a11 v1.3.9 2014-04-04 16:37:52 +02:00
Raymond Feng 2e9e59c79b Bump version 2014-03-27 14:43:08 -07:00
Raymond Feng c3f5487914 Bump version 2014-03-19 17:14:09 -07:00
Raymond Feng 7c9f48d122 Bump version 2014-03-04 10:40:58 -08:00
Raymond Feng d14c58775d Use debug module for logging 2014-03-04 09:42:55 -08:00
Raymond Feng 5a3eebbc9f Bump version 2014-02-27 11:13:12 -08:00
Raymond Feng fc48e77181 Bump version 2014-02-24 22:24:20 -08:00
Raymond Feng da09fd29b8 Bump version and update deps 2014-02-21 09:21:42 -08:00
Raymond Feng 0007df6d50 Update license to dual MIT/StrongLoop 2014-02-17 15:56:56 -08:00
Raymond Feng 9f0074dc13 Bump version 2014-02-13 08:51:27 -08:00
Raymond Feng e5b03f5bcd Bump version 2014-02-11 19:47:23 -08:00
Raymond Feng 24c76bff0c Revert the inflection version due to regression in camelize 2014-02-11 15:39:40 -08:00
Raymond Feng e7c84c333f Bump version and update deps 2014-02-11 14:31:26 -08:00
Miroslav Bajtoš 3cc51a2dff v1.2.13 2014-01-27 10:14:15 +01:00
Raymond Feng a8606f4b8e Bump version 2014-01-13 13:21:13 -08:00
Raymond Feng 96d9da290d Bump version 2013-12-20 18:25:56 -08:00
Raymond Feng e550a25d7e Bump version 2013-12-16 14:28:00 -08:00
Raymond Feng fd6fa3558d Bump version 2013-12-14 00:04:26 -08:00
Raymond Feng 1131914bc6 Bump version 2013-12-10 09:56:35 -08:00
Raymond Feng e5824356ca Fix belongsTo relation 2013-12-04 21:38:40 -08:00
Ritchie Martori 9a549cfe5d Bump version 2013-12-04 11:40:50 -08:00
Raymond Feng c55a5153a5 Bump version 2013-11-20 11:10:40 -08:00
Raymond Feng 1818be1667 Bump the version 2013-11-19 10:58:13 -08:00
Raymond Feng 31c5504050 Bump version and remove blanket 2013-11-15 13:54:29 -08:00
Raymond Feng a3d66b65ef Bump version 2013-11-13 17:27:55 -08:00
Raymond Feng 4c75bd4575 Update to 1.2.0 2013-11-08 09:14:55 -08:00
Raymond Feng f3011216b5 Support datasource/connector configuration using URL string 2013-10-25 16:18:02 -07:00
Raymond Feng 63ce9911cb Add keywords to package.json 2013-09-11 10:46:09 -07:00
Raymond Feng 211f8a9ade Finalize package.json for sls-1.0.0 2013-09-10 12:19:20 -07:00
Raymond Feng be10dfcc18 Tidy up package.json for LoopBack 1.0.0 2013-09-04 16:44:22 -07:00
Raymond Feng d697fb5d4e Remove the semicov dependency as now we use blanket 2013-08-15 14:10:13 -07:00
cgole 74460316b8 Added blanket.js for code coverage 2013-08-12 18:09:51 -07:00
Raymond Feng f3443959a1 Rename 'loopback-data' to 'loopback-datasource-juggler' 2013-07-30 14:10:03 -07:00
Raymond Feng 57c181c8b9 Bring up json object introspection to build models 2013-07-26 13:06:43 -07:00
Raymond Feng 002f98ef7e Clean up docs 2013-07-22 22:32:05 -07:00
Raymond Feng be21815e7b Rename jugglingdb to loopback-data 2013-07-16 11:59:53 -07:00
Raymond Feng 2b91d2d89b Update inflection 2013-06-11 16:11:37 -07:00
Raymond Feng 5b32141e31 Start to add discoverSchema and name mapping 2013-05-22 10:41:08 -07:00
Anatoliy Chakkaev b55cffec34 0.2.0-33 2013-05-17 09:01:29 -07:00
Anatoliy Chakkaev 4e70b5c003 0.2.0-32 2013-05-13 22:04:29 -07:00
Anatoliy Chakkaev 605a750859 0.2.0-31 2013-05-13 22:04:29 -07:00
Anatoliy Chakkaev 0974326bdc 0.2.0-30 2013-05-13 22:04:28 -07:00
Anatoliy Chakkaev da5d81f0fa 0.2.0-29 2013-04-04 14:34:49 +04:00
Anatoliy Chakkaev 6d9c2d4d49 0.2.0-28 2013-04-01 20:14:18 +04:00
Anatoliy Chakkaev ab3f64a152 0.2.0-27 2013-03-31 13:41:12 +04:00
Anatoliy Chakkaev 1749782a4b 0.2.0-26 2013-03-30 21:10:32 +04:00
Anatoliy Chakkaev df8cafce77 0.2.0-25 2013-03-27 18:57:20 +04:00
Anatoliy Chakkaev f76b56d2fe Another way to define belongsTo 2013-03-26 04:39:47 +04:00
Anatoliy Chakkaev ea9e6561af 0.2.0-24 2013-03-25 15:42:46 +04:00
Anatoliy Chakkaev a613537aed Added man pages to package 2013-03-25 15:42:39 +04:00
Anatoliy Chakkaev e91b0d6c49 Switch to mocha testing in travis 2013-03-25 02:25:43 +04:00
Anatoliy Chakkaev ab392a4e6b Added json test 2013-03-19 14:05:26 +04:00
Anatoliy Chakkaev 8c0df49e36 0.2.0-23 2013-03-11 17:22:18 +08:00
Anatoliy Chakkaev 8ca6d2e0ba 0.2.0-22 2013-03-01 21:14:29 +07:00
Anatoliy Chakkaev ded757bd50 0.2.0-21 2013-03-01 00:06:24 +07:00
Anatoliy Chakkaev 7b6863bfd4 0.2.0-20 2013-02-22 01:24:30 +07:00
Anatoliy Chakkaev 5a1df1b418 0.2.0-19 2013-02-20 03:40:44 +08:00
Anatoliy Chakkaev e371451d86 0.2.0-18 2013-02-10 04:59:35 +08:00
Anatoliy Chakkaev ae60569b9d 0.2.0-17 2013-01-30 22:30:56 +07:00
Anatoliy Chakkaev cddb24ec84 0.2.0-16 2013-01-23 07:51:07 +07:00
Anatoliy Chakkaev 785868962c 0.2.0-15 2013-01-23 06:31:22 +07:00
Anatoliy Chakkaev 16a55a1bce 0.2.0-14 2013-01-23 03:23:21 +07:00
Anatoliy Chakkaev 0096c94d8f 0.2.0-13 2013-01-22 23:27:57 +07:00
Anatoliy Chakkaev aaf671bf9b 0.2.0-12 2013-01-21 20:37:15 +07:00
Anatoliy Chakkaev 1e79dbfc5f 0.2.0-11 2013-01-20 23:06:28 +07:00
Anatoliy Chakkaev bd325b7132 0.2.0-10 2013-01-19 20:54:48 +07:00
Anatoliy Chakkaev ba81bd8366 0.2.0-9 2012-12-24 22:18:01 +04:00
Anatoliy Chakkaev 1088146986 0.2.0-8 2012-12-24 00:31:41 +04:00
Anatoliy Chakkaev c08a220dda 0.2.0-7 2012-12-21 20:18:06 +04:00
Anatoliy Chakkaev 05a6d686aa Strict adapter checking 2012-12-21 18:26:21 +04:00
Anatoliy Chakkaev ceff4278e8 0.2.0-4 2012-12-19 19:00:28 +04:00
Anatoliy Chakkaev 7f8aee471c 0.2.0-3 2012-12-19 18:57:34 +04:00
Anatoliy Chakkaev 2fe448f9fd Added coffee-script as dev dependency 2012-12-15 16:10:41 +04:00
Anatoliy Chakkaev b56677c063 Arrange contributors, remove coffee-script 2012-12-15 16:06:03 +04:00
Anatoliy Chakkaev 21ad5bba48 0.2.0-2 2012-12-14 21:44:44 +04:00
Anatoliy Chakkaev d1eb481fce Allow extend tests 2012-12-14 21:44:38 +04:00
Anatoliy Chakkaev 90624174f7 Package.json updated 2012-12-14 19:32:14 +04:00
Anatoliy Chakkaev 3364e73e51 Package.json updated 2012-12-14 19:30:47 +04:00
Anatoliy Chakkaev 100b5322c6 Remove sql adapters and tests 2012-12-14 19:25:32 +04:00
Anatoliy Chakkaev b00ab29275 0.2.0-1 2012-12-14 17:12:18 +04:00
Anatoliy Chakkaev 91c90ef3ad Remove sqlite3 adapter 2012-12-14 17:12:13 +04:00
Anatoliy Chakkaev a62aab180d Removed nosql adapters (moved to own repos) 2012-12-14 01:50:02 +04:00
Nicholas Westlake 85535dc955 added nano adapter 2012-12-09 03:13:09 -06:00
Anatoliy Chakkaev 26b299eb62 0.1.27-3 2012-11-14 11:29:57 +07:00
Anatoliy Chakkaev fd9d059846 0.1.27-2 2012-11-10 09:28:19 +04:00
Anatoliy Chakkaev bdc646c1d8 0.1.27-1 2012-11-05 08:09:30 +04:00
Anatoliy Chakkaev cdef6aea8a 0.1.27 2012-11-03 06:33:03 +04:00
Anatoliy Chakkaev f7aed3a814 Fix railway 1.0 support 2012-10-29 18:11:43 +04:00
Anatoliy Chakkaev c27a624d02 Fix inheritance 2012-10-22 17:33:57 +04:00
Anatoliy Chakkaev 4fe9759afc Fix typo, start new release preview 2012-10-16 13:12:34 +04:00
Anatoliy Chakkaev 575a29d4af Print properly formatted object 2012-10-16 03:15:29 +04:00
Anatoliy Chakkaev 96e9079977 Remove lazy collections, remove unused caching stuff, unsupport node 0.4 (travis) 2012-10-16 02:22:40 +04:00
Anatoliy Chakkaev f6d8b08631 Proper collection caching 2012-10-14 15:02:13 +04:00
Anatoliy Chakkaev 488bc68e05 Optimize collection 2012-10-13 18:25:50 +04:00
Anatoliy Chakkaev 1ec419aa42 Better performance on big datasets read 2012-10-13 17:59:25 +04:00
Anatoliy Chakkaev b6cecc4b78 Added cradle adapter 2012-09-26 09:18:43 +04:00
Anatoliy Chakkaev 46e65b7e63 Update mysql to 2.0 2012-09-26 08:08:27 +04:00
Anatoliy Chakkaev 8cd1ec2e9e Fix redis2 indexes cleanup 2012-09-25 08:39:23 +04:00
Anatoliy Chakkaev 6d33aaaa48 Prevent redis pussy riot 2012-09-14 00:54:46 +04:00
Anatoliy Chakkaev c8b8012e28 List API improvements 2012-09-11 23:22:55 +04:00
Anatoliy Chakkaev e938a814e8 Added typed lists support 2012-09-10 19:57:21 +04:00
Anatoliy Chakkaev 44591111b6 Rewritten redis 2012-09-08 17:03:49 +04:00
Anatoliy Chakkaev 2aede39246 Bump 0.1.14. Fix typo in redis adapter 2012-09-04 17:23:57 +04:00
Anatoliy Chakkaev cfda58f710 Fix typo, bump version 2012-08-17 00:32:04 +04:00
Anatoliy Chakkaev 08ad920a2c Freeze postgres version 2012-08-14 19:16:46 +04:00
Anatoliy Chakkaev 7b7fa8a0ed Move to latest mongoose / fix api 2012-08-14 19:12:42 +04:00
Anatoliy Chakkaev a54961923d Update postgres 2012-08-13 10:27:18 +04:00
Anatoliy Chakkaev 7a2e300181 Allow relative driver paths, adopt for node 0.8 2012-07-02 15:59:44 +04:00
Aurélien Thieriot d333fe1d30 First version of a cradle adapter 2012-06-10 16:51:56 +02:00
Anatoliy Chakkaev 418cc03a27 Adopt postgres stuff 2012-06-02 22:33:29 +04:00
Anatoliy Chakkaev 40c9923053 Coverage added to gitignore 2012-05-29 15:16:24 +04:00
Anatoliy Chakkaev 7d748e9c02 Upsert with setters 2012-04-19 20:06:38 +04:00
Anatoliy Chakkaev 619377b9c7 Added semicov dependency 2012-04-19 19:22:08 +04:00
Anatoliy Chakkaev ff63db22eb Update version 2012-04-11 19:36:30 +04:00
Anatoliy Chakkaev 40b4d28a1a Fix scoped find method 2012-04-07 17:43:15 +04:00
Anatoliy Chakkaev fa8a587215 Delayed database calls 2012-03-24 17:50:52 +04:00
Anatoliy Chakkaev ff65e3a7ad Tune sqlite3 dependency version (2.0.18) 2012-03-16 18:51:11 +04:00
Anatoliy Chakkaev 4ec9757503 Added contributors, MRU cache cleanup, closes #46 2012-03-16 18:42:02 +04:00
Anatoliy Chakkaev e2a50d1a3b Bump version 0.1.3 2012-03-12 23:50:35 +04:00
Anatoliy Chakkaev 8bb855c88c Mongodb adapter 2012-03-11 08:48:38 +04:00
Anatoliy Chakkaev 3f2a0b1ec6 Added neo4j support for travis ci 2012-03-10 16:27:06 +04:00
Anatoliy Chakkaev 2c43a97f7e Removed sequelize adapter 2012-03-10 16:07:59 +04:00
Anatoliy Chakkaev 633ae4067a Remove frozen neo4j lib, add neo4j database setup for travis-ci 2012-03-10 15:56:23 +04:00
Anatoliy Chakkaev 13dce54a14 Unhashish, escape names, start moving common parts to sql.js 2012-03-10 11:55:25 +04:00
Anatoliy Chakkaev 639820bf29 Model.findOne, mongoose reverse sort, closes #38 2012-03-06 16:46:18 +04:00
Anatoliy Chakkaev 0f2d6b527a Bump version 0.1.1 2012-03-01 21:28:12 +04:00
Anatoliy Chakkaev 63c3a4c4f2 Remove unnecesare code from test helper 2012-02-04 18:17:27 +04:00
Anatoliy Chakkaev 4442b42ace Disable neo4j for travis 2012-01-30 23:45:06 +04:00
Anatoliy Chakkaev 643c2879fe Mongoose order/limit/offset and more
- Lazy dependencies loading
- Travis mongoose inetration
- All tests should run on travis
- Model.count for mongoose
2012-01-30 23:34:30 +04:00
Anatoliy Chakkaev 393db580c4 Fix sqlite3 verion in dependency 2012-01-30 19:46:38 +04:00
Anatoliy Chakkaev 7a52a7cfb6 SQLite3 adapter 2012-01-30 19:43:45 +04:00
Anatoliy Chakkaev f56bbb44b0 Added hashish dependency 2012-01-30 17:35:30 +04:00
Anatoliy Chakkaev dad637832c Added pg dependency 2012-01-30 17:29:46 +04:00
Anatoliy Chakkaev ad7d1d568a Model.count with params support, fix time in mysql 2012-01-30 17:27:26 +04:00
Anatoliy Chakkaev 01955a9de5 Adjust test 2012-01-20 00:25:50 +04:00
Anatoliy Chakkaev e4e280d0e5 Mysql sort, where and limit 2012-01-20 00:19:37 +04:00
Anatoliy Chakkaev 14c34a8058 Mysql sort, where and limit 2012-01-20 00:16:30 +04:00
Anatoliy Chakkaev 7427289c59 Update test comand 2012-01-19 22:11:44 +04:00
Anatoliy Chakkaev 7be5bd93fb Update package 2012-01-16 03:28:28 +04:00
Anatoliy Chakkaev 2449a08b51 Update package 2012-01-16 03:13:58 +04:00
Anatoliy Chakkaev 3a3190744e Update package 2012-01-16 03:13:05 +04:00
Anatoliy Chakkaev 1f9038834c Update package 2012-01-16 03:11:00 +04:00
Anatoliy Chakkaev b3c6bf4b2f Added nodeunit dep 2012-01-16 03:06:43 +04:00
Anatoliy Chakkaev 8ddb4d53d8 Travis 2012-01-16 03:05:15 +04:00
Anatoliy Chakkaev 6bc551b9a7 Update package 2012-01-16 02:58:38 +04:00
Anatoliy Chakkaev 029b020946 Postgresql adapter (buggy) 2012-01-10 17:26:24 +04:00
Anatoliy Chakkaev dd1e54ffec Some coding style fixes 2011-11-17 13:18:39 +07:00
Anatoliy Chakkaev 4e329639cd Bump 0.0.6 2011-11-13 15:06:14 +07:00
Anatoliy Chakkaev fc99247390 Logging in mysql and redis 2011-11-11 20:16:09 +07:00
Anatoliy Chakkaev 0da5e352b1 Version 0.0.4 2011-11-05 17:21:47 +07:00
Anatoliy Chakkaev b5985e445d Move conditions to `where` section, fix neo4j 2011-11-04 14:30:25 +07:00
Anatoliy Chakkaev f251ac9a5b Mysql 2011-10-23 23:43:53 +04:00
Anatoliy Chakkaev f19bacd681 Bump version 2011-10-16 21:25:35 +04:00
Anatoliy Chakkaev f8b1b87a65 Patch neo4j lib 2011-10-16 21:24:54 +04:00
Anatoliy Chakkaev 63a554ee2d Update package 2011-10-10 17:26:59 +04:00
Anatoliy Chakkaev 54ddb55c49 Validations 2011-10-10 17:22:51 +04:00
Anatoliy Chakkaev d865b77aea Sequelize adapter 2011-10-01 23:40:22 +04:00
Anatoliy Chakkaev d5341d3126 ORM base & redis adapted 2011-10-01 19:51:51 +04:00