Upgrading get_it 2 to 3
Unknown2.1.0 → 3.1.0
Fetching 5 releases from GitHub…0 / 5
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
API changes
Generated by DepDelta from published Dart source. Not mixed with prose notes.
- removed:
static field GetIt.allowMultipleInstances: bool - changed:
method GetIt.registerFactory<T>(FactoryFunc<T> func, {String instanceName, bool signalsReady = …}): void → method GetIt.registerFactory<T>(FactoryFunc<T> func, {String instanceName}): void - changed:
method GetIt.signalReady<T>([String instanceName]): void → method GetIt.signalReady([Object instance]): void - changed:
method GetIt.unregister<T>( {String instanceName, void Function(T) disposingFunction}): void → method GetIt.unregister<T>( {Object instance, String instanceName, void Function(T) disposingFunction}): void - added:
function throwIf(bool condition, Object error): void - added:
function throwIfNot(bool condition, Object error): void - added:
method GetIt.resetLazySingleton<T>( {Object instance, String instanceName, void Function(T) disposingFunction}): void