diff --git a/.changeset/calm-empty-editor.md b/.changeset/calm-empty-editor.md deleted file mode 100644 index 6e7a73c..0000000 --- a/.changeset/calm-empty-editor.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@qorpe/ui": patch ---- - -fix(json-editor): an empty document is never a lint error - -The JSON linter flagged an empty editor as a parse error — a red dot on line 1 of -nothing. A blank editor is an invitation, not a mistake; the linter now answers no -diagnostics for a zero-length document and stays exactly as strict the moment content -appears. Consumers no longer need to toggle `lint` off for the empty state — which -also recreated the editor mid-typing, since `lint` participates in the setup effect. diff --git a/CHANGELOG.md b/CHANGELOG.md index 02c317f..0212cee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # @qorpe/ui +## 0.5.2 + +### Patch Changes + +- 89e316b: fix(json-editor): an empty document is never a lint error + + The JSON linter flagged an empty editor as a parse error — a red dot on line 1 of + nothing. A blank editor is an invitation, not a mistake; the linter now answers no + diagnostics for a zero-length document and stays exactly as strict the moment content + appears. Consumers no longer need to toggle `lint` off for the empty state — which + also recreated the editor mid-typing, since `lint` participates in the setup effect. + ## 0.5.1 ### Patch Changes diff --git a/package.json b/package.json index db04845..713e1cf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@qorpe/ui", - "version": "0.5.1", + "version": "0.5.2", "description": "The qorpe family UI kit: the ui-standard tokens, primitives and composites every qorpe console composes from.", "license": "Apache-2.0", "repository": {