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

Conversation

@renovate
Copy link

@renovate renovate bot commented Nov 13, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@codemirror/language 0.19.2 -> 6.10.1 age adoption passing confidence

Release Notes

codemirror/language (@​codemirror/language)

v6.10.1

Compare Source

Bug fixes

Fix an issue where, when a lot of code is visible in the initial editor, the bottom bit of code is shown without highlighting for one frame.

v6.10.0

Compare Source

New features

The new bidiIsolates extension can be used to wrap syntactic elements where this is appropriate in an element that isolates their text direction, avoiding weird ordering of neutral characters on direction boundaries.

v6.9.3

Compare Source

Bug fixes

Fix an issue in StreamLanguage where it ran out of node type ids if you repeatedly redefined a language with the same token table.

v6.9.2

Compare Source

Bug fixes

Allow StreamParser tokens get multiple highlighting tags.

v6.9.1

Compare Source

Bug fixes

Indentation now works a lot better in mixed-language documents that interleave the languages in a complex way.

Code folding is now able to pick the right foldable syntax node when the line end falls in a mixed-parsing language that doesn't match the target node.

v6.9.0

Compare Source

Bug fixes

Make getIndentation return null, rather than 0, when there is no syntax tree available.

New features

The new preparePlaceholder option to codeFolding makes it possible to display contextual information in a folded range placeholder widget.

v6.8.0

Compare Source

New features

The new baseIndentFor method in TreeIndentContext can be used to find the base indentation for an arbitrary node.

v6.7.0

Compare Source

New features

Export DocInput class for feeding editor documents to a Lezer parser.

v6.6.0

Compare Source

New features

Syntax-driven language data queries now support sublanguages, which make it possible to return different data for specific parts of the tree produced by a single language.

v6.5.0

Compare Source

Bug fixes

Make indentation for stream languages more reliable by having StringStream.indentation return overridden indentations from the indent context.

New features

The toggleFold command folds or unfolds depending on whether there's an existing folded range on the current line.

indentUnit now accepts any (repeated) whitespace character, not just spaces and tabs.

v6.4.0

Compare Source

New features

The bracketMatchingHandle node prop can now be used to limit bracket matching behavior for larger nodes to a single subnode (for example the tag name of an HTML tag).

v6.3.2

Compare Source

Bug fixes

Fix a bug that caused ensureSyntaxTree to return incomplete trees when using a viewport-aware parser like StreamLanguage.

v6.3.1

Compare Source

Bug fixes

Make syntax-based folding include syntax nodes that start right at the end of a line as potential fold targets.

Fix the indentService protocol to allow a distinction between declining to handle the indentation and returning null to indicate the line has no definite indentation.

v6.3.0

Compare Source

New features

HighlightStyle objects now have a specs property holding the tag styles that were used to define them.

Language objects now have a name field holding the language name.

v6.2.1

Compare Source

Bug fixes

Fix a bug where bracketMatching would incorrectly match nested brackets in syntax trees that put multiple pairs of brackets in the same parent node.

Fix a bug that could cause indentRange to loop infinitely.

v6.2.0

Compare Source

Bug fixes

Fix a bug that prevented bracket matching to recognize plain brackets inside a language parsed as an overlay.

New features

The indentRange function provides an easy way to programatically auto-indent a range of the document.

v6.1.0

Compare Source

New features

The foldState field is now public, and can be used to serialize and deserialize the fold state.

v6.0.0

Compare Source

New features

The foldingChanged option to foldGutter can now be used to trigger a recomputation of the fold markers.

v0.20.2

Compare Source

Bug fixes

List style-mod as a dependency.

v0.20.1

Compare Source

Bug fixes

Make sure all styles in the CSS generated for a HighlightStyle have a lower precedence than the other rules defined for the style. Use a shorthand property

v0.20.0

Compare Source

Breaking changes

HighlightStyle.get is now called highlightingFor.

HighlightStyles no longer function as extensions (to improve tree shaking), and must be wrapped with syntaxHighlighting to add to an editor configuration.

Language objects no longer have a topNode property.

New features

HighlightStyle and defaultHighlightStyle from the now-removed @​codemirror/highlight package now live in this package.

The new forceParsing function can be used to run the parser forward on an editor view.

The exports that used to live in @​codemirror/matchbrackets are now exported from this package.

The @​codemirror/fold package has been merged into this one.

The exports from the old @​codemirror/stream-parser package now live in this package.

v0.19.10

Compare Source

Bug fixes

Autocompletion may now also trigger automatic indentation on input.

v0.19.9

Compare Source

Bug fixes

Make sure nodes that end at the end of a partial parse aren't treated as valid fold targets.

Fix an issue where the parser sometimes wouldn't reuse parsing work done in the background on transactions.

v0.19.8

Compare Source

Bug fixes

Fix an issue that could cause indentation logic to use the wrong line content when indenting multiple lines at once.

v0.19.7

Compare Source

Bug fixes

Fix an issue where the parse worker could incorrectly stop working when the parse tree has skipped gaps in it.

v0.19.6

Compare Source

Bug fixes

Fixes an issue where the background parse work would be scheduled too aggressively, degrading responsiveness on a newly-created editor with a large document.

Improve initial highlight for mixed-language editors and limit the amount of parsing done on state creation for faster startup.

v0.19.5

Compare Source

New features

The new function syntaxTreeAvailable can be used to check if a fully-parsed syntax tree is available up to a given document position.

The module now exports syntaxParserRunning, which tells you whether the background parser is still planning to do more work for a given editor view.

v0.19.4

Compare Source

New features

LanguageDescription.of now takes an optional already-loaded extension.

v0.19.3

Compare Source

Bug fixes

Fix an issue where a parse that skipped content with skipUntilInView would in some cases not be restarted when the range came into view.


Configuration

📅 Schedule: Branch creation - "before 3am on Monday" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

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


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

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

@vercel
Copy link

vercel bot commented Nov 13, 2022

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

Name Status Preview Comments Updated (UTC)
query-console-demo ❌ Failed (Inspect) Feb 3, 2024 0:19am

@renovate renovate bot force-pushed the renovate/codemirror-language-6.x branch from fa77fb5 to 539ea83 Compare November 14, 2022 13:26
@renovate renovate bot force-pushed the renovate/codemirror-language-6.x branch from 539ea83 to 7df33ad Compare November 30, 2022 10:32
@renovate renovate bot force-pushed the renovate/codemirror-language-6.x branch from 7df33ad to d0f4d4b Compare November 30, 2022 11:32
@renovate renovate bot force-pushed the renovate/codemirror-language-6.x branch from d0f4d4b to 25d059f Compare December 16, 2022 10:20
@renovate renovate bot force-pushed the renovate/codemirror-language-6.x branch from 25d059f to 76c7045 Compare January 12, 2023 15:49
@renovate renovate bot force-pushed the renovate/codemirror-language-6.x branch from 76c7045 to 3291ea2 Compare March 16, 2023 23:51
@renovate renovate bot force-pushed the renovate/codemirror-language-6.x branch from 3291ea2 to e69579a Compare May 29, 2023 15:54
@renovate renovate bot force-pushed the renovate/codemirror-language-6.x branch from e69579a to a1b84af Compare June 12, 2023 23:57
@renovate renovate bot force-pushed the renovate/codemirror-language-6.x branch from a1b84af to 7381c2e Compare August 16, 2023 17:52
@renovate renovate bot force-pushed the renovate/codemirror-language-6.x branch from 7381c2e to 6ba7e7a Compare September 20, 2023 08:56
@renovate renovate bot force-pushed the renovate/codemirror-language-6.x branch from 6ba7e7a to aebbd8d Compare October 25, 2023 02:21
@renovate renovate bot force-pushed the renovate/codemirror-language-6.x branch from aebbd8d to 38ed809 Compare November 28, 2023 02:20
@renovate renovate bot force-pushed the renovate/codemirror-language-6.x branch from 38ed809 to f7b673d Compare December 29, 2023 02:18
@renovate renovate bot force-pushed the renovate/codemirror-language-6.x branch from f7b673d to 82bd20b Compare February 3, 2024 00:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants