Skip to content

What is new in Less 3.x ? #462

Open
Open
@harrymt

Description

@harrymt

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

Anyone share?

Activity

matthew-dean

matthew-dean commented on Nov 14, 2017

@matthew-dean
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

matthew-dean commented on Nov 14, 2017

@matthew-dean
Member

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

Andersos

Andersos commented on Nov 20, 2018

@Andersos

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

matthew-dean

matthew-dean commented on Nov 21, 2018

@matthew-dean
Member

@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

harrymt commented on Nov 21, 2018

@harrymt
Author

@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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Andersos@matthew-dean@harrymt

        Issue actions

          What is new in Less 3.x ? · Issue #462 · less/less-docs