22 lines
913 B
Markdown
22 lines
913 B
Markdown
# List of notable changes made between 2.x and 3.0
|
|
|
|
All breaking changes must be described here. When adding a new entry,
|
|
always describe the impact on users and instructions for upgrading
|
|
applications from 2.x to 3.0.
|
|
|
|
## loopback-datasource-juggler was moved from peerDependencies to dependencies
|
|
|
|
Originally, we (ab)used peer dependencies to ensure there is only one instance
|
|
of loopback-datasource-juggler in the dependency tree, so that there is only
|
|
one singleton instance of model registry. This was very fragile and might not
|
|
have worked in certain edge cases.
|
|
|
|
We have reworked loopback-datasource-juggler and connectors to not rely on
|
|
a single juggler instance anymore. As the last step, juggler became a regular
|
|
dependency.
|
|
|
|
https://github.com/strongloop/loopback/issues/275
|
|
|
|
When upgrading application from previous loopback versions, simply remove
|
|
loopback-datasource-juggler from your dependencies.
|