Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled
143 lines
3.2 KiB
Markdown
143 lines
3.2 KiB
Markdown
## 6.4.0 (2022-11-30)
|
|
|
|
### Bug fixes
|
|
|
|
Directly depend on @lang/css 1.1.0, since we're using a new top rule name introduced in that.
|
|
|
|
### New features
|
|
|
|
Add a `globalAttrs` property to (completion) `TagSpec` objects that controls whether global attributes are completed in that tag.
|
|
|
|
## 6.3.1 (2022-11-29)
|
|
|
|
### Bug fixes
|
|
|
|
Remove incorrect pure annotation that broke the code after tree-shaking.
|
|
|
|
## 6.3.0 (2022-11-28)
|
|
|
|
### Bug fixes
|
|
|
|
Parse type=text/babel script tags as JSX.
|
|
|
|
### New features
|
|
|
|
The new `nestedLanguages` option can be used to configure how the content of script, style, and textarea tags is parsed.
|
|
|
|
The content of style attributes will now be parsed as CSS, and the content of on[event] attributes as JavaScript. The new `nestedAttributes` option can be used to configure the parsing of other attribute values.
|
|
|
|
## 6.2.0 (2022-11-16)
|
|
|
|
### New features
|
|
|
|
Add a `selfClosingTags` option to `html` that enables `/>` syntax.
|
|
|
|
## 6.1.4 (2022-11-15)
|
|
|
|
### Bug fixes
|
|
|
|
Parse the content of text/javascript or lang=ts script tags as TypeScript, use JS for text/jsx, and TSX for text/typescript-jsx.
|
|
|
|
## 6.1.3 (2022-10-24)
|
|
|
|
### Bug fixes
|
|
|
|
Remove deprecated HTML tags from the completions.
|
|
|
|
## 6.1.2 (2022-09-27)
|
|
|
|
### Bug fixes
|
|
|
|
Make tag auto-closing consume `>` characters after the cursor.
|
|
|
|
## 6.1.1 (2022-09-05)
|
|
|
|
### Bug fixes
|
|
|
|
Properly list the dependency on @codemirror/view in package.json.
|
|
|
|
## 6.1.0 (2022-06-22)
|
|
|
|
### New features
|
|
|
|
It is now possible to pass in options to extend the set of tags and attributes provided by autocompletion.
|
|
|
|
## 6.0.0 (2022-06-08)
|
|
|
|
### Breaking changes
|
|
|
|
Update dependencies to 6.0.0
|
|
|
|
## 0.20.0 (2022-04-20)
|
|
|
|
### New features
|
|
|
|
Autocompletion now suggests the `<template>` and `<slot>` elements.
|
|
|
|
## 0.19.4 (2021-11-30)
|
|
|
|
### Bug fixes
|
|
|
|
Fix an issue where autoclosing a tag directly in front of alphanumeric text would include nonsense text in the completed tag name.
|
|
|
|
## 0.19.3 (2021-09-23)
|
|
|
|
### New features
|
|
|
|
The package now exports a completion source function, rather than a prebuilt completion extension.
|
|
|
|
Use more specific highlighting tags for attribute names and values.
|
|
|
|
## 0.19.2 (2021-09-21)
|
|
|
|
### New features
|
|
|
|
The new `autoCloseTags` extension (included by default in `html()`) finishes closing tags when you type a `>` or `/` character.
|
|
|
|
## 0.19.1 (2021-08-11)
|
|
|
|
### Bug fixes
|
|
|
|
Fix incorrect versions for @lezer dependencies.
|
|
|
|
## 0.19.0 (2021-08-11)
|
|
|
|
### Bug fixes
|
|
|
|
Improve autocompletion in/after unclosed opening tags.
|
|
|
|
### New features
|
|
|
|
`html()` now takes a `matchClosingTags` option to turn off closing tag matching.
|
|
|
|
## 0.18.1 (2021-05-05)
|
|
|
|
### Bug fixes
|
|
|
|
Fix an issue where the completer would sometimes try to complete an opening tag to its own close tag.
|
|
|
|
Fix a bug that would sometimes produce the wrong indentation in HTML elements.
|
|
|
|
Fix a bug that broke tag-specific attribute completion in tags like `<input>` or `<script>`.
|
|
|
|
Move a new version of lezer-html which solves some issues with autocompletion.
|
|
|
|
## 0.18.0 (2021-03-03)
|
|
|
|
### Bug fixes
|
|
|
|
Improves indentation at end of implicitly closed elements.
|
|
|
|
## 0.17.1 (2021-01-06)
|
|
|
|
### New features
|
|
|
|
The package now also exports a CommonJS module.
|
|
|
|
## 0.17.0 (2020-12-29)
|
|
|
|
### Breaking changes
|
|
|
|
First numbered release.
|
|
|