Skip to content

Update CodeMirror

Warren Gifford requested to merge renovate/codemirror into main

Created by: renovate[bot]

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@codemirror/autocomplete ^0.20.1 -> ^0.20.3 age adoption passing confidence
@codemirror/lang-markdown ^0.20.0 -> ^0.20.1 age adoption passing confidence
@codemirror/language ^0.20.0 -> ^0.20.2 age adoption passing confidence
@codemirror/state ^0.20.0 -> ^0.20.1 age adoption passing confidence
@codemirror/view ^0.20.4 -> ^0.20.7 age adoption passing confidence

Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.

Test plan: CI should pass with updated dependencies.


Release Notes

codemirror/autocomplete

v0.20.3

Compare Source

Bug fixes

Add an aria-label to the completion listbox.

Fix a regression that caused transactions generated for completion to not have a userEvent annotation.

v0.20.2

Compare Source

New features

The package now exports an insertCompletionText helper that implements the default behavior for applying a completion.

codemirror/lang-markdown

v0.20.1

Compare Source

New features

The codeLanguages option to markdown may now be a function from an info string to a language.

codemirror/language

v0.20.2

Compare Source

Bug fixes

List style-mod as a dependency.

v0.20.1

Compare Source

Bug fixes

Make sure all styles in the CSS generated for a HighlightStyle have a lower precedence than the other rules defined for the style. Use a shorthand property

codemirror/state

v0.20.1

Compare Source

New features

EditorView.phrase now accepts additional arguments, which it will interpolate into the phrase in the place of $ markers.

codemirror/view

v0.20.7

Compare Source

Bug fixes

Fix an issue on Chrome Android where the DOM could fail to display the actual document after backspace.

Avoid an issue on Chrome Android where DOM changes were sometimes inappropriately replace by a backspace key effect due to spurious beforeinput events.

Fix a problem where the content element's width didn't cover the width of the actual content.

Work around a bug in Chrome 102 which caused wheel scrolling of the editor to be interrupted every few lines.

v0.20.6

Compare Source

Bug fixes

Make sure the editor re-measures itself when its attributes are updated.

v0.20.5

Compare Source

Bug fixes

Fix an issue where gutter elements without any markers in them would not get the cm-gutterElement class assigned.

Fix an issue where DOM event handlers registered by plugins were retained indefinitely, even after the editor was reconfigured.


Configuration

📅 Schedule: Branch creation - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading