Less. The dynamic stylesheet language.
Added source-map-URL option Fixed a bug which meant the minimised 1.5.0 browser version was not wrapped, meaning it interfered with require js Fixed a bug where the browser version assume port was specified Added the ability to specify variables on the command line Upgraded clean-css and fixed it from trying to import correct a bug meaning imports weren't synchronous (syncImport option available for full synchronous behaviour) better mixin matching behaviour with calling multiple classes e.g. .a.b.c;
sourcemap support support for import inline option to include css that you do NOT want less to parse e.g. @import (inline) "file.css"; better support for modifyVars (refresh styles with new variables, using a file cache), is now more resiliant support for import reference option to reference external css, but not output it. Any mixin calls or extend's will be output. support for guards on selectors (currently only if you have a single selector) allow property merging through the +: syntax Added min/max functions Added length function and improved extract to work with comma seperated values when using import multiple, sub imports are imported multiple times into final output fix bad spaces between namespace operators do not compress comment if it begins with an exclamation mark Fix the saturate function to pass through when using the CSS syntax Added svg-gradient function Added no-js option to lessc (in browser, use javascriptEnabled: false) which disallows JavaScript in less files switched from the little supported and buggy cssmin (previously ycssmin) to clean-css support transparent as a color, but not convert between rgba(0, 0, 0, 0) and transparent remove sys.puts calls to stop deprecation warnings in future node.js releases Browser: added logLevel option to control logging (2 = everything, 1 = errors only, 0 = no logging) Browser: added errorReporting option which can be "html" (default) or "console" or a function Now uses grunt for building and testing A few bug fixes for media queries, extends, scoping, compression and import once.
Notes relative to last stable release (1.3.3)
:extend()
in selectors (e.g. input:extend(.button) {}
) and &:extend();
in ruleset (e.g. input { &:extend(.button all); }
)(~"@var")
selector interpolation is removed. Use @{var} in selectors to have variable selectors@import-once
has been removed.@import (less) "file.css"
will process the file as less@import
supports https and 301's