From 6fbd607b3a218933a26bb6d7e1507c221b3fa5e8 Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Fri, 23 Oct 2020 18:11:59 +0200 Subject: [PATCH] Mark version 0.14.0 --- CHANGELOG.md | 20 ++++++++++++++++++++ package.json | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e8e4ed5..ac786f18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ +## 0.14.0 (2020-10-23) + +### Breaking changes + +Lezer and lezer-tree have been upgraded to 0.12, which introduces a few breaking changes. + +`ChangeDesc.mapPos` now returns null instead of -1 when reporting a deletion. + +`EditorView.posAtCoords` now returns null, rather than -1, when it fails to find a position. + +### Bug fixes + +Fix an issue where Chrome's shift-enter shortcut confused the editor. + +Clicking on the completion list scrollbar no longer selects the first completion. + +### New features + +The lang-json package now exports a `jsonParseLinter` function that produces a linter based on `JSON.parse`. + ## 0.13.1 (2020-10-14) ### Bug fixes diff --git a/package.json b/package.json index e1ef0bfb..7ca57306 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@codemirror/next", - "version": "0.13.1", + "version": "0.14.0", "description": "Text/code editor component", "scripts": { "test": "npm run test-node && node bin/selenium.js --start-server",