Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dependencies): update codemirror editor packages to ^0.20.0 #362

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 20, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@codemirror/autocomplete ^0.19.15 -> ^0.20.0 age adoption passing confidence
@codemirror/commands ^0.19.8 -> ^0.20.0 age adoption passing confidence
@codemirror/lang-javascript ^0.19.7 -> ^0.20.0 age adoption passing confidence
@codemirror/lang-json ^0.19.2 -> ^0.20.0 age adoption passing confidence
@codemirror/lang-markdown ^0.19.6 -> ^0.20.0 age adoption passing confidence
@codemirror/lang-python ^0.19.5 -> ^0.20.0 age adoption passing confidence
@codemirror/lang-sql ^0.19.4 -> ^0.20.0 age adoption passing confidence
@codemirror/lang-xml ^0.19.2 -> ^0.20.0 age adoption passing confidence
@codemirror/legacy-modes ^0.19.1 -> ^0.20.0 age adoption passing confidence
@codemirror/search ^0.19.10 -> ^0.20.0 age adoption passing confidence
@codemirror/state ^0.19.9 -> ^0.20.0 age adoption passing confidence
@codemirror/view ^0.19.48 -> ^0.20.0 age adoption passing confidence

Release Notes

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

v0.20.1

Compare Source

New features

The new closeOnBlur option determines whether the completion tooltip is closed when the editor loses focus.

CompletionResult objects with filter: false may now have a getMatch property that determines the matched range in the options.

v0.20.0

Compare Source

Breaking changes

CompletionResult.span has been renamed to validFor, and may now hold a function as well as a regular expression.

Bug fixes

Remove code that dropped any options beyond the 300th one when matching and sorting option lists.

Completion will now apply to all cursors when there are multiple cursors.

New features

CompletionResult.update can now be used to implement quick autocompletion updates in a synchronous way.

The @​codemirror/closebrackets package was merged into this one.

codemirror/commands (@​codemirror/commands)

v0.20.0

Compare Source

Breaking changes

There is no longer a separate commentKeymap. Those bindings are now part of defaultKeymap.

Bug fixes

Make cursorPageUp and cursorPageDown move by window height when the editor is higher than the window.

Make sure the default behavior of Home/End is prevented, since it could produce unexpected results on macOS.

New features

The exports from @​codemirror/comment are now available in this package.

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

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/lang-json (@​codemirror/lang-json)

v0.20.0

Compare Source

Breaking changes

Update dependencies to 0.20.0

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

v0.20.0

Compare Source

New features

insertNewlineContinueMarkup can now continue task lists. Move highlighting information into @​lezer/markdown

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

v0.20.0

Compare Source

Bug fixes

Add folding information for set and tuple expressions.

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

v0.20.4

Compare Source

New features

Schema completion descriptions may now include dots in table names to indicate nested schemas.

v0.20.3

Compare Source

Bug fixes

Fix a bug where the slash at the end of block comments wasn't considered part of the comment token.

v0.20.2

Compare Source

Bug fixes

Fix an infinite recursion bug in schemaCompletionSource.

v0.20.1

Compare Source

Breaking changes

The schemaCompletion and keywordCompletion exports, which returned extensions, have been replaced with schemaCompletionSource and keywordCompletionSource, which return completion sources. The old exports will remain available until the next major version.

v0.20.0

Compare Source

Bug fixes

Fix autocompletion on columns when the table name is written with upper-case letters. Move to @​lezer/highlight

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

v0.20.0

Compare Source

Breaking changes

Update dependencies to 0.20.0

codemirror/legacy-modes (@​codemirror/legacy-modes)

v0.20.0

Compare Source

Breaking changes

Update dependencies to 0.20.0

codemirror/search (@​codemirror/search)

v0.20.1

Compare Source

New features

It is now possible to disable backslash escapes in search queries with the literal option.

v0.20.0

Compare Source

Bug fixes

Make the wholeWords option to highlightSelectionMatches default to false, as intended.

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.


Configuration

📅 Schedule: Branch creation - "before 12pm on Wednesday" in timezone UTC, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled because a matching PR was automerged previously.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • 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-editor-packages branch from 3ec3640 to 649f0ef Compare October 21, 2023 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants