Renovate Bot
f60d4b0cca
chore: update dependency async to ^3.2.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-29 09:53:07 +00:00
Rifa Achrinza
92e05e6537
v4.27.1
...
* fix: remove `geo.d.ts` (Rifa Achrinza)
Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
2022-02-22 17:23:54 +08:00
Rifa Achrinza
74d429d52d
v4.27.0
...
* ci: enable Node.js v17 testing (Rifa Achrinza)
* feat: add built-in model property types typdef (Rifa Achrinza)
* chore: replace shortid with nanoid (Mario Estrada)
* ci: restrict GITHUB_TOKEN permissions (Rifa Achrinza)
* ci: update pipelines (Rifa Achrinza)
* chore: update 3.x LTS to End-of-Life (#1888 ) (Rifa Achrinza)
* chore: sync v4 EOL withh Node.js v14 EOL (#1876 ) (Rifa Achrinza)
Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
2022-02-19 01:40:20 +08:00
Mario Estrada
e3448fad03
chore: replace shortid with nanoid
...
Signed-off-by: Mario Estrada <marioestradarosa@yahoo.com>
2021-09-12 18:14:03 +08:00
Rifa Achrinza
5aa2d71a23
ci: update pipelines
...
Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
2021-09-04 04:15:31 +08:00
Raymond Feng
06428247ad
4.26.0
...
* Fix value equality test to avoid toString (Raymond Feng)
2020-11-02 09:38:59 -08:00
Miroslav Bajtoš
1e9ac69f2c
4.25.0
...
* Update dev dependencies to latest (Miroslav Bajtoš)
* Update dependencies to latest (Miroslav Bajtoš)
2020-10-19 10:55:12 +02:00
Miroslav Bajtoš
8487ee1bc0
Update dev dependencies to latest
...
- `eslint` to `^7.11.0`
- `mocha` to `^8.1.3`
- `typescript` to `^4.0.3`
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2020-10-12 09:32:38 +02:00
Miroslav Bajtoš
8c95930cd6
Update dependencies to latest
...
- `loopback-connector` to `^5.0.0`
- `strong-globalize` to `^6.0.5`
- `uuid` to `^8.3.1`
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2020-10-12 09:30:23 +02:00
jannyHou
8031e54fb4
4.20.1
...
* chore: add test for atomic upsertWithWhere (#1864 ) (Matteo Padovano)
* chore: update PR template (#1863 ) (Diana Lau)
* update PR template to include DCO (#1859 ) (Diana Lau)
* chore: add contributing section to readme (#1858 ) (Diana Lau)
2020-09-25 12:14:33 -04:00
Miroslav Bajtoš
a0f1d4a979
4.24.0
...
* Update .travis.yml (#1841 ) (karanssj4)
* Add more `dataSource.execute()` flavors (Miroslav Bajtoš)
2020-08-04 16:35:43 +02:00
Miroslav Bajtoš
c24e498191
4.23.0
...
* types: support no-SQL styles of `ds.execute` (Miroslav Bajtoš)
2020-07-28 10:40:49 +02:00
Miroslav Bajtoš
0ba09a1c4f
4.22.0
...
* types: add `DataSource.definitions` property (khlilturki97@gmail.com )
2020-07-27 11:02:15 +02:00
Miroslav Bajtoš
8d1690e9b2
4.21.2
...
* types: allow no `models` argument for automigrate (Miroslav Bajtoš)
2020-05-12 16:43:59 +02:00
Miroslav Bajtoš
429d13e537
4.21.1
...
* types: make DataSource.stop compatible with LB4 (Miroslav Bajtoš)
2020-04-28 09:04:42 +02:00
Miroslav Bajtoš
4c665cd6f7
4.21.0
...
* feat: implement DataSource.stop() (Miroslav Bajtoš)
* Add __parent reference to embedded models (Dimitris Xalatsis)
2020-04-27 13:43:49 +02:00
Miroslav Bajtoš
9bcf42488d
4.20.0
...
* Add mocharc, remove mocha.opts (Miroslav Bajtoš)
* Update dev dependencies (Miroslav Bajtoš)
* Drop support for Node 8.x (Miroslav Bajtoš)
* Add support for Node.js 13.x (Miroslav Bajtoš)
* mark idColumnName as a deprecated function (Agnes Lin)
* Move List.prototype.toItem out of inner init (#1828 ) (Dimitris Halatsis)
* deps: update uuid to v7 (Miroslav Bajtoš)
2020-04-17 09:43:24 +02:00
Miroslav Bajtoš
b1766518a8
Update dev dependencies
...
- mocha to 7.x
- nyc to 15.x
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2020-04-06 08:21:47 +02:00
Miroslav Bajtoš
6d65afc35f
Drop support for Node 8.x
...
Node 8.x is no longer maintained by Node.js project.
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2020-04-03 09:38:13 +02:00
Miroslav Bajtoš
670a328bc3
deps: update uuid to v7
...
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2020-03-09 13:41:16 +01:00
Miroslav Bajtoš
bf931b50c2
4.19.2
...
* README: move 3.x to Maintenance LTS (Miroslav Bajtoš)
* README: extend 4.x LTS to match Node.js 12.x (Miroslav Bajtoš)
2020-03-05 16:46:57 +01:00
Miroslav Bajtoš
376315b7a4
4.19.1
...
* chore: improve Listener signature (Hage Yaapa)
2020-03-05 10:01:53 +01:00
Miroslav Bajtoš
a50b3db6e9
4.19.0
...
* fixup! improve comment for `this` & static members (Miroslav Bajtoš)
* Add ObserverMixin members to ModelBase typings (Miroslav Bajtoš)
* Add default generic arg value to `Listener` type (Miroslav Bajtoš)
* feat: add OperationHookContext interface (Hage Yaapa)
2020-03-05 09:54:48 +01:00
Diana Lau
36303b3b63
4.18.1
...
* allows diff db cols naming conventions 4 discover (Agnes Lin)
2020-01-29 14:25:12 -05:00
Agnes Lin
baeb76e911
allows diff db cols naming conventions 4 discover
2020-01-29 13:26:16 -05:00
Diana Lau
3a08b9d9ae
4.18.0
...
* Update copyright year and CODEOWNERS (#1818 ) (Diana Lau)
* add warning strict cannot be false with SQL dbs (Agnes Lin)
* feat: add persistDefaultValues (#1813 ) (Hage Yaapa)
2020-01-21 13:14:25 -05:00
Miroslav Bajtoš
d19e189fd7
4.17.0
...
* Fix typo introduced by 19048cd7
(Miroslav Bajtoš)
* [BUGFIX] Fix issue with with array constructor (Jeremy Nagel)
* Fix Promise/Callback variants in datasource types (Miroslav Bajtoš)
* chore: update async to v3.x (Miroslav Bajtoš)
* chore: update strong-globalize to 5.x (Miroslav Bajtoš)
* chore: update eslint to 6.x (Miroslav Bajtoš)
* return failed promise on error (Dimitris Xalatsis)
2019-12-06 14:00:50 +01:00
Miroslav Bajtoš
a456700ea2
Merge tag 'v4.16.0'
...
Merge v4.16.0 release that was accidentally not merged to master
at publishing time.
2019-12-06 13:56:47 +01:00
Miroslav Bajtoš
2f867576b6
Merge pull request #1804 from strongloop/update-deps
...
Update strong-globalize and async to their latest versions
2019-12-03 16:13:52 +01:00
Miroslav Bajtoš
a9611a0430
chore: update async to v3.x
...
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2019-12-03 10:12:32 +01:00
Miroslav Bajtoš
1d4ad278c9
chore: update strong-globalize to 5.x
...
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2019-12-03 10:12:10 +01:00
Miroslav Bajtoš
1b7858a857
chore: update eslint to 6.x
...
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2019-12-03 10:09:16 +01:00
Hage Yaapa
89503bb233
4.16.0
...
* feat: applyDefaultOnWrites in nested properties (Hage Yaapa)
* chore: disable security issue reporting (Nora)
2019-11-28 14:13:49 +05:30
Miroslav Bajtoš
f921a4f630
4.15.0
...
* Fix generated string id's (Francisco Buceta)
* Remove loopback-connector-ibmi from downstream (Miroslav Bajtoš)
2019-11-18 08:34:56 +01:00
Miroslav Bajtoš
28d457d357
Remove loopback-connector-ibmi from downstream
...
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2019-11-05 17:22:34 +01:00
Diana Lau
8b75767daf
4.14.0
...
* fix #1781 (#1782 ) (Dimitris Halatsis)
* Introduce issue templates for bugs, features, etc. (Miroslav Bajtoš)
* Improve PULL_REQUEST_TEMPLATE (Miroslav Bajtoš)
2019-10-21 13:13:03 -04:00
Raymond Feng
15251880a1
4.13.0
...
* Fix typescript typing for DataSource.getModel (Raymond Feng)
2019-09-19 13:08:16 -07:00
Diana Lau
ad1777fcd3
4.12.1
...
* chore: reduce identifier length (Hage Yaapa)
2019-09-04 11:55:36 -04:00
Diana Lau
fa7c38cad8
4.12.0
...
* feat: add applyDefaultOnWrites property (Hage Yaapa)
* Fix polymorphic hasMany inverse relation (#1621 ) (Ayeni Olusegun)
2019-08-19 12:13:47 -04:00
Diana Lau
ac955826f5
4.11.0
...
* fix: prevent max listeners warning (Dominique Emond)
2019-08-09 13:23:25 -04:00
Miroslav Bajtoš
ad4edc6a15
4.10.1
...
* Fix coercion of PK value in `replaceById` method (Miroslav Bajtoš)
* Fix autoupdate queueing automigrate instead (#1762 ) (darthmaim)
2019-07-26 09:22:59 +02:00
Miroslav Bajtoš
ca4ede014e
4.10.0
...
* fix: use only promises for beginTransaction (Biniam Admikew)
* feat: add DataSource.deleteAllModels() API (Miroslav Bajtoš)
2019-07-23 16:48:45 +02:00
Biniam Admikew
6aea50ad27
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-07-15 17:27:53 -04:00
Biniam Admikew
85a29caaa5
4.8.2
...
* chore: expose beginTransaction API (Biniam Admikew)
* update LTS in README (#1751 ) (Diana Lau)
2019-06-24 22:48:21 -04:00
jannyHou
19e7a47489
4.8.1
...
* test: add property index to support cloudant (#1750 ) (Janny)
2019-06-20 11:43:46 -04:00
Miroslav Bajtoš
d49774c590
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-06-13 15:38:11 +02:00
Miroslav Bajtoš
a5ba7408ff
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-14 09:48:27 +02:00
Diana Lau
98eb783a80
chore: update LTS status ( #1734 )
2019-05-06 13:27:52 -04:00
biniam
2aa4d20394
4.7.0
...
* fix: allow coercion of nested properties (biniam)
2019-05-03 19:15:10 -04:00
Miroslav Bajtoš
3fba79e725
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-05-03 09:04:42 +02:00
Miroslav Bajtoš
837c74d08e
Update nyc to 14.0.0
2019-05-02 13:01:10 +02:00
Miroslav Bajtoš
76673a8ed8
Update `should` to `13.2.3`
2019-04-30 11:44:08 +02:00
Miroslav Bajtoš
511c4763d3
Update `mocha` to `6.1.4`
2019-04-30 11:44:00 +02:00
Miroslav Bajtoš
88312422d8
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-30 10:52:46 +02:00
jannyHou
b3945fcd33
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-10 11:59:45 -04:00
Diana Lau
7288277e87
remove kv-extreme-scale ctor from downstream test ( #1710 )
2019-04-10 10:20:38 -04:00
Miroslav Bajtoš
095fe62fa6
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-04-09 18:20:02 +02:00
Janny
5a7c0326ab
fix: update lodash ( #1696 )
2019-03-01 14:29:56 -05:00
Diana Lau
ce7194ff6a
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-02-26 14:27:50 -05:00
biniam
75a8c6a309
4.5.4
...
* fix: use correct callback for geo find queries (biniam)
* fix: update typescript declarations (biniam)
2019-02-26 14:22:13 -05:00
Miroslav Bajtoš
4d288813e2
4.5.3
...
* Support nested properties with class type (Miroslav Bajtoš)
2019-01-29 15:51:58 +01:00
Miroslav Bajtoš
4c69781504
4.5.2
...
* Improve Model type definitions (Miroslav Bajtoš)
* fix: use existing field in exclude test (biniam)
2019-01-24 16:55:49 +01:00
Diana Lau
d3f63a8ecd
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-12-14 08:49:17 -05:00
Diana Lau
92499aa152
Revert "5.0.0". It was released accidentally.
...
This reverts commit caa36a21da
.
2018-12-14 08:47:15 -05:00
Diana Lau
caa36a21da
5.0.0
...
* 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-12-14 08:29:22 -05:00
Miroslav Bajtoš
09e2208062
Upgrade eslint-config-loopback to latest
2018-12-07 17:09:10 +01:00
Miroslav Bajtoš
84322d07a9
Update eslint-config-loopback to latest
2018-12-07 16:22:59 +01:00
Miroslav Bajtoš
e513c0d355
Update dependencies to latest versions
...
Skip update of shouldjs to avoid breaking tests in connectors.
2018-12-07 16:22:59 +01:00
Miroslav Bajtoš
e834368502
Upgrade bson to 4.x (latest)
2018-12-07 16:22:59 +01:00
Raymond Feng
5f713f0319
4.4.0
...
* Use options from request for settings (Raymond Feng)
2018-11-15 08:21:10 -08:00
Raymond Feng
49330322ef
4.3.0
...
* Allow flags to be passed via options (Raymond Feng)
* chore: update file list for apidocs (biniam)
2018-11-12 11:35:49 -08:00
Raymond Feng
a39cbebf94
4.2.1
...
* [ BUGFIX ] maxDepthOfQuery config (leon3s)
2018-11-07 12:52:03 -08:00
Raymond Feng
f0a6bd146b
4.2.0
...
* Allow configuration of maxDepthOfQuery (Raymond Feng)
2018-10-31 09:11:58 -07:00
Raymond Feng
3348d501e8
4.1.2
...
* Check composite keys containing hidden props (Raymond Feng)
* Improve hidden/protected property checks (Raymond Feng)
2018-10-29 13:10:37 -07:00
Raymond Feng
8ebb734a31
4.1.1
...
* Allow hidden/protected props as an object (Raymond Feng)
2018-10-27 07:54:38 -07:00
Raymond Feng
708826cc49
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-26 09:25:30 -07:00
Miroslav Bajtoš
c95a969af7
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-10-08 08:34:03 +02:00
Miroslav Bajtoš
b6a43dd65a
Switch from Bluebird to native Promise
...
This is a breaking change. Juggler methods are no longer returning
instances of Bluebird Promise, but return a native Promise instead.
As a result, API consumers can no longer use sugar APIs provided by
Bluebird, e.g. `spread`, `delay`, etc.
Migration guide: rewrite your code from `.then()` style into `async`
functions using `await` statements.
2018-10-05 09:30:02 +02:00
Miroslav Bajtoš
64eddf5d26
Start 4.0 development, drop support for Node 6
2018-10-04 12:07:19 +02:00
Raymond Feng
fcac276955
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-09-17 09:03:33 -07:00
Raymond Feng
4d14c1473f
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-16 11:15:14 -07:00
Miroslav Bajtoš
7d50f6130b
Upgrade eslint-config-loopback + fix formatting
...
The new version of our config enabled function-paren-newline rule,
this commit fixes the codebase to use more consistent handling
of newlines when calling functions.
2018-07-16 08:46:25 +02:00
virkt25
7ae64edf3d
3.22.2
...
* assertation of undefined could be null (shenghu)
* fix: regression on Operation Hooks (virkt25)
2018-07-09 16:51:30 -04:00
Miroslav Bajtoš
da728b8d70
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-07-02 09:02:00 +02:00
Miroslav Bajtoš
5d762102fe
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-06-12 16:26:58 +02:00
Miroslav Bajtoš
7a8213af43
Update strong-globalize to 4.x
2018-06-12 09:17:26 +02:00
Miroslav Bajtoš
5d8c36eca0
Update remaining dev-dependencies to latest
...
Keep should at 8.x for compatibility with connectors.
2018-06-12 09:13:54 +02:00
Miroslav Bajtoš
d2ee73b9d3
Update eslint + config to latest
2018-06-12 09:13:32 +02:00
Miroslav Bajtoš
c479be7069
Drop support for Node 4.x
...
Node 4.x is no longer maintained by Node.js project.
2018-06-12 08:34:49 +02:00
Raymond Feng
77f11cda3b
3.21.1
...
* Fix tests to ensure compatibility w/ should@10 (Raymond Feng)
2018-05-24 21:11:11 -07:00
Raymond Feng
dafb8a1ab7
3.21.0
...
* Fix datasource state management (Raymond Feng)
2018-05-22 10:52:51 -07:00
Raymond Feng
dd30054138
3.20.2
...
* Remove node ref (Raymond Feng)
2018-05-11 09:09:58 -07:00
Raymond Feng
eddb17689c
3.20.1
...
* Update deps (Raymond Feng)
2018-05-11 08:21:07 -07:00
Raymond Feng
2bb77e60e5
Update deps
2018-05-11 08:20:15 -07:00
Raymond Feng
965655be3a
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 10:20:41 -07:00
Raymond Feng
4aa51e9956
3.19.0
...
* Add typescript type definitions (Raymond Feng)
* Tidy up datasource (Raymond Feng)
2018-05-10 06:58:28 -07:00
Raymond Feng
77a2c9ab3b
Add typescript type definitions
2018-05-09 12:47:27 -07:00
Miroslav Bajtoš
1ef38a6929
3.18.1
...
* Polyfill Number.isFinite() to support PhantomJS (Miroslav Bajtoš)
2018-04-19 09:11:12 +02:00
Miroslav Bajtoš
2ac5efa04a
3.18.0
...
* feat: remove a Model from all registries (Miroslav Bajtoš)
2018-04-17 09:34:00 +02:00
Diana Lau
3eb94c09c4
3.17.0
...
* feat: omit default fn for embedsMany (#1532 ) (Janny)
2018-04-16 08:57:21 -04:00
Miroslav Bajtoš
e095b77048
3.16.0
...
* Pass options argument to custom validators (bmatson)
* chore: update CODEOWNERS (#1566 ) (Diana Lau)
2018-03-22 16:19:16 +01:00
Raymond Feng
641eb13e5d
3.15.5
...
* Exclude .nyc_output from being published (Raymond Feng)
* CODEOWNERS: add nitro404 (Miroslav Bajtoš)
2018-03-16 08:51:36 -07:00
Raymond Feng
c2920c9f9b
3.15.4
...
* fix: allow `new DataSource(connector, settings)` (Raymond Feng)
2018-02-13 09:43:24 -08:00
Raymond Feng
310b9489d3
3.15.3
...
* fix: add more tests to verify new DataSource() (Raymond Feng)
2018-02-09 15:01:32 -08:00
Raymond Feng
54143dfa37
3.15.2
...
* feat(datasource): seperate name and connector name (Nguyen Truong Minh)
* Fix datasource not correctly retaining name value (Kevin Scroggins)
2018-02-07 17:14:05 -08:00
Diana Lau
1ec2b4d17c
3.15.1
...
* Added error handling for persist operation hook (#1531 ) (Kevin Scroggins)
* Add warning for datasources with mismatched names (Kevin Scroggins)
2018-02-06 11:19:41 -05:00
Kevin Delisle
943fed851e
3.15.0
...
* fix unauthorized fk change (#1538 ) (Taranveer Virk)
* Set model constructor name to model name (Miroslav Bajtoš)
2018-01-19 12:55:16 -05:00
Kevin Delisle
00cf01f901
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)
* 📖 Typo on README.md (#1517 ) (JP Ventura)
* CODEOWNERS: move @lehni to Alumni section (Miroslav Bajtoš)
2017-12-14 11:33:39 -05:00
Peter Bouda
6bd9fca080
Fix bug in utils uniq function ( #1526 )
...
The uniq function does currently not work when the database is mongodb.
In the case of mongodb, the function will receive an array of bson
object of bson type ObjectID. The indexOf function will return a
different index, even if the mongodb ID is the same, as it is wrapped
in the ObjectID. This commit first transforms any ObjectID in the array
to a string representation. We can then use indexOf to check for
uniqueness.
2017-12-04 15:39:58 -05:00
Diana Lau
a9051ef991
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-10-17 23:24:07 -04:00
Kyusung Shim
b926f28c74
update strong-globalize to 3.1.0 ( #1505 )
...
* update strong-globalize to 3.1.0
* update other dependencies
2017-10-17 15:57:00 -04:00
Kevin Delisle
6d4cb6c3ad
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-09-07 10:27:15 -04:00
Jürg Lehni
0ce1fa9f87
Add a better way to handle transactions
2017-09-06 07:10:57 +02:00
Miroslav Bajtoš
d49806a78b
Add nyc coverage, report data to coveralls.io
2017-08-30 14:17:27 +02:00
Kevin Delisle
65f6beb00b
package: use qs@6.5.0 ( #1471 )
...
Fix for advisory: https://snyk.io/vuln/npm:qs:20170213
2017-08-23 15:17:00 -04:00
rashmihunt
1fa89d6fb9
3.11.0
...
* Flag id as updateOnly when forceId is in effect (#1453 ) (Rashmi Hunt)
* Add stalebot configuration (Kevin Delisle)
2017-08-22 13:47:21 -07:00
Kevin Delisle
3128c9395c
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-08-21 14:11:24 -04:00
Kevin Delisle
bebac1ee3f
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-07-26 10:37:13 -04:00
Kevin Delisle
5da8170d9e
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-22 17:03:33 -04:00
Kevin Delisle
a54064b989
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-06-01 11:37:49 -04:00
Raymond Feng
b34b6e0ad4
3.9.0
...
* Return promise for batch create (Raymond Feng)
* Use correct data on replace callback (ssh24)
2017-05-19 16:44:40 -07:00
Raymond Feng
22428cd58c
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 09:09:55 -07:00
Kevin Delisle
a4be61377a
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-15 11:20:28 -04:00
Tetsuo Seto
c07f46000d
Support include rework for C* connector
...
- Remove supportNonPrimaryKeyIN
- Add C* Uuid in build call
- Implement smartMerge in scope.js
2017-05-12 22:43:21 -07:00
Kevin Delisle
6b43378396
3.6.1
...
* docs: add DateString definition (Kevin Delisle)
2017-05-02 18:55:44 -04:00
Kevin Delisle
6bbad5e9a9
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-05-02 18:34:11 -04:00
Sakib Hasan
bcc5b559a3
Revert PR #1326 ( #1336 )
...
Make lib peerDepend on loopback-connector (#1326 )
This reverts commit 67e8f3708a
.
2017-04-19 14:14:50 -04:00
Russ Tyndall
67e8f3708a
Make lib peerDepend on loopback-connector ( #1326 )
2017-04-18 16:11:18 -04:00
jannyHou
7010986643
Fix typo in description
2017-04-17 21:18:25 -04:00
Candy
432a2e15db
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-17 16:22:13 -04:00
Kevin Delisle
044f999529
package: use loopback-connector@^4.0.0
2017-04-07 10:50:59 -04:00
Raymond Feng
2e6fbadd9e
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 10:29:57 -07:00
Raymond Feng
cac575398d
3.4.0
...
* Fix in-mem connector file operation racing condition (Raymond Feng)
2017-04-04 08:43:04 -07:00
Kevin Delisle
966d5daed7
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-03-31 10:28:23 -04:00
Miroslav Bajtoš
e8a977f55b
Fix datasource to report connector-loading errors
...
Before this change, when resolving full connector path, all errors were
ignored. As a result, when the connector was installed but not
correctly built (e.g. loopback-connector-db2 which uses a native addon),
a very confusing message was reported by LoopBack.
In this commit, I am fixing the code handling `require()` errors
to ignore only MODULE_NOT_FOUND errors that contain the name
of the required module.
2017-02-03 20:29:11 +01:00
Miroslav Bajtoš
d809260799
Upgrade eslint-config, fix new violations
2017-02-01 12:45:56 +01:00
Raymond Feng
cf7f05db8b
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)
2017-01-19 10:28:38 -08:00
Raymond Feng
315c2774cb
Fix should dep
2017-01-19 10:27:48 -08:00
Raymond Feng
0c76bd21b9
Upgrade dependencies to remove npm install warnings
2017-01-17 09:45:51 -08:00
Miroslav Bajtoš
454bf93aaf
Upgrade eslint-config to 7.x
...
Also upgrade eslint itself to 3.x.
2017-01-06 13:33:54 +01:00
Miroslav Bajtoš
0ad75bd93e
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-21 16:04:41 +01:00
Simon Ho
b60e09756d
Update package.json for LB3 release
2016-12-21 10:44:55 +01:00
Miroslav Bajtoš
0f7a567f18
Upgrade eslint & config to latest
...
- eslint ^3.11.1
- eslint-config-loopback: ^6.0.0
- fix linter errors (mostly no-undef)
2016-12-05 15:14:09 +01:00
Miroslav Bajtoš
0fea9ebef0
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-12-05 10:18:01 +01:00
Simon Ho
edb8fa393e
Remove valid connectors from downstream ignores
...
- Remove Microsoft SQL connector
- Remove Oracle connector
2016-11-30 17:20:50 -08:00
jannyHou
b8fb9cded3
Add some connectors to ignoreList
2016-11-30 13:18:07 -05:00
Simon Ho
c352dcff7d
Add downstream ignore list config
2016-11-25 10:33:00 -08:00
Miroslav Bajtoš
401b7e4296
Remove duplicate "engines" from package.json
...
The problem was introduced by 1fb7842
2016-11-15 15:45:24 +01:00
Miroslav Bajtoš
1fb78422fa
Drop support for Node v0.10 and v0.12
2016-11-15 14:21:02 +01:00
Tim De Pauw
be1d71f626
Support {defaultFn: 'shortid'}
2016-09-22 16:07:34 -07:00