Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

chore(deps): update dependency @codemirror/autocomplete to v6 #60

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Nov 13, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@codemirror/autocomplete 0.19.3 -> 6.16.0 age adoption passing confidence

Release Notes

codemirror/autocomplete (@​codemirror/autocomplete)

v6.16.0

Compare Source

New features

The new activateOnCompletion option allows autocompletion to be configured to chain completion activation for some types of completions.

v6.15.0

Compare Source

New features

The new filterStrict option can be used to turn off fuzzy matching of completions.

v6.14.0

Compare Source

New features

Completion results can now define a map method that can be used to adjust position-dependent information for document changes.

v6.13.0

Compare Source

New features

Completions may now provide 'commit characters' that, when typed, commit the completion before inserting the character.

v6.12.0

Compare Source

Bug fixes

Make sure snippet completions also set userEvent to input.complete.

Fix a crash when the editor lost focus during an update and autocompletion was active.

Fix a crash when using a snippet that has only one field, but multiple instances of that field.

New features

The new activateOnTypingDelay option allows control over the debounce time before the completions are queried when the user types.

v6.11.1

Compare Source

Bug fixes

Fix a bug that caused typing over closed brackets after pressing enter to still not work in many situations.

v6.11.0

Compare Source

Bug fixes

Fix an issue that would prevent typing over closed brackets after starting a new line with enter.

New features

Additional elements rendered in completion options with addToOptions are now given access to the editor view.

v6.10.2

Compare Source

Bug fixes

Fix a bug that caused updateSyncTime to always delay the initial population of the tooltip.

v6.10.1

Compare Source

Bug fixes

Fix a bug where picking a selection with the mouse could use the wrong completion if the completion list was updated after being opened.

v6.10.0

Compare Source

New features

The new autocompletion configuration option updateSyncTime allows control over how long fast sources are held back waiting for slower completion sources.

v6.9.2

Compare Source

Bug fixes

Fix a bug in completeAnyWord that could cause it to generate invalid regular expressions and crash.

v6.9.1

Compare Source

Bug fixes

Make sure the cursor is scrolled into view after inserting completion text.

Make sure scrolling completions into view doesn't get confused when the tooltip is scaled.

v6.9.0

Compare Source

New features

Completions may now provide a displayLabel property that overrides the way they are displayed in the completion list.

v6.8.1

Compare Source

Bug fixes

acceptCompletion now returns false (allowing other handlers to take effect) when the completion popup is open but disabled.

v6.8.0

Compare Source

New features

The result of Completion.info may now include a destroy method that will be called when the tooltip is removed.

v6.7.1

Compare Source

Bug fixes

Fix a bug that cause incorrect ordering of completions when some results covered input text and others didn't.

v6.7.0

Compare Source

New features

The new hasNextSnippetField and hasPrevSnippetField functions can be used to figure out if the snippet-field-motion commands apply to a given state.

v6.6.1

Compare Source

Bug fixes

Fix a bug that made the editor use the completion's original position, rather than its current position, when changes happened in the document while a result was active.

v6.6.0

Compare Source

Bug fixes

Fix a bug in insertCompletionText that caused it to replace the wrong range when a result set's to fell after the cursor.

New features

Functions returned by snippet can now be called without a completion object.

v6.5.1

Compare Source

Bug fixes

Keep completions open when interaction with an info tooltip moves focus out of the editor.

v6.5.0

Compare Source

Bug fixes

When closeBrackets skips a bracket, it now generates a change that overwrites the bracket.

Replace the entire selected range when picking a completion with a non-cursor selection active.

New features

Completions can now provide a section field that is used to group them into sections.

The new positionInfo option can be used to provide custom logic for positioning the info tooltips.

v6.4.2

Compare Source

Bug fixes

Fix a bug where the apply method created by snippet didn't add a pickedCompletion annotation to the transactions it created.

v6.4.1

Compare Source

Bug fixes

Don't consider node names in trees that aren't the same language as the one at the completion position in ifIn and ifNotIn.

Make sure completions that exactly match the input get a higher score than those that don't (so that even if the latter has a score boost, it ends up lower in the list).

v6.4.0

Compare Source

Bug fixes

Fix an issue where the extension would sometimes try to draw a disabled dialog at an outdated position, leading to plugin crashes.

New features

A tooltipClass option to autocompletion can now be used to add additional CSS classes to the completion tooltip.

v6.3.4

Compare Source

Bug fixes

Fix an issue where completion lists could end up being higher than the tooltip they were in.

v6.3.3

Compare Source

Bug fixes

Set an explicit box-sizing style on completion icons so CSS resets don't mess them up.

Allow closing braces in templates to be escaped with a backslash.

v6.3.2

Compare Source

Bug fixes

Fix a regression that could cause the completion dialog to stick around when it should be hidden.

v6.3.1

Compare Source

Bug fixes

Fix a regression where transactions for picking a completion (without custom apply method) no longer had the pickedCompletion annotation.

Reduce flickering for completion sources without validFor info by temporarily showing a disabled tooltip while the completion updates.

Make sure completion info tooltips are kept within the space provided by the tooltipSpace option.

v6.3.0

Compare Source

New features

Close bracket configuration now supports a stringPrefixes property that can be used to allow autoclosing of prefixed strings.

v6.2.0

Compare Source

New features

Autocompletion now takes an interactionDelay option that can be used to control the delay between the time where completion opens and the time where commands like acceptCompletion affect it.

v6.1.1

Compare Source

Bug fixes

Fix a bug that prevented transactions produced by deleteBracketPair from being marked as deletion user events.

Improve positioning of completion info tooltips so they are less likely to stick out of the screen on small displays.

v6.1.0

Compare Source

New features

You can now provide a compareCompletions option to autocompletion to influence the way completions with the same match score are sorted.

The selectOnOpen option to autocompletion can be used to require explicitly selecting a completion option before acceptCompletion does anything.

v6.0.4

Compare Source

Bug fixes

Remove a leftover console.log in bracket closing code.

v6.0.3

Compare Source

Bug fixes

Fix a bug that caused closeBrackets to not close quotes when at the end of a syntactic construct that starts with a similar quote.

v6.0.2

Compare Source

Bug fixes

Declare package dependencies as peer dependencies as an attempt to avoid duplicated package issues.

v6.0.1

Compare Source

Bug fixes

Support escaping ${ or #{ in snippets.

v6.0.0

Compare Source

Bug fixes

Scroll the cursor into view when inserting a snippet.

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.

v0.19.15

Compare Source

New features

The selectedCompletionIndex function tells you the position of the currently selected completion.

The new setSelectionCompletion function creates a state effect that moves the selected completion to a given index.

A completion's info method may now return null to indicate that no further info is available.

v0.19.14

Compare Source

Bug fixes

Make the ARIA attributes added to the editor during autocompletion spec-compliant.

v0.19.13

Compare Source

Bug fixes

Fix an issue where the completion tooltip stayed open if it was explicitly opened and the user backspaced past its start.

Stop snippet filling when a change happens across one of the snippet fields' boundaries.

v0.19.12

Compare Source

Bug fixes

Fix completion navigation with PageUp/Down when the completion tooltip isn't part of the view DOM.

v0.19.11

Compare Source

Bug fixes

Fix a bug that caused page up/down to only move the selection by two options in the completion tooltip.

v0.19.10

Compare Source

Bug fixes

Make sure the info tooltip is hidden when the selected option is scrolled out of view.

Fix a bug in the completion ranking that would sometimes give options that match the input by word start chars higher scores than appropriate.

Options are now sorted (ascending) by length when their match score is otherwise identical.

v0.19.9

Compare Source

Bug fixes

Fix an issue where info tooltips would be visible in an inappropriate position when there was no room to place them properly.

v0.19.8

Compare Source

Bug fixes

Give the completion tooltip a minimal width, and show ellipsis when completions overflow the tooltip width.

New features

autocompletion now accepts an aboveCursor option to make the completion tooltip show up above the cursor.

v0.19.7

Compare Source

Bug fixes

Make option deduplication less aggressive, so that options with different type or apply fields don't get merged.

v0.19.6

Compare Source

Bug fixes

Fix an issue where parsing a snippet with a field that was labeled only by a number crashed.

v0.19.5

Compare Source

Bug fixes

Make sure info tooltips don't stick out of the bottom of the page.

New features

The package exports a new function selectedCompletion, which can be used to find out which completion is currently selected.

Transactions created by picking a completion now have an annotation (pickedCompletion) holding the original completion.

v0.19.4

Compare Source

Bug fixes

Don't rely on the platform's highlight colors for the active completion, since those are inconsistent and may not be appropriate for the theme.

Fix incorrect match underline for some kinds of matched completions.


Configuration

📅 Schedule: Branch creation - "before 3am on Monday" in timezone Europe/Berlin, 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.

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


  • If you want to rebase/retry this PR, check this box

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

@vercel
Copy link

vercel bot commented Nov 13, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
query-console-demo ❌ Failed (Inspect) Apr 13, 2024 8:56pm

@renovate renovate bot force-pushed the renovate/codemirror-autocomplete-6.x branch from bee4eb2 to 9b6f510 Compare November 14, 2022 17:09
@renovate renovate bot force-pushed the renovate/codemirror-autocomplete-6.x branch from 9b6f510 to 296b70a Compare November 15, 2022 19:05
@renovate renovate bot force-pushed the renovate/codemirror-autocomplete-6.x branch from 296b70a to d3a44df Compare November 18, 2022 20:08
@renovate renovate bot force-pushed the renovate/codemirror-autocomplete-6.x branch from d3a44df to df2a3fb Compare November 24, 2022 16:05
@renovate renovate bot force-pushed the renovate/codemirror-autocomplete-6.x branch from df2a3fb to 5e3d11f Compare November 30, 2022 10:30
@renovate renovate bot force-pushed the renovate/codemirror-autocomplete-6.x branch from 5e3d11f to 00f6879 Compare November 30, 2022 11:30
@renovate renovate bot force-pushed the renovate/codemirror-autocomplete-6.x branch from 00f6879 to 652a0c3 Compare December 14, 2022 22:35
@renovate renovate bot force-pushed the renovate/codemirror-autocomplete-6.x branch from 652a0c3 to 10a8d8c Compare March 16, 2023 23:50
@renovate renovate bot force-pushed the renovate/codemirror-autocomplete-6.x branch from 10a8d8c to ea059b6 Compare May 29, 2023 15:53
@renovate renovate bot force-pushed the renovate/codemirror-autocomplete-6.x branch from ea059b6 to 64f1c15 Compare June 12, 2023 23:57
@renovate renovate bot force-pushed the renovate/codemirror-autocomplete-6.x branch from 64f1c15 to 23eeb22 Compare June 24, 2023 07:52
@renovate renovate bot force-pushed the renovate/codemirror-autocomplete-6.x branch from 23eeb22 to 55b92f3 Compare July 19, 2023 02:48
@renovate renovate bot force-pushed the renovate/codemirror-autocomplete-6.x branch from 55b92f3 to 17fe41f Compare September 14, 2023 11:56
@renovate renovate bot force-pushed the renovate/codemirror-autocomplete-6.x branch from 17fe41f to 634c0e0 Compare October 7, 2023 11:38
@renovate renovate bot force-pushed the renovate/codemirror-autocomplete-6.x branch from 634c0e0 to 1481c1b Compare October 13, 2023 05:04
@renovate renovate bot force-pushed the renovate/codemirror-autocomplete-6.x branch from 1481c1b to 2970156 Compare October 14, 2023 05:37
@renovate renovate bot force-pushed the renovate/codemirror-autocomplete-6.x branch from 2970156 to 3952a5b Compare November 10, 2023 05:09
@renovate renovate bot force-pushed the renovate/codemirror-autocomplete-6.x branch from 3952a5b to be82bf9 Compare November 28, 2023 02:20
@renovate renovate bot force-pushed the renovate/codemirror-autocomplete-6.x branch from be82bf9 to 5fda76e Compare January 13, 2024 08:58
@renovate renovate bot force-pushed the renovate/codemirror-autocomplete-6.x branch from 5fda76e to 85f259d Compare March 1, 2024 02:50
@renovate renovate bot force-pushed the renovate/codemirror-autocomplete-6.x branch from 85f259d to ebd128d Compare March 12, 2024 05:34
@renovate renovate bot force-pushed the renovate/codemirror-autocomplete-6.x branch from ebd128d to a11a9e1 Compare March 13, 2024 20:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants