Commit Graph

3210 Commits

Author SHA1 Message Date
Rifa Achrinza 75d74dc8e0
chore: update dependency mocha to v9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
2022-03-30 11:03:23 +08: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 5f6a5d5201 chore: update actions/setup-node action to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-29 23:03:34 +00:00
Renovate Bot e647559995 chore: update actions/checkout action to v3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-03-29 23:03:17 +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
Diana Lau d7554634fc docs: add SECURITY.md
Signed-off-by: Diana Lau <dhmlau@ca.ibm.com>
2022-03-29 11:29:49 -04: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 2cd612c4c3 ci: use shared renovate config
see: https://github.com/loopbackio/cicd/issues/15

Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
2022-03-29 09:42:56 +00:00
Rifa Achrinza 07cc90e40f ci: add renovate config
Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
2022-03-27 15:14:30 +00:00
Diana Lau d04a6c13d1 docs: update coc
Signed-off-by: Diana Lau <dhmlau@ca.ibm.com>
2022-03-25 15:43:02 -04:00
Diana Lau 2be3b8be62 docs: add code of conduct
Signed-off-by: Diana Lau <dhmlau@ca.ibm.com>
2022-03-23 16:07:21 -04: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 2691470504 fix: remove `geo.d.ts`
Use of Template Literal Types broke support for older LB4 projects.

Temporarily removing it would have minimal impact as:

1. It was only introduced in the last release
2. It was not usable as-is due to wrong export location

fixes: https://github.com/loopbackio/loopback-datasource-juggler/issues/1909

Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
2022-02-22 09:14:38 +00: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
Rifa Achrinza fe82f6ac79 ci: enable Node.js v17 testing
Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
2021-11-24 18:22:20 +08:00
Rifa Achrinza 816b948ab0 feat: add built-in model property types typdef
Added typdef for:
- Any
- JSON
- Text
- GeoPoint
- DateString

Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
2021-09-22 19:32:13 +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 9a58695740 ci: restrict GITHUB_TOKEN permissions
Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
2021-09-11 14:11:39 +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
Rifa Achrinza cc5557bd11
chore: update 3.x LTS to End-of-Life (#1888)
see https://github.com/strongloop/loopback-next/issues/6957

Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
2021-01-23 10:37:54 -05:00
Rifa Achrinza a0de6bc760
chore: sync v4 EOL withh Node.js v14 EOL (#1876)
see https://github.com/strongloop/loopback-next/issues/6709

Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
2020-11-06 13:00:51 -05:00
Raymond Feng 06428247ad 4.26.0
* Fix value equality test to avoid toString (Raymond Feng)
2020-11-02 09:38:59 -08:00
Raymond Feng 05898ed9f6
Merge pull request #1874 from strongloop/mem-connector-fix
Fix value equality test to avoid toString
2020-11-02 09:36:36 -08:00
Raymond Feng 454fd0f1b2 Fix value equality test to avoid toString
- The where statement can be something like {toString: 'not a function'}
- Avoid object string comparison

Signed-off-by: Raymond Feng <enjoyjava@gmail.com>
2020-10-30 09:15:39 -07: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š d2a594fc08
Merge pull request #1870 from strongloop/update-deps
Update dependencies to latest
2020-10-19 10:53:44 +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
Matteo Padovano 76acf333fd
chore: add test for atomic upsertWithWhere (#1864)
Introduce the new property atomicUpsertWithWhere for
connector that implement specific method.
See https://github.com/strongloop/loopback-connector-mongodb/pull/563
for mongodb implementation.

Signed-off-by: Matteo Padovano <mrbatista@users.noreply.github.com>
2020-09-25 10:22:03 -04:00
Diana Lau 261dd1c865
chore: update PR template (#1863)
Signed-off-by: Diana Lau <dhmlau@ca.ibm.com>
2020-08-18 12:03:23 -04:00
Diana Lau c80aa9abe8
update PR template to include DCO (#1859)
Signed-off-by: Diana Lau <dhmlau@ca.ibm.com>
2020-08-06 14:25:51 -04:00
Diana Lau 35e032d1df
chore: add contributing section to readme (#1858)
Signed-off-by: Diana Lau <dhmlau@ca.ibm.com>
2020-08-06 09:35:07 -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š dd23a14b24
Merge pull request #1857 from strongloop/feat/execute-db-command
feat: improve `dataSource.execute` to support more flavors
2020-08-04 16:34:49 +02:00
karanssj4 7835a43cce
Update .travis.yml (#1841)
drop v13 ad and add node v14
2020-08-03 22:21:36 -04:00
Miroslav Bajtoš c884c62b3b
Add more `dataSource.execute()` flavors
Implement support for the following variants:

- `execute(collection, command, ...params, options)` (MongoDB)
- `execute(...params)` (forward-compatibility & other databases)

Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2020-08-03 15:00:30 +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š 6e6a3df9f0
Merge pull request #1855 from strongloop/types/execute-nosql
types: support non-SQL styles of `ds.execute`
2020-07-28 10:39:50 +02:00