Recently @Anber was working on a new evaluation strategy called _shaker_. The goal was to make Linaria more flexible and reliable.
All work regarding shaker had been releasing with 1.4.0 tag, currently in beta stage.
Meanwhile, we wanted to introduce some breaking changes, so we decided to release 2.0.0 in alpha stage.
All 1.4.x work can be found on 1.4.x branch
Current master branch contains work that is planned to be released as 2.0.0. It is a continuation of 1.4.x but with some breaking changes. You can track progress on new major version in 2.0.0 milestone.
We will release stable 1.4.0 once we finnish _shaker_ effort. Documentation for 1.4.x can be found on 1.4.x branch
We will release stable 2.0.0 just after stable 1.4.0 but with breaking changes documented in 2.0.0 migration guide
Is the new evaluation strategy already used in the 2.0 alpha? Or is it necessary to opt-in to it?
@Jayphen not yet, you can configure it as it is said https://github.com/callstack/linaria/issues/447#issuecomment-620656902
It will be set as default in a few days I believe. Would be awesome if you could test it and let us know if this not break anything :D
@jayu I've just tried that with the alpha and it did not break anything. I am not sure how to even know if it is using the new strategy or not.
Edit: just tried it on a different app that I migrated from Emotion. With the old strategy it was giving some strange errors during the build that I couldn't pin down. With the new strategy those errors go away.
What about a build time penalty? Linaria 1.3.x adds 7-8 minutes to a build process and 30-40 seconds to a rebuild on a middle size project, it's why we moved to Emotion.
There is chance to list work that need to be completed for v2 ? Community could help to implement some changes if these are well-defined.
Maybe you consider adding Github Funding for a project ?
@blasterpistol we added a couple of optimizations so it should be faster now. You have to check it on your project :D
@chyzwar Here is a milestone that contains issues that should be resolved https://github.com/callstack/linaria/milestone/7 before the stable release.
As for Github Funding, we didn't consider it yet, interesting idea!
Status Note
Recently @Anber was working on a new evaluation strategy called _shaker_. The goal was to make Linaria more flexible and reliable.
All work regarding shaker had been releasing with
1.4.0tag, currently inbetastage.Meanwhile, we wanted to introduce some breaking changes, so we decided to release
2.0.0inalphastage.All
1.4.xwork can be found on1.4.xbranchCurrent
masterbranch contains work that is planned to be released as2.0.0. It is a continuation of1.4.xbut with some breaking changes. You can track progress on new major version in2.0.0milestone.We will release stable
1.4.0once we finnish _shaker_ effort. Documentation for1.4.xcan be found on1.4.xbranchWe will release stable
2.0.0just after stable1.4.0but with breaking changes documented in2.0.0migration guide
The migration guide 404s.
I just filed #681, which I think might be relevant to include in your 2.0 roadmap. Given the nature of enhanced-resolve, I doubt it will be feasible to be compatible with Webpack 4 and 5 at the same time, so then it'd make sense to keep 1.x on Webpack 4 and support Webpack 5 with in 2.0.
1.4 and 2.0 have been released
Most helpful comment
1.4and2.0have been released