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
Idempotent version of "last n versions" #680
Comments
If you will not change Does it works for you? |
Yes, although it is irritating and potentially misleading for other devs when old versions trigger the warning emitted at https://github.com/browserslist/browserslist/blob/4.20.3/node.js#L381-L386 |
We believe that updating browsers twice per year will reduce polyfills and is good for website performance. You can lock browsers between this updates. Why do you need to keep browsers locked for now than 6 month? |
We have LTS releases that need to receive security backports for up to a year. The set of browsers that was supported when the LTS was initially released should not change as a result of backporting a security fix, so we want to freeze |
What do you think about locked browser versions in Browserslist config instead? npx browserslist "defaults" > .browserslistrc You will have the config like:
It will be explicit that you are locked with exact versions. |
"Last n versions" refers to the last n versions as of a "now" which corresponds to the moment the build is initiated. However, once my team cuts a release branch, it is necessary for our set of supported browsers to be frozen at this point. It would simplify matters for us to be able to specify an absolute date which would serve as the "now" against which "last n versions" queries can be evaluated.
The text was updated successfully, but these errors were encountered: