Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 1, 2025

This PR contains the following updates:

Package Change Age Confidence
@codemirror/merge 6.7.26.11.2 age confidence
@codemirror/state 6.4.16.5.3 age confidence
@codemirror/view 6.34.16.39.8 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

codemirror/merge (@​codemirror/merge)

v6.11.2

Compare Source

Bug fixes

Fix a bug in Chunk.updateA/updateB that would cause it to drop an insertion or deletion chunk at the very end of the document.

v6.11.1

Compare Source

Bug fixes

Export a function that allows you to find the sibling of a given editor in a merge view.

v6.11.0

Compare Source

New features

The mergeControls option to the unified merge view can now be a function, which will be used to render the buttons.

v6.10.2

Compare Source

Bug fixes

Fix an issue where chunks in the unified diff weren't updated properly when a single transaction changed for the original and the edited document.

v6.10.1

Compare Source

Bug fixes

Fix an issue in presentableDiff where it sometimes doesn't expand changes over words with multiple individual changes in them.

v6.10.0

Compare Source

New features

The new allowInlineDiffs option to unifiedMergeView will display chunks with only limited inline changes inline in the code.

v6.9.0

Compare Source

New features

The new diff option timeout can be used to make the algorithm bail out after a given amount of milliseconds.

Chunks now have a precise property that is false when the diff that the chunk is based on fell back to imprecise diffing (because of a scan depth limit or timeout).

v6.8.0

Compare Source

Bug fixes

Limit the size of highlighted chunks in the unified view, to prevent freezing the interface highlighting huge amounts of code.

Fix a regression that caused deleted chunks in the unified view to be rendered with strike-through style by default.

New features

Export the uncollapseUnchanged effect that is used to uncollapse sections of code.

v6.7.5

Compare Source

Bug fixes

Fix a bug that hid the accept/reject buttons for insertions in the unified merge view.

The lines shown around collapsed unchanged lines are now css :before/:after elements, so that they can be customized more easily.

Render deleted lines in the unified merge view as block elements, for easier styling.

v6.7.4

Compare Source

Bug fixes

In the unified diff view, fix an issue where empty deleted lines were rendered for chunks that deleted nothing.

Fix a bug that made the diff algorithm miss some obvious opportunities to align changes on line boundaries.

v6.7.3

Compare Source

Bug fixes

Fix an issue where the last line of a deleted chunk, if there is no text on it, was collapsed by the browser and not visible.

codemirror/state (@​codemirror/state)

v6.5.3

Compare Source

Bug fixes

Fix an issue where RangeValue.eq could get called with a value of a different class.

EditorState.charCategorizer now only uses the highest-precedence set of word characters from the language data, to allow overriding these.

v6.5.2

Compare Source

Bug fixes

Fix a bug where reconfiguring a field with a new init value didn't update the value of the field.

v6.5.1

Compare Source

Bug fixes

countColumn no longer loops infinitely when given a to that's higher than the input string's length.

v6.5.0

Compare Source

New features

RangeSet.compare now supports a boundChange callback that is called when there's a change in the way ranges are split.

codemirror/view (@​codemirror/view)

v6.39.8

Compare Source

Bug fixes

Fix a bug that cause coordsAtPos to use the dimensions of widget buffers when there were more meaningful elements to use nearby.

Fix a data structure corruption that could cause crashes during viewport changes.

v6.39.7

Compare Source

Bug fixes

Fix a bug that could sometimes cause the document to become mangled during composition.

v6.39.6

Compare Source

Bug fixes

Fix an issue when composing on the boundary of a decoration, where the text after the composition would get garbled.

v6.39.5

Compare Source

Bug fixes

Fix an issue where replaced widgets alone on a line weren't reused and didn't get their updateDOM method called.

Fix a bug where, when selecting full lines at the end of the document and inserting a character on Chrome, an inappropriate extra newline was inserted.

v6.39.4

Compare Source

Bug fixes

Fix a bug where paste events handlers on Chrome could fail to run when pasting on a blank line.

Fix a regression causing the native cursor to get stuck before block widgets with side>0.

Fix a crash in content DOM building after a block widget.

Fix a bug in posAtCoords that would in some circumstances make it return positions on the wrong side of a block widget.

v6.39.3

Compare Source

Bug fixes

Fix a bug that could corrupt the rendered document in some situations involving adjacent mark decorations of the same type.

v6.39.2

Compare Source

Bug fixes

Fix an issue where moveVertially was sometimes unable to escape lines with thick borders or padding.

v6.39.1

Compare Source

Bug fixes

Restore a workaround for a Chrome selection bug that had regressed in the previous release.

v6.39.0

Compare Source

Bug fixes

Properly handle bidirectional text in posAtCoords.

Avoid computing a zero character width (leading to divisions by zero) when the editor is hidden and the browser doesn't have a layout for it.

New features

The posAndSideAtCoords method is an extended version of posAtCoords that also tells you which side of the position the coordinates are associated with.

Add support for block wrappers, decoration-like things that allow extension code to create DOM nodes around groups of lines.

v6.38.8

Compare Source

Bug fixes

Improve handling of composition with multiple cursors on MacOS.

Fix an issue where computing a document position from screen coordinates would sometimes go wrong in right-to-left text.

v6.38.7

Compare Source

Bug fixes

Make detection of transformed tooltip parent elements (forcing absolute positioning) more robust on current browsers.

Avoid an issue where on Chrome and Safari, typing over a cross-line selection can replace widgets on the line after the selection with their plain text content.

Fix a bug that broke insertion of composed input at multiple cursors when the IME keeps the selection at the start of the composed text.

v6.38.6

Compare Source

Bug fixes

Work around a regression in Safari 26 that causes fragments of old selections to remain visible.

v6.38.5

Compare Source

Bug fixes

Avoid firing text changes that cover unchanged text on Android.

Fix an issue where the editor could, in some circumstances, insert a stray newline when typing over a document that ended in a block widget.

Work around an issue in Safari 26 that causes inappropriate scrolling on focus in some circumstances.

v6.38.4

Compare Source

Bug fixes

Work around a Chrome Android issue where the browser doesn't properly fire composition end events, leaving CodeMirror to believe the user was still composing.

v6.38.3

Compare Source

Bug fixes

Work around a rendering bug in Mobile Safari by completely hiding empty layers.

Fix vertical cursor motion in Chrome around decorations with bottom borders or margins.

Fix an issue that caused mark decorations longer than 512 characters to needlessly be split.

Move the cursor out of atomic ranges when text input happens.

v6.38.2

Compare Source

Bug fixes

Re-enable falling dispatching keys by key code for Cmd-Alt- combinations on macOS.

Make sure all pointer selections skip atomic ranges.

v6.38.1

Compare Source

Bug fixes

Make the keymap not dispatch Alt key combos on macOS by key code, because those are generally used to type special characters.

Fix a layout bug that could occur with very narrow editors.

v6.38.0

Compare Source

New features

Gutters can now specify that they should be displayed after the content (which would be to the right in a left-to-right layout).

v6.37.2

Compare Source

Bug fixes

Fix an issue where moving the cursor vertically from the one-but-last character on a line would sometimes move incorrectly on Safari.

Fix an issue causing coordinates between lines of text to sometimes be inappropriately placed at the end of the line by posAtCoords.

v6.37.1

Compare Source

Bug fixes

Properly add crelt as a dependency.

v6.37.0

Compare Source

New features

View plugins can now take an argument, in which case they must be instantiated with their of method in order to be added to a configuration.

The new showDialog function makes it easy to show a notification or prompt using a CodeMirror panel.

v6.36.8

Compare Source

Bug fixes

Make logException log errors to the console when onerror returns a falsy value.

Fix an issue in MatchDecorator causing updateDeco to sometimes not do the right thing for deletions.

v6.36.7

Compare Source

Bug fixes

Use the aria-placeholder attribute to communicate the placeholder text to screen readers.

Fix a crash when EditorView.composing or .compositionStarted are accessed during view initialization.

v6.36.6

Compare Source

Bug fixes

Fix an issue where drawSelection would draw selections starting at a block widget not at a line break in an odd way.

Fix an issue where the editor would inappropriately scroll when editing near the bottom of the document with line wrapping enabled, in some cases.

Fix an issue that caused unnecessary transactions on focus change.

v6.36.5

Compare Source

Bug fixes

Fix an issue where some browsers wouldn't enable context menu paste when clicking on placeholder text.

Fix an issue where cursor height would unnecessarily be based on a placeholder node's dimensions, and thus be off from the text height.

v6.36.4

Compare Source

Bug fixes

Fix an issue where scrolling down to a range higher than the viewport could in some situations fail to scroll to the proper position.

v6.36.3

Compare Source

Bug fixes

Make sure event handlers registered with domEventHandlers are not called during view updates, to avoid triggering nested update errors.

Don't include the window scrollbars in the space available for displaying tooltips.

Work around an issue with Chrome's EditContext that shows up when using autocompletion while composing with Samsung's virtual Android keyboard.

v6.36.2

Compare Source

Bug fixes

Fix an issue where some kinds of relayouts could put the editor in a state where it believed it wasn't in window, preventing relayout, though it in fact was.

Make sure macOS double-space-to-period conversions are properly suppressed.

Fix an issue where native selection changes, such as mobile spacebar-drag, weren't being picked up in edit context mode.

v6.36.1

Compare Source

Bug fixes

Fix a crash in MatchDecorator when updating matches at the end of the document.

v6.36.0

Compare Source

Bug fixes

Make selection rectangles verticaly align precisely, rather than introducing a slight overlap.

Fix an issue in MatchDecorator that caused it to fully rebuild its decorations on normal edits.

New features

View updates now have a viewportMoved flag that is only true when a viewport change originated from something other than mapping the viewport over a document change.

v6.35.3

Compare Source

Bug fixes

Fix an issue where mark decorations that got merged or split weren't properly redrawn.

Avoid spurious focus events by not updating the DOM selection when the editor is unfocused but focusable.

Disable writingsuggestions for the editable element, to opt out of Safari's new intelligence completions (which mess up in the editor).

v6.35.2

Compare Source

Bug fixes

Fix an issue on Chrome where typing at the end of the document would insert a character after the cursor.

v6.35.1

Compare Source

Bug fixes

Work around another crash caused by incorrect composition positions reported by EditContext.

Stop disabling custom cursors on Safari version 11.4 and up, which support caret-color.

Fix an issue where a tooltip with wrapped content could, in some circumstances, fail to find a stable position due to a cyclic dependency between its width and its position.

v6.35.0

Compare Source

New features

Tooltips can now use the clip option to control whether they are hidden when outside the visible editor content.

v6.34.3

Compare Source

Bug fixes

Make sure positions covered by a gutter or a panel aren't treated as visible for the purpose of displaying tooltips.

Properly include the tooltip arrow height when checking whether a tooltip fits in its preferred above/below position.

Fix an issue with compositions on Chrome inserting their content in the wrong position when another document change came in during composition.

v6.34.2

Compare Source

Bug fixes

Fix the default cursor color for dark themes, which was way too dark.


Configuration

📅 Schedule: Branch creation - "every 3 months on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR becomes conflicted, 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.

@renovate renovate bot force-pushed the renovate/codemirror branch from 65596a1 to c2c9f0d Compare January 23, 2025 18:08
@renovate renovate bot force-pushed the renovate/codemirror branch from c2c9f0d to 7481cb6 Compare February 3, 2025 13:43
@renovate renovate bot force-pushed the renovate/codemirror branch from 7481cb6 to 89d8ffb Compare February 18, 2025 12:26
@renovate renovate bot force-pushed the renovate/codemirror branch 2 times, most recently from 4b2eb2e to 9dba994 Compare March 6, 2025 19:16
@renovate renovate bot force-pushed the renovate/codemirror branch from 9dba994 to 13834b7 Compare March 13, 2025 14:58
@renovate renovate bot force-pushed the renovate/codemirror branch from 13834b7 to 0d509ff Compare March 29, 2025 10:12
@renovate renovate bot force-pushed the renovate/codemirror branch from 0d509ff to ebd68f5 Compare April 24, 2025 08:27
@renovate renovate bot force-pushed the renovate/codemirror branch from ebd68f5 to 665baae Compare May 2, 2025 13:58
@renovate renovate bot force-pushed the renovate/codemirror branch 2 times, most recently from c8bdb6e to c427af4 Compare May 14, 2025 12:08
@renovate renovate bot force-pushed the renovate/codemirror branch from c427af4 to 4d90b03 Compare May 19, 2025 19:54
@renovate renovate bot force-pushed the renovate/codemirror branch 4 times, most recently from 5533a7d to 94299b9 Compare June 4, 2025 10:58
@renovate renovate bot force-pushed the renovate/codemirror branch 2 times, most recently from 45dea4b to e9149ee Compare June 12, 2025 20:56
@renovate renovate bot force-pushed the renovate/codemirror branch from e9149ee to eef42c2 Compare June 27, 2025 12:41
@renovate renovate bot force-pushed the renovate/codemirror branch from eef42c2 to 9d43fb6 Compare July 15, 2025 14:49
@renovate renovate bot force-pushed the renovate/codemirror branch from 9d43fb6 to a621fa0 Compare August 19, 2025 14:11
@renovate renovate bot force-pushed the renovate/codemirror branch from a621fa0 to 3cd6613 Compare September 6, 2025 18:28
@changeset-bot
Copy link

changeset-bot bot commented Sep 6, 2025

⚠️ No Changeset found

Latest commit: b8aaa7a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot force-pushed the renovate/codemirror branch 2 times, most recently from 65f0d2a to c2c0ca5 Compare September 28, 2025 20:42
@renovate renovate bot force-pushed the renovate/codemirror branch 2 times, most recently from 71602b1 to 9ec9af4 Compare October 7, 2025 09:58
@renovate renovate bot force-pushed the renovate/codemirror branch from 9ec9af4 to aaadc2c Compare October 13, 2025 08:49
@renovate renovate bot force-pushed the renovate/codemirror branch 2 times, most recently from a73138d to 9423c96 Compare October 23, 2025 13:44
@renovate renovate bot force-pushed the renovate/codemirror branch from 9423c96 to f09856b Compare November 7, 2025 11:05
@renovate renovate bot force-pushed the renovate/codemirror branch 2 times, most recently from 64b7cff to e1b73e4 Compare November 17, 2025 09:04
@renovate renovate bot force-pushed the renovate/codemirror branch 3 times, most recently from 57e5884 to 8b5d4bc Compare December 9, 2025 10:47
@renovate renovate bot force-pushed the renovate/codemirror branch 2 times, most recently from 5551a0f to e7fe93f Compare December 12, 2025 12:59
@renovate renovate bot force-pushed the renovate/codemirror branch 4 times, most recently from 05df362 to 3677634 Compare December 24, 2025 12:47
@renovate renovate bot force-pushed the renovate/codemirror branch from 3677634 to b8aaa7a Compare December 30, 2025 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant