From cbc567802b91c278840b8f5c40e06f9f15adfc0c Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Mon, 4 Mar 2024 12:10:04 +0100 Subject: [PATCH] Mark version 6.25.0 --- CHANGELOG.md | 18 ++++++++++++++++++ package.json | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 88b8e70..546a6f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +## 6.25.0 (2024-03-04) + +### Bug fixes + +Properly recognize Android GBoard enter presses that strip a space at the end of the line as enter. + +Fix a bug that caused the gutter to have the wrong height when the editor was scaled after construction. + +When starting a composition after a non-inclusive mark decoration, temporarily insert a widget that prevents the composed text from inheriting that mark's styles. + +Make sure the selection is repositioned when a transaction changes decorations without changing the document. + +### New features + +View plugins can now provide a `docViewUpdate` method that is called whenever the document view is updated. + +Layers now take a `updateOnDocUpdate` option that controls whether they are automatically updated when the document view changes. + ## 6.24.1 (2024-02-19) ### Bug fixes diff --git a/package.json b/package.json index 020c175..ae49093 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@codemirror/view", - "version": "6.24.1", + "version": "6.25.0", "description": "DOM view component for the CodeMirror code editor", "scripts": { "test": "cm-runtests",