codemirror/autocomplete (@codemirror/autocomplete)
### [`v6.18.0`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6180-2024-08-05)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.17.0...6.18.0)
##### Bug fixes
Style the info element so that newlines are preserved, to make it easier to display multi-line info from a string source.
##### New features
When registering an `abort` handler for a completion query, you can now use the `onDocChange` option to indicate that your query should be aborted as soon as the document changes while it is running.
### [`v6.17.0`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6170-2024-07-03)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.16.3...6.17.0)
##### Bug fixes
Fix an issue where completions weren't properly reset when starting a new completion through `activateOnCompletion`.
##### New features
`CompletionContext` objects now have a `view` property that holds the editor view when the query context has a view available.
### [`v6.16.3`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6163-2024-06-19)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.16.2...6.16.3)
##### Bug fixes
Avoid adding an `aria-autocomplete` attribute to the editor when there are no active sources active.
### [`v6.16.2`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6162-2024-05-31)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.16.1...6.16.2)
##### Bug fixes
Allow backslash-escaped closing braces inside snippet field names/content.
### [`v6.16.1`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6161-2024-05-29)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.16.0...6.16.1)
##### Bug fixes
Fix a bug where multiple backslashes before a brace in a snippet were all removed.
### [`v6.16.0`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6160-2024-04-12)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.15.0...6.16.0)
##### New features
The new `activateOnCompletion` option allows autocompletion to be configured to chain completion activation for some types of completions.
### [`v6.15.0`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6150-2024-03-13)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.14.0...6.15.0)
##### New features
The new `filterStrict` option can be used to turn off fuzzy matching of completions.
### [`v6.14.0`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6140-2024-03-10)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.13.0...6.14.0)
##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6130-2024-02-29)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.12.0...6.13.0)
##### New features
Completions may now provide 'commit characters' that, when typed, commit the completion before inserting the character.
### [`v6.12.0`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6120-2024-01-12)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.11.1...6.12.0)
##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6111-2023-11-27)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.11.0...6.11.1)
##### Bug fixes
Fix a bug that caused typing over closed brackets after pressing enter to still not work in many situations.
### [`v6.11.0`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6110-2023-11-09)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.10.2...6.11.0)
##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6102-2023-10-13)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.10.1...6.10.2)
##### Bug fixes
Fix a bug that caused `updateSyncTime` to always delay the initial population of the tooltip.
### [`v6.10.1`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6101-2023-10-11)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.10.0...6.10.1)
##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6100-2023-10-11)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.9.2...6.10.0)
##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#692-2023-10-06)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.9.1...6.9.2)
##### Bug fixes
Fix a bug in `completeAnyWord` that could cause it to generate invalid regular expressions and crash.
### [`v6.9.1`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#691-2023-09-14)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.9.0...6.9.1)
##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#690-2023-07-18)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.8.1...6.9.0)
##### New features
Completions may now provide a `displayLabel` property that overrides the way they are displayed in the completion list.
### [`v6.8.1`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#681-2023-06-23)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.8.0...6.8.1)
##### Bug fixes
`acceptCompletion` now returns false (allowing other handlers to take effect) when the completion popup is open but disabled.
### [`v6.8.0`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#680-2023-06-12)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.7.1...6.8.0)
##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#671-2023-05-13)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.7.0...6.7.1)
##### Bug fixes
Fix a bug that cause incorrect ordering of completions when some results covered input text and others didn't.
### [`v6.7.0`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#670-2023-05-11)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.6.1...6.7.0)
##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#661-2023-05-03)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.6.0...6.6.1)
##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#660-2023-04-27)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.5.1...6.6.0)
##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#651-2023-04-13)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.5.0...6.5.1)
##### Bug fixes
Keep completions open when interaction with an info tooltip moves focus out of the editor.
### [`v6.5.0`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#650-2023-04-13)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.4.2...6.5.0)
##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#642-2023-02-17)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.4.1...6.4.2)
##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#641-2023-02-14)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.4.0...6.4.1)
##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#640-2022-12-14)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.3.4...6.4.0)
##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#634-2022-11-24)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.3.3...6.3.4)
##### Bug fixes
Fix an issue where completion lists could end up being higher than the tooltip they were in.
### [`v6.3.3`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#633-2022-11-18)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.3.2...6.3.3)
##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#632-2022-11-15)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.3.1...6.3.2)
##### Bug fixes
Fix a regression that could cause the completion dialog to stick around when it should be hidden.
### [`v6.3.1`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#631-2022-11-14)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.3.0...6.3.1)
##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#630-2022-09-22)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.2.0...6.3.0)
##### New features
Close bracket configuration now supports a `stringPrefixes` property that can be used to allow autoclosing of prefixed strings.
### [`v6.2.0`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#620-2022-09-13)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.1.1...6.2.0)
##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#611-2022-09-08)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.1.0...6.1.1)
##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#610-2022-07-19)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.0.4...6.1.0)
##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#604-2022-07-07)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.0.3...6.0.4)
##### Bug fixes
Remove a leftover `console.log` in bracket closing code.
### [`v6.0.3`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#603-2022-07-04)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.0.2...6.0.3)
##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#602-2022-06-15)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.0.1...6.0.2)
##### Bug fixes
Declare package dependencies as peer dependencies as an attempt to avoid duplicated package issues.
### [`v6.0.1`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#601-2022-06-09)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.0.0...6.0.1)
##### Bug fixes
Support escaping `${` or `#{` in snippets.
### [`v6.0.0`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#600-2022-06-08)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/0.20.3...6.0.0)
##### Bug fixes
Scroll the cursor into view when inserting a snippet.
### [`v0.20.3`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#0203-2022-05-30)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/0.20.2...0.20.3)
##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#0202-2022-05-24)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/0.20.1...0.20.2)
##### New features
The package now exports an `insertCompletionText` helper that implements the default behavior for applying a completion.
### [`v0.20.1`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#0201-2022-05-16)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/0.20.0...0.20.1)
##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#0200-2022-04-20)
[Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/0.19.15...0.20.0)
##### 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](https://redirect.github.com/codemirror/closebrackets) package was merged into this one.
codemirror/commands (@codemirror/commands)
### [`v6.6.1`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#661-2024-08-31)
[Compare Source](https://redirect.github.com/codemirror/commands/compare/6.6.0...6.6.1)
##### Bug fixes
Fix a bug in the undo history that would cause it to incorrectly track inverted effects when adding multiple edits to a single history event.
### [`v6.6.0`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#660-2024-06-04)
[Compare Source](https://redirect.github.com/codemirror/commands/compare/6.5.0...6.6.0)
##### New features
The new `toggleTabFocusMode` and `temporarilySetTabFocusMode` commands provide control over the view's tab-focus mode.
The default keymap now binds Ctrl-m (Shift-Alt-m on macOS) to `toggleTabFocusMode`.
### [`v6.5.0`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#650-2024-04-19)
[Compare Source](https://redirect.github.com/codemirror/commands/compare/6.4.0...6.5.0)
##### New features
The `insertNewlineKeepIndent` command inserts a newline along with the same indentation as the line before.
### [`v6.4.0`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#640-2024-04-17)
[Compare Source](https://redirect.github.com/codemirror/commands/compare/6.3.3...6.4.0)
##### Bug fixes
Fix an issue where `deleteLine` sometimes leaves the cursor on the wrong line.
##### New features
The new `deleteCharBackwardStrict` command just deletes a character, without further smart behavior around indentation.
### [`v6.3.3`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#633-2023-12-28)
[Compare Source](https://redirect.github.com/codemirror/commands/compare/6.3.2...6.3.3)
##### Bug fixes
Fix an issue causing cursor motion commands to not dispatch a transaction when the change only affects cursor associativity.
### [`v6.3.2`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#632-2023-11-28)
[Compare Source](https://redirect.github.com/codemirror/commands/compare/6.3.1...6.3.2)
##### Bug fixes
Fix a regression that caused `deleteCharBackward` to sometimes delete a large chunk of text.
### [`v6.3.1`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#631-2023-11-27)
[Compare Source](https://redirect.github.com/codemirror/commands/compare/6.3.0...6.3.1)
##### Bug fixes
When undoing, store the selection after the undone change with the redo event, so that redoing restores it.
`deleteCharBackward` will no longer delete variant selector characters as separate characters.
### [`v6.3.0`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#630-2023-09-29)
[Compare Source](https://redirect.github.com/codemirror/commands/compare/6.2.5...6.3.0)
##### Bug fixes
Make it possible for `selectParentSyntax` to jump out of or into a syntax tree overlay.
Make Cmd-Backspace and Cmd-Delete on macOS delete to the next line wrap point, not the start/end of the line.
##### New features
The new `deleteLineBoundaryForward` and `deleteLineBoundaryBackward` commands delete to the start/end of the line or the next line wrapping point.
### [`v6.2.5`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#625-2023-08-26)
[Compare Source](https://redirect.github.com/codemirror/commands/compare/6.2.4...6.2.5)
##### Bug fixes
Make `insertNewlineAndIndent` properly count indentation for tabs when copying over the previous line's indentation.
The various sub-word motion commands will now use `Intl.Segmenter`, when available, to stop at CJK language word boundaries.
Fix a bug in `insertNewlineAndIndent` that would delete text between brackets if it had no corresponding AST node.
### [`v6.2.4`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#624-2023-05-03)
[Compare Source](https://redirect.github.com/codemirror/commands/compare/6.2.3...6.2.4)
##### Bug fixes
The by-subword motion commands now properly treat dashes, underscores, and similar as subword separators.
### [`v6.2.3`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#623-2023-04-19)
[Compare Source](https://redirect.github.com/codemirror/commands/compare/6.2.2...6.2.3)
##### Bug fixes
Block commenting the selection no longer includes indentation on the first line.
### [`v6.2.2`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#622-2023-03-10)
[Compare Source](https://redirect.github.com/codemirror/commands/compare/6.2.1...6.2.2)
##### Bug fixes
Fix a bug where line commenting got confused when commenting a range that crossed language boundaries.
### [`v6.2.1`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#621-2023-02-15)
[Compare Source](https://redirect.github.com/codemirror/commands/compare/6.2.0...6.2.1)
##### Bug fixes
Keep cursor position stable in `cursorPageUp`/`cursorPageDown` when there are panels or other scroll margins active.
Make sure `toggleComment` doesn't get thrown off by local language nesting, by fetching the language data for the start of the selection line.
### [`v6.2.0`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#620-2023-01-18)
[Compare Source](https://redirect.github.com/codemirror/commands/compare/6.1.3...6.2.0)
##### New features
The new `joinToEvent` history configuration option allows you to provide custom logic that determines whether a new transaction is added to an existing history event.
### [`v6.1.3`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#613-2022-12-26)
[Compare Source](https://redirect.github.com/codemirror/commands/compare/6.1.2...6.1.3)
##### Bug fixes
Preserve selection bidi level when extending the selection, to prevent shift-selection from getting stuck in some kinds of bidirectional text.
### [`v6.1.2`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#612-2022-10-13)
[Compare Source](https://redirect.github.com/codemirror/commands/compare/6.1.1...6.1.2)
##### Bug fixes
Fix a bug that caused deletion commands on non-empty ranges to incorrectly return false and do nothing, causing the editor to fall back to native behavior.
### [`v6.1.1`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#611-2022-09-28)
[Compare Source](https://redirect.github.com/codemirror/commands/compare/6.1.0...6.1.1)
##### Bug fixes
Make sure the selection endpoints are moved out of atomic ranges when applying a deletion command to a non-empty selection.
### [`v6.1.0`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#610-2022-08-18)
[Compare Source](https://redirect.github.com/codemirror/commands/compare/6.0.1...6.1.0)
##### Bug fixes
Prevent native behavior on Ctrl/Cmd-ArrowLeft/ArrowRight bindings, so that browsers with odd bidi behavior won't do the wrong thing at start/end of line.
Cmd-ArrowLeft/Right on macOS now moves the cursor in the direction of the arrow even in right-to-left content.
##### New features
The new `cursorLineBoundaryLeft`/`Right` and `selectLineBoundaryLeft`/`Right` commands allow directional motion to line boundaries.
### [`v6.0.1`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#601-2022-06-30)
[Compare Source](https://redirect.github.com/codemirror/commands/compare/6.0.0...6.0.1)
##### Bug fixes
Announce to the screen reader when the selection is deleted.
Also bind Ctrl-Shift-z to redo on Linux.
### [`v6.0.0`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#600-2022-06-08)
[Compare Source](https://redirect.github.com/codemirror/commands/compare/0.20.0...6.0.0)
##### Bug fixes
Fix a bug where by-page selection commands sometimes moved one line too far.
### [`v0.20.0`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#0200-2022-04-20)
[Compare Source](https://redirect.github.com/codemirror/commands/compare/0.19.8...0.20.0)
##### 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](https://redirect.github.com/codemirror/comment) are now available in this package.
The exports from the [@codemirror/history](https://redirect.github.com/codemirror/history) package are now available from this package.
codemirror/lang-javascript (@codemirror/lang-javascript)
### [`v6.2.2`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#622-2024-02-20)
[Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.2.1...6.2.2)
##### Bug fixes
Fix a bug that would cause self-closing JSX tags to have another closing tag inserted when typing the final '>'.
### [`v6.2.1`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#621-2023-08-28)
[Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.2.0...6.2.1)
##### Bug fixes
`autoCloseTags` now generates two separate transactions, so that the completion can be undone separately.
### [`v6.2.0`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#620-2023-08-26)
[Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.1.9...6.2.0)
##### New features
Export a `typescriptSnippets` array and include TypeScript keyword completions in the default support extension when in TypeScript mode.
### [`v6.1.9`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#619-2023-06-02)
[Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.1.8...6.1.9)
##### Bug fixes
Make sure `scopeCompletionSource` doesn't try to complete property names that aren't simple identifier (such as numeric indices).
### [`v6.1.8`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#618-2023-05-13)
[Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.1.7...6.1.8)
##### Bug fixes
Stop completing keywords after `.` tokens.
### [`v6.1.7`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#617-2023-04-19)
[Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.1.6...6.1.7)
##### Bug fixes
Fix overeager JSX tag closing inside attribute values and in self-closing tags.
### [`v6.1.6`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#616-2023-04-13)
[Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.1.5...6.1.6)
##### Bug fixes
Fix a bug that allowed `autoCloseTags` to close JSX tags in JavaScript context.
### [`v6.1.5`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#615-2023-04-04)
[Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.1.4...6.1.5)
##### Bug fixes
Make TypeScript object type syntax foldable.
### [`v6.1.4`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#614-2023-02-13)
[Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.1.3...6.1.4)
##### Bug fixes
Make sure code in JSX context can be commented correctly.
### [`v6.1.3`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#613-2023-02-02)
[Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.1.2...6.1.3)
##### Bug fixes
Fix auto-closing of JSX fragments.
### [`v6.1.2`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#612-2022-12-07)
[Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.1.1...6.1.2)
##### Bug fixes
Automatic tag closing in JSX now works for namespaced and member-expression tag names.
### [`v6.1.1`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#611-2022-10-24)
[Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.1.0...6.1.1)
##### Bug fixes
Make `completionPath` handle `?.` syntax.
### [`v6.1.0`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#610-2022-09-20)
[Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.0.2...6.1.0)
##### New features
The `completionPath` helper can now be used to find the object path to complete at a given position.
`scopeCompletionSource` provides a completion source based on a scope object.
### [`v6.0.2`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#602-2022-07-21)
[Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.0.1...6.0.2)
##### Bug fixes
Fix the `source` field in ESLint diagnostics to properly hold `"eslint"`.
Fix (non-)auto indentation in template strings and comments.
### [`v6.0.1`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#601-2022-06-29)
[Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.0.0...6.0.1)
##### Bug fixes
Avoid completing variables/keywords in property or definition positions.
Fix a bug that broke local variable completion if JavaScript was parsed an overlay in an outer language.
### [`v6.0.0`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#600-2022-06-08)
[Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/0.20.1...6.0.0)
##### Breaking changes
Update dependencies to 6.0.0
### [`v0.20.1`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#0201-2022-06-01)
[Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/0.20.0...0.20.1)
##### New features
`localCompletionSource` (included in the support extensions returned from `javascript`) now provides a way to complete locally-defined names.
### [`v0.20.0`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#0200-2022-04-20)
[Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/0.19.7...0.20.0)
##### 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)
### [`v6.0.1`](https://redirect.github.com/codemirror/lang-json/blob/HEAD/CHANGELOG.md#601-2022-10-24)
[Compare Source](https://redirect.github.com/codemirror/lang-json/compare/6.0.0...6.0.1)
##### Bug fixes
Make sure the language object has a name.
### [`v6.0.0`](https://redirect.github.com/codemirror/lang-json/blob/HEAD/CHANGELOG.md#600-2022-06-08)
[Compare Source](https://redirect.github.com/codemirror/lang-json/compare/0.20.0...6.0.0)
##### Breaking changes
Update dependencies to 6.0.0
### [`v0.20.0`](https://redirect.github.com/codemirror/lang-json/blob/HEAD/CHANGELOG.md#0200-2022-04-20)
[Compare Source](https://redirect.github.com/codemirror/lang-json/compare/0.19.2...0.20.0)
##### Breaking changes
Update dependencies to 0.20.0
codemirror/lang-markdown (@codemirror/lang-markdown)
### [`v6.2.5`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#625-2024-04-12)
[Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.2.4...6.2.5)
##### Bug fixes
Disable folding for list nodes (since it will shadow the folding on the first list item).
### [`v6.2.4`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#624-2024-01-16)
[Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.2.3...6.2.4)
##### Bug fixes
Starting at the third list item, `insertNewlineContinueMarkup` will now keep the tightness of the list, and only require two presses to clear an empty list item.
### [`v6.2.3`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#623-2023-11-27)
[Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.2.2...6.2.3)
##### Bug fixes
Support code folding for GFM tables.
### [`v6.2.2`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#622-2023-10-06)
[Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.2.1...6.2.2)
##### Bug fixes
Fix a bug in `insertNewlineContinueMarkup` that caused it to put the cursor in the wrong place when the editor's line break was more than one character long.
### [`v6.2.1`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#621-2023-09-14)
[Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.2.0...6.2.1)
##### Bug fixes
Make `insertNewlineContinueMarkup` and `deleteMarkupBackward` use tabs for indentation when appropriate.
### [`v6.2.0`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#620-2023-06-23)
[Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.1.1...6.2.0)
##### New features
The markdown package now installs a completion source that completes HTML tags when in Markdown context.
### [`v6.1.1`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#611-2023-04-13)
[Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.1.0...6.1.1)
##### Bug fixes
Fix the declaration of `comentTokens` language data for Markdown.
Fix a bug in `deleteMarkupBackward` that would cause it to delete pieces of continued paragraphs below list item markers.
### [`v6.1.0`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#610-2023-02-17)
[Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.0.5...6.1.0)
##### New features
Add support for folding entire sections from the header.
### [`v6.0.5`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#605-2022-11-10)
[Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.0.4...6.0.5)
##### Bug fixes
Make sure task lists are indented correctly even when deeply nested.
### [`v6.0.4`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#604-2022-11-02)
[Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.0.3...6.0.4)
##### Bug fixes
Fix an issue where nested task lists were indented too deeply.
### [`v6.0.3`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#603-2022-10-24)
[Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.0.2...6.0.3)
##### Bug fixes
Add a `name` value to the Markdown language object.
### [`v6.0.2`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#602-2022-10-10)
[Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.0.1...6.0.2)
##### Bug fixes
Improve `insertNewlineContinueMarkup`'s behavior in a fenced code block.
### [`v6.0.1`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#601-2022-07-25)
[Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.0.0...6.0.1)
##### Bug fixes
Ignore text after whitespace in code block metadata, when determining which language the block is.
### [`v6.0.0`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#600-2022-06-08)
[Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/0.20.1...6.0.0)
##### Breaking changes
Update dependencies to 6.0.0
### [`v0.20.1`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#0201-2022-05-20)
[Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/0.20.0...0.20.1)
##### New features
The `codeLanguages` option to `markdown` may now be a function from an info string to a language.
### [`v0.20.0`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#0200-2022-04-20)
[Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/0.19.6...0.20.0)
##### New features
`insertNewlineContinueMarkup` can now continue task lists. Move highlighting information into [@lezer/markdown](https://redirect.github.com/lezer/markdown)
codemirror/lang-python (@codemirror/lang-python)
### [`v6.1.6`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#616-2024-04-29)
[Compare Source](https://redirect.github.com/codemirror/lang-python/compare/6.1.5...6.1.6)
##### Bug fixes
Improve the way indentation for the current body is preserved when inenting new lines.
### [`v6.1.5`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#615-2024-03-28)
[Compare Source](https://redirect.github.com/codemirror/lang-python/compare/6.1.4...6.1.5)
##### Bug fixes
Properly indent `else:` when attached to a `for` or `while` statement.
### [`v6.1.4`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#614-2024-02-02)
[Compare Source](https://redirect.github.com/codemirror/lang-python/compare/6.1.3...6.1.4)
##### Bug fixes
Explicitly declare dependencies on [@lezer/common](https://redirect.github.com/lezer/common) and [@codemirror/state](https://redirect.github.com/codemirror/state)
### [`v6.1.3`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#613-2023-06-12)
[Compare Source](https://redirect.github.com/codemirror/lang-python/compare/6.1.2...6.1.3)
##### Bug fixes
Fix a bug where blocks started after a wrapped argument list or similar construct were indented too far.
### [`v6.1.2`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#612-2023-03-01)
[Compare Source](https://redirect.github.com/codemirror/lang-python/compare/6.1.1...6.1.2)
##### Bug fixes
Don't indent lines after a dedented comment line.
### [`v6.1.1`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#611-2022-12-24)
[Compare Source](https://redirect.github.com/codemirror/lang-python/compare/6.1.0...6.1.1)
##### Bug fixes
Remove leftover log statements.
### [`v6.1.0`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#610-2022-11-18)
[Compare Source](https://redirect.github.com/codemirror/lang-python/compare/6.0.4...6.1.0)
##### New features
The `globalCompletion` completion source (included in the language support returned from `python()`) completes standard Python globals and keywords.
Export a `localCompletionSource` function that completes locally defined variables. Included in the support extensions returned from `python()`.
### [`v6.0.4`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#604-2022-10-24)
[Compare Source](https://redirect.github.com/codemirror/lang-python/compare/6.0.3...6.0.4)
##### Bug fixes
Make sure the language object has a name.
### [`v6.0.3`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#603-2022-10-19)
[Compare Source](https://redirect.github.com/codemirror/lang-python/compare/6.0.2...6.0.3)
##### Bug fixes
Add proper indentation handling of `else` clauses in `try` statements.
### [`v6.0.2`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#602-2022-09-22)
[Compare Source](https://redirect.github.com/codemirror/lang-python/compare/6.0.1...6.0.2)
##### Bug fixes
Allow prefixed strings to be closed by `closeBrackets`.
### [`v6.0.1`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#601-2022-07-21)
[Compare Source](https://redirect.github.com/codemirror/lang-python/compare/6.0.0...6.0.1)
##### Bug fixes
Fix (non-)auto indentation in template strings and comments.
### [`v6.0.0`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#600-2022-06-08)
[Compare Source](https://redirect.github.com/codemirror/lang-python/compare/0.20.0...6.0.0)
##### Breaking changes
Update dependencies to 6.0.0
### [`v0.20.0`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#0200-2022-04-20)
[Compare Source](https://redirect.github.com/codemirror/lang-python/compare/0.19.5...0.20.0)
##### Bug fixes
Add folding information for set and tuple expressions.
codemirror/lang-sql (@codemirror/lang-sql)
### [`v6.7.1`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#671-2024-08-21)
[Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.7.0...6.7.1)
##### Bug fixes
Remove single-letter words from the list of Postgres keywords, since they interfere with alias-based autocompletion.
### [`v6.7.0`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#670-2024-06-24)
[Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.6.5...6.7.0)
##### New features
Dialects can now disable quoting of identifiers containing upper-case characters with the `caseInsensitiveIdentifiers` option.
### [`v6.6.5`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#665-2024-06-17)
[Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.6.4...6.6.5)
##### Bug fixes
Fix a bug that broke tokenizing of `e'\n'`-style strings.
### [`v6.6.4`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#664-2024-05-04)
[Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.6.3...6.6.4)
##### Bug fixes
Make statement folding leave the entire first line visible.
Fix a null dereference in schema-based autocompletion.
### [`v6.6.3`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#663-2024-04-08)
[Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.6.2...6.6.3)
##### Bug fixes
Fix a bug where Postgres-style dollar-quoted strings were enabled for all dialects, and the `doubleDollarQuotedStrings` options was ignored.
### [`v6.6.2`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#662-2024-03-23)
[Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.6.1...6.6.2)
##### Bug fixes
Properly support tags in PostgreSQL `4073` quoted strings.
### [`v6.6.1`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#661-2024-03-04)
[Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.6.0...6.6.1)
##### Bug fixes
Fix an issue that caused completions to be missing when using the `defaultSchema` option.
### [`v6.6.0`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#660-2024-02-29)
[Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.5.5...6.6.0)
##### Bug fixes
Don't tokenize identifiers after periods as anything but plain identifiers.
##### New features
The `schema` option now allows nested objects to define multiple levels of completions, as well as `self` completion options for specific levels. The old format (using `tables`/`schemas`) continues to work but is deprecated.
### [`v6.5.5`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#655-2023-12-28)
[Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.5.4...6.5.5)
##### Bug fixes
Make sure table and column completions with upper-case characters are quoted.
Tag comments and strings as isolating for the purpose of bidirectional text.
### [`v6.5.4`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#654-2023-08-10)
[Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.5.3...6.5.4)
##### Bug fixes
Remove use of negative lookbehind in a regular expression, which recent versions of Safari still don't support.
### [`v6.5.3`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#653-2023-08-05)
[Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.5.2...6.5.3)
##### Bug fixes
The PL/SQL dialect now correctly handles `q'[]'`-quoting syntax.
### [`v6.5.2`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#652-2023-06-23)
[Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.5.1...6.5.2)
##### Bug fixes
Allow table names to contain multiple dots in the schema passed to `schemaCompletionSource`.
### [`v6.5.1`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#651-2023-06-21)
[Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.5.0...6.5.1)
##### Bug fixes
`schemaCompletionSource` now adds quotes around non-word identifiers even if the user didn't type a starting quote.
### [`v6.5.0`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#650-2023-05-16)
[Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.4.1...6.5.0)
##### New features
Dialect objects now have a public `spec` property holding their configuration.
### [`v6.4.1`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#641-2023-04-13)
[Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.4.0...6.4.1)
##### Bug fixes
Fix a bug where tokenizing of block comments got confused when nested comment start/end markers appeared directly next to each other.
### [`v6.4.0`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#640-2023-01-23)
[Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.3.3...6.4.0)
##### Bug fixes
Fix syntax tree node names for curly and square brackets, which had their names swapped.
##### New features
The new `schemas` config option can be used to provide custom completion objects for schema completions.
### [`v6.3.3`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#633-2022-11-14)
[Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.3.2...6.3.3)
##### Bug fixes
Fix tokenizing of double-`$` strings in SQL dialects that support them.
### [`v6.3.2`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#632-2022-10-24)
[Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.3.1...6.3.2)
##### Bug fixes
Make sure the language object has a name.
### [`v6.3.1`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#631-2022-10-17)
[Compare Source](https://redirect.github.com/codemirror/lan
Configuration
📅 Schedule: Branch creation - "before 12pm on Wednesday" in timezone 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.
🔕 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 contains the following updates:
^0.19.15
->^6.0.0
^0.19.8
->^6.0.0
^0.19.7
->^6.0.0
^0.19.2
->^6.0.0
^0.19.6
->^6.0.0
^0.19.5
->^6.0.0
^0.19.4
->^6.0.0
^0.19.2
->^6.0.0
^0.19.1
->^6.0.0
^0.19.10
->^6.0.0
^0.19.9
->^6.0.0
^0.19.48
->^6.0.0
Release Notes
codemirror/autocomplete (@codemirror/autocomplete)
### [`v6.18.0`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6180-2024-08-05) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.17.0...6.18.0) ##### Bug fixes Style the info element so that newlines are preserved, to make it easier to display multi-line info from a string source. ##### New features When registering an `abort` handler for a completion query, you can now use the `onDocChange` option to indicate that your query should be aborted as soon as the document changes while it is running. ### [`v6.17.0`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6170-2024-07-03) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.16.3...6.17.0) ##### Bug fixes Fix an issue where completions weren't properly reset when starting a new completion through `activateOnCompletion`. ##### New features `CompletionContext` objects now have a `view` property that holds the editor view when the query context has a view available. ### [`v6.16.3`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6163-2024-06-19) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.16.2...6.16.3) ##### Bug fixes Avoid adding an `aria-autocomplete` attribute to the editor when there are no active sources active. ### [`v6.16.2`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6162-2024-05-31) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.16.1...6.16.2) ##### Bug fixes Allow backslash-escaped closing braces inside snippet field names/content. ### [`v6.16.1`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6161-2024-05-29) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.16.0...6.16.1) ##### Bug fixes Fix a bug where multiple backslashes before a brace in a snippet were all removed. ### [`v6.16.0`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6160-2024-04-12) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.15.0...6.16.0) ##### New features The new `activateOnCompletion` option allows autocompletion to be configured to chain completion activation for some types of completions. ### [`v6.15.0`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6150-2024-03-13) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.14.0...6.15.0) ##### New features The new `filterStrict` option can be used to turn off fuzzy matching of completions. ### [`v6.14.0`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6140-2024-03-10) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.13.0...6.14.0) ##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6130-2024-02-29) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.12.0...6.13.0) ##### New features Completions may now provide 'commit characters' that, when typed, commit the completion before inserting the character. ### [`v6.12.0`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6120-2024-01-12) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.11.1...6.12.0) ##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6111-2023-11-27) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.11.0...6.11.1) ##### Bug fixes Fix a bug that caused typing over closed brackets after pressing enter to still not work in many situations. ### [`v6.11.0`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6110-2023-11-09) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.10.2...6.11.0) ##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6102-2023-10-13) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.10.1...6.10.2) ##### Bug fixes Fix a bug that caused `updateSyncTime` to always delay the initial population of the tooltip. ### [`v6.10.1`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6101-2023-10-11) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.10.0...6.10.1) ##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#6100-2023-10-11) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.9.2...6.10.0) ##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#692-2023-10-06) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.9.1...6.9.2) ##### Bug fixes Fix a bug in `completeAnyWord` that could cause it to generate invalid regular expressions and crash. ### [`v6.9.1`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#691-2023-09-14) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.9.0...6.9.1) ##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#690-2023-07-18) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.8.1...6.9.0) ##### New features Completions may now provide a `displayLabel` property that overrides the way they are displayed in the completion list. ### [`v6.8.1`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#681-2023-06-23) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.8.0...6.8.1) ##### Bug fixes `acceptCompletion` now returns false (allowing other handlers to take effect) when the completion popup is open but disabled. ### [`v6.8.0`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#680-2023-06-12) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.7.1...6.8.0) ##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#671-2023-05-13) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.7.0...6.7.1) ##### Bug fixes Fix a bug that cause incorrect ordering of completions when some results covered input text and others didn't. ### [`v6.7.0`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#670-2023-05-11) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.6.1...6.7.0) ##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#661-2023-05-03) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.6.0...6.6.1) ##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#660-2023-04-27) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.5.1...6.6.0) ##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#651-2023-04-13) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.5.0...6.5.1) ##### Bug fixes Keep completions open when interaction with an info tooltip moves focus out of the editor. ### [`v6.5.0`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#650-2023-04-13) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.4.2...6.5.0) ##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#642-2023-02-17) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.4.1...6.4.2) ##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#641-2023-02-14) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.4.0...6.4.1) ##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#640-2022-12-14) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.3.4...6.4.0) ##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#634-2022-11-24) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.3.3...6.3.4) ##### Bug fixes Fix an issue where completion lists could end up being higher than the tooltip they were in. ### [`v6.3.3`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#633-2022-11-18) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.3.2...6.3.3) ##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#632-2022-11-15) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.3.1...6.3.2) ##### Bug fixes Fix a regression that could cause the completion dialog to stick around when it should be hidden. ### [`v6.3.1`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#631-2022-11-14) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.3.0...6.3.1) ##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#630-2022-09-22) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.2.0...6.3.0) ##### New features Close bracket configuration now supports a `stringPrefixes` property that can be used to allow autoclosing of prefixed strings. ### [`v6.2.0`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#620-2022-09-13) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.1.1...6.2.0) ##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#611-2022-09-08) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.1.0...6.1.1) ##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#610-2022-07-19) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.0.4...6.1.0) ##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#604-2022-07-07) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.0.3...6.0.4) ##### Bug fixes Remove a leftover `console.log` in bracket closing code. ### [`v6.0.3`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#603-2022-07-04) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.0.2...6.0.3) ##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#602-2022-06-15) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.0.1...6.0.2) ##### Bug fixes Declare package dependencies as peer dependencies as an attempt to avoid duplicated package issues. ### [`v6.0.1`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#601-2022-06-09) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/6.0.0...6.0.1) ##### Bug fixes Support escaping `${` or `#{` in snippets. ### [`v6.0.0`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#600-2022-06-08) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/0.20.3...6.0.0) ##### Bug fixes Scroll the cursor into view when inserting a snippet. ### [`v0.20.3`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#0203-2022-05-30) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/0.20.2...0.20.3) ##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#0202-2022-05-24) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/0.20.1...0.20.2) ##### New features The package now exports an `insertCompletionText` helper that implements the default behavior for applying a completion. ### [`v0.20.1`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#0201-2022-05-16) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/0.20.0...0.20.1) ##### 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`](https://redirect.github.com/codemirror/autocomplete/blob/HEAD/CHANGELOG.md#0200-2022-04-20) [Compare Source](https://redirect.github.com/codemirror/autocomplete/compare/0.19.15...0.20.0) ##### 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](https://redirect.github.com/codemirror/closebrackets) package was merged into this one.codemirror/commands (@codemirror/commands)
### [`v6.6.1`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#661-2024-08-31) [Compare Source](https://redirect.github.com/codemirror/commands/compare/6.6.0...6.6.1) ##### Bug fixes Fix a bug in the undo history that would cause it to incorrectly track inverted effects when adding multiple edits to a single history event. ### [`v6.6.0`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#660-2024-06-04) [Compare Source](https://redirect.github.com/codemirror/commands/compare/6.5.0...6.6.0) ##### New features The new `toggleTabFocusMode` and `temporarilySetTabFocusMode` commands provide control over the view's tab-focus mode. The default keymap now binds Ctrl-m (Shift-Alt-m on macOS) to `toggleTabFocusMode`. ### [`v6.5.0`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#650-2024-04-19) [Compare Source](https://redirect.github.com/codemirror/commands/compare/6.4.0...6.5.0) ##### New features The `insertNewlineKeepIndent` command inserts a newline along with the same indentation as the line before. ### [`v6.4.0`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#640-2024-04-17) [Compare Source](https://redirect.github.com/codemirror/commands/compare/6.3.3...6.4.0) ##### Bug fixes Fix an issue where `deleteLine` sometimes leaves the cursor on the wrong line. ##### New features The new `deleteCharBackwardStrict` command just deletes a character, without further smart behavior around indentation. ### [`v6.3.3`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#633-2023-12-28) [Compare Source](https://redirect.github.com/codemirror/commands/compare/6.3.2...6.3.3) ##### Bug fixes Fix an issue causing cursor motion commands to not dispatch a transaction when the change only affects cursor associativity. ### [`v6.3.2`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#632-2023-11-28) [Compare Source](https://redirect.github.com/codemirror/commands/compare/6.3.1...6.3.2) ##### Bug fixes Fix a regression that caused `deleteCharBackward` to sometimes delete a large chunk of text. ### [`v6.3.1`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#631-2023-11-27) [Compare Source](https://redirect.github.com/codemirror/commands/compare/6.3.0...6.3.1) ##### Bug fixes When undoing, store the selection after the undone change with the redo event, so that redoing restores it. `deleteCharBackward` will no longer delete variant selector characters as separate characters. ### [`v6.3.0`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#630-2023-09-29) [Compare Source](https://redirect.github.com/codemirror/commands/compare/6.2.5...6.3.0) ##### Bug fixes Make it possible for `selectParentSyntax` to jump out of or into a syntax tree overlay. Make Cmd-Backspace and Cmd-Delete on macOS delete to the next line wrap point, not the start/end of the line. ##### New features The new `deleteLineBoundaryForward` and `deleteLineBoundaryBackward` commands delete to the start/end of the line or the next line wrapping point. ### [`v6.2.5`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#625-2023-08-26) [Compare Source](https://redirect.github.com/codemirror/commands/compare/6.2.4...6.2.5) ##### Bug fixes Make `insertNewlineAndIndent` properly count indentation for tabs when copying over the previous line's indentation. The various sub-word motion commands will now use `Intl.Segmenter`, when available, to stop at CJK language word boundaries. Fix a bug in `insertNewlineAndIndent` that would delete text between brackets if it had no corresponding AST node. ### [`v6.2.4`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#624-2023-05-03) [Compare Source](https://redirect.github.com/codemirror/commands/compare/6.2.3...6.2.4) ##### Bug fixes The by-subword motion commands now properly treat dashes, underscores, and similar as subword separators. ### [`v6.2.3`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#623-2023-04-19) [Compare Source](https://redirect.github.com/codemirror/commands/compare/6.2.2...6.2.3) ##### Bug fixes Block commenting the selection no longer includes indentation on the first line. ### [`v6.2.2`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#622-2023-03-10) [Compare Source](https://redirect.github.com/codemirror/commands/compare/6.2.1...6.2.2) ##### Bug fixes Fix a bug where line commenting got confused when commenting a range that crossed language boundaries. ### [`v6.2.1`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#621-2023-02-15) [Compare Source](https://redirect.github.com/codemirror/commands/compare/6.2.0...6.2.1) ##### Bug fixes Keep cursor position stable in `cursorPageUp`/`cursorPageDown` when there are panels or other scroll margins active. Make sure `toggleComment` doesn't get thrown off by local language nesting, by fetching the language data for the start of the selection line. ### [`v6.2.0`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#620-2023-01-18) [Compare Source](https://redirect.github.com/codemirror/commands/compare/6.1.3...6.2.0) ##### New features The new `joinToEvent` history configuration option allows you to provide custom logic that determines whether a new transaction is added to an existing history event. ### [`v6.1.3`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#613-2022-12-26) [Compare Source](https://redirect.github.com/codemirror/commands/compare/6.1.2...6.1.3) ##### Bug fixes Preserve selection bidi level when extending the selection, to prevent shift-selection from getting stuck in some kinds of bidirectional text. ### [`v6.1.2`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#612-2022-10-13) [Compare Source](https://redirect.github.com/codemirror/commands/compare/6.1.1...6.1.2) ##### Bug fixes Fix a bug that caused deletion commands on non-empty ranges to incorrectly return false and do nothing, causing the editor to fall back to native behavior. ### [`v6.1.1`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#611-2022-09-28) [Compare Source](https://redirect.github.com/codemirror/commands/compare/6.1.0...6.1.1) ##### Bug fixes Make sure the selection endpoints are moved out of atomic ranges when applying a deletion command to a non-empty selection. ### [`v6.1.0`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#610-2022-08-18) [Compare Source](https://redirect.github.com/codemirror/commands/compare/6.0.1...6.1.0) ##### Bug fixes Prevent native behavior on Ctrl/Cmd-ArrowLeft/ArrowRight bindings, so that browsers with odd bidi behavior won't do the wrong thing at start/end of line. Cmd-ArrowLeft/Right on macOS now moves the cursor in the direction of the arrow even in right-to-left content. ##### New features The new `cursorLineBoundaryLeft`/`Right` and `selectLineBoundaryLeft`/`Right` commands allow directional motion to line boundaries. ### [`v6.0.1`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#601-2022-06-30) [Compare Source](https://redirect.github.com/codemirror/commands/compare/6.0.0...6.0.1) ##### Bug fixes Announce to the screen reader when the selection is deleted. Also bind Ctrl-Shift-z to redo on Linux. ### [`v6.0.0`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#600-2022-06-08) [Compare Source](https://redirect.github.com/codemirror/commands/compare/0.20.0...6.0.0) ##### Bug fixes Fix a bug where by-page selection commands sometimes moved one line too far. ### [`v0.20.0`](https://redirect.github.com/codemirror/commands/blob/HEAD/CHANGELOG.md#0200-2022-04-20) [Compare Source](https://redirect.github.com/codemirror/commands/compare/0.19.8...0.20.0) ##### 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](https://redirect.github.com/codemirror/comment) are now available in this package. The exports from the [@codemirror/history](https://redirect.github.com/codemirror/history) package are now available from this package.codemirror/lang-javascript (@codemirror/lang-javascript)
### [`v6.2.2`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#622-2024-02-20) [Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.2.1...6.2.2) ##### Bug fixes Fix a bug that would cause self-closing JSX tags to have another closing tag inserted when typing the final '>'. ### [`v6.2.1`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#621-2023-08-28) [Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.2.0...6.2.1) ##### Bug fixes `autoCloseTags` now generates two separate transactions, so that the completion can be undone separately. ### [`v6.2.0`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#620-2023-08-26) [Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.1.9...6.2.0) ##### New features Export a `typescriptSnippets` array and include TypeScript keyword completions in the default support extension when in TypeScript mode. ### [`v6.1.9`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#619-2023-06-02) [Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.1.8...6.1.9) ##### Bug fixes Make sure `scopeCompletionSource` doesn't try to complete property names that aren't simple identifier (such as numeric indices). ### [`v6.1.8`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#618-2023-05-13) [Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.1.7...6.1.8) ##### Bug fixes Stop completing keywords after `.` tokens. ### [`v6.1.7`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#617-2023-04-19) [Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.1.6...6.1.7) ##### Bug fixes Fix overeager JSX tag closing inside attribute values and in self-closing tags. ### [`v6.1.6`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#616-2023-04-13) [Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.1.5...6.1.6) ##### Bug fixes Fix a bug that allowed `autoCloseTags` to close JSX tags in JavaScript context. ### [`v6.1.5`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#615-2023-04-04) [Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.1.4...6.1.5) ##### Bug fixes Make TypeScript object type syntax foldable. ### [`v6.1.4`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#614-2023-02-13) [Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.1.3...6.1.4) ##### Bug fixes Make sure code in JSX context can be commented correctly. ### [`v6.1.3`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#613-2023-02-02) [Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.1.2...6.1.3) ##### Bug fixes Fix auto-closing of JSX fragments. ### [`v6.1.2`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#612-2022-12-07) [Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.1.1...6.1.2) ##### Bug fixes Automatic tag closing in JSX now works for namespaced and member-expression tag names. ### [`v6.1.1`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#611-2022-10-24) [Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.1.0...6.1.1) ##### Bug fixes Make `completionPath` handle `?.` syntax. ### [`v6.1.0`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#610-2022-09-20) [Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.0.2...6.1.0) ##### New features The `completionPath` helper can now be used to find the object path to complete at a given position. `scopeCompletionSource` provides a completion source based on a scope object. ### [`v6.0.2`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#602-2022-07-21) [Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.0.1...6.0.2) ##### Bug fixes Fix the `source` field in ESLint diagnostics to properly hold `"eslint"`. Fix (non-)auto indentation in template strings and comments. ### [`v6.0.1`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#601-2022-06-29) [Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/6.0.0...6.0.1) ##### Bug fixes Avoid completing variables/keywords in property or definition positions. Fix a bug that broke local variable completion if JavaScript was parsed an overlay in an outer language. ### [`v6.0.0`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#600-2022-06-08) [Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/0.20.1...6.0.0) ##### Breaking changes Update dependencies to 6.0.0 ### [`v0.20.1`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#0201-2022-06-01) [Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/0.20.0...0.20.1) ##### New features `localCompletionSource` (included in the support extensions returned from `javascript`) now provides a way to complete locally-defined names. ### [`v0.20.0`](https://redirect.github.com/codemirror/lang-javascript/blob/HEAD/CHANGELOG.md#0200-2022-04-20) [Compare Source](https://redirect.github.com/codemirror/lang-javascript/compare/0.19.7...0.20.0) ##### 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)
### [`v6.0.1`](https://redirect.github.com/codemirror/lang-json/blob/HEAD/CHANGELOG.md#601-2022-10-24) [Compare Source](https://redirect.github.com/codemirror/lang-json/compare/6.0.0...6.0.1) ##### Bug fixes Make sure the language object has a name. ### [`v6.0.0`](https://redirect.github.com/codemirror/lang-json/blob/HEAD/CHANGELOG.md#600-2022-06-08) [Compare Source](https://redirect.github.com/codemirror/lang-json/compare/0.20.0...6.0.0) ##### Breaking changes Update dependencies to 6.0.0 ### [`v0.20.0`](https://redirect.github.com/codemirror/lang-json/blob/HEAD/CHANGELOG.md#0200-2022-04-20) [Compare Source](https://redirect.github.com/codemirror/lang-json/compare/0.19.2...0.20.0) ##### Breaking changes Update dependencies to 0.20.0codemirror/lang-markdown (@codemirror/lang-markdown)
### [`v6.2.5`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#625-2024-04-12) [Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.2.4...6.2.5) ##### Bug fixes Disable folding for list nodes (since it will shadow the folding on the first list item). ### [`v6.2.4`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#624-2024-01-16) [Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.2.3...6.2.4) ##### Bug fixes Starting at the third list item, `insertNewlineContinueMarkup` will now keep the tightness of the list, and only require two presses to clear an empty list item. ### [`v6.2.3`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#623-2023-11-27) [Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.2.2...6.2.3) ##### Bug fixes Support code folding for GFM tables. ### [`v6.2.2`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#622-2023-10-06) [Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.2.1...6.2.2) ##### Bug fixes Fix a bug in `insertNewlineContinueMarkup` that caused it to put the cursor in the wrong place when the editor's line break was more than one character long. ### [`v6.2.1`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#621-2023-09-14) [Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.2.0...6.2.1) ##### Bug fixes Make `insertNewlineContinueMarkup` and `deleteMarkupBackward` use tabs for indentation when appropriate. ### [`v6.2.0`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#620-2023-06-23) [Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.1.1...6.2.0) ##### New features The markdown package now installs a completion source that completes HTML tags when in Markdown context. ### [`v6.1.1`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#611-2023-04-13) [Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.1.0...6.1.1) ##### Bug fixes Fix the declaration of `comentTokens` language data for Markdown. Fix a bug in `deleteMarkupBackward` that would cause it to delete pieces of continued paragraphs below list item markers. ### [`v6.1.0`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#610-2023-02-17) [Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.0.5...6.1.0) ##### New features Add support for folding entire sections from the header. ### [`v6.0.5`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#605-2022-11-10) [Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.0.4...6.0.5) ##### Bug fixes Make sure task lists are indented correctly even when deeply nested. ### [`v6.0.4`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#604-2022-11-02) [Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.0.3...6.0.4) ##### Bug fixes Fix an issue where nested task lists were indented too deeply. ### [`v6.0.3`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#603-2022-10-24) [Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.0.2...6.0.3) ##### Bug fixes Add a `name` value to the Markdown language object. ### [`v6.0.2`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#602-2022-10-10) [Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.0.1...6.0.2) ##### Bug fixes Improve `insertNewlineContinueMarkup`'s behavior in a fenced code block. ### [`v6.0.1`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#601-2022-07-25) [Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/6.0.0...6.0.1) ##### Bug fixes Ignore text after whitespace in code block metadata, when determining which language the block is. ### [`v6.0.0`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#600-2022-06-08) [Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/0.20.1...6.0.0) ##### Breaking changes Update dependencies to 6.0.0 ### [`v0.20.1`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#0201-2022-05-20) [Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/0.20.0...0.20.1) ##### New features The `codeLanguages` option to `markdown` may now be a function from an info string to a language. ### [`v0.20.0`](https://redirect.github.com/codemirror/lang-markdown/blob/HEAD/CHANGELOG.md#0200-2022-04-20) [Compare Source](https://redirect.github.com/codemirror/lang-markdown/compare/0.19.6...0.20.0) ##### New features `insertNewlineContinueMarkup` can now continue task lists. Move highlighting information into [@lezer/markdown](https://redirect.github.com/lezer/markdown)codemirror/lang-python (@codemirror/lang-python)
### [`v6.1.6`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#616-2024-04-29) [Compare Source](https://redirect.github.com/codemirror/lang-python/compare/6.1.5...6.1.6) ##### Bug fixes Improve the way indentation for the current body is preserved when inenting new lines. ### [`v6.1.5`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#615-2024-03-28) [Compare Source](https://redirect.github.com/codemirror/lang-python/compare/6.1.4...6.1.5) ##### Bug fixes Properly indent `else:` when attached to a `for` or `while` statement. ### [`v6.1.4`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#614-2024-02-02) [Compare Source](https://redirect.github.com/codemirror/lang-python/compare/6.1.3...6.1.4) ##### Bug fixes Explicitly declare dependencies on [@lezer/common](https://redirect.github.com/lezer/common) and [@codemirror/state](https://redirect.github.com/codemirror/state) ### [`v6.1.3`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#613-2023-06-12) [Compare Source](https://redirect.github.com/codemirror/lang-python/compare/6.1.2...6.1.3) ##### Bug fixes Fix a bug where blocks started after a wrapped argument list or similar construct were indented too far. ### [`v6.1.2`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#612-2023-03-01) [Compare Source](https://redirect.github.com/codemirror/lang-python/compare/6.1.1...6.1.2) ##### Bug fixes Don't indent lines after a dedented comment line. ### [`v6.1.1`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#611-2022-12-24) [Compare Source](https://redirect.github.com/codemirror/lang-python/compare/6.1.0...6.1.1) ##### Bug fixes Remove leftover log statements. ### [`v6.1.0`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#610-2022-11-18) [Compare Source](https://redirect.github.com/codemirror/lang-python/compare/6.0.4...6.1.0) ##### New features The `globalCompletion` completion source (included in the language support returned from `python()`) completes standard Python globals and keywords. Export a `localCompletionSource` function that completes locally defined variables. Included in the support extensions returned from `python()`. ### [`v6.0.4`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#604-2022-10-24) [Compare Source](https://redirect.github.com/codemirror/lang-python/compare/6.0.3...6.0.4) ##### Bug fixes Make sure the language object has a name. ### [`v6.0.3`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#603-2022-10-19) [Compare Source](https://redirect.github.com/codemirror/lang-python/compare/6.0.2...6.0.3) ##### Bug fixes Add proper indentation handling of `else` clauses in `try` statements. ### [`v6.0.2`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#602-2022-09-22) [Compare Source](https://redirect.github.com/codemirror/lang-python/compare/6.0.1...6.0.2) ##### Bug fixes Allow prefixed strings to be closed by `closeBrackets`. ### [`v6.0.1`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#601-2022-07-21) [Compare Source](https://redirect.github.com/codemirror/lang-python/compare/6.0.0...6.0.1) ##### Bug fixes Fix (non-)auto indentation in template strings and comments. ### [`v6.0.0`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#600-2022-06-08) [Compare Source](https://redirect.github.com/codemirror/lang-python/compare/0.20.0...6.0.0) ##### Breaking changes Update dependencies to 6.0.0 ### [`v0.20.0`](https://redirect.github.com/codemirror/lang-python/blob/HEAD/CHANGELOG.md#0200-2022-04-20) [Compare Source](https://redirect.github.com/codemirror/lang-python/compare/0.19.5...0.20.0) ##### Bug fixes Add folding information for set and tuple expressions.codemirror/lang-sql (@codemirror/lang-sql)
### [`v6.7.1`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#671-2024-08-21) [Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.7.0...6.7.1) ##### Bug fixes Remove single-letter words from the list of Postgres keywords, since they interfere with alias-based autocompletion. ### [`v6.7.0`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#670-2024-06-24) [Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.6.5...6.7.0) ##### New features Dialects can now disable quoting of identifiers containing upper-case characters with the `caseInsensitiveIdentifiers` option. ### [`v6.6.5`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#665-2024-06-17) [Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.6.4...6.6.5) ##### Bug fixes Fix a bug that broke tokenizing of `e'\n'`-style strings. ### [`v6.6.4`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#664-2024-05-04) [Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.6.3...6.6.4) ##### Bug fixes Make statement folding leave the entire first line visible. Fix a null dereference in schema-based autocompletion. ### [`v6.6.3`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#663-2024-04-08) [Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.6.2...6.6.3) ##### Bug fixes Fix a bug where Postgres-style dollar-quoted strings were enabled for all dialects, and the `doubleDollarQuotedStrings` options was ignored. ### [`v6.6.2`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#662-2024-03-23) [Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.6.1...6.6.2) ##### Bug fixes Properly support tags in PostgreSQL `4073` quoted strings. ### [`v6.6.1`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#661-2024-03-04) [Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.6.0...6.6.1) ##### Bug fixes Fix an issue that caused completions to be missing when using the `defaultSchema` option. ### [`v6.6.0`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#660-2024-02-29) [Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.5.5...6.6.0) ##### Bug fixes Don't tokenize identifiers after periods as anything but plain identifiers. ##### New features The `schema` option now allows nested objects to define multiple levels of completions, as well as `self` completion options for specific levels. The old format (using `tables`/`schemas`) continues to work but is deprecated. ### [`v6.5.5`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#655-2023-12-28) [Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.5.4...6.5.5) ##### Bug fixes Make sure table and column completions with upper-case characters are quoted. Tag comments and strings as isolating for the purpose of bidirectional text. ### [`v6.5.4`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#654-2023-08-10) [Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.5.3...6.5.4) ##### Bug fixes Remove use of negative lookbehind in a regular expression, which recent versions of Safari still don't support. ### [`v6.5.3`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#653-2023-08-05) [Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.5.2...6.5.3) ##### Bug fixes The PL/SQL dialect now correctly handles `q'[]'`-quoting syntax. ### [`v6.5.2`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#652-2023-06-23) [Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.5.1...6.5.2) ##### Bug fixes Allow table names to contain multiple dots in the schema passed to `schemaCompletionSource`. ### [`v6.5.1`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#651-2023-06-21) [Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.5.0...6.5.1) ##### Bug fixes `schemaCompletionSource` now adds quotes around non-word identifiers even if the user didn't type a starting quote. ### [`v6.5.0`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#650-2023-05-16) [Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.4.1...6.5.0) ##### New features Dialect objects now have a public `spec` property holding their configuration. ### [`v6.4.1`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#641-2023-04-13) [Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.4.0...6.4.1) ##### Bug fixes Fix a bug where tokenizing of block comments got confused when nested comment start/end markers appeared directly next to each other. ### [`v6.4.0`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#640-2023-01-23) [Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.3.3...6.4.0) ##### Bug fixes Fix syntax tree node names for curly and square brackets, which had their names swapped. ##### New features The new `schemas` config option can be used to provide custom completion objects for schema completions. ### [`v6.3.3`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#633-2022-11-14) [Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.3.2...6.3.3) ##### Bug fixes Fix tokenizing of double-`$` strings in SQL dialects that support them. ### [`v6.3.2`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#632-2022-10-24) [Compare Source](https://redirect.github.com/codemirror/lang-sql/compare/6.3.1...6.3.2) ##### Bug fixes Make sure the language object has a name. ### [`v6.3.1`](https://redirect.github.com/codemirror/lang-sql/blob/HEAD/CHANGELOG.md#631-2022-10-17) [Compare Source](https://redirect.github.com/codemirror/lanConfiguration
📅 Schedule: Branch creation - "before 12pm on Wednesday" in timezone 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.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.