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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is new in Less 3.x ? #462

Open
harrymt opened this issue Nov 13, 2017 · 5 comments
Open

What is new in Less 3.x ? #462

harrymt opened this issue Nov 13, 2017 · 5 comments

Comments

@harrymt
Copy link

harrymt commented Nov 13, 2017

Nowhere can I find a list of new things in 3.x.

Anyone share?

@matthew-dean
Copy link
Member

The docs themselves are updated (although a bit behind current changes) to what's coming in 3.x. But that's true there is no "what's new" document yet. See: http://lesscss.org/3.x/

There is a less-meta task tracking 3.x branch changes which I'm maintaining. See: less/less-meta#20

@matthew-dean
Copy link
Member

Added up-for-grabs since a "What's new" would be welcome for the 3.x docs.

@Andersos
Copy link

Is it safe to upgrade from 2.x to 3.x what are the breaking changes?

@matthew-dean
Copy link
Member

matthew-dean commented Nov 21, 2018

@Andersos

  • javascriptEnabled is false by default in 3.x for security reasons, meaning you can't use inline JS tags without enabling the option
  • Some behavior of calc() is slightly different (won't try to evaluate as Less math)

Other than that, lots new. Look at @plugin, Maps, each() and if() functions in docs. http://lesscss.org. Also new Less options like rewriteUrls and math settings.

In reality, few if any breaking changes, unless you are importing from a third-party library that uses deprecated features.

@harrymt
Copy link
Author

harrymt commented Nov 21, 2018

@matthew-dean perhaps these could go somewhere on the main less website?

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

No branches or pull requests

3 participants