Diffdown is a real-time collaborative Markdown editor/previewer built on the AT Protocol
diffdown.com
1## 1.3.1 (2026-02-16)
2
3### Bug fixes
4
5Fix parsing of blocks after nested pseudo-class selectors.
6
7## 1.3.0 (2025-07-07)
8
9### Bug fixes
10
11Values wrapped in brackets can now contain more types of tokens.
12
13Properly support hex escapes in identifiers.
14
15Support variable names as callees in call expressions.
16
17### New features
18
19Add support for `@scope` syntax.
20
21Add support for `if` notation.
22
23## 1.2.1 (2025-05-15)
24
25### Bug fixes
26
27Fix parsing of `*` selectors in descendant positions.
28
29## 1.2.0 (2025-05-12)
30
31### Bug fixes
32
33Allow @ keywords to start with a dash, since prefixed ones exist.
34
35Bump the dependency on @lezer/lr to a version that supports local token groups. Also bump @lezer/generator dependency
36
37### New features
38
39Add support for range queries.
40
41`@import` statements now support `layer` syntax.
42
43Support relative versions of the `+`, `>`, and `~` selectors, which omit the left-hand selector. Allow @-keywords to start with a dash
44
45## 1.1.11 (2025-03-24)
46
47### Bug fixes
48
49Accept trailing commas in argument lists.
50
51## 1.1.10 (2025-01-24)
52
53### Bug fixes
54
55Emit a node for class selector dots.
56
57## 1.1.9 (2024-09-10)
58
59### Bug fixes
60
61Allow `url()` values to be empty.
62
63Don't generate a parse error when declarations don't have a value.
64
65## 1.1.8 (2024-02-19)
66
67### Bug fixes
68
69Follow the standard, allowing digits in unit identifiers.
70
71## 1.1.7 (2024-01-08)
72
73### Bug fixes
74
75Correctly parse properties with a space before the colon.
76
77## 1.1.6 (2024-01-01)
78
79### Bug fixes
80
81Add support for bracketed grid line names.
82
83## 1.1.5 (2023-12-28)
84
85### Bug fixes
86
87Tag comments and strings as isolating for the purpose of bidirectional text.
88
89## 1.1.4 (2023-11-09)
90
91### Bug fixes
92
93Fix parsing of `&` selectors in descendant selectors.
94
95Allow identifiers to contain backslash escapes.
96
97## 1.1.3 (2023-07-03)
98
99### Bug fixes
100
101Comments are now parsed to end of file if no closing `*/` is found.
102
103Make the package work with new TS resolution styles.
104
105## 1.1.2 (2023-05-15)
106
107### Bug fixes
108
109Make keyframe selector parsing more flexible to support timeline ranges.
110
111Allow multiple comma-separated keyframe selectors per keyframe.
112
113## 1.1.1 (2022-12-02)
114
115### Bug fixes
116
117The `Styles` top rule now also recognizes nested rules.
118
119## 1.1.0 (2022-11-25)
120
121### Bug fixes
122
123Don't emit an error node when the input is empty. Export a Styles top-level rule for parsing lists of properties
124
125### New features
126
127The new `Styles` top-level rule can be used to parse semicolon-separated lists of properties.
128
129## 1.0.1 (2022-10-10)
130
131### Bug fixes
132
133Add support for the `is`, `where`, `host-context`, `nth-last-of-type`, and `nth-of-type` pseudo classes.
134
135Apply a consistent highlighting tag (`definitionKeyword`) to all @ keywords.
136
137## 1.0.0 (2022-06-06)
138
139### New features
140
141First stable version.
142
143## 0.16.0 (2022-04-20)
144
145### Breaking changes
146
147Move to 0.16 serialized parser format.
148
149### New features
150
151The parser now includes syntax highlighting information in its node types.
152
153## 0.15.2 (2021-09-24)
154
155### Bug fixes
156
157Distinguish between variable names and other names.
158
159Fix the name of nodes for the `selector` keyword (which by accident was `callee` before).
160
161## 0.15.1 (2021-08-31)
162
163### Bug fixes
164
165Fix parsing of selector arguments to pseudo selectors.
166
167## 0.15.0 (2021-08-11)
168
169### Breaking changes
170
171The module's name changed from `lezer-css` to `@lezer/css`.
172
173Upgrade to the 0.15.0 lezer interfaces.
174
175## 0.13.1 (2020-12-04)
176
177### Bug fixes
178
179Fix versions of lezer packages depended on.
180
181## 0.13.0 (2020-12-04)
182
183## 0.12.0 (2020-10-23)
184
185### Breaking changes
186
187Adjust to changed serialized parser format.
188
189## 0.11.1 (2020-09-26)
190
191### Bug fixes
192
193Fix lezer depencency versions
194
195## 0.11.0 (2020-09-26)
196
197### Breaking changes
198
199Follow change in serialized parser format.
200
201## 0.10.1 (2020-09-02)
202
203### Bug fixes
204
205Fix a conflicting pair of tokens that the generator previously didn't catch.
206
207## 0.10.0 (2020-08-07)
208
209### Breaking changes
210
211Upgrade to 0.10 parser serialization
212
213## 0.9.0 (2020-06-08)
214
215### Breaking changes
216
217Upgrade to 0.9 parser serialization
218
219## 0.8.3 (2020-04-09)
220
221### Bug fixes
222
223Regenerate parser with a fix in lezer-generator so that the top node prop is properly assigned.
224
225## 0.8.2 (2020-04-01)
226
227### Bug fixes
228
229Make the package load as an ES module on node
230
231## 0.8.1 (2020-02-28)
232
233### New features
234
235Provide an ES module file.
236
237## 0.8.0 (2020-02-03)
238
239### New features
240
241Follow 0.8.0 release of the library.
242
243## 0.7.0 (2020-01-20)
244
245### Breaking changes
246
247Use the lezer 0.7.0 parser format.
248
249## 0.5.2 (2020-01-15)
250
251### Bug fixes
252
253Regenerate with lezer-generator 0.5.2 to avoid cyclic forced reductions.
254
255## 0.5.1 (2019-10-22)
256
257### Bug fixes
258
259Fix top prop missing from build output.
260
261## 0.5.0 (2019-10-22)
262
263### Breaking changes
264
265Move from `lang` to `top` prop on document node.
266
267## 0.4.0 (2019-09-10)
268
269### Breaking changes
270
271Adjust to 0.4.0 parse table format.
272
273## 0.3.0 (2019-08-22)
274
275### New features
276
277Go back to node names, add props, follow changes in grammar syntax.
278
279## 0.2.0 (2019-08-02)
280
281### New Features
282
283First documented release.