Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃摙 Status of Linaria and road to 2.0 #582

Closed
jayu opened this issue Apr 20, 2020 · 9 comments
Closed

馃摙 Status of Linaria and road to 2.0 #582

jayu opened this issue Apr 20, 2020 · 9 comments
Labels
skip autolabeling Use it to disable auto laberer bot for an issue/pr

Comments

@jayu
Copy link
Contributor

jayu commented Apr 20, 2020

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.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

@jayu jayu added the skip autolabeling Use it to disable auto laberer bot for an issue/pr label Apr 20, 2020
@jayu jayu pinned this issue Apr 20, 2020
@jayu jayu changed the title 馃摙 Status of Linaria and road to 2.0 馃摙 馃摙 Status of Linaria and road to 2.0 Apr 20, 2020
@jayu jayu changed the title 馃摙 Status of Linaria and road to 2.0 馃摙 Status of Linaria and road to 2.0 Apr 20, 2020
@Jayphen
Copy link
Contributor

Jayphen commented May 8, 2020

Is the new evaluation strategy already used in the 2.0 alpha? Or is it necessary to opt-in to it?

@jayu
Copy link
Contributor Author

jayu commented May 8, 2020

@Jayphen not yet, you can configure it as it is said #447 (comment)
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

@Jayphen
Copy link
Contributor

Jayphen commented May 8, 2020

@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.

@blasterpistol
Copy link

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.

@chyzwar
Copy link

chyzwar commented Jun 21, 2020

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 ?

@jayu
Copy link
Contributor Author

jayu commented Jun 22, 2020

@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!

@sewinter
Copy link

sewinter commented Aug 2, 2020

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.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

The migration guide 404s.

@arendjr
Copy link

arendjr commented Oct 12, 2020

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.

@Anber
Copy link
Collaborator

Anber commented Oct 26, 2020

1.4 and 2.0 have been released

@Anber Anber closed this as completed Oct 26, 2020
@Anber Anber unpinned this issue Nov 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip autolabeling Use it to disable auto laberer bot for an issue/pr
Projects
None yet
Development

No branches or pull requests

7 participants