chore: update dependency loopback-datasource-juggler to ^4.21.1#5261
Conversation
|
Ouch, looks like loopbackio/loopback-datasource-juggler#1835 was not as backwards compatible as I thought 🙈 While I could change juggler's typings to describe the return value of Instead, I decided bite the bullet and update both our CLI template and existing apps to use the new style where |
stop() method + update loopback-datasource-juggler to ^4.21.0
af33fbe to
ba986e2
Compare
ba986e2 to
572420d
Compare
|
@raymondfeng I added the link you suggested, LGTY now? |
What usage is broken do you have in mind? |
See the failed CI build for the dependency upgrade commit created by RenovateBot: Commit 46d66a9, build https://travis-ci.com/github/strongloop/loopback-next/jobs/323793285 |
|
I wish we scaffolded the start/stop methods with no return type, that way the compiler would infer that |
|
I see. Then we may need either mark this as a breaking change or continue to generate the |
|
Cross-posting loopbackio/loopback-datasource-juggler#1835 (comment)
I was thinking about this a bit more and realized that we have to fix the typings because I don't see any other way how to avoid breaking existing LB4 applications. I opened a new PR in juggler, I would like to get it approved, merged and published today. See As for the changes proposed in 572420d, I opened a new pull request where we can discuss them separately from juggler update. Please continue the discussion in #5279 |
572420d to
08d4c76
Compare
stop() method + update loopback-datasource-juggler to ^4.21.0|
(Waiting for RenovateBot to notice |
08d4c76 to
9d0aa95
Compare
PR has been edited👷 This PR has received other commits, so Renovate will stop updating it to avoid conflicts or other problems. If you wish to abandon your changes and have Renovate start over you may click the "rebase" checkbox in the PR body/description. |
This PR contains the following updates:
^4.20.0->^4.21.1^4.20.0->^4.21.1Release Notes
strongloop/loopback-datasource-juggler
v4.21.1v4.21.0Compare Source
==========================
types: make DataSource.stop compatible with LB4 (Miroslav Bajtoš)
feat: implement DataSource.stop() (Miroslav Bajtoš)
Add __parent reference to embedded models (Dimitris Xalatsis)
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by WhiteSource Renovate. View repository job log here.