Skip to content

GetIt V4 release candidate is out #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
escamoteur opened this issue Feb 14, 2020 · 6 comments
Closed

GetIt V4 release candidate is out #46

escamoteur opened this issue Feb 14, 2020 · 6 comments

Comments

@escamoteur
Copy link
Collaborator

escamoteur commented Feb 14, 2020

Hi,

I uploaded the release candidate for V4 on pub: https://pub.dev/packages/get_it/versions/4.0.0-release-candidate

Please give it a try. It contains:

Please also read the documentation and tell me here if something isn't clear or even better make an PR on the readme file ;-)

@lanmonster
Copy link

Is there a migration guide for the breaking changes?

@escamoteur
Copy link
Collaborator Author

The changes are minimal so shouldn't be a problem this time. If you need help just ask here.

@ThinkDigitalSoftware
Copy link

Yes, been waiting for #41. Thank you!

@Kavantix
Copy link

Really like what you ended up with for the async factory/singletons!

@escamoteur
Copy link
Collaborator Author

Thanks!

@thor-jc
Copy link

thor-jc commented Mar 14, 2020

I was just hitting the fact that my async singletons were not loading 'in-time' yesterday and found this new version published. Great additions!

Regards,
John
ps quick note ->
Can you implement a logger with levels that we can control via config? (or remove print statements?)
get_it_impl.dart -> line 533

void _register<T, P1, P2>({ @required _ServiceFactoryType type, FactoryFunc<T> factoryFunc, FactoryFuncParam<T, P1, P2> factoryFuncParam, FactoryFuncAsync<T> factoryFuncAsync, FactoryFuncParamAsync<T, P1, P2> factoryFuncParamAsync, T instance, @required String instanceName, @required bool isAsync, Iterable<Type> dependsOn, @required bool shouldSignalReady, }) { print(T.toString()); . ....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants