Skip to content

Commit 1eac98a

Browse files
Changesets: Versioning & Publication (#78)
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## [email protected] ### Minor Changes - [#64](#64) [`0aaf308`](0aaf308) Thanks [@acao](https://github.com/acao)! - **Breaking Change**: replaces backticks with `<code>` blocks in hover and completion! This just seemed to make more sense. - upgrade `json-schema-library` to the latest 8.x with patch fixes, remove "forked" pointer step logic - after autocompleting a property, when there is empty value, provide full autocomplete options - as noted in the breaking change notice, all psuedo-markdown backtick \`\`delimiters are replaced with`<code>` --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Rikki Schulte <[email protected]>
1 parent 0aaf308 commit 1eac98a

File tree

5 files changed

+38
-37
lines changed

5 files changed

+38
-37
lines changed

.changeset/nasty-islands-help.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# codemirror-json-schema
22

3+
## 0.6.0
4+
5+
### Minor Changes
6+
7+
- [#64](https://github.com/acao/codemirror-json-schema/pull/64) [`0aaf308`](https://github.com/acao/codemirror-json-schema/commit/0aaf3080f9451bdbdc45f5a812ce50c25f354c57) Thanks [@acao](https://github.com/acao)! - **Breaking Change**: replaces backticks with `<code>` blocks in hover and completion! This just seemed to make more sense.
8+
9+
- upgrade `json-schema-library` to the latest 8.x with patch fixes, remove "forked" pointer step logic
10+
- after autocompleting a property, when there is empty value, provide full autocomplete options
11+
- as noted in the breaking change notice, all psuedo-markdown backtick \`\`delimiters are replaced with`<code>`
12+
313
## 0.5.1
414

515
### Patch Changes

docs/modules/index.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Full featured cm6 extension for json, including `@codemirror/lang-json`
6363

6464
#### Defined in
6565

66-
[bundled.ts:15](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/bundled.ts#L15)
66+
[bundled.ts:15](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/bundled.ts#L15)
6767

6868
## Codemirror Extensions
6969

@@ -97,7 +97,7 @@ provides a JSON schema enabled autocomplete extension for codemirror
9797

9898
#### Defined in
9999

100-
[json-completion.ts:811](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/json-completion.ts#L811)
100+
[json-completion.ts:808](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/json-completion.ts#L808)
101101

102102
---
103103

@@ -133,7 +133,7 @@ provides a JSON schema enabled tooltip extension for codemirror
133133

134134
#### Defined in
135135

136-
[json-hover.ts:39](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/json-hover.ts#L39)
136+
[json-hover.ts:42](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/json-hover.ts#L42)
137137

138138
---
139139

@@ -167,7 +167,7 @@ Helper for simpler class instantiaton
167167

168168
#### Defined in
169169

170-
[json-validation.ts:42](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/json-validation.ts#L42)
170+
[json-validation.ts:43](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/json-validation.ts#L43)
171171

172172
## Utilities
173173

@@ -190,7 +190,7 @@ retrieve a Map of all the json pointers in a document
190190

191191
#### Defined in
192192

193-
[utils/jsonPointers.ts:57](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/utils/jsonPointers.ts#L57)
193+
[utils/jsonPointers.ts:57](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/utils/jsonPointers.ts#L57)
194194

195195
---
196196

@@ -214,7 +214,7 @@ retrieve a JSON pointer for a given position in the editor
214214

215215
#### Defined in
216216

217-
[utils/jsonPointers.ts:45](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/utils/jsonPointers.ts#L45)
217+
[utils/jsonPointers.ts:45](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/utils/jsonPointers.ts#L45)
218218

219219
---
220220

@@ -241,7 +241,7 @@ Mimics the behavior of `json-source-map`'s `parseJSONDocument` function using co
241241

242242
#### Defined in
243243

244-
[utils/parseJSONDocument.ts:23](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/utils/parseJSONDocument.ts#L23)
244+
[utils/parseJSONDocument.ts:23](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/utils/parseJSONDocument.ts#L23)
245245

246246
---
247247

@@ -268,7 +268,7 @@ Return parsed data and json pointers for a given codemirror EditorState
268268

269269
#### Defined in
270270

271-
[utils/parseJSONDocument.ts:9](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/utils/parseJSONDocument.ts#L9)
271+
[utils/parseJSONDocument.ts:9](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/utils/parseJSONDocument.ts#L9)
272272

273273
## Functions
274274

@@ -288,7 +288,7 @@ Return parsed data and json pointers for a given codemirror EditorState
288288

289289
#### Defined in
290290

291-
[state.ts:25](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/state.ts#L25)
291+
[state.ts:25](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/state.ts#L25)
292292

293293
---
294294

@@ -309,7 +309,7 @@ Return parsed data and json pointers for a given codemirror EditorState
309309

310310
#### Defined in
311311

312-
[utils/jsonPointers.ts:12](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/utils/jsonPointers.ts#L12)
312+
[utils/jsonPointers.ts:12](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/utils/jsonPointers.ts#L12)
313313

314314
---
315315

@@ -329,7 +329,7 @@ Return parsed data and json pointers for a given codemirror EditorState
329329

330330
#### Defined in
331331

332-
[state.ts:29](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/state.ts#L29)
332+
[state.ts:29](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/state.ts#L29)
333333

334334
---
335335

@@ -350,7 +350,7 @@ Return parsed data and json pointers for a given codemirror EditorState
350350

351351
#### Defined in
352352

353-
[state.ts:19](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/state.ts#L19)
353+
[state.ts:19](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/state.ts#L19)
354354

355355
## Type Aliases
356356

@@ -367,7 +367,7 @@ Return parsed data and json pointers for a given codemirror EditorState
367367

368368
#### Defined in
369369

370-
[json-hover.ts:13](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/json-hover.ts#L13)
370+
[json-hover.ts:16](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/json-hover.ts#L16)
371371

372372
---
373373

@@ -377,7 +377,7 @@ Return parsed data and json pointers for a given codemirror EditorState
377377

378378
#### Defined in
379379

380-
[json-hover.ts:15](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/json-hover.ts#L15)
380+
[json-hover.ts:18](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/json-hover.ts#L18)
381381

382382
---
383383

@@ -395,7 +395,7 @@ Return parsed data and json pointers for a given codemirror EditorState
395395

396396
#### Defined in
397397

398-
[json-hover.ts:19](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/json-hover.ts#L19)
398+
[json-hover.ts:22](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/json-hover.ts#L22)
399399

400400
---
401401

@@ -405,7 +405,7 @@ Return parsed data and json pointers for a given codemirror EditorState
405405

406406
#### Defined in
407407

408-
[utils/jsonPointers.ts:8](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/utils/jsonPointers.ts#L8)
408+
[utils/jsonPointers.ts:8](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/utils/jsonPointers.ts#L8)
409409

410410
---
411411

@@ -422,7 +422,7 @@ Return parsed data and json pointers for a given codemirror EditorState
422422

423423
#### Defined in
424424

425-
[types.ts:4](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/types.ts#L4)
425+
[types.ts:4](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/types.ts#L4)
426426

427427
---
428428

@@ -441,7 +441,7 @@ Return parsed data and json pointers for a given codemirror EditorState
441441

442442
#### Defined in
443443

444-
[types.ts:9](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/types.ts#L9)
444+
[types.ts:9](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/types.ts#L9)
445445

446446
---
447447

@@ -451,7 +451,7 @@ Return parsed data and json pointers for a given codemirror EditorState
451451

452452
#### Defined in
453453

454-
[types.ts:18](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/types.ts#L18)
454+
[types.ts:18](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/types.ts#L18)
455455

456456
---
457457

@@ -468,7 +468,7 @@ Return parsed data and json pointers for a given codemirror EditorState
468468

469469
#### Defined in
470470

471-
[json-validation.ts:25](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/json-validation.ts#L25)
471+
[json-validation.ts:26](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/json-validation.ts#L26)
472472

473473
## Variables
474474

@@ -478,4 +478,4 @@ Return parsed data and json pointers for a given codemirror EditorState
478478

479479
#### Defined in
480480

481-
[state.ts:6](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/state.ts#L6)
481+
[state.ts:6](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/state.ts#L6)

docs/modules/json5.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Full featured cm6 extension for json5, including `codemirror-json5`
3939

4040
#### Defined in
4141

42-
[json5-bundled.ts:16](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/json5-bundled.ts#L16)
42+
[json5-bundled.ts:16](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/json5-bundled.ts#L16)
4343

4444
## Codemirror Extensions
4545

@@ -73,7 +73,7 @@ provides a JSON schema enabled autocomplete extension for codemirror and json5
7373

7474
#### Defined in
7575

76-
[json-completion.ts:822](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/json-completion.ts#L822)
76+
[json-completion.ts:819](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/json-completion.ts#L819)
7777

7878
---
7979

@@ -109,7 +109,7 @@ Instantiates a JSONHover instance with the JSON5 mode
109109

110110
#### Defined in
111111

112-
[json5-hover.ts:13](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/json5-hover.ts#L13)
112+
[json5-hover.ts:13](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/json5-hover.ts#L13)
113113

114114
---
115115

@@ -143,7 +143,7 @@ Instantiates a JSONValidation instance with the JSON5 mode
143143

144144
#### Defined in
145145

146-
[json5-validation.ts:12](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/json5-validation.ts#L12)
146+
[json5-validation.ts:12](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/json5-validation.ts#L12)
147147

148148
## Utilities
149149

@@ -170,7 +170,7 @@ Mimics the behavior of `json-source-map`'s `parseJSONDocument` function, for jso
170170

171171
#### Defined in
172172

173-
[utils/parseJSON5Document.ts:28](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/utils/parseJSON5Document.ts#L28)
173+
[utils/parseJSON5Document.ts:28](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/utils/parseJSON5Document.ts#L28)
174174

175175
---
176176

@@ -197,4 +197,4 @@ Return parsed data and json5 pointers for a given codemirror EditorState
197197

198198
#### Defined in
199199

200-
[utils/parseJSON5Document.ts:14](https://github.com/acao/codemirror-json-schema/blob/7ed9e3e/src/utils/parseJSON5Document.ts#L14)
200+
[utils/parseJSON5Document.ts:14](https://github.com/acao/codemirror-json-schema/blob/0aaf308/src/utils/parseJSON5Document.ts#L14)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "codemirror-json-schema",
33
"license": "MIT",
4-
"version": "0.5.1",
4+
"version": "0.6.0",
55
"description": "Codemirror 6 extensions that provide full JSONSchema support for `@codemirror/lang-json` and `codemirror-json5`",
66
"contributors": [
77
{

0 commit comments

Comments
 (0)