From 15cc23cdbbf8b3117410f1cf418fccc698827436 Mon Sep 17 00:00:00 2001 From: Rikki Schulte Date: Thu, 9 Nov 2023 14:42:38 +0100 Subject: [PATCH] v0.5.1-canary.0 --- .changeset/nasty-islands-help.md | 9 +++++++++ CHANGELOG.md | 6 +++++- package.json | 10 +++++----- 3 files changed, 19 insertions(+), 6 deletions(-) create mode 100644 .changeset/nasty-islands-help.md diff --git a/.changeset/nasty-islands-help.md b/.changeset/nasty-islands-help.md new file mode 100644 index 0000000..f20a711 --- /dev/null +++ b/.changeset/nasty-islands-help.md @@ -0,0 +1,9 @@ +--- +"codemirror-json-schema": minor +--- + +**Breaking Change**: replaces backticks with `` 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`` diff --git a/CHANGELOG.md b/CHANGELOG.md index ac0829f..e92bdec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,9 @@ ### Minor Changes -- [#63](https://github.com/acao/codemirror-json-schema/pull/63) [`a73c517`](https://github.com/acao/codemirror-json-schema/commit/a73c517722bbe9d37124993117c091e259eb6998) Thanks [@acao](https://github.com/acao)! - **breaking change**: only impacts those following the "custom usage" approach, it _does not_ effect users using the high level, "bundled" `jsonSchema()` or `json5Schema()` modes. +- [#63](https://github.com/acao/codemirror-json-schema/pull/63) [`a73c517`](https://github.com/acao/codemirror-json-schema/commit/a73c517722bbe9d37124993117c091e259eb6998) Thanks [@acao](https://github.com/acao)! + +- **breaking change**: only impacts those following the "custom usage" approach, it _does not_ effect users using the high level, "bundled" `jsonSchema()` or `json5Schema()` modes. Previously, we ask you to pass schema to each of the linter, completion and hover extensions. @@ -49,6 +51,8 @@ ]; ``` +- upgrade to use full `.js` import paths for `NodeNext` compatibility, however not all of our dependencies are compatible with this mode, thus we continue using the legacy `nodeResolution` strategy. + ## 0.4.5 ### Patch Changes diff --git a/package.json b/package.json index 8de46af..9f6d39b 100644 --- a/package.json +++ b/package.json @@ -73,17 +73,17 @@ "devDependencies": { "@changesets/cli": "^2.26.2", "@codemirror/autocomplete": "^6.8.1", + "@codemirror/basic-setup": "^0.20.0", "@codemirror/commands": "^6.2.4", - "@codemirror/theme-one-dark": "^6.1.2", - "@evilmartians/lefthook": "^1.4.6", - "@vitest/coverage-v8": "^0.34.6", - "codemirror": "^6.0.1", "@codemirror/language": "^6.8.0", "@codemirror/lint": "^6.4.0", "@codemirror/state": "^6.2.1", + "@codemirror/theme-one-dark": "^6.1.2", "@codemirror/view": "^6.14.1", - "@codemirror/basic-setup": "^0.20.0", + "@evilmartians/lefthook": "^1.4.6", "@lezer/common": "^1.0.3", + "@vitest/coverage-v8": "^0.34.6", + "codemirror": "^6.0.1", "codemirror-json5": "^1.0.3", "happy-dom": "^10.3.2", "json5": "^2.2.3",