8000 Update CHANGELOG.md · nullstring/less.js@b200459 · GitHub
[go: up one dir, main page]

Skip to content

Commit b200459

Browse files
committed
Update CHANGELOG.md
added 1.4.0 beta details
1 parent 9fd802f commit b200459

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
# 1.4.0 Beta
2+
3+
2013-03-07
4+
5+
- support for `:extends()` in selectors and `&:extends();` in ruleset
6+
- maths is now only done inside brackets. This means font: statements, media queries and the calc function can use a simpler format without being escaped. Disable this with --strict-maths-off in lessc and strictMaths:false in JavaScript.
7+
- units are calculated, e.g. 200cm+1m = 3m, 3px/1px = 3. If you use units inconsistently you will get an error. Suppress this error with --strict-units-off in lessc or strictUnits:false in JavaScript
8+
- `(~"@var")` selector interpolation is removed. Use @{var} in selectors to have variable selectors
9+
- default behaviour of import is to import each file once.
10+
- You can specify options on imports to force it to behave as css or less `@import (less) "file.css"` will process the file as less
11+
- variables in mixins no longer 'leak' into their calling scope
12+
- added data-uri function which will inline an image into the output css. If ieCompat option is true and file is too large, it will fallback to a url()
13+
- significant bug fixes to our debug options
14+
- other parameters can be used as defaults in mixins e.g. .a(@a, @b:@a)
15+
- an error is shown if properties are used outside of a ruleset
16+
- added extract function which picks a value out of a list, e.g. extract(12 13 14, 3) => 3
17+
- added luma, hsvhue, hsvsaturation, hsvvalue functions
18+
- added pow, pi, mod, tan, sin, cos, atan, asin, acos and sqrt math functions
19+
- added convert function, e.g. convert(1rad, deg) => value in degrees
20+
- lessc makes output directories if they don't exist
21+
- lessc `@import` supports https and 301's
22+
- lessc "-depends" option for lessc writes out the list of import files used in makefile format
23+
- lessc "-lint" option just reports errors
24+
- other bug fixes
25+
126
# 1.3.3
227

328
2012-12-30

0 commit comments

Comments
 (0)
0