Releases: vuejs/vue-eslint-parser
Releases · vuejs/vue-eslint-parser
v8.0.0
💥 Breaking Changes
- Drop support for node <v12.22.0, v13, >=v14<v14.17.0, v15 and eslint v5 by @ota-meshi in #129
- Change the default of
parserOptions.vueFeatures.interpolationAsNonHTML
to true
. by @ota-meshi in #130
Full Changelog: v7.11.0...v8.0.0
v7.11.0
⚙️ Updates
- #124 Changed to determine parser by extension when parsing non-vue files using multiple
parserOptions.parser
.
🐛 Bug fixes
- #126 Fixed bug when script tags are missing and multiple
parserOptions.parser
is used.
v7.10.0
✨ Enhancements
- #119 Added defineDocumentVisitor to parserServices.
🐛 Bug fixes
- #120 Fixed incorrect AST for commented CSS vars injection.
v7.9.0
✨ Enhancements
- #118 Changed to parse
v-bind()
in <style>
. This feature can optionally be turned off.
v7.8.0
✨ Enhancements
- #116 Change
parserOptions.parser
to accept multiple lang parsers.
🐛 Bug fixes
- #115 Fixed parsing error when combining
<script>
and export
in <script setup>
.
v7.7.2
🐛 Bug Fixes
- #113 Downgrade packages that are incompatible with Node v8.
- Downgrade espree
- Downgrade semver
- Change the parser so that if the user explicitly installs
espree
v8 and specifies espree
for parserOptions.parser
, it will be use.
v7.7.1
⚙️ Updates
- #111 Revert: changed to use
sourceType: module
by default when parsing <script setup>
.
v7.7.0
⚙️ Updates
- #108, #110 Added support for
<script setup>
- Changed two
<script>
tags to be parseable when using <script setup>
.
Upgraded the dependency espree to v8.
(However, by default it uses the eslint dependency espree.)
This allows to parse Top Level Await by configuring parserOptions.
Note that espree v8 is not compatible with some rules of ESLint v7.
Changed to use sourceType: module
by default when parsing <script setup>
.
- Changed to use ES2022 by default when using espree v8+ and parsing
<script setup>
.
- Added an option to
defineTemplateBodyVisitor
to change the trigger to visit the template nodes.
This is used to create special rules that suppress warnings for no-unused-vars
rule. e.g. vue/script-setup-uses-vars
rule
v7.6.0
🐛 Bug fixes
- #103 Changes the parser to be case sensitive for the name used to determine the element when the file is SFC.
v7.5.0
⚙️ Updates
- #100 Upgrade esquery and use new option. You can now use queries such as
:first-child
to traverse templates.