Commit Graph

563 Commits

Author SHA1 Message Date
renovate[bot] ac49c3ecd2 chore: update dependency eslint to ^8.25.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-10-08 02:56:55 +00:00
renovate[bot] 3e6a6367cc chore: update dependency loopback-connector to ^5.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-29 22:52:49 +00:00
renovate[bot] 91e255d850 chore: update dependency typescript to ^4.8.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-28 01:37:30 +00:00
renovate[bot] 1d2d6cb4e1 chore: update dependency eslint to ^8.24.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-24 03:25:20 +00:00
renovate[bot] b97a28db7b chore: update dependency inflection to ^1.13.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-18 12:01:43 +00:00
renovate[bot] 3a1dca1e87 chore: update dependency eslint to ^8.23.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-12 12:52:25 +00:00
renovate[bot] 70e859fa66 chore: update dependency typescript to ^4.8.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-09-09 02:28:36 +00:00
renovate[bot] ed951a6a61 chore: update dependency @commitlint/cli to ^17.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-29 16:26:32 +00:00
renovate[bot] f45c92c1f8 chore: update commitlint monorepo
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-27 13:18:35 +00:00
renovate[bot] 82f11f0235 chore: update dependency eslint to ^8.23.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-27 05:44:39 +00:00
renovate[bot] 49cb048a45 chore: update dependency typescript to ^4.8.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-26 04:57:11 +00:00
renovate[bot] 12a502b097 chore: update dependency bson to ^4.7.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-18 22:37:25 +00:00
renovate[bot] 30d27f00c4 chore: update dependency eslint to ^8.22.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-15 06:26:55 +00:00
renovate[bot] a0659aefa0 chore: update dependency eslint to ^8.21.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-08 11:52:02 +00:00
renovate[bot] 15b1335250 chore: update dependency eslint-plugin-mocha to ^10.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-20 12:47:19 +00:00
renovate[bot] ed1c5079f6 chore: update dependency eslint to ^8.20.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-16 23:13:17 +00:00
renovate[bot] 53942e621a chore: update dependency eslint to ^8.19.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-11 23:02:20 +00:00
renovate[bot] a1321b9ecb chore: update dependency bson to ^4.6.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-11 17:07:57 -04:00
renovate[bot] 53767a6995 chore: update dependency eslint to ^8.18.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-26 03:49:55 +00:00
renovate[bot] bc9c4defd1 chore: update dependency typescript to ^4.7.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-26 03:02:38 +00:00
renovate[bot] 615b95dde9 chore: update dependency qs to ^6.10.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-26 03:02:23 +00:00
renovate[bot] 5dbc0cab83 chore: update dependency async to ^3.2.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-26 03:02:11 +00:00
renovate[bot] 775cbbf2b9 chore: update commitlint monorepo to ^17.0.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-26 02:05:53 +00:00
Renovate Bot a4eb2f0377 chore: update lint packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-28 14:36:38 +00:00
Renovate Bot c021fc9abf chore: update dependency typescript to ^4.7.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-28 07:38:13 +00:00
Renovate Bot d9eac14926 chore: update commitlint monorepo to v17
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-27 20:45:24 -04:00
Renovate Bot 2db05f56e1 chore: update dependency minimatch to ^5.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-27 20:44:11 -04:00
Renovate Bot ba09182cea chore: update dependency nanoid to ^3.3.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 16:57:56 +00:00
Renovate Bot 21ea203a58 chore: update dependency bson to ^4.6.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-20 07:38:46 +00:00
Renovate Bot 2fcbb1bd77 chore: update lint packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-19 12:48:41 +00:00
Renovate Bot b4c5e22403 chore: update commitlint monorepo
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-05-19 06:05:22 +00:00
Renovate Bot 3f39054504 chore: update dependency bson to ^4.6.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-20 16:08:25 +00:00
Renovate Bot 9a6d0d83ca chore: update dependency nanoid to ^3.3.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-18 14:49:20 +00:00
Renovate Bot b3b5dc2cd5 chore: update dependency minimatch to v5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-04 17:18:45 +00:00
Renovate Bot bb577e61b5 chore: update dependency typescript to ^4.6.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-01 08:32:00 +00:00
Renovate Bot 6dfa9b859c chore: update dependency nanoid to 3.1.31 [security]
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-30 05:30:24 +00:00
Renovate Bot bc50aa7c4d chore: update dependency nanoid to ^3.3.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-30 02:33:18 +00:00
Renovate Bot b810bd88ca chore: update commitlint monorepo
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-30 02:16:39 +00:00
Renovate Bot 3ebf47c4ea chore: update lint packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-30 01:55:50 +00:00
Renovate Bot de008c40e3 chore: update dependency minimatch to ^3.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-29 16:31:08 +00:00
Renovate Bot c748ad1d26 chore: update dependency bson to ^4.6.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-29 16:13:35 +00:00
Renovate Bot a935fabcd1 chore: update commitlint monorepo
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-29 15:48:22 +00:00
Renovate Bot 2f95d901bd chore: update dependency qs to ^6.10.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-29 15:33:13 +00:00
Renovate Bot 6186b57659 chore: update dependency loopback-connector to ^5.0.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-29 15:31:48 +00:00
Renovate Bot e3addf9f93 chore: update dependency uuid to ^8.3.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-29 14:58:27 +00:00
Renovate Bot e30c2c8dbd chore: update dependency lodash to ^4.17.21
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-29 14:45:47 +00:00
Renovate Bot 8d4de43c8a chore: update dependency inflection to ^1.13.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-29 10:35:25 +00:00
Renovate Bot 3b92a09e41 chore: update dependency debug to ^4.3.4
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-29 10:09:39 +00:00
Renovate Bot 26bd2225f1 chore: update dependency change-case to ^4.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-29 10:00:04 +00:00
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