Diffdown is a real-time collaborative Markdown editor/previewer built on the AT Protocol
diffdown.com
1## 6.2.5 (2026-03-02)
2
3### Bug fixes
4
5Support code folding of JSX elements and tags.
6
7When reading properties in `scopeCompletionSource`, use the original object, not a prototype.
8
9## 6.2.4 (2025-05-14)
10
11### Bug fixes
12
13Fix a crash in the `esLint` helper when a rule's `meta.docs` isn't defined.
14
15Properly dedent lines starting with an opening curly brace below composite statements like `for`/`while`.
16
17## 6.2.3 (2025-02-12)
18
19### Bug fixes
20
21Disable JavaScript completions in JSX context.
22
23## 6.2.2 (2024-02-20)
24
25### Bug fixes
26
27Fix a bug that would cause self-closing JSX tags to have another closing tag inserted when typing the final '>'.
28
29## 6.2.1 (2023-08-28)
30
31### Bug fixes
32
33`autoCloseTags` now generates two separate transactions, so that the completion can be undone separately.
34
35## 6.2.0 (2023-08-26)
36
37### New features
38
39Export a `typescriptSnippets` array and include TypeScript keyword completions in the default support extension when in TypeScript mode.
40
41## 6.1.9 (2023-06-02)
42
43### Bug fixes
44
45Make sure `scopeCompletionSource` doesn't try to complete property names that aren't simple identifier (such as numeric indices).
46
47## 6.1.8 (2023-05-13)
48
49### Bug fixes
50
51Stop completing keywords after `.` tokens.
52
53## 6.1.7 (2023-04-19)
54
55### Bug fixes
56
57Fix overeager JSX tag closing inside attribute values and in self-closing tags.
58
59## 6.1.6 (2023-04-13)
60
61### Bug fixes
62
63Fix a bug that allowed `autoCloseTags` to close JSX tags in JavaScript context.
64
65## 6.1.5 (2023-04-04)
66
67### Bug fixes
68
69Make TypeScript object type syntax foldable.
70
71## 6.1.4 (2023-02-13)
72
73### Bug fixes
74
75Make sure code in JSX context can be commented correctly.
76
77## 6.1.3 (2023-02-02)
78
79### Bug fixes
80
81Fix auto-closing of JSX fragments.
82
83## 6.1.2 (2022-12-07)
84
85### Bug fixes
86
87Automatic tag closing in JSX now works for namespaced and member-expression tag names.
88
89## 6.1.1 (2022-10-24)
90
91### Bug fixes
92
93Make `completionPath` handle `?.` syntax.
94
95## 6.1.0 (2022-09-20)
96
97### New features
98
99The `completionPath` helper can now be used to find the object path to complete at a given position.
100
101`scopeCompletionSource` provides a completion source based on a scope object.
102
103## 6.0.2 (2022-07-21)
104
105### Bug fixes
106
107Fix the `source` field in ESLint diagnostics to properly hold `"eslint"`.
108
109Fix (non-)auto indentation in template strings and comments.
110
111## 6.0.1 (2022-06-29)
112
113### Bug fixes
114
115Avoid completing variables/keywords in property or definition positions.
116
117Fix a bug that broke local variable completion if JavaScript was parsed an overlay in an outer language.
118
119## 6.0.0 (2022-06-08)
120
121### Breaking changes
122
123Update dependencies to 6.0.0
124
125## 0.20.1 (2022-06-01)
126
127### New features
128
129`localCompletionSource` (included in the support extensions returned from `javascript`) now provides a way to complete locally-defined names.
130
131## 0.20.0 (2022-04-20)
132
133### New features
134
135The new `autoCloseTags` extension (included by default in the `javascript` language extension when `jsx` is configured) finishes JSX closing tags when you type a `>` or `/` character.
136
137## 0.19.7 (2022-01-28)
138
139## 0.19.6 (2022-01-11)
140
141### Bug fixes
142
143Remove accidentally released unfinished changes.
144
145## 0.19.5 (2022-01-11)
146
147### Bug fixes
148
149Add the `function` highlight modifier to variables used in tagged template expressions.
150
151## 0.19.4 (2022-01-03)
152
153### Bug fixes
154
155Fix highlighting of TypeScript private/public/protected keywords.
156
157## 0.19.3 (2021-11-12)
158
159### Bug fixes
160
161Add styling for private properties.
162
163## 0.19.2 (2021-09-23)
164
165### New features
166
167Use more specific highlighting tags for JSX attribute names and values.
168
169## 0.19.1 (2021-08-11)
170
171### Bug fixes
172
173Fix incorrect versions for @lezer dependencies.
174
175## 0.19.0 (2021-08-11)
176
177### Breaking changes
178
179Update dependencies to 0.19.0
180
181## 0.18.0 (2021-03-03)
182
183### Bug fixes
184
185Extend `indentOnInput` expression to cover closing JSX tags.
186
187## 0.17.2 (2021-02-15)
188
189### Bug fixes
190
191Improve highlighting tag specificity of defined function and class names. Add indentation information for JSX constructs
192
193Support smart indent for JSX syntax.
194
195## 0.17.1 (2021-01-06)
196
197### New features
198
199The package now also exports a CommonJS module.
200
201## 0.17.0 (2020-12-29)
202
203### Breaking changes
204
205First numbered release.
206