Miroslav Bajtoš
3938c3755e
Merge pull request #1598 from strongloop/fix/apply-updates-from-hooks
...
Fix Operation Hooks to propagate data changes
2018-06-28 13:05:43 +02:00
Miroslav Bajtoš
9af79cf51a
Fix Operation Hooks to propagate data changes
...
Before this change, many Operation Hooks were not correctly propagating
changes made to `ctx.data` via reassigning ctx.data to a new object.
This change modifies existing tests to account for this different
scenario, adds few more tests for scenarios that were not covered by
tests before and finally fixes the problem discovered.
2018-06-28 12:22:16 +02:00
Miroslav Bajtoš
fa0039c6a8
Merge pull request #1595 from strongloop/good-first-issues-are-not-stale
...
Fix stalebot config to ignore "good first issue"
2018-06-15 08:37:43 +02:00
Miroslav Bajtoš
6846ef87b4
Fix stalebot config to ignore "good first issue"
2018-06-14 15:50:21 +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š
751fd7b245
Merge pull request #1594 from strongloop/upgrade-deps
...
Drop support for Node.js 4.x + update dependencies
2018-06-12 16:26:07 +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š
e2d75e70d1
Disable package-lock feature of npm
2018-06-12 08:42:05 +02:00
Miroslav Bajtoš
26c795fdea
Travis: add Node.js 10.x to the build matrix
2018-06-12 08:35:04 +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
ef3191d3e5
Merge pull request #1588 from strongloop/tidy-up-tests
...
Fix tests to ensure upward compatibility w/ should@10
2018-05-24 21:10:13 -07:00
Raymond Feng
2b4b44292a
Fix tests to ensure compatibility w/ should@10
2018-05-24 14:21:12 -07:00
Raymond Feng
dafb8a1ab7
3.21.0
...
* Fix datasource state management (Raymond Feng)
2018-05-22 10:52:51 -07:00
Raymond Feng
41c9a6d9b0
Merge pull request #1585 from strongloop/fix-lazy-connect
...
Fix datasource state management
2018-05-22 10:51:35 -07:00
Raymond Feng
5a66f9ad72
Fix datasource state management
...
Use case:
1. Configure a datasource with lazyConnect = true
2. Do NOT start the DB
3. Start the app
4. Send first request and it fails to connnect to the DB
5. Start the DB
5. Requests are now served correctly
2018-05-22 10:46:45 -07:00
Raymond Feng
dd30054138
3.20.2
...
* Remove node ref (Raymond Feng)
2018-05-11 09:09:58 -07:00
Raymond Feng
d31c43bc09
Remove node ref
2018-05-11 09:09:31 -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
e49eb47e36
Merge pull request #1583 from strongloop/fix-ts-defs
...
Fix ts defs
2018-05-10 10:20:10 -07:00
Raymond Feng
63f8b3b323
Fix typescript definitions to be compatible with LB4
2018-05-10 10:19:15 -07:00
Raymond Feng
90163ba709
Allow toObject() to accept an 'options' argument
2018-05-10 10:18:55 -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
c9558026d0
Merge pull request #1578 from strongloop/ts-definitions
...
Add TypeScript declaration files
2018-05-10 06:57:20 -07:00
Raymond Feng
77a2c9ab3b
Add typescript type definitions
2018-05-09 12:47:27 -07:00
Raymond Feng
cc99cd8f0f
Tidy up datasource
2018-05-03 14:14:53 -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š
c213352800
Merge pull request #1575 from strongloop/fix/phantomjs
...
Polyfill Number.isFinite() to support PhantomJS
2018-04-19 08:34:21 +02:00
Miroslav Bajtoš
f8479253fa
Polyfill Number.isFinite() to support PhantomJS
2018-04-17 10:08:39 +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
Miroslav Bajtoš
2d76947c07
Merge pull request #1573 from strongloop/feature/remove-model
...
feat: remove a Model from all registries
2018-04-17 09:33:13 +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š
5af4c42728
feat: remove a Model from all registries
...
Add API allowing consumers (e.g. LoopBack) to remove a Model from all
juggler registries:
- ModelBuilder's models
- ModelBuilder's definitions
- Connector registry of models
2018-04-16 14:24:53 +02:00
Janny
01427b1755
feat: omit default fn for embedsMany ( #1532 )
...
* feat: omit default fn for embeds many
* fix: apply feedback
2018-04-13 13:17:40 -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
Miroslav Bajtoš
f0c092da21
Merge pull request #1508 from bmatson/master
...
Pass context to custom validators
2018-03-22 16:17:38 +01:00
bmatson
c3e502032e
Pass options argument to custom validators
2018-03-22 15:51:21 +01:00
Diana Lau
a5faee46bd
chore: update CODEOWNERS ( #1566 )
2018-03-22 10:32:28 -04: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
e56d520db4
Exclude .nyc_output from being published
2018-03-16 08:50:45 -07:00
Miroslav Bajtoš
2c37cda1aa
Merge pull request #1561 from strongloop/welcome-nitro404
...
CODEOWNERS: add nitro404
2018-02-16 09:18:19 +01:00
Miroslav Bajtoš
faa57a8a2a
CODEOWNERS: add nitro404
2018-02-15 16:03:01 +01: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
5dc6a1cd13
Merge pull request #1558 from strongloop/fix-ds-constructor
...
fix: allow `new DataSource(connector, settings)`
2018-02-13 09:43:01 -08:00
Raymond Feng
87e1e217c3
fix: allow `new DataSource(connector, settings)`
2018-02-13 09:42:41 -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