1 |
|
2 | 0.10.0 / 2011-03-29
|
3 | ==================
|
4 |
|
5 | * Added keyword argument support
|
6 | * Added `Arguments` node, acts like `Expression`
|
7 | * Added `utils.params()`
|
8 | * Added `debug` option to stylus middleware
|
9 | * Added support for `hsl + 15deg` etc to adjust hue
|
10 | * Added special-case for percentage based `RGBA` operations (`#eee - 20%`)
|
11 | * Changed; right-hand colors in operations are not clamped (`#eee * 0.2`)
|
12 | * Added support for `unit * color` (swaps operands)
|
13 | * Fixed color component requests on the opposite node type (ex red on hsla node)
|
14 | * Fixed `Expression#clone()` to support `Arguments`
|
15 | * Fixed issue with middleware where imports are improperly mapped
|
16 | * Fixed mutation of color when adjusting values
|
17 | * Fixed; coerce string to literal
|
18 | * Removed {darken,lighten}-by() BIFs
|
19 |
|
20 | 0.9.2 / 2011-03-21
|
21 | ==================
|
22 |
|
23 | * Removed a `console.log()` call
|
24 |
|
25 | 0.9.1 / 2011-03-18
|
26 | ==================
|
27 |
|
28 | * Fixed connect middleware `@import` support. Closes #168
|
29 | The middleware is now smart enough to know when imports
|
30 | change, and will re-compile the target file.
|
31 |
|
32 | * Changed middleware `compile` function to return the `Renderer` (API change)
|
33 |
|
34 | 0.9.0 / 2011-03-18
|
35 | ==================
|
36 |
|
37 | * Added `-i, --interactive` for the Stylus REPL (eval stylus expressions, tab-completion etc)
|
38 | * Added link to vim syntax
|
39 | * Changed `p()` built-in to display parens
|
40 | * Changed `--compress -C` to `-c`, and `-css -c` is now `-C`
|
41 | * Fixed; preserve rest-arg expressions. Closes #194
|
42 | * Fixed `*=` in selector, ex `[class*="foo"]`
|
43 | * Fixed `--watch` issue with growl, updated to 1.1.0. Closes #188
|
44 | * Fixed negative floats when compressed. Closes #193 [reported by ludicco]
|
45 |
|
46 | 0.8.0 / 2011-03-14
|
47 | ==================
|
48 |
|
49 | * Added postfix `for`-loop support.
|
50 | Ex: `return n if n % 2 == 0 for n in nums`
|
51 | * Added support for several postfix operators
|
52 | Ex: `border-radius: 5px if true unless false;`
|
53 | * Added `last(expr)` built-in function
|
54 | * Added `sum(nums)` built-in function
|
55 | * Added `avg(nums)` built-in function
|
56 | * Added `join(delim, vals)` built-in function
|
57 | * Added `Evaluator#{currentScope,currentBlock}`
|
58 | * Added multi-line function paramter definition support
|
59 | * Changed; `0` is falsey, `0%`, `0em`, `0px` etc truthy. Closes #160
|
60 | * Fixed `for` implicit __return__ value
|
61 | * Fixed `for` explicit __return__ value
|
62 | * Fixed mixin property ordering
|
63 |
|
64 | 0.7.4 / 2011-03-10
|
65 | ==================
|
66 |
|
67 | * Added `RGBA` node
|
68 | * Added `is a "color"` special-case, true for `HSLA` and `RGBA` nodes.
|
69 | Closes #180
|
70 | * Performance; 2.5x faster compiles due to removing use of getters in `Parser` and `Lexer` (yes, they are really slow).
|
71 | * Removed `Color` node
|
72 | * Fixed stylus(1) `--watch` support due to dynamic __@import__ support. Closes #176
|
73 |
|
74 | 0.7.3 / 2011-03-09
|
75 | ==================
|
76 |
|
77 | * Fixed; allow semi-colons for non-css syntax for one-liners
|
78 |
|
79 | 0.7.2 / 2011-03-08
|
80 | ==================
|
81 |
|
82 | * Added `isnt` operator, same as `is not`, and `!=`
|
83 | * Added support for dynamic `@import` expressions
|
84 | * Added `@import` index resolution support
|
85 | * Added `light()` / `dark()` BIFs
|
86 | * Added `compress` option for connect middleware [disfated]
|
87 | * Changed; most built-in functions defined in stylus (`./lib/functions/index.styl`)
|
88 | * Fixed dynamic expressions in `url()`. Closes #105
|
89 |
|
90 | 0.7.1 / 2011-03-07
|
91 | ==================
|
92 |
|
93 | * Fixed connect middleware for 0.4.x
|
94 |
|
95 | 0.7.0 / 2011-03-02
|
96 | ==================
|
97 |
|
98 | * Added `is` and `is not` aliases for `==` and `!=`
|
99 | * Added __@keyframes__ dynamic name support
|
100 | * Fixed units in interpolation
|
101 | * Fixed clamping of HSLA degrees / percentages
|
102 |
|
103 | 0.6.7 / 2011-03-01
|
104 | ==================
|
105 |
|
106 | * Fixed __RGBA__ -> __HSLA__ conversion due to typo
|
107 |
|
108 | 0.6.6 / 2011-03-01
|
109 | ==================
|
110 |
|
111 | * Added string -> unit type coercion support aka `5px + "10"` will give `15px`
|
112 | * Added `warn` option Closes #152
|
113 | Currently this only reports on re-definition of functions
|
114 | * Added '$' as a valid identifier character
|
115 | * Added `mixin` local variable for function introspection capabilities. Closes #162
|
116 | * Fixed typo, `Unit#toBoolean()` is now correct
|
117 | * Fixed interpolation function calls. Closes #156
|
118 | * Fixed mixins within Media node. Closes #153
|
119 | * Fixed function call in ret val. Closes #154
|
120 |
|
121 | 0.6.5 / 2011-02-24
|
122 | ==================
|
123 |
|
124 | * Fixed parent ref `&` mid-selector bug. Closes #148 [reported by visnu]
|
125 |
|
126 | 0.6.4 / 2011-02-24
|
127 | ==================
|
128 |
|
129 | * Fixed for within brackets. Closes #146
|
130 |
|
131 | 0.6.3 / 2011-02-22
|
132 | ==================
|
133 |
|
134 | * Fixed single-ident selectors. Closes #142
|
135 | * Fixed cyclic __@import__ with file of the same name. Closes #143
|
136 |
|
137 | 0.6.2 / 2011-02-21
|
138 | ==================
|
139 |
|
140 | * Added stylus(1) growl support when using `--watch`
|
141 | * Added __@import__ watching support to stylus(1). Closes #134
|
142 | * Changed; stylus(1) only throws when `--watch` is not used
|
143 | * Fixed `darken-by()` BIF
|
144 | * Fixed __@import__ literal semi-colon. Closes #140
|
145 |
|
146 | 0.6.1 / 2011-02-18
|
147 | ==================
|
148 |
|
149 | * Fixed evaluation of nodes after a return. Closes #139
|
150 |
|
151 | 0.6.0 / 2011-02-18
|
152 | ==================
|
153 |
|
154 | * Added `stylus(1)` direct css to stylus file conversion [Mario]
|
155 | For example instead of `$ stylus --css < foo.css > foo.styl`
|
156 | you may now either `$ stylus --css foo.css` or provide
|
157 | a destination path `$ stylus --css foo.css /tmp/out.styl`.
|
158 |
|
159 | * Added postfix conditionals. Closes #74
|
160 | Expressive ruby-ish syntax, ex: `padding 5px if allow-padding`.
|
161 |
|
162 | 0.5.3 / 2011-02-17
|
163 | ==================
|
164 |
|
165 | * Added `in` operator. `3 in nums`, `padding in props` etc
|
166 | * Added `Expression#hash`, hashing all of the nodes in order
|
167 | * Added tests for conditionals with braces. Closes #136
|
168 | * Fixed ids that are also valid colors. Closes #137
|
169 |
|
170 | 0.5.2 / 2011-02-15
|
171 | ==================
|
172 |
|
173 | * Fixed spaces after "}" with css-style. Closes #131
|
174 | * Fixed single-line css-style support. Closes #130
|
175 |
|
176 | 0.5.1 / 2011-02-11
|
177 | ==================
|
178 |
|
179 | * Fixed mixin property ordering. Closes #125
|
180 |
|
181 | 0.5.0 / 2011-02-09
|
182 | ==================
|
183 |
|
184 | * Added `lighten-by()` BIF
|
185 | * Added `darken-by()` BIF
|
186 |
|
187 | 0.4.1 / 2011-02-09
|
188 | ==================
|
189 |
|
190 | * Added support for function definition braces
|
191 | * Fixed issue with invalid color output. Closes #127
|
192 |
|
193 | 0.4.0 / 2011-02-07
|
194 | ==================
|
195 |
|
196 | * Added css-style syntax support
|
197 | * Fixed support for `*` selector within __@media__ blocks
|
198 |
|
199 | 0.3.1 / 2011-02-04
|
200 | ==================
|
201 |
|
202 | * Fixed property disambiguation logic. Closes #117
|
203 | You no longer need to add a trailing comma when
|
204 | chaining selectors such as 'td:nth-child(2)\ntd:nth-child(3)'
|
205 |
|
206 | 0.3.0 / 2011-02-04
|
207 | ==================
|
208 |
|
209 | * Added more assignment operators. Closes #77
|
210 | +=, -=, *=, /=, and %=
|
211 |
|
212 | 0.2.1 / 2011-02-02
|
213 | ==================
|
214 |
|
215 | * Fixed `--compress` when passing files for stylus(1). Closes #115
|
216 | * Fixed bug preventing absolute paths from being passed to `@import`
|
217 | * Fixed `opposite-position()` with nested expressions, unwrapping
|
218 | * Fixed a couple global var leaks [aheckmann]
|
219 |
|
220 | 0.2.0 / 2011-02-01
|
221 | ==================
|
222 |
|
223 | * Added; `url()` utilizing general lookup paths.
|
224 | This means that `{ paths: [] }` is optional now, as lookups
|
225 | will be relative to the file being rendered by default.
|
226 |
|
227 | * Added `-w, --watch` support to stylus(1). Closes #113
|
228 |
|
229 | 0.1.0 / 2011-02-01
|
230 | ==================
|
231 |
|
232 | * Added `opposite-position(positions)` built-in function
|
233 | * Added `image-lookup(path)` built-in function
|
234 | * Added `-o, --out <dir>` support to stylus(1)
|
235 | * Added `stylus [file|dir ...]` support
|
236 | * Added; defaulting paths to `[CWD]` for stylus(1)
|
237 | * Changed; `unquote()` using `Literal` node
|
238 | * Changed; utilizing `Literal` in place of some `Ident`s
|
239 |
|
240 | 0.0.2 / 2011-01-31
|
241 | ==================
|
242 |
|
243 | * Added optional property colon support. Closes #110
|
244 | * Added `--version` to stylus(1)
|
245 |
|
246 | 0.0.1 / 2011-01-31
|
247 | ==================
|
248 |
|
249 | * Initial release |
\ | No newline at end of file |