getx
getx copied to clipboard
Can I replace v4.6.5 with 5.0.0 in production ?
@jasonlaw
@jonataslaw
I would not recommend.
Remember that a pre-release version has a certain level of instability, possible crashes, code changes and lack of documentation - mostly.
Following the concept of Semantic Versioning, when there are major changes it is because there are breaking changes. And it is ideal to wait for documentation about this, as requested in the issue below, e.g.
- https://github.com/jonataslaw/getx/issues/2706.
As it is release-candidate, the present api is close to stability (not an alpha or beta). So you won't have significant breaks changes in the official release, however, you might find bugs, or change in the implementation of some features that don't have documentation yet. If you DON'T use the old nested navigation (using onGenerateRoute) I would tell you to test version 5, but do and redo internal tests, by the way, this release candidate is precisely for the community to help me debug possible bugs, since the stateManager , Navigation and Instance manager were rewritten from scratch.
I'm going to add an api for animations today, which is going to be one of the most amazing things we're going to have in this library, and it's a must have. I would urge you to familiarize yourself with the new api, although I try my best not to create significant breaks between releases. In general, I don't recommend you to replace it without testing, but I recommend you to test it, because really everything in version 5 is much better than in version 4.
https://pub.dev/packages/refreshed