Upgrading get_it 8 to 9
Breaking8.3.0 → 9.3.0Breaking1New7Changed4Fixed3Other12
BreakingUpgrade verdict
1 breaking change.
In plain terms
- When dependencies are cleaned up, they are now always removed in the exact reverse order they were registered, and an option to control this has been removed.
Must act 1 item needs code or config changes
What you must change
Breaking1
Disposal order now always follows strict LIFO based on registration order, and the strictDisposalOrder parameter is removed from scope reset and pop methods.
registrationNumberstrictDisposalOrderreset()resetScope()popScope()popScopesTill()dropScope()API changes
Generated by DepDelta from published Dart source. Not mixed with prose notes.
- added:
field GetIt.debugEventsEnabled: bool - added:
field GetIt.skipUnregisterIfNotRegistered: bool - added:
get ObjectRegistration.acceptsParams: bool