KSON v0.4.0 Release Notes¶
We are proud to release the next iteration in KSON's Beta, v0.4.0. This release consists of more than 80 pull requests. Below are the user-visible ones grouped into categories. Some important themes to note in these changes are a stricter syntax that keeps KSON's promises (consistent string quote embedding; deceptive indentation is now an error instead of a warning), smarter schema-aware completion and navigation, and packaging fixes that make KSON's npm, Python, Monaco and JVM artifacts easier to install and use.
Syntax Changes (Breaking)¶
- #441 Fix inconsistent string quote escapes
- #442 Ignore blank lines in embed block minimum indent
- #482 Deceptive indentation is now an ERROR in plain syntax, with improved messages
Public Interface Changes (Breaking)¶
- #421 Fix a trio of schema validation bugs (adds a parameter to
analyze)
Schema Validation¶
Error Reporting and Diagnostics¶
Formatting and Transpiling¶
- #447 Improve/fix dash list formatting (feature)
- #440 Fix embed rule escaping in CLASSIC format (fix)
- #477 Handle windows line endings (CRLF) better
- #480 Don't crash on a COMPACT end-dot after an error (fix)
- #481 Don't write the whitespace after error nodes (fix)
- #483 Fix illegal indentation in COMPACT output (fix)
- #491 Fix
|stripping in delimited objects and share delimited formatting (fix)
Schema-Aware Editing¶
- #419 Narrow unions through $ref and allOf (feature)
- #434 Complete inside the object a key is being typed into (feature)
- #453 Open the value in property completions (feature)
- #462 Combine value completions along the branch trail (feature)
- #427 Apply schema associations without waiting for the file watcher (fix)
- #443 Tag pointers with the tree they were built on (fix)
- #445 Complete after a closer outside the value it ended (fix)
- #449 Resolve
$refs in schema navigation the way validation does (fix) - #461 Resolve numeric keys and array items as validation does (fix)
- #479 Don't take the innermost closer as a value (fix)
Editor Experience (VS Code and LSP)¶
- #452 Outdent after end-dot and end-dash lines (feature)
- #435 VS Code: fix sub-grammars honoring embed ends (fix)
- #451 Completion no longer steals Enter after
key:(fix) - #469 Handle empty and blank keys when calculating vscode symbols (fix)
Web Embedding (Monaco)¶
- #512 Bump monaco-editor to 0.57.0 and add supporting changes (feature)
- #432 Make the Monaco package installable from npm (fix)
JetBrains Plugin¶
- #430 Restore the JetBrains plugin's Marketplace name (fix)
- #486 Upgrade the IntelliJ Platform Gradle Plugin to 2.19.0 (fix)
Build, Packaging, and Platform Support¶
- #429 Make kson-lang for Python wheel-only (feature)
- #500 Build and store every release artifact in CI (feature)
- #431 Point the npm package's types at the declarations Kotlin/JS emits (fix)
- #472 Fix kson jvm floor (fix:
kson-libsupports JDK 11 and newer again)
Full Change List¶
For the complete, unfiltered list of pull requests merged in this release, including internal tooling, CI, and dependency maintenance, see the full list.
Contributors¶
Thanks to everyone who contributed to this release: Bart Dubbeldam, Daniel Marcotte, Mark Marcotte, Joe Pollard, and Steven Rapp.