Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 16, 2025

This PR contains the following updates:

Package Change Age Confidence
@codemirror/highlight 0.19.7 -> 0.19.8 age confidence
@codemirror/lang-javascript 0.19.7 -> 0.20.1 age confidence
@codemirror/state 0.19.9 -> 0.20.1 age confidence
@codemirror/view 0.19.47 -> 0.20.7 age confidence

Release Notes

codemirror/highlight (@​codemirror/highlight)

v0.19.8

Compare Source

New features

Highlight styles can now set a themeType option to make them only apply to dark or light themed editors.

codemirror/lang-javascript (@​codemirror/lang-javascript)

v0.20.1

Compare Source

New features

localCompletionSource (included in the support extensions returned from javascript) now provides a way to complete locally-defined names.

v0.20.0

Compare Source

New features

The new autoCloseTags extension (included by default in the javascript language extension when jsx is configured) finishes JSX closing tags when you type a > or / character.

codemirror/state (@​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.

v0.20.0

Compare Source

Breaking changes

The deprecated precedence names fallback, extend, and override were removed from the library.

Bug fixes

Fix a bug where, if an extension value occurs multiple times, its lowest, rather than highest precedence is used.

Fix an issue where facets with computed inputs would unneccesarily have their outputs recreated on state reconfiguration.

Fix a bug in the order in which new values for state fields and facets were computed, which could cause dynamic facets to hold the wrong value in some situations.

New features

The exports from @​codemirror/rangeset now live in this package.

The exports from @​codemirror/text now live in this package.

codemirror/view (@​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.

v0.20.4

Compare Source

Bug fixes

Prevent Mac-style behavior of inserting a period when the user inserts two spaces.

Fix an issue where the editor would sometimes not restore the DOM selection when refocused with a selection identical to the one it held when it lost focus.

v0.20.3

Compare Source

Bug fixes

Fix a bug where the input handling could crash on repeated (or held) backspace presses on Chrome Android.

v0.20.2

Compare Source

New features

The new hideOn option to hoverTooltip allows more fine-grained control over when the tooltip should hide.

v0.20.1

Compare Source

Bug fixes

Remove debug statements that accidentally made it into 0.20.0.

Fix a regression in moveVertically.

v0.20.0

Compare Source

Breaking changes

The deprecated interfaces blockAtHeight, visualLineAtHeight, viewportLines, visualLineAt, scrollPosIntoView, scrollTo, and centerOn were removed from the library.

All decorations are now provided through EditorView.decorations, and are part of a single precedence ordering. Decoration sources that need access to the view are provided as functions.

Atomic ranges are now specified through a facet (EditorView.atomicRanges).

Scroll margins are now specified through a facet (EditorView.scrollMargins).

Plugin fields no longer exist in the library (and are replaced by facets holding function values).

This package no longer re-exports the Range type from @​codemirror/state.

Bug fixes

Fix a bug where zero-length block widgets could cause viewportLineBlocks to contain overlapping ranges.

New features

The new perLineTextDirection facet configures whether the editor reads text direction per line, or uses a single direction for the entire editor. EditorView.textDirectionAt returns the direction around a given position.

rectangularSelection and crosshairCursor from @​codemirror/rectangular-selection were merged into this package.

This package now exports the tooltip functionality that used to live in @​codemirror/tooltip.

The exports from the old @​codemirror/panel package are now available from this package.

The exports from the old @​codemirror/gutter package are now available from this package.

v0.19.48

Compare Source

Bug fixes

Fix an issue where DOM syncing could crash when a DOM node was moved from a parent to a child node (via widgets reusing existing nodes).

To avoid interfering with things like a vim mode too much, the editor will now only activate the tab-to-move-focus escape hatch after an escape press that wasn't handled by an event handler.

Make sure the view measures itself before the page is printed.

Tweak types of view plugin defining functions to avoid TypeScript errors when the plugin value doesn't have any of the interface's properties.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, 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, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

netlify bot commented Sep 16, 2025

Deploy Preview for es-eslint failed. Why did it fail? →

Name Link
🔨 Latest commit 9dee1c6
🔍 Latest deploy log https://app.netlify.com/projects/es-eslint/deploys/68e4dd6214f78a0008d3c8df

Copy link

netlify bot commented Sep 16, 2025

Deploy Preview for new-eslint failed. Why did it fail? →

Name Link
🔨 Latest commit 9dee1c6
🔍 Latest deploy log https://app.netlify.com/projects/new-eslint/deploys/68e4dd626daa720008c98acb

Copy link

netlify bot commented Sep 16, 2025

Deploy Preview for zh-hans-eslint failed. Why did it fail? →

Name Link
🔨 Latest commit 9dee1c6
🔍 Latest deploy log https://app.netlify.com/projects/zh-hans-eslint/deploys/68e4dd6200f22b0008a94957

Copy link

netlify bot commented Sep 16, 2025

Deploy Preview for ja-eslint failed. Why did it fail? →

Name Link
🔨 Latest commit 9dee1c6
🔍 Latest deploy log https://app.netlify.com/projects/ja-eslint/deploys/68e4dd62ae6c800008b52359

Copy link

netlify bot commented Sep 16, 2025

Deploy Preview for hi-eslint failed. Why did it fail? →

Name Link
🔨 Latest commit 9dee1c6
🔍 Latest deploy log https://app.netlify.com/projects/hi-eslint/deploys/68e4dd63fd1573000824d3e9

Copy link

netlify bot commented Sep 16, 2025

Deploy Preview for fr-eslint failed. Why did it fail? →

Name Link
🔨 Latest commit 9dee1c6
🔍 Latest deploy log https://app.netlify.com/projects/fr-eslint/deploys/68e4dd6265f8740008f168bf

Copy link

netlify bot commented Sep 16, 2025

Deploy Preview for pt-br-eslint failed. Why did it fail? →

Name Link
🔨 Latest commit 9dee1c6
🔍 Latest deploy log https://app.netlify.com/projects/pt-br-eslint/deploys/68e4dd6305370500087d7305

Copy link

netlify bot commented Sep 16, 2025

Deploy Preview for de-eslint failed. Why did it fail? →

Name Link
🔨 Latest commit 9dee1c6
🔍 Latest deploy log https://app.netlify.com/projects/de-eslint/deploys/68e4dd6319cb16000816deea

@renovate renovate bot force-pushed the renovate/codemirror branch 13 times, most recently from fd9ddc3 to 6c87f47 Compare October 2, 2025 14:54
@renovate renovate bot force-pushed the renovate/codemirror branch 2 times, most recently from 0e2eff2 to b12d26b Compare October 3, 2025 08:56
@renovate renovate bot force-pushed the renovate/codemirror branch 8 times, most recently from 23b1a8a to c7fe2ca Compare October 7, 2025 06:49
@renovate renovate bot force-pushed the renovate/codemirror branch from c7fe2ca to 9dee1c6 Compare October 7, 2025 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs Triage
Development

Successfully merging this pull request may close these issues.

0 participants