Commit Graph

3434 Commits

Author SHA1 Message Date
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š d94327a8f4
Merge pull request #1827 from strongloop/update-lts-status
Update LTS status
2020-03-05 16:46:30 +01:00
Miroslav Bajtoš 376315b7a4
4.19.1
* chore: improve Listener signature (Hage Yaapa)
2020-03-05 10:01:53 +01:00
Hage Yaapa 2946c5b489 chore: improve Listener signature
Improved Listener signature so it can accept callback or promise.
2020-03-05 14:30:24 +05:30
Miroslav Bajtoš 39daef79d8
README: move 3.x to Maintenance LTS
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2020-03-05 09:57:33 +01:00
Miroslav Bajtoš cdbe715acc
README: extend 4.x LTS to match Node.js 12.x
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2020-03-05 09:56:56 +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
Miroslav Bajtoš 33884062f4
Merge pull request #1823 from strongloop/feat/fix-observer-api
Add ObserverMixin to ModelBase typings
2020-03-02 15:10:03 +01:00
Miroslav Bajtoš b01cd74b19
fixup! improve comment for `this` & static members
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2020-03-02 13:04:01 +01:00
Miroslav Bajtoš c7b88e9b8e
Add ObserverMixin members to ModelBase typings
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2020-03-02 11:54:48 +01:00
Miroslav Bajtoš 65a358656f
Merge pull request #1825 from strongloop/fix/listener-type
Add default generic arg value to `Listener` type
2020-03-02 11:49:18 +01:00
Miroslav Bajtoš 92654f646b
Add default generic arg value to `Listener` type
The changes introduced by dcfda58 may break existing consumers
of our typings. This commit fixes this problem by adding a default
value to the recently introduced generic argument of `Listener` type.

Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2020-03-02 11:26:01 +01:00
Hage Yaapa dcfda58fda feat: add OperationHookContext interface
Added OperationHookContext interface.

Signed-off-by: Hage Yaapa <hage.yaapa@in.ibm.com>
2020-02-28 21:47:27 +05:30
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 f4ec02b316
Merge pull request #1819 from strongloop/discover-naming
feat: allows different naming conventions for db  columns for discover
2020-01-29 13:57:44 -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
Diana Lau 251ced811b
Update copyright year and CODEOWNERS (#1818)
* chore: update CODEOWNERS

* chore: update copyright years
2020-01-21 13:12:14 -05:00
Agnes Lin d2b4d567d9
Merge pull request #1817 from strongloop/relational-strict
fix: warn about strict cannot be false with relational dbs
2020-01-21 11:17:10 -05:00
Agnes Lin ad3e1e8d8a add warning strict cannot be false with SQL dbs
this is only for LB4
2020-01-21 09:02:47 -05:00
Hage Yaapa b6f9e92ef8 feat: add persistDefaultValues (#1813)
Ignores value if it matches default value.
2019-12-17 10:52:15 -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š af4f4dfa87
Merge pull request #1808 from strongloop/fix/typo
Fix typo introduced by 19048cd7
2019-12-06 13:41:36 +01:00
Miroslav Bajtoš abdd5675b0
Fix typo introduced by 19048cd7
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2019-12-06 10:35:19 +01:00
Miroslav Bajtoš 002137dd5d
Merge pull request #1799 from jeznag/fix-issue-with-new-array
Fix issue with broken compatibility with array constructor
2019-12-06 10:18:17 +01:00
Jeremy Nagel b328934b6c [BUGFIX] Fix issue with with array constructor
- You can do new Array(4) to generate an array with 4 empty items
- Doing the same with list caused an error
- This broke lodash.deepclone
- This PR restores compatibility with the array constructor

Fixes #1798
2019-12-06 10:13:27 +11:00
Miroslav Bajtoš c555dedfeb
Merge pull request #1807 from strongloop/fix/datasource-typings
Fix Promise/Callback variants in datasource types
2019-12-05 17:03:55 +01:00
Miroslav Bajtoš 19048cd716
Fix Promise/Callback variants in datasource types
Remove usage of `PromiseOrVoid`, it makes it difficult to consume
the API via `await`. For each async method, define multiple variants
to correctly describe what's returned when a callback arg was provided
(`void`) and what's returned when called with no callback
(`Promise<T>`).

Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2019-12-05 16:30:22 +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š 606880bf79
Merge pull request #1803 from strongloop/update-eslint
chore: update eslint to 6.x
2019-12-03 16:13:31 +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
Miroslav Bajtoš 770f11b3a6
Merge pull request #1790 from mitsos1os/return-promise-on-error
Convert error thrown by a property setter to a rejected promise
2019-11-29 10:15:52 +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
Hage Yaapa 89a964e919 feat: applyDefaultOnWrites in nested properties
Adds support for `applyDefaultOnWrites` in nested properties.
2019-11-28 13:59:47 +05:30
Dimitris Xalatsis b30fbf8c1e return failed promise on error 2019-11-22 19:38:43 +02:00
Nora d54d769477
Merge pull request #1792 from strongloop/chore/improve-issue-templates
chore: disable security issue reporting
2019-11-19 01:17:05 -05:00
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š 5578ab4ea7
Merge pull request #1783 from frbuceta/fix/lb4-issue-3602
Fix issue with lb4 id different to int
2019-11-18 08:34:06 +01:00
Nora a1817a40e6 chore: disable security issue reporting 2019-11-15 20:50:45 -05:00
Francisco Buceta b9f0284a28
Fix generated string id's
Co-authored-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2019-11-15 16:15:38 +01:00
Miroslav Bajtoš b07bdfc71a
Merge pull request #1791 from strongloop/ci/skip-ibmi-downstream
chore: remove loopback-connector-ibmi from downstream list
2019-11-05 17:32:38 +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
Dimitris Halatsis ab11205fa0 fix #1781 (#1782) 2019-10-21 12:55:14 -04:00
Miroslav Bajtoš 23949703b0
Merge pull request #1779 from strongloop/improve/github-templates
Improve issue & pull-request templates
2019-10-08 08:17:40 +02:00
Miroslav Bajtoš 063e0f173f
Introduce issue templates for bugs, features, etc.
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2019-10-07 10:58:14 +02:00