chore(front): update all dependencies (major)
This MR contains the following updates:
Release Notes
faker-js/faker (@faker-js/faker)
v9.8.0
New Locales
- locale: Add additional Japanese last names to the locale data (#3484) (72e66c3)
- locale: add Japanese date and month definitions (#3492) (b70e793)
- locale: add Japanese science locale data including elements and units (#3491) (54fd551)
- locale: add Japanese sex definitions for person locale (#3495) (1dbd8fa)
- locale: add vehicle locale data for Japanese (#3490) (dfadb1d)
- locale: add zh_CN book (#3477) (786a3d0)
- locale: add zh_CN food (#3479) (6c883e7)
- locale: update Japanese company categories (#3489) (8c0953a)
- locale: update zh_CN animal (#3480) (38ee7b8)
- locale: update zh_CN location (#3481) (456f102)
- locale: update zh_CN word (#3478) (aa98867)
Changed Locales
- locale: ko state data update (#3487) (b611ec2)
- locale: normalize internet data (#3502) (e6151e4)
- locale: rename pt-BR streetSuffix to streetPrefix (#3493) (7c23db3)
Bug Fixes
- locale: correct Japanese country names (#3510) (046bb81)
- locale: correct the name of element Lv in Japanese (#3509) (6a7ef4c)
- locale: ko modified street_name to street_name_part (#3485) (c15da8e)
v9.7.0
New Locales
- locale: Add bn_BD locale (#3439) (fef0ad7)
- locale: add cy locale, start with date (#3462) (f70a6f7)
- locale: add finance support for ja locale (#3449) (b2c5298)
- locale: add localize sex support for zh_CN & zh_TW (#3450) (048c325)
- locale: add Tamil language support (#3468) (cdf6dc4)
Bug Fixes
- airline: Air France and KLM Royal Dutch Airlines (#3440) (8a2d168)
- iban: more strict pattern for IE and PS (#3464) (7b12056)
- locale: rename ja and zh_CN company affix files (#3448) (1e551c5)
- number: don't ignore multipleOf in float when min=max (#3417) (e4cc4e5)
v9.6.0
Features
- finance: add ISO 4217 numerical codes to Currency (#3404) (ae9aec6)
- number: bigint multipleOf (#3402) (7b4f85a)
v9.5.1
Bug Fixes
v9.5.0
Features
v9.4.0
Features
- finance: use fake patterns for transactionDescription (#3202) (5ec4a6c)
- internet: update to simplified modern user-agent list (#3324) (3c7abb5)
- location: add list of spoken languages (#3333) (ff6dda9)
Changed Locales
- locale: fix various locale data with trailing spaces (#3329) (e5eec0e)
- locale: improve product_name data in en and tr (#3372) (773fc1f)
Bug Fixes
- animal: re-moo-ved some incorrect cow data (#3326) (47f835b)
- basic wildcard range handling + add more tests (#3322) (817f8a0)
- finance: update Discover card number format to ensure accuracy (#3336) (69c0063)
- image: dataUri should return random type (#3347) (eceb17d)
- locales: update chemical element names in zh_CN (#3371) (6ec6f84)
- location: fix bad uz street_name_part data (#3328) (b6132cb)
- music: fix truncated song names with commas (#3327) (f36fc71), closes #996
- system: semver parts should not be limited to 0-9 (#3349) (c0d92b8)
v9.3.0
Features
Changed Locales
- locale: improve zh_CN vehicle manufacturers (#3254) (9abaed1)
- locale: lowercase Mexican color names (#3200) (0d85075)
- locale: sort person data (#3269) (01e20e9)
- locale: split en_AU_ocker first_names by sex (#3270) (b0a5ad3)
- locale: split up Spanish generic first names (#3279) (5d5fe30)
- locale: update Polish city name (#3306) (53441b7)
Bug Fixes
- internet: ensure domainWord always returns a valid value in all locales (#3253) (525fedc)
- locale: add Isadora to female names in pt_BR for consistency (#3282) (b390432)
- locale: fix incorrect accents in it first_name (#3281) (e0fb23e)
v9.2.0
Features
Changed Locales
v9.1.0
New Locales
Features
- add book module (#2949) (2f93d9d)
- commerce: more varied product descriptions (#3174) (ba4ef9a)
- internet: add jwt method (#2936) (e3858f2)
- internet: improve ipv4 method (#2992) (a5a6c5b)
-
location: add
continent
method (#3162) (4056ab0) - string: adds support for generating ULID (#2524) (5b1c858)
Changed Locales
- locale: enhance en vehicle manufacturers (#3187) (858f8d0)
- locale: modernise buzz- and catch-phrases (#2930) (247c86f)
- locale: remove inaccessible files (#3205) (89b695c)
- locale: trim excessive Croatian last names (#3204) (18e59aa)
Bug Fixes
- food: use arrayElement instead of fake for adjective (#3178) (a8dfa2f)
- location: fix US ZIP code anomalies for zipCode({state}) (#3180) (df59724)
- location: update valid ZIP ranges for FL and VA (#3167) (e271d4a)
v9.0.3
Changed Locales
Bug Fixes
v9.0.2
Bug Fixes
v9.0.1
Bug Fixes
v9.0.0
No noteworthy changes to 9.0.0-rc.1
For those upgrading from earlier versions, please refer to our Migration Guide for detailed instructions.
intlify/eslint-plugin-vue-i18n (@intlify/eslint-plugin-vue-i18n)
v4.0.1
Patch Changes
v4.0.0
Major Changes
-
#556
ccc4737
Thanks @renovate! - fix(deps): update dependency @intlify/core-base to v10 -
#595
384dd5c
Thanks @renovate! - fix(deps): update dependency @intlify/message-compiler to v11 -
#616
1d4beb7
Thanks @ota-meshi! - Drop support for vue-i18n v8 syntax -
#583
9a5601e
Thanks @ota-meshi! - docs!: Add Versioning Policy -
#557
baaa5fe
Thanks @renovate! - fix(deps): update dependency @intlify/message-compiler to v10 -
#585
13d8975
Thanks @ota-meshi! - feat!: update config -
#614
3172959
Thanks @renovate! - chore(deps): update dependency vue-eslint-parser to v10 -
#587
9baee55
Thanks @ota-meshi! - feat!: rename configs -
#615
4ff816f
Thanks @ota-meshi! - Change parser dependencies to peerDependencies
Minor Changes
v3.2.0
Minor Changes
v3.1.0
Minor Changes
v3.0.0
Major Changes
-
#513
3f0c57f
Thanks @kazupon! - breaking: drop support for versions less than node v18 -
#520
7642d29
Thanks @ota-meshi! - breaking: update recommended config -
#514
e45f983
Thanks @kazupon! - breaking: drop support for versions less than eslint v8
Minor Changes
-
#499
296e6f6
Thanks @kazupon! - feat:no-deprecated-modulo-syntax
rule -
#471
a12cbec
Thanks @advisciglio! - fix: adds I18nT keyword into key collection -
#492
30ad848
Thanks @oikalyptus! - add lowercase option to key-format-style rule -
#510
61b0c94
Thanks @kazupon! - feat: addno-deprecated-tc
rule -
#463
a488f15
Thanks @ota-meshi! - feat: add support for eslint v9 -
#497
c392a38
Thanks @ota-meshi! - fix:no-unused-keys
rule not working when using flat config
Patch Changes
-
#394
3774e88
Thanks @wolfgangwalther! - fix: no-missing-keys rule reports false positive with trailing dot -
#459
8b3d347
Thanks @renovate! - fix(deps): update dependency @eslint/eslintrc to v3 -
#474
ebd7353
Thanks @ota-meshi! - fix: wrong suggestion for remove all unused keys invue-i18n/no-unused-keys
rule -
#413
0fadd81
Thanks @dargmuesli! - Pin@intlify
dependencies to tagbeta
to try to prevent renovate from downgrading. -
#515
b451cdb
Thanks @kazupon! - fix:no-deprecated-tc
rule wrong category -
#433
68a4a1b
Thanks @wolfgangwalther! - fix(deps): Make import-fresh a proper dependency
intlify/bundle-tools (@intlify/unplugin-vue-i18n)
v6.0.3
:zap: Improvement Features
-
#432 fix(unplugin-vue-i18n): unmet peer
@intlify/shared
andvue-i18n
(@NaokiHaba)
Committers: 1
- Naoki Haba (@NaokiHaba)
v6.0.2
:zap: Improvement Features
- #428 fix: only return transform for vue files (@BobbieGoede)
Committers: 1
- Bobbie Goede (@BobbieGoede)
v6.0.1
:zap: Improvement Features
- #421 fix(unplugin-vue-i18n): check for vue compiler in directive transform hook (@userquin)
Committers: 1
- Joaquín Sánchez (@userquin)
v6.0.0
:star: Features
- #418 feat!: move packages to ESM first (@userquin)
Committers: 1
- Joaquín Sánchez (@userquin)
v5.3.1
:bug: Bug Fixes
-
#414 fix(unplugin-vue-i18n): don't analyze identifiers in vue files when using
pug/jsx/tsx
languages (@userquin)
Committers: 1
- Joaquín Sánchez (@userquin)
v5.3.0
:bug: Bug Fixes
- #413 fix(unplugin-vue-i18n): remove directives plugin warnings on SSR build (@userquin)
Committers: 2
- Joaquín Sánchez (@userquin)
- kazuya kawaguchi (@kazupon)
v5.2.0
:star: Features
Committers: 1
- kazuya kawaguchi (@kazupon)
v5.1.0
:star: Features
Committers: 1
- kazuya kawaguchi (@kazupon)
v5.0.0
:zap: Improvement Features
Committers: 1
- kazuya kawaguchi (@kazupon)
v4.0.0
:zap: Improvement Features
Committers: 1
- kazuya kawaguchi (@kazupon)
v3.0.1
:bug: Bug Fixes
- #350 Fix vueVersion warning (@yenche123)
Committers: 1
- Tsui Yen-Che (@yenche123)
v3.0.0
:zap: Improvement Features
:warning: Deprecated Features
Committers: 1
- kazuya kawaguchi (@kazupon)
vuejs/eslint-config-standard (@vue/eslint-config-standard)
v9.0.1
Patch Changes
-
5f38827
Thanks @haoqunjiang! - Updated dependencies
v9.0.0
Major Changes
-
- Added support for ESLint ^9.10, Node.js ^18.18.0 || ^20.9.0 || >=21.1.0. Dropped support for older versions.
- Switched to ESLint Flat Config, dropping legacy
.eslintrc*
format. - Applied stylistic rules to expressions in
<template>
blocks. - Removed
createAliasSetting
helper; path aliases are now auto-detected injsconfig.json
andtsconfig.json
. - Removed Vue CLI project setup examples.
Internal Changes:
- Dropped
eslint-config-standard
dependency; now maintaining rules internally. - Replaced
eslint-plugin-import
witheslint-plugin-import-x
. - Using stylistic rules from
@stylistic/eslint-plugin
. - Updated other dependencies.
vuejs/eslint-config-typescript (@vue/eslint-config-typescript)
v14.5.0
What's Changed
- chore(deps): update dependency
vue-eslint-parser
to v10 by @renovate in https://github.com/vuejs/eslint-config-typescript/pull/157 - chore(deps): expand peer dependency
eslint-plugin-vue
version range to allow v10 by @renovate in https://github.com/vuejs/eslint-config-typescript/pull/156
Full Changelog: https://github.com/vuejs/eslint-config-typescript/compare/v14.4.0...v14.5.0
v14.4.0
What's Changed
- A
tsSyntaxInTemplates
configuration field, so that linting can be sped up by disabling it by @haoqunjiang in https://github.com/vuejs/eslint-config-typescript/pull/142 - Proper handling of the
extends
field, which is supported intypescript-eslint
, fixes #136 by @haoqunjiang in https://github.com/vuejs/eslint-config-typescript/pull/143
Full Changelog: https://github.com/vuejs/eslint-config-typescript/compare/v14.3.0...v14.4.0
v14.3.0
New Features
- A completely new approach to set up the ESLint configurations with helpers like
defineConfigWithVueTs
andvueTsConfigs
. Please read the documentation for more details. With this new API set, you can easily override type-aware linting rules without worrying its position in the config array. Therefore there would be fewer mysterious errors or slowdown in a heavily customized project.
[!NOTE] The old style
...vueTsEslintConfig()
still works, there's no need to update to the new style if that has been working well in your project.
Bug Fixes
- fix: typo in index.ts by @aparajita in https://github.com/vuejs/eslint-config-typescript/pull/128
New Contributors
- @aparajita made their first contribution in https://github.com/vuejs/eslint-config-typescript/pull/128
Full Changelog: https://github.com/vuejs/eslint-config-typescript/compare/v14.2.0...v14.3.0
v14.2.0
What's Changed
- fix: add absolute path for reading file contents, fix
rootDir
issue by @markieo1 in https://github.com/vuejs/eslint-config-typescript/pull/108 -
~~feat: add a
defineConfig
utility function and use it in examples by @haoqunjiang in https://github.com/vuejs/eslint-config-typescript/pull/117~~ Don't use this feature yet, it's under active refactoring for better usability.
New Contributors
- @markieo1 made their first contribution in https://github.com/vuejs/eslint-config-typescript/pull/108
Full Changelog: https://github.com/vuejs/eslint-config-typescript/compare/v14.1.4...v14.2.0
v14.1.4
v14.1.3
What's Changed
- docs: add missing curly bracket in example config by @henribru in https://github.com/vuejs/eslint-config-typescript/pull/93
- fix: skip typechecking cjs and mjs files by @henribru in https://github.com/vuejs/eslint-config-typescript/pull/94
New Contributors
- @henribru made their first contribution in https://github.com/vuejs/eslint-config-typescript/pull/93
Full Changelog: https://github.com/vuejs/eslint-config-typescript/compare/v14.1.2...v14.1.3
v14.1.2
Bug Fixes
- Print more friendly error messages if the user provides a non-existent configuration name to
extends
.
Full Changelog: https://github.com/vuejs/eslint-config-typescript/compare/v14.1.1...v14.1.2
v14.1.1
Bug Fixes
- Fixed #91
TypeError: Config "typescript-eslint/disable-type-checked": Key "files": Expected value to be a non-empty array"
Full Changelog: https://github.com/vuejs/eslint-config-typescript/compare/v14.1.0...v14.1.1
v14.1.0
New Features
- feat: simplify the
*TypeChecked
configs by providing a meaningful and performant default by @haoqunjiang in https://github.com/vuejs/eslint-config-typescript/pull/89
Bug Fixes
- fix: add the missing dot to extraFileExtensions by @jfrs in https://github.com/vuejs/eslint-config-typescript/pull/90
New Contributors
- @jfrs made their first contribution in https://github.com/vuejs/eslint-config-typescript/pull/90
Full Changelog: https://github.com/vuejs/eslint-config-typescript/compare/v14.0.1...v14.1.0
v14.0.1
Bugfixes
- Fixed an occasional bug that when using with npm or yarn v1, an
invalid ecmaVersion
error would be thrown if the wrong version ofestree
is hoisted to thenode_modules
root. Fixes #87. [aae95d6]
New Contributors
- @bmulholland made their first contribution in https://github.com/vuejs/eslint-config-typescript/pull/84
- @50Wliu made their first contribution in https://github.com/vuejs/eslint-config-typescript/pull/86
Full Changelog: https://github.com/vuejs/eslint-config-typescript/compare/v14.0.0...v14.0.1
v14.0.0
What's Changed
- Added support for ESLint Flat Config https://github.com/vuejs/eslint-config-typescript/pull/81
- Dropped support for the legacy
.eslintrc*
configuration format. If you need that, please stay on version 13, which is also tagged as@vue/eslint-config-typescript@legacy-eslintrc
. - The default configuration now extends from
tseslint.configs.recommended
instead ofeslint-recommended
.
Full Changelog: https://github.com/vuejs/eslint-config-typescript/compare/v13.0.0...v14.0.0
v13.0.0
Notable Changes
typescript-eslint
is upgraded to v7.x. The full release notes can be found in their release blog: https://typescript-eslint.io/blog/announcing-typescript-eslint-v7
It's a small major release that only updates some peer dependency version requirements:
- Requires Node.js >= 18.18, TypeScript >= 4.7.4, ESLint >= 8.56
vueuse/vueuse (@vueuse/components)
v13.2.0
🚀 Features
- computedAsync: Add option to control watcher's flush timing - by @ferferga in https://github.com/vueuse/vueuse/issues/4746 (b1bc8)
- useFileDialog: Allow custom input element for file dialog - by @ishakhorski in https://github.com/vueuse/vueuse/issues/4679 (0ea16)
- useScroll: Add missing measure documentation - by @Matkolit and Mateusz Kołodziej in https://github.com/vueuse/vueuse/issues/4727 (dd98a)
-
useStyleTag: Support passing
nonce
- by @1-dilikelei and 董梁玮 in https://github.com/vueuse/vueuse/issues/4749 (fa2c0) - watchOnce: Use vue's native once behaviour - by @ferferga in https://github.com/vueuse/vueuse/issues/4750 (08f7d)
🐞 Bug Fixes
- Allow vertical scroll in usePointerSwipe - by @2nofa11 in https://github.com/vueuse/vueuse/issues/4637 and https://github.com/vueuse/vueuse/issues/4720 (d3ed6)
- Always mount listeners in useStorage - by @43081j in https://github.com/vueuse/vueuse/issues/4730 (65a99)
- UseArrayFindReturn: Missing template type - by @michaelcozzolino in https://github.com/vueuse/vueuse/issues/4715 (43903)
-
computedAsync: Return
ComputedRef<T>
type whenlazy: true
- by @ferferga in https://github.com/vueuse/vueuse/issues/4751 (b1718) - docs: Grammar in /packages/nuxt/README.md - by @neeko-cat in https://github.com/vueuse/vueuse/issues/4701 (44b40)
- fromEvent: Fix type error of element reference - by @ywenhao and @antfu in https://github.com/vueuse/vueuse/issues/4728 (94fea)
- onClickOutside: Workaround for iOS - by @ferferga in https://github.com/vueuse/vueuse/issues/4735 (1c60c)
- useElementSize: Component type warning - by @menghany in https://github.com/vueuse/vueuse/issues/4722 (9889f)
- useEventSource: Add missing data generic - by @OrbisK in https://github.com/vueuse/vueuse/issues/4726 (a969e)
- useFullscreen: Get the correct initial state while mounted - by @ben-lau and liubaobin in https://github.com/vueuse/vueuse/issues/4745 (09cbd)
- useMagicKeys: Correctly clear current pressed keys when releasing Shift - by @Kedlingar and Skstud5 in https://github.com/vueuse/vueuse/issues/4731 (ab7ac)
View changes on GitHub
v13.1.0
🚀 Features
- shared: Ensure return types exists - by @OrbisK in https://github.com/vueuse/vueuse/issues/4659 (c1d6e)
- useSortable: Add possibility to use it with Component ref - by @michaelcozzolino in https://github.com/vueuse/vueuse/issues/4684 (15917)
🐞 Bug Fixes
- docs: Blog moved to different domain - by @th1m0 in https://github.com/vueuse/vueuse/issues/4663 (72c9a)
-
nuxt: Don't require
@vueuse/core
installed at root - by @danielroe in https://github.com/vueuse/vueuse/issues/4698 (17a46) - tryOnMounted: Pass target to getLifeCycleTarget - by @Eazash in https://github.com/vueuse/vueuse/issues/4685 (16551)
-
useDropZone: Allow passing
document
as target - by @osbre in https://github.com/vueuse/vueuse/issues/4681 (21fa6)
View changes on GitHub
v13.0.0
🚨 Breaking Changes
- Drop CJS build, now it's ESM-only - by @antfu in https://github.com/vueuse/vueuse/issues/4581 (5e046)
View changes on GitHub
v12.8.2
🐞 Bug Fixes
View changes on GitHub
v12.8.1
🐞 Bug Fixes
- useEventSource: Remove readonly to not be breaking - by @OrbisK in https://github.com/vueuse/vueuse/issues/4645 (79fcb)
View changes on GitHub
v12.8.0
🚀 Features
- nuxt: Support wider Nuxt range - by @antfu (c478e)
-
types: Deprecate
MaybeRef
andMaybeRefOrGetter
in favor of Vue's native - by @ilyaliao and @antfu in https://github.com/vueuse/vueuse/issues/4636 (7432f) -
useCached: Add
options.deepRefs
- by @OrbisK and @antfu in https://github.com/vueuse/vueuse/issues/4591 (9afee) -
useWebSocket: Pass the
retried
to theautoReconnect.retries
- by @9romise and @OrbisK in https://github.com/vueuse/vueuse/issues/4604 (73e6d)
🐞 Bug Fixes
- onStartTyping: Incorrect accepted valid characters - by @Bernard-Borg in https://github.com/vueuse/vueuse/issues/4616 (58a3b)
- useAnimate: Correct condition for updating keyframes - by @Mrlilili and liyan1 in https://github.com/vueuse/vueuse/issues/4619 (e8665)
- useClipboard: Unhandled rejection on read permission prompt - by @Vitalis11 in https://github.com/vueuse/vueuse/issues/4615 (a54c4)
-
useCssVar: Update
variable
when initial - by @ilyaliao in https://github.com/vueuse/vueuse/issues/4641 (d680f) -
useDeviceList: AudioInputs doesn't update if camera permission is
granted
- by @Nikitatopodin and Никита Быковский in https://github.com/vueuse/vueuse/issues/4559 (f9685) - useScroll: Handle negative scroll values - by @ilyaliao and eavlee in https://github.com/vueuse/vueuse/issues/4613 (4b7ab)
- useWebSocket: Don't call close() on pongTimeout if connection al… - by @Azurency in https://github.com/vueuse/vueuse/issues/4608 (9ba07)
View changes on GitHub
v12.7.0
🚀 Features
-
useRafFn: Add
once
option - by @btea in https://github.com/vueuse/vueuse/issues/4583 (3041e)
🐞 Bug Fixes
-
useFetch: Partial overwrite when
{combination: 'overwrite'}
- by @pkc918 and @antfu in https://github.com/vueuse/vueuse/issues/4430 (3ca0d) - useTextareaAutosize: Improve resize handling with requestAnimationFrame - by @ilyaliao, Robin and @antfu in https://github.com/vueuse/vueuse/issues/4557 (e1a7e)
View changes on GitHub
v12.6.1
No significant changes
View changes on GitHub
v12.6.0
🚀 Features
- createReusableTemplate: Explicit props - by @antfu in https://github.com/vueuse/vueuse/issues/4535 (18031)
-
onClickOutside: Add
controls
- by @sibbng and @antfu in https://github.com/vueuse/vueuse/issues/4537 (ab116) -
useDateFormat: Add
z...zzzz
for timezone information - by @OrbisK in https://github.com/vueuse/vueuse/issues/4553 (cd6d7) -
useElementVisibility: Add
once
options - by @ilyaliao in https://github.com/vueuse/vueuse/issues/4577 (f2f94) - useTimtoutFn,useTimeoutPoll: Align behavior - by @ilyaliao in https://github.com/vueuse/vueuse/issues/4543 (64c53)
-
watchPausable: Add
options.initialState
to control the initial active value - by @OrbisK in https://github.com/vueuse/vueuse/issues/4533 (ceb56)
🐞 Bug Fixes
- createEventHook: Type check for multiple arguments - by @isimehmeti and @ilyaliao in https://github.com/vueuse/vueuse/issues/4555 (636b8)
- nuxt: Check if packages exist in any layer - by @dgrayvold in https://github.com/vueuse/vueuse/issues/4571 (45e5c)
-
reactiveComputed: Computed fn should be
ComputedGetter
- by @OrbisK in https://github.com/vueuse/vueuse/issues/4528 (bea31) - useAnimate: Clear animate when element is gone - by @babu-ch in https://github.com/vueuse/vueuse/issues/4579 (1a934)
-
useCountdown:
start()
should accept a custom initial value - by @ralacerda in https://github.com/vueuse/vueuse/issues/4554 (93591) - useCssVar: New Behavior - by @ilyaliao and OrbisK in https://github.com/vueuse/vueuse/issues/4500 (d5dd8)
-
useMouse: Check for
MouseEvent
instead ofTouch
to work with FF - by @OrbisK and @antfu in https://github.com/vueuse/vueuse/issues/4457 (ce9e5) - useSpeechRecognition: Improve start and stop method behavior - by @ilyaliao in https://github.com/vueuse/vueuse/issues/4565 (4f104)
View changes on GitHub
v12.5.0
🚀 Features
- More passive event handlers - by @ferferga in https://github.com/vueuse/vueuse/issues/4484 (eddbf)
- Use
useEventListener
where it was not being used - by @ferferga in https://github.com/vueuse/vueuse/issues/4479 (c6c6e) - useClipboard: Should fall back to legacy clipboard when read/write fails - by @OrbisK in https://github.com/vueuse/vueuse/issues/4512 (01acd)
- useCountdown: New function - by @rtugeek, @huang-julien, Anthony Fu and @antfu in https://github.com/vueuse/vueuse/issues/4125 (69ced)
- useEventListener: Make all parameters arrayable and reactive - by @ferferga in https://github.com/vueuse/vueuse/issues/4486 (caf08)
-
useFetch: Add parameters to the
afterFetch
andonFetchError
- by @tolking and Anthony Fu in https://github.com/vueuse/vueuse/issues/4499 (98a83) - useFileDialog: Add initialFiles option - by @EvgenyWas in https://github.com/vueuse/vueuse/issues/4509 (8a8d6)
🐞 Bug Fixes
- debounceFilter: Invoke on maxWait with the latest invoker - by @43081j and @OrbisK in https://github.com/vueuse/vueuse/issues/4497 (48e0a)
- useMagicKeys: Fix key order issue on first use - by @babu-ch in https://github.com/vueuse/vueuse/issues/4505 (b6947)
- useVirtualList: Allow readonly arrays as input - by @RebeccaStevens in https://github.com/vueuse/vueuse/issues/4504 (f3cc7)
View changes on GitHub
v12.4.0
🚀 Features
- Use passive event handlers everywhere is possible - by @ferferga and @antfu in https://github.com/vueuse/vueuse/issues/4477 (dd316)
-
useCloned: Return
isModified
- by @pkc918 and @antfu in https://github.com/vueuse/vueuse/issues/4470 (6018c) - useStorage: Make storage key reactive - by @EvgenyWas and @antfu in https://github.com/vueuse/vueuse/issues/4464 (eb679)
🐞 Bug Fixes
- useBluetooth: IsConnected state not changed when disconnected - by @ilyaliao, @antfu and @ferferga in https://github.com/vueuse/vueuse/issues/4460 (fcc6e)
View changes on GitHub
v12.3.0
🚀 Features
-
onElementRemoval: New function, refactor
useActiveElement
useElementHover
- by @ben-lau and @antfu in https://github.com/vueuse/vueuse/issues/4410 (08cf5) - router: Support partial transform - by @alexchexes and @antfu in https://github.com/vueuse/vueuse/issues/4426 (bba3f)
- toArray: New utility function - by @coderwhytop and @antfu in https://github.com/vueuse/vueuse/issues/4432 (021d0)
-
toValue: Deprecate
toValue
from@vueuse/shared
in favor of Vue's native - by @antfu (59f75) -
useElementBounding: Added directive for
vElementBounding
- by @pkc918 in https://github.com/vueuse/vueuse/issues/4436 (67a9c) -
useMouseInElement: Added directive for
vMouseInElement
- by @pkc918 in https://github.com/vueuse/vueuse/issues/4438 (34be5) -
useMousePressed: Add
onPressed
andonReleased
as options - by @OrbisK in https://github.com/vueuse/vueuse/issues/4425 (a123a) -
useToNumber:
method
support custom function - by @btea and @antfu in https://github.com/vueuse/vueuse/issues/4441 (635bb) -
useWindowScroll: Use
useScroll
under the hood - by @OrbisK and @antfu in https://github.com/vueuse/vueuse/issues/4424 (a033e)
🐞 Bug Fixes
- useAxios: Narrow type of data when initialValue is provided - by @huang-julien and @antfu in https://github.com/vueuse/vueuse/issues/4419 (8502f)
- useClipboard,useClipboardItems: Avoid running "copied" timeout during initialization - by @Ingramz in https://github.com/vueuse/vueuse/issues/4299 (6860f)
- useDropZone: Validate all file types individually when dropping multiple files - by @LouisMazel in https://github.com/vueuse/vueuse/issues/4325 (b01cf)
- useFocusWithin: Correctly track the state when switching the focus of elements in the same container - by @ben-lau in https://github.com/vueuse/vueuse/issues/4394 (3ca0d)
-
useRouteQuery: Differentiate
undefined
andnull
when writing value - by @aa-ndrej and @antfu in https://github.com/vueuse/vueuse/issues/4382 (0cc45) - useSpeechRecognition: Execute 'start' when not ended - by @byronogis and @antfu in https://github.com/vueuse/vueuse/issues/4119 (890ab)
-
useStorageAsync: Correct initialization when
initialValue
is getter - by @Mini-ghost and @antfu in https://github.com/vueuse/vueuse/issues/4452 (e6a17) -
useTimeoutPoll:
immediate
default value should betrue
- by @phk422 and @antfu in https://github.com/vueuse/vueuse/issues/4232 (0450d) - useTimeoutPoll: Only start by default at client - by @antfu (a5fb0)
View changes on GitHub
v12.2.0
🚀 Features
-
useArrayDifference: New
symmetric
option - by @wangliangxin, wangliangxin3 and @antfu in https://github.com/vueuse/vueuse/issues/4146 (46fdc) -
useEventSource: New
autoConnect
option to align withuseWebSocket
- by @ferferga and @antfu in https://github.com/vueuse/vueuse/issues/4204 (230f8) - useImage: Support more native option - by @btea and @antfu in https://github.com/vueuse/vueuse/issues/4173 (4ca72)
- usePreferredReducedTransparency: Add new function - by @huiliangShen and @antfu in https://github.com/vueuse/vueuse/issues/4201 (34cd7)
🐞 Bug Fixes
- useWebSocket: Clear retryTimer when connected - by @ilyaliao and @antfu in https://github.com/vueuse/vueuse/issues/4383 (ffa00)
View changes on GitHub
v12.1.0
🚀 Features
-
createEventHook: Add
clear
function - by @ilyaliao in https://github.com/vueuse/vueuse/issues/4378 (40265) - useBase64: Add options for Data URL output control - by @ilyaliao and Jelf in https://github.com/vueuse/vueuse/issues/4316 (4b4bd)
- useDeviceMotion: Add permission controls, improve destructure - by @thefeymesaleng and @antfu in https://github.com/vueuse/vueuse/issues/4127 (cf729)
-
useElementVisibility: Add
rootMargin
option - by @dritter and @antfu in https://github.com/vueuse/vueuse/issues/4100 (3a928) - useMediaControls: Add 'media' option to define media query for resources - by @aaronLejeune in https://github.com/vueuse/vueuse/issues/4344 (209de)
- useRafFn: Allow framerate to be a reactive value - by @OrbisK and Anthony Fu in https://github.com/vueuse/vueuse/issues/4409 (4759f)
- useSSRWidth: Add optional support for SSR in useMediaQuery and useBreakpoints - by @Tofandel, Anthony Fu and @antfu in https://github.com/vueuse/vueuse/issues/4317 (55965)
-
useUrlSearchParams: Add
writeMode
options - by @ishakhorski, Ivan Shakhorski and @antfu in https://github.com/vueuse/vueuse/issues/4392 (2c972) -
useWebSocket: Introduce
autoConnect
options to control auto connections on url changes - by @ilyaliao and @antfu in https://github.com/vueuse/vueuse/issues/4417 (05e75) - useWebsocket: Support ref or getter as message - by @SnowGuest, Anthony Fu and @antfu in https://github.com/vueuse/vueuse/issues/4116 (a72c0)
-
useWindowSize: Add
type: visual
option that leveragevisualViewport
- by @huiliangShen and @antfu in https://github.com/vueuse/vueuse/issues/4395 (e78ef)
🐞 Bug Fixes
- injectLocal: Allow inject to app context - by @antfu (b08a9)
- useAsyncState: Use ShallowRef instead of Ref type - by @joris-gallot and Anthony Fu in https://github.com/vueuse/vueuse/issues/4294 (4d0a7)
- useDropZone: Update type to allow readonly array param - by @briankchan in https://github.com/vueuse/vueuse/issues/4319 (df363)
- useFetch: Handle empty payload - by @ilyaliao in https://github.com/vueuse/vueuse/issues/4366 (8a89d)
- useMediaQuery: The return value should be computed - by @alexzhang1030 and @antfu in https://github.com/vueuse/vueuse/issues/4403 (3af75)
- useRouteParams,useRouteQuery: Set route param/query to undefined when defaultValue is ref or getter - by @vojvodics and Anthony Fu in https://github.com/vueuse/vueuse/issues/3977 (23fdb)
- useScroll: To properly report arriveState for elastic scroll - by @719media and Anthony Fu in https://github.com/vueuse/vueuse/issues/4133 (90ff4)
- useTextareaAutosize: Make input required - by @axuj, @antfu and Anthony Fu in https://github.com/vueuse/vueuse/issues/4129 (25ed2)
- useWebNotification: Prevent notifications when checking for support - by @9romise in https://github.com/vueuse/vueuse/issues/4019 (01f92)
- useWebSocket: Close socket connection inside WebWorker fix - by @catz in https://github.com/vueuse/vueuse/issues/4229 (ece6a)
View changes on GitHub
v12.0.0
🚨 Breaking Changes
- Drop Vue 2 support, optimize bundles and clean up - by @antfu in https://github.com/vueuse/vueuse/issues/4349 (0a9ed)
[!NOTE] To Vue 3 users, v12.0.0 is equivalent to v11.3.0 on behaviors, only to remove some Vue 2 specific handling and will be slightly lighter. We expect future development to contain on v12.x and forward, and only backport if there are security issues. This means that VueUse would no longer be active on Vue 2 support.
View changes on GitHub
v11.3.0
🚀 Features
- OnClickOutside: Support component with fragments - by @ilyaliao in https://github.com/vueuse/vueuse/issues/4313 (fe322)
- router: Transform get / set - by @Akryum, Anthony Fu and @antfu in https://github.com/vueuse/vueuse/issues/4326 (65aa0)
- useFetch: Infer 'json' type for array payloads - by @WingSMC, Gergely Dremak and @antfu in https://github.com/vueuse/vueuse/issues/4329 (3d29c)
🐞 Bug Fixes
- useFetch: Ensure single slash - by @mrchar and @antfu in https://github.com/vueuse/vueuse/issues/4296 (3de68)
- useMouse: Record the previous scroll value - by @pkc918 and Anthony Fu in https://github.com/vueuse/vueuse/issues/4244 (e8d11)
- useMouse: Correct spelling error - by @pkc918 in https://github.com/vueuse/vueuse/issues/4348 (cceeb)
- useRouteParams, useRouteQuery: Effect triggers twice with object getter as watch source - by @jack-allocate and Anthony Fu in https://github.com/vueuse/vueuse/issues/4283 (44772)
- useSortable: Wrong order of elements - by @ilyaliao in https://github.com/vueuse/vueuse/issues/4332 (9e78e)
- useSwipe: Allow vertical scrolling during swipe - by @ilyaliao in https://github.com/vueuse/vueuse/issues/4323 (1bb54)
-
useUrlSearchParams:
hash
mode missinglocation.search
- by @Huodoo, 霍冬冬 and @antfu in https://github.com/vueuse/vueuse/issues/4340 (e77ca)
View changes on GitHub
v11.2.0
🚀 Features
- useBreakpoints: Add breakpoints for ElementUI/ElementPlus - by @AAABingBing and Anthony Fu in https://github.com/vueuse/vueuse/issues/4238 (f71e5)
- useMediaControls: Add playback error event - by @DarrenSG and Anthony Fu in https://github.com/vueuse/vueuse/issues/4253 (e1169)
🐞 Bug Fixes
- useArrayReduce: InitialValue can be a function - by @Mutter45 and Anthony Fu in https://github.com/vueuse/vueuse/issues/4243 (ae542)
- useDevicesList: Handle NotAllowedError on reject/close - by @espensgr and Anthony Fu in https://github.com/vueuse/vueuse/issues/4246 (bf0f2)
- useDropZone: Remove file kind restriction - by @jackcodetw in https://github.com/vueuse/vueuse/issues/4305 (1d661)
- useIntervalFn: Prevent timer being set after pause is called in cb - by @laporchen and Anthony Fu in https://github.com/vueuse/vueuse/issues/4258 (59f8c)
-
useManualRefHistory:
canUndo
andcanRedo
typing to be computed ref - by @roydukkey and Anthony Fu in https://github.com/vueuse/vueuse/issues/4261 (b46d2) - useWebSocket: Autoreconnect when ws close - by @jackcodetw in https://github.com/vueuse/vueuse/issues/4314 (08412)
View changes on GitHub
v11.1.0
🚀 Features
-
useCurrentElement: Try to infer type from
$el
- by @KazariEX in https://github.com/vueuse/vueuse/issues/4202 (8e141) - useDropZone: Add multiple prop to control multi-file drop - by @danngossinga and Dan T. Ngossinga in https://github.com/vueuse/vueuse/issues/4227 (3b94d)
-
useFileDialog: Return
onCancel
handler - by @AndreyYolkin in https://github.com/vueuse/vueuse/issues/4184 (30452)
🐞 Bug Fixes
- computedAsync: Type signature - by @ferferga in https://github.com/vueuse/vueuse/issues/4207 (45b18)
-
onClickOutside: Make
ignore
accept reactive values - by @CernyMatej in https://github.com/vueuse/vueuse/issues/4211 (aa5e3) - onClickOutside: Improve cross-browser compatibility - by @Onion-L and @antfu in https://github.com/vueuse/vueuse/issues/4185 (9e598)
- useArrayFilter: Match type to Array.prototype.filter - by @Jesse205 in https://github.com/vueuse/vueuse/issues/4175 (71fd1)
- useDraggable: Draggable component not work with container - by @huiliangShen in https://github.com/vueuse/vueuse/issues/4192 (7f25b)
- useFocusWithin: Make useFocusWhithin match the behavior of the :focus-within - by @ben-lau in https://github.com/vueuse/vueuse/issues/4134 (c5407)
- useInfiniteScroll: Stop watch when unmounted - by @zyyv in https://github.com/vueuse/vueuse/issues/4110 (f30cc)
-
useIntersectionObserver: Add
Document
type for root - by @phk422 in https://github.com/vueuse/vueuse/issues/4210 (6b584) -
useMouseInElement: Allow
el
to be instanceof Element - by @FRSgit in https://github.com/vueuse/vueuse/issues/4189 (4dcc2) - useNetwork: Return immutable values - by @rudnovd in https://github.com/vueuse/vueuse/issues/4187 (99179)
- useResizeObserver: Update type - by @phk422 in https://github.com/vueuse/vueuse/issues/4218 (044dd)
View changes on GitHub
v11.0.3
🚀 Features
- templateRef: Support specifying allowed keys via generic argument - by @zhiyuanzmj in https://github.com/vueuse/vueuse/issues/4162 (acce3)
🐞 Bug Fixes
- createSharedComposable: Handle the case where the return value of composable function is empty - by @XinXiaoIsMe in https://github.com/vueuse/vueuse/issues/4151 (a2441)
- useCssVar: Replace getComputedStyle with direct style property access - by @babu-ch in https://github.com/vueuse/vueuse/issues/4166 (d0523)
- useDropZone: Ensure files ref is updated even without onDrop callback - by @babu-ch in https://github.com/vueuse/vueuse/issues/4168 (1c849)
- usePermission: State setting - by @ferferga in https://github.com/vueuse/vueuse/issues/4167 (2aaa1)
- useWebSocket: Only reconnect if is the current ws socket - by @freakbite in https://github.com/vueuse/vueuse/issues/4161 (e0e99)
- useWebSocket: Should reset retry count when connection is established - by @freakbite in https://github.com/vueuse/vueuse/issues/4164 (3c2fc)
View changes on GitHub
v11.0.1
🐞 Bug Fixes
- usePermission: Fix memory leak - by @ferferga in https://github.com/vueuse/vueuse/issues/4157 (63a22)
- useStorage: Sync within the same document - by @ferferga in https://github.com/vueuse/vueuse/issues/4152 (a9b49)
View changes on GitHub
v11.0.0
🚨 Breaking Changes
-
useChangeCase: Migrate to
change-case@v5
, closes #3457 - by @wheatjs and @antfu in https://github.com/vueuse/vueuse/issues/3460 and https://github.com/vueuse/vueuse/issues/3457 (df343) -
useFuse: Upgrade
fuse.js
to v7 - by @antfu in https://github.com/vueuse/vueuse/issues/4036 (cb44c) -
useIntersectionObserver: Update the
threshold
default to 0 - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/4069 (13e36) -
useJwt: Upgrade
jwt-decode
to v4 - by @root5427 and @antfu in https://github.com/vueuse/vueuse/issues/3510 (9037d)
🚀 Features
-
integrations: Bump
drauu
anduniversal-cookie
major version - by @antfu (1c9ec) - useCssVars: Remove property on null/undefined - by @ferferga in https://github.com/vueuse/vueuse/issues/3821 (fe19c)
- useDateFormat: Locales is now reactive - by @OrbisK and @antfu in https://github.com/vueuse/vueuse/issues/3907 (4a7a8)
-
useDraggable: Add
buttons
option - by @DrJonki and @antfu in https://github.com/vueuse/vueuse/issues/4084 (e9938) -
useElementBounding: Add
updateTiming
option - by @DerZade and @antfu in https://github.com/vueuse/vueuse/issues/3869 (0fa17) - useElementHover: Add options to the directive - by @userquin and @antfu in https://github.com/vueuse/vueuse/issues/3897 (cf439)
- useFocusTrap: Support multiple refs - by @Sma11X in https://github.com/vueuse/vueuse/issues/4022 (83c41)
- useInfiniteScroll: Add a reset method - by @schelmo in https://github.com/vueuse/vueuse/issues/3892 (aefb6)
- usePermission: Add local-fonts permission - by @seanmcbroom, @antfu and autofix-ci[bot] in https://github.com/vueuse/vueuse/issues/4098 (5f584)
-
useResizeObserver: Added
vResizeObserver
directive - by @pkc918 in https://github.com/vueuse/vueuse/issues/4008 (d4310) -
useSpeechRecognition: Support
maxAlternatives
option - by @pkc918 in https://github.com/vueuse/vueuse/issues/4067 (9eda8) - useStorage: Conditionally use event based on the used storage backend - by @ferferga in https://github.com/vueuse/vueuse/issues/3822 (5a302)
- useWebSocket: Allow different heartbeat response message - by @lavolpecheprogramma and @antfu in https://github.com/vueuse/vueuse/issues/3950 (adbe0)
- useWindowSize: Add ability to get outer sizes of the window - by @khawarizmus and @antfu in https://github.com/vueuse/vueuse/issues/3999 (bfba3)
🐞 Bug Fixes
- computedWithControl: Allow optional oldValue parameter in computedWithControl getter - by @haoyun in https://github.com/vueuse/vueuse/issues/4132 (5725a)
- isDefined: Moves most specific overload to the top - by @bjacobgordon-cy in https://github.com/vueuse/vueuse/issues/4141 (fd884)
- until: Cleanup at next tick to avoid memory leak - by @Gianthard-cyh, @antfu and delaneyb in https://github.com/vueuse/vueuse/issues/4039 (8a023)
- useChangeCase: Use the exported key for filter - by @thyngster, autofix-ci[bot] and @antfu in https://github.com/vueuse/vueuse/issues/4130 (5c598)
- useColorMode, useDark: Fix full page reflows when calling useColorMode and useDark - by @jpleclerc, Jean-Philippe Leclerc and @antfu in https://github.com/vueuse/vueuse/issues/4001 (905b9)
- useEventListener: Event target can be an empty ref/getter - by @floryst in https://github.com/vueuse/vueuse/issues/4014 (edab6)
- useGamepad: Handle case where hapticActuators is not present - by @Aaron-zon in https://github.com/vueuse/vueuse/issues/4068 (0ca13)
-
useMouseInElement:
el.getBoundingClientRect
is not a function - by @loongzhu in https://github.com/vueuse/vueuse/issues/4056 (efe4d) - useMutationObserver: Stop watching before cleaning up - by @pimlie in https://github.com/vueuse/vueuse/issues/4037 (489a9)
-
useResizeObserver: Fix
target
is Ref Array - by @Alfred-Skyblue and @antfu in https://github.com/vueuse/vueuse/issues/4005 (1c124) - useRouteHash, useRouteParams, useRouteQuery: Fix effect triggering multiple times - by @aethr in https://github.com/vueuse/vueuse/issues/4113 (965bf)
-
useTextareaAutosize: Improve
triggerResize
triggering - by @Mutter45 and @antfu in https://github.com/vueuse/vueuse/issues/4074 (06c6f) - useWakeLock: Should delay wake lock request if document is hidden - by @KermanX in https://github.com/vueuse/vueuse/issues/4055 (5ca57)
- watchDeep: Unify overload declaration for watch functions - by @KazariEX and @antfu in https://github.com/vueuse/vueuse/issues/4043 (0716d)
🏎 Performance
-
useAnimate: Set
sync
false - by @JianJroh, @antfu and autofix-ci[bot] in https://github.com/vueuse/vueuse/issues/3916 (7b108)
View changes on GitHub
v10.11.1
No significant changes
View changes on GitHub
v10.11.0
🐞 Bug Fixes
View changes on GitHub
v10.10.1
🚀 Features
-
useFocus: Support
preventScroll
option - by @pkc918 in https://github.com/vueuse/vueuse/issues/3994 (4d868)
🐞 Bug Fixes
- makeDestructurable: Fix Typescript < 5.0.0 support - by @brenoepics in https://github.com/vueuse/vueuse/issues/4028 (842d7)
- useSpeechRecognition: Send correct transcript result - by @noook in https://github.com/vueuse/vueuse/issues/3891 (7c36f)
View changes on GitHub
v10.10.0
🚀 Features
- createInjectionState: Add defaultValue option - by @melishev in https://github.com/vueuse/vueuse/issues/3902 (fb468)
-
makeDestructurable: Support parameters without
as const
- by @enpitsuLin in https://github.com/vueuse/vueuse/issues/3971 (4ea13) - nuxt: Add router addon to nuxt module - by @Coiggahou2002 and rorycai in https://github.com/vueuse/vueuse/issues/3975 (2a77f)
-
onLongPress:
options.onMouseUp
callback - by @noook and Anthony Fu in https://github.com/vueuse/vueuse/issues/3791 (7346a) -
useActiveElement: Add
triggerOnRemoval
option - by @alexzhang1030 and @antfu in https://github.com/vueuse/vueuse/issues/3958 (f3515) -
useEventSource: Return
lastEventId
- by @pkc918 in https://github.com/vueuse/vueuse/issues/3984 (29bc6) - useTimeout: Target support reactivity - by @huiliangShen and banruo in https://github.com/vueuse/vueuse/issues/3923 (4eede)
- useWebWorkerFn: Support local function dependencies - by @thefeymesaleng in https://github.com/vueuse/vueuse/issues/3899 (f4028)
🐞 Bug Fixes
-
nuxt: Opt in to
import.meta.*
properties - by @danielroe in https://github.com/vueuse/vueuse/issues/3888 (1558c) -
useAnimate:
commitStyles
when finish - by @a1mersnow in https://github.com/vueuse/vueuse/issues/3990 (fba4e) - useDisplayMedia: Stop stream when screen is not shared anymore - by @robertrosman in https://github.com/vueuse/vueuse/issues/3976 (a3c6f)
- useDraggable: Should ignore right clicks - by @Justineo in https://github.com/vueuse/vueuse/issues/3850 (9f10a)
- useElementSize: Use getBoundingClientRect get element size on SVG - by @siaikin in https://github.com/vueuse/vueuse/issues/3940 (d8015)
- useFileDialog: Check if input value exists before trigger onChange - by @jinkaiqin in https://github.com/vueuse/vueuse/issues/3972 (424a2)
- useGamepad: Avoid spread to fix gamepad state - by @yue4u in https://github.com/vueuse/vueuse/issues/3913 (2ccbd)
- useMediaControls: Target params may not be ref - by @huiliangShen in https://github.com/vueuse/vueuse/issues/3921 (1fe2f)
-
useMounted: The second argument in vue2.7 should be
undefined
- by @yanbowe, @antfu and Glandos in https://github.com/vueuse/vueuse/issues/3830 (7966b) - useRouteParams: Support optional params - by @huiliangShen in https://github.com/vueuse/vueuse/issues/3934 (4a882)
- useScroll: Sync scroll val to internal state, fix #3809 - by @kongmoumou in https://github.com/vueuse/vueuse/issues/3817 and https://github.com/vueuse/vueuse/issues/3809 (317ca)
- useScrollLock: Function unlock does not work - by @loongzhu in https://github.com/vueuse/vueuse/issues/3847 (d9ee4)
- useTextareaAutosize: OnResize callback fires not only on resize - by @huiliangShen and banruo in https://github.com/vueuse/vueuse/issues/3887 (a6ede)
- useVirtualList: Add containerRef to watch list - by @eliamartani in https://github.com/vueuse/vueuse/issues/3855 (4636f)
-
useWebNotification: Detect
isSupported
with try-catch - by @9romise in https://github.com/vueuse/vueuse/issues/3980 (b291c) - useWebSocket: UrlRef changes were not being tracked - by @ferferga in https://github.com/vueuse/vueuse/issues/3870 (c2f92)
View changes on GitHub
v10.9.0
🚀 Features
- whenever: Override once option - by @chizukicn in https://github.com/vueuse/vueuse/issues/3800 (bd946)
🐞 Bug Fixes
- useActiveElement/useFocusWithin: Replace computedWithControl with locally tracked ref - by @jaketig in https://github.com/vueuse/vueuse/issues/3815 (b1426)
- useClipboard: Fix issue when permission is not defined - by @Mister-Hope in https://github.com/vueuse/vueuse/issues/3812 (a9f02)
- useIDBKeyval: Use toRaw instead of overriding the original object - by @ferferga in https://github.com/vueuse/vueuse/issues/3805 (1b67d)
- useMounted: Compatible with vue2.7 - by @yanbowe in https://github.com/vueuse/vueuse/issues/3802 (ee297)
- useScrollLock: InitialOverflow is not working - by @BJ0815 in https://github.com/vueuse/vueuse/issues/3798 (74e86)
View changes on GitHub
v10.8.0
🚀 Features
- createInjectionState: InjectionKey use composable name - by @zhangxuyang950313 in https://github.com/vueuse/vueuse/issues/3788 (c2cfd)
- nuxt: Move to ESM-first and fix types - by @userquin in https://github.com/vueuse/vueuse/issues/3606 (b3d74)
- throttleFilter: Support object as argument - by @17359898647 and Anthony Fu in https://github.com/vueuse/vueuse/issues/3722 (66d09)
-
useAxios: Support
abortPrevious
option - by @jahnli and @antfu in https://github.com/vueuse/vueuse/issues/3735 (b94de) - useBreakpoints: Enable passing ref or getter to get breakpoints - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3621 (d3317)
-
useBreakpoints: Add
strategy
option to allow desktop-first convention - by @jack-allocate and @antfu in https://github.com/vueuse/vueuse/issues/3783 (15fc0) -
useBreakpoints: Add
active
getter, add breakpoints for Vuetify v3 - by @altrusl, @Doctor-wu and @antfu in https://github.com/vueuse/vueuse/issues/3687 (3ae45) - useCurrentElement: Allow get current element from a specific component - by @linspw and @antfu in https://github.com/vueuse/vueuse/issues/3750 (0a9aa)
-
useCycleList: Add
go
function - by @Jokerzhzh and @antfu in https://github.com/vueuse/vueuse/issues/3615 (2ae36) - useDraggable: Add disabled parameter - by @huiliangShen and banruo in https://github.com/vueuse/vueuse/issues/3613 (dee9a)
-
useEventSource: Add
autoReconnect
andimmediate
to options, update typings - by @schelmo in https://github.com/vueuse/vueuse/issues/3793 (b33ab) - useMutationObserver: Allow multiple targets - by @chirokas in https://github.com/vueuse/vueuse/issues/3741 (98fac)
- useParallax: Can work with different screen orientation - by @huiliangShen and banruo in https://github.com/vueuse/vueuse/issues/3675 (3fd94)
-
useTextareaAutosize: Allow configuring
styleProp
to support nativerows
attribute - by @yakudik, alexander.kudinov, Anthony Fu and @antfu in https://github.com/vueuse/vueuse/issues/3552 (5025e)
🐞 Bug Fixes
- Stricter types - by @antfu (a086e)
- createReusableTemplate: Improve types - by @louiss0, louiss0, Anthony Fu and @antfu in https://github.com/vueuse/vueuse/issues/3641 (75168)
- useAnimate: Immediate option set false not working - by @huiliangShen, banruo and Anthony Fu in https://github.com/vueuse/vueuse/issues/3763 (12c09)
- useCloned: Correct return type - by @17359898647 in https://github.com/vueuse/vueuse/issues/3711 (e262f)
-
useCounter: Allow
delta
to be negative - by @leewakin, @Doctor-wu and @antfu in https://github.com/vueuse/vueuse/issues/3650 (cf29c) - useDraggable: Avoid moving out of container - by @wangliangxin and wangliangxin3 in https://github.com/vueuse/vueuse/issues/3768 (55b94)
- useElementVisiblity: Can configurable threshold - by @huiliangShen and @Doctor-wu in https://github.com/vueuse/vueuse/issues/3715 (ce9bb)
-
useFetch: Mark
isFinished
,isFetching
readonly - by @baboon-king and @antfu in https://github.com/vueuse/vueuse/issues/3616 (31d4a) - useFetch: Remove unnecessary spread operator in iterable conversion - by @BlackCrowxyz in https://github.com/vueuse/vueuse/issues/3660 (f5587)
- useFileSystemAccess: UpdateData on modified file - by @PhE in https://github.com/vueuse/vueuse/issues/3780 (668ca)
- useGamepad: Explicitly ensure gamepad index is available - by @AntoninRousset and AntoninRousset in https://github.com/vueuse/vueuse/issues/3653 (8c735)
- useGamepad: Improve data updating logic - by @okydk in https://github.com/vueuse/vueuse/issues/3775 (9b8ed)
- useMounted: Hold the instance, close #3785, close #3795 - by @antfu in https://github.com/vueuse/vueuse/issues/3785 and https://github.com/vueuse/vueuse/issues/3795 (2f66e)
-
useRafFn: Fix
fpsLimit
option, fix #3481, close #3482 - by @antfu in https://github.com/vueuse/vueuse/issues/3481 and https://github.com/vueuse/vueuse/issues/3482 (69990) - useResizeObserver: Do not watch deep to avoid cicular calls - by @birdxiao, birdxiao and @antfu in https://github.com/vueuse/vueuse/issues/3753 (48421)
- useRouteParams,useRouteQuery: Set route param/query to undefined when null or defaultValue - by @mtdvlpr and @antfu in https://github.com/vueuse/vueuse/issues/3583 (c44fe)
-
useScroll: Add
onError
hook and avoid throws by default, fix #3580 - by @steklopod, @antfu and Brendo Maciel in https://github.com/vueuse/vueuse/issues/3605 and https://github.com/vueuse/vueuse/issues/3580 (fab86) - useStorage: Ensure setting value to null syncs to other instances - by @callumacrae and @antfu in https://github.com/vueuse/vueuse/issues/3737 (f7ea1)
- useUserMedia: Stop stream on scope dispose - by @Waleed-KH in https://github.com/vueuse/vueuse/issues/3757 (6d44d)
-
useWebSocket: Reset
wsRef
on close, fix #3706 - by @a982246809 and @Doctor-wu in https://github.com/vueuse/vueuse/issues/3707 and https://github.com/vueuse/vueuse/issues/3706 (9a47a) -
useWebSocket:
immediate
should only be applied once, close #3676 - by @antfu in https://github.com/vueuse/vueuse/issues/3676 (93b96)
View changes on GitHub
v10.7.2
🐞 Bug Fixes
- computedEager: Adapt to changes in vue3.4+ - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3689 (b6d8f)
-
nuxt: Move
nuxt
out of dependencies - by @antfu (866a1) - useAxios: Ignore undefined options - by @geektheripper, @Doctor-wu, @antfu and Doctorwu in https://github.com/vueuse/vueuse/issues/3662 (37eae)
- useBattery: Fake signal API support in some utilities - by @tachibana-shin and @Doctor-wu in https://github.com/vueuse/vueuse/issues/3634 (30245)
- useDraggable: Can not work well when parent element is scrollable - by @huiliangShen and banruo in https://github.com/vueuse/vueuse/issues/3692 (bdd79)
- useStorageAsync: Correct ssr handler - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3703 (c197e)
- useTimeAgo: Support custom UnitNames type for units field - by @nickmessing and @Doctor-wu in https://github.com/vueuse/vueuse/issues/3684 (1d6be)
View changes on GitHub
v10.7.1
🚀 Features
- syncRef: Enhance type - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3678 (dad66)
🐞 Bug Fixes
- Fix
tryOnMounted
in vue2 - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3658 (ce420) - nuxt: Stable optimizeDeps augmenting - by @antfu (98985)
- useDropzone: Avoid circular reference - by @diegopf in https://github.com/vueuse/vueuse/issues/3683 (15a38)
- useElementBounding: Trigger by css or style - by @huiliangShen in https://github.com/vueuse/vueuse/issues/3664 (70dbd)
- useIpcRenderer: Set explicit return type - by @antfu (dd820)
- useMouse: Handle Touch class compatibility for Firefox - by @elschilling in https://github.com/vueuse/vueuse/issues/3679 (5719b)
- useVirtualList: Ensure component applies overflow style - by @reubns in https://github.com/vueuse/vueuse/issues/3626 (286c3)
View changes on GitHub
v10.7.0
🚀 Features
- Upgrade deps - by @antfu in https://github.com/vueuse/vueuse/issues/3614 (fccf2)
- isIOS: Detect new iPad - by @Doctor-wu and @antfu in https://github.com/vueuse/vueuse/issues/3582 (47d2d)
-
onLongPress: Add
distanceThreshold
option - by @donaldxdonald and @antfu in https://github.com/vueuse/vueuse/issues/3578 (0e04a) - tryOnMounted: Support target arguement - by @tolking and @antfu in https://github.com/vueuse/vueuse/issues/3185 (f2aeb)
- useBreakpoints: Make parameters reactivity - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3592 (dc624)
- useFileDialog: Trigger onChange when reset - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3548 (7e2da)
-
useInfiniteScroll: Add the
canLoadMore
option - by @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/3558 (e780f) -
usePointerSwipe: Add
disableTextSelect
option - by @aminmokhtari94 in https://github.com/vueuse/vueuse/issues/3604 (fd67b) - useTitle: Restore title on unmounted - by @Doctor-wu and @antfu in https://github.com/vueuse/vueuse/issues/3570 (0ab76)
🐞 Bug Fixes
- createEventHook: Make createEventHook union type can be inferred correctly - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3569 (e48ca)
-
createEventHook:
trigger
should not ignore falsy values - by @romansp and @Alfred-Skyblue in https://github.com/vueuse/vueuse/issues/3561 (3733b) - syncRef: SyncRef typing issue for boolean - by @s-montigny-desautels in https://github.com/vueuse/vueuse/issues/3553 (acb2f)
-
useAxios: Reset
isAborted
value on success - by @17359898647 and @antfu in https://github.com/vueuse/vueuse/issues/3547 (4b159) - useDark: In Vue 2.6 mode.system is undefined - by @Teaghy, hguan and @antfu in https://github.com/vueuse/vueuse/issues/3562 (68688)
- useDropZone: Fix file types filter - by @getname1997 and @antfu in https://github.com/vueuse/vueuse/issues/3540 (8f42a)
- useElementVisibility: Use last intersection entry - by @ziolko-appfire, Mateusz Zieliński and @antfu in https://github.com/vueuse/vueuse/issues/3365 (07d39)
- useFetch: Immediately modify the status after the request is completed - by @tolking and @antfu in https://github.com/vueuse/vueuse/issues/3603 (3456d)
- useFetch: Clone 'Response' on reading - by @mymx2 and @antfu in https://github.com/vueuse/vueuse/issues/3607 and https://github.com/vueuse/vueuse/issues/3608 (8cbfd)
- useMemoize: Use shallowReactive to wrap Map - by @antfu (fecbe)
- useMousePressed: Change type of element parameter to MaybeComputedElementRef - by @4350pChris in https://github.com/vueuse/vueuse/issues/3566 (17f97)
- useOffsetPagination: Don't mutate props when it's readonly - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3581 (4dace)
- useScreenOrientation: Add fault tolerance to lock and unlock - by @satrong in https://github.com/vueuse/vueuse/issues/3575 (be3cc)
- useStorage: Fix undefined defaults - by @Doctor-wu in https://github.com/vueuse/vueuse/issues/3597 (04220)
View changes on GitHub
cypress-io/cypress (cypress)
v14.3.3
Changelog: https://docs.cypress.io/app/references/changelog#14-3-3
v14.3.2
Changelog: https://docs.cypress.io/app/references/changelog#14-3-2
v14.3.1
Changelog: https://docs.cypress.io/app/references/changelog#14-3-1
v14.3.0
Changelog: https://docs.cypress.io/app/references/changelog#14-3-0
v14.2.1
Changelog: https://docs.cypress.io/app/references/changelog#14-2-1
v14.2.0
Changelog: https://docs.cypress.io/app/references/changelog#14-2-0
v14.1.0
Changelog: https://docs.cypress.io/app/references/changelog#14-1-0
v14.0.3
Changelog: https://docs.cypress.io/app/references/changelog#14-0-3
v14.0.2
Changelog: https://docs.cypress.io/app/references/changelog#14-0-2
v14.0.1
Changelog: https://docs.cypress.io/app/references/changelog#14-0-1
v14.0.0
Changelog: https://docs.cypress.io/app/references/changelog#14-0-0
v13.17.0
Changelog: https://docs.cypress.io/app/references/changelog#13-17-0
v13.16.1
Changelog: https://docs.cypress.io/app/references/changelog#13-16-1
v13.16.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-16-0
v13.15.2
Changelog: https://docs.cypress.io/guides/references/changelog#13-15-2
v13.15.1
Changelog: https://docs.cypress.io/guides/references/changelog#13-15-1
v13.15.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-15-0
v13.14.2
Changelog: https://docs.cypress.io/guides/references/changelog#13-14-2
v13.14.1
Changelog: https://docs.cypress.io/guides/references/changelog#13-14-1
v13.14.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-14-0
v13.13.3
Changelog: https://docs.cypress.io/guides/references/changelog#13-13-3
v13.13.2
Changelog: https://docs.cypress.io/guides/references/changelog#13-13-2
v13.13.1
Changelog: https://docs.cypress.io/guides/references/changelog#13-13-1
v13.13.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-13-0
v13.12.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-12-0
v13.11.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-11-0
v13.10.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-10-0
v13.9.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-9-0
v13.8.1
Changelog: https://docs.cypress.io/guides/references/changelog#13-8-1
v13.8.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-8-0
v13.7.3
Changelog: https://docs.cypress.io/guides/references/changelog#13-7-3
v13.7.2
Changelog: https://docs.cypress.io/guides/references/changelog#13-7-2
v13.7.1
Changelog: https://docs.cypress.io/guides/references/changelog#13-7-1
v13.7.0
Changelog: https://docs.cypress.io/guides/references/changelog#13-7-0
v13.6.6
Changelog: https://docs.cypress.io/guides/references/changelog#13-6-6
v13.6.5
Changelog: https://docs.cypress.io/guides/references/changelog#13-6-5
kpdecker/jsdiff (diff)
v8.0.1
-
#610 Fixes types for
diffJson
which were broken by 8.0.0. The new bundled types in 8.0.0 only alloweddiffJson
to be passed string arguments, but it should've been possible to pass either strings or objects (and now is). Thanks to Josh Kelley for the fix.
v8.0.0
-
#580 Multiple tweaks to
diffSentences
:- tokenization no longer takes quadratic time on pathological inputs (reported as a ReDOS vulnerability by Snyk); is now linear instead
- the final sentence in the string is now handled the same by the tokenizer regardless of whether it has a trailing punctuation mark or not. (Previously, "foo. bar." tokenized to
["foo.", " ", "bar."]
but "foo. bar" tokenized to["foo.", " bar"]
- i.e. whether the space between sentences was treated as a separate token depended upon whether the final sentence had trailing punctuation or not. This was arbitrary and surprising; it is no longer the case.) - in a string that starts with a sentence end, like "! hello.", the "!" is now treated as a separate sentence
- the README now correctly documents the tokenization behaviour (it was wrong before)
-
#581 - fixed some regex operations used for tokenization in
diffWords
taking O(n^2) time in pathological cases -
#595 - fixed a crash in patch creation functions when handling a single hunk consisting of a very large number (e.g. >130k) of lines. (This was caused by spreading indefinitely-large arrays to
.push()
using.apply
or the spread operator and hitting the JS-implementation-specific limit on the maximum number of arguments to a function, as shown at https://stackoverflow.com/a/56809779/1709587; thus the exact threshold to hit the error will depend on the environment in which you were running JsDiff.) -
#596 - removed the
merge
function. Previously JsDiff included an undocumented function calledmerge
that was meant to, in some sense, merge patches. It had at least a couple of serious bugs that could lead to it returning unambiguously wrong results, and it was difficult to simply "fix" because it was unclear precisely what it was meant to do. For now, the fix is to remove it entirely. -
#591 - JsDiff's source code has been rewritten in TypeScript. This change entails the following changes for end users:
-
the
diff
package on npm now includes its own TypeScript type definitions. Users who previously used the@types/diff
npm package from DefinitelyTyped should remove that dependency when upgrading JsDiff to v8.Note that the transition from the DefinitelyTyped types to JsDiff's own type definitions includes multiple fixes and also removes many exported types previously used for
options
arguments to diffing and patch-generation functions. (There are now different exported options types for abortable calls - ones with atimeout
ormaxEditLength
that may give a result ofundefined
- and non-abortable calls.) See the TypeScript section of the README for some usage tips. -
The
Diff
object is now a class. Custom extensions ofDiff
, as described in the "Defining custom diffing behaviors" section of the README, can therefore now be done by writing aclass CustomDiff extends Diff
and overriding methods, instead of the old way based on prototype inheritance. (I think code that did things the old way should still work, though!) -
diff/lib/index.es6.js
anddiff/lib/index.mjs
no longer exist, and the ESM version of the library is no longer bundled into a single file. -
The
ignoreWhitespace
option fordiffWords
is no longer included in the type declarations. The effect of passingignoreWhitespace: true
has always been to makediffWords
just calldiffWordsWithSpace
instead, which was confusing, because that behaviour doesn't seem properly described as "ignoring" whitespace at all. The property remains available to non-TypeScript applications for the sake of backwards compatability, but TypeScript applications will now see a type error if they try to passignoreWhitespace: true
todiffWords
and should change their code to calldiffWordsWithSpace
instead. -
JsDiff no longer purports to support ES3 environments. (I'm pretty sure it never truly did, despite claiming to in its README, since even the 1.0.0 release used
Array.map
which was added in ES5.)
-
-
#601 -
diffJson
'sstringifyReplacer
option behaves more likeJSON.stringify
'sreplacer
argument now. In particular:- Each key/value pair now gets passed through the replacer once instead of twice
- The
key
passed to the replacer when the top-level object is passed in asvalue
is now""
(previously, wasundefined
), and thekey
passed with an array element is the array index as a string, like"0"
or"1"
(previously was whatever the key for the entire array was). Both the new behaviours match that ofJSON.stringify
.
-
#602 - diffing functions now consistently return
undefined
when called in async mode (i.e. with a callback). Previously, there was an odd quirk where they would returntrue
if the strings being diffed were equal andundefined
otherwise.
v7.0.0
Just a single (breaking) bugfix, undoing a behaviour change introduced accidentally in 6.0.0:
-
#554
diffWords
treats numbers and underscores as word characters again. This behaviour was broken in v6.0.0.
v6.0.0
This is a release containing many, many breaking changes. The objective of this release was to carry out a mass fix, in one go, of all the open bugs and design problems that required breaking changes to fix. A substantial, but exhaustive, changelog is below.
-
#497
diffWords
behavior has been radically changed. Previously, even withignoreWhitespace: true
, runs of whitespace were tokens, which led to unhelpful and unintuitive diffing behavior in typical texts. Specifically, even when two texts contained overlapping passages,diffWords
would sometimes choose to delete all the words from the old text and insert them anew in their new positions in order to avoid having to delete or insert whitespace tokens. Whitespace sequences are no longer tokens as of this release, which affects both the generated diffs and thecount
s.Runs of whitespace are still tokens in
diffWordsWithSpace
.As part of the changes to
diffWords
, a new.postProcess
method has been added on the baseDiff
type, which can be overridden in customDiff
implementations.diffLines
withignoreWhitespace: true
will no longer ignore the insertion or deletion of entire extra lines of whitespace at the end of the text. Previously, these would not show up as insertions or deletions, as a side effect of a hack in the base diffing algorithm meant to help ignore whitespace indiffWords
. More generally, the undocumented special handling in the core algorithm for ignored terminals has been removed entirely. (This special case behavior used to rewrite the final two change objects in a scenario where the final change object was an addition or deletion and itsvalue
was treated as equal to the empty string when compared using the diff object's.equals
method.) -
#500
diffChars
now diffs Unicode code points instead of UTF-16 code units. -
#508
parsePatch
now always runs in what was previously "strict" mode; the undocumentedstrict
option has been removed. Previously, by default,parsePatch
(and other patch functions that use it under the hood to parse patches) would accept a patch where the line counts in the headers were inconsistent with the actual patch content - e.g. where a hunk started with the header@@​ -1,3 +1,6 @​@​
, indicating that the content below spanned 3 lines in the old file and 6 lines in the new file, but then the actual content below the header consisted of some different number of lines, say 10 lines of context, 5 deletions, and 1 insertion. Actually trying to work with these patches usingapplyPatch
ormerge
, however, would produce incorrect results instead of just ignoring the incorrect headers, making this "feature" more of a trap than something actually useful. It's been ripped out, and now we are always "strict" and will reject patches where the line counts in the headers aren't consistent with the actual patch content. -
#435 Fix
parsePatch
handling of control characters.parsePatch
used to interpret various unusual control characters - namely vertical tabs, form feeds, lone carriage returns without a line feed, and EBCDIC NELs - as line breaks when parsing a patch file. This was inconsistent with the behavior of both JsDiff's owndiffLines
method and also the Unixdiff
andpatch
utils, which all simply treat those control characters as ordinary characters. The result of this discrepancy was that some well-formed patches - produced either bydiff
or by JsDiff itself and handled properly by thepatch
util - would be wrongly parsed byparsePatch
, with the effect that it would disregard the remainder of a hunk after encountering one of these control characters. -
#439 Prefer diffs that order deletions before insertions. When faced with a choice between two diffs with an equal total edit distance, the Myers diff algorithm generally prefers one that does deletions before insertions rather than insertions before deletions. For instance, when diffing
abcd
againstacbd
, it will prefer a diff that says to delete theb
and then insert a newb
after thec
, over a diff that says to insert ac
before theb
and then delete the existingc
. JsDiff deviated from the published Myers algorithm in a way that led to it having the opposite preference in many cases, including that example. This is now fixed, meaning diffs output by JsDiff will more accurately reflect what the published Myers diff algorithm would output. -
#455 The
added
andremoved
properties of change objects are now guaranteed to be set to a boolean value. (Previously, they would be set toundefined
or omitted entirely instead of setting them to false.) -
#464 Specifying
{maxEditLength: 0}
now sets a max edit length of 0 instead of no maximum. -
#460 Added
oneChangePerToken
option. -
#467 Consistent ordering of arguments to
comparator(left, right)
. Values from the old array will now consistently be passed as the first argument (left
) and values from the new array as the second argument (right
). Previously this was almost (but not quite) always the other way round. -
#480 Passing
maxEditLength
tocreatePatch
&createTwoFilesPatch
now works properly (i.e. returns undefined if the max edit distance is exceeded; previous behavior was to crash with aTypeError
if the edit distance was exceeded). -
#486 The
ignoreWhitespace
option ofdiffLines
behaves more sensibly now.value
s in returned change objects now include leading/trailing whitespace even whenignoreWhitespace
is used, just like how withignoreCase
thevalue
s still reflect the case of one of the original texts instead of being all-lowercase.ignoreWhitespace
is also now compatible withnewlineIsToken
. Finally,diffTrimmedLines
is deprecated (and removed from the docs) in favour of usingdiffLines
withignoreWhitespace: true
; the two are, and always have been, equivalent. -
#490 When calling diffing functions in async mode by passing a
callback
option, the diff result will now be passed as the first argument to the callback instead of the second. (Previously, the first argument was never used at all and would always have valueundefined
.) -
#489
this.options
no longer exists onDiff
objects. Instead,options
is now passed as an argument to methods that rely on options, likeequals(left, right, options)
. This fixes a race condition in async mode, where diffing behaviour could be changed mid-execution if a concurrent usage of the sameDiff
instances overwrote itsoptions
. -
#518
linedelimiters
no longer exists on patch objects; instead, when a patch with Windows-style CRLF line endings is parsed, the lines inlines
will end with\r
. There is now a newautoConvertLineEndings
option, on by default, which makes it so that when a patch with Windows-style line endings is applied to a source file with Unix style line endings, the patch gets autoconverted to use Unix-style line endings, and when a patch with Unix-style line endings is applied to a source file with Windows-style line endings, it gets autoconverted to use Windows-style line endings. -
#521 the
callback
option is now supported bystructuredPatch
,createPatch
, andcreateTwoFilesPatch
-
#529
parsePatch
can now parse patches where lines starting with--
or++
are deleted/inserted; previously, there were edge cases where the parser would choke on valid patches or give wrong results. -
#530 Added
ignoreNewlineAtEof
option todiffLines
-
#533
applyPatch
uses an entirely new algorithm for fuzzy matching. Differences between the old and new algorithm are as follows:- The
fuzzFactor
now indicates the maximum Levenshtein distance that there can be between the context shown in a hunk and the actual file content at a location where we try to apply the hunk. (Previously, it represented a maximum Hamming distance, meaning that a single insertion or deletion in the source file could stop a hunk from applying even with a highfuzzFactor
.) - A hunk containing a deletion can now only be applied in a context where the line to be deleted actually appears verbatim. (Previously, as long as enough context lines in the hunk matched,
applyPatch
would apply the hunk anyway and delete a completely different line.) - The context line immediately before and immediately after an insertion must match exactly between the hunk and the file for a hunk to apply. (Previously this was not required.)
- The
-
#535 A bug in patch generation functions is now fixed that would sometimes previously cause
\ No newline at end of file
to appear in the wrong place in the generated patch, resulting in the patch being invalid. These invalid patches can also no longer be applied successfully withapplyPatch
. (It was already the case that tools other than jsdiff, like GNUpatch
, would consider them malformed and refuse to apply them; versions of jsdiff with this fix now do the same thing if you ask them to apply a malformed patch emitted by jsdiff v5.) -
#535 Passing
newlineIsToken: true
to patch-generation functions is no longer allowed. (Passing it todiffLines
is still supported - it's only functions likecreatePatch
where passingnewlineIsToken
is now an error.) Allowing it to be passed never really made sense, since in cases where the option had any effect on the output at all, the effect tended to be causing a garbled patch to be created that couldn't actually be applied to the source file. -
#539
diffWords
now takes an optionalintlSegmenter
option which should be anIntl.Segmenter
with word-level granularity. This provides better tokenization of text into words than the default behaviour, even for English but especially for some other languages for which the default behaviour is poor.
v5.2.0
- #411 Big performance improvement. Previously an O(n) array-copying operation inside the innermost loop of jsdiff's base diffing code increased the overall worst-case time complexity of computing a diff from O(n²) to O(n³). This is now fixed, bringing the worst-case time complexity down to what it theoretically should be for a Myers diff implementation.
- #448 Performance improvement. Diagonals whose furthest-reaching D-path would go off the edge of the edit graph are now skipped, rather than being pointlessly considered as called for by the original Myers diff algorithm. This dramatically speeds up computing diffs where the new text just appends or truncates content at the end of the old text.
-
#351 Importing from the lib folder - e.g.
require("diff/lib/diff/word.js")
- will work again now. This had been broken for users on the latest version of Node since Node 17.5.0, which changed how Node interprets theexports
property in jsdiff'spackage.json
file. -
#344
diffLines
,createTwoFilesPatch
, and other patch-creation methods now take an optionalstripTrailingCr: true
option which causes Windows-style\r\n
line endings to be replaced with Unix-style\n
line endings before calculating the diff, just like GNUdiff
's--strip-trailing-cr
flag. -
#451 Added
diff.formatPatch
. -
#450 Added
diff.reversePatch
. -
#478 Added
timeout
option.
eslint-community/eslint-plugin-n (eslint-plugin-n)
v17.18.0
🌟 Features
- Allow to use
tryExtensions
in the ruleno-unpublished-import
(#429) (002ac9c) -
no-deprecated-api: Add support for
process.getBuiltinModule()
(#435) (fca7cf4) -
node-builtins: Add support for
process.getBuiltinModule()
(#433) (d4c7831) -
prefer-global: Add support for
process.getBuiltinModule()
(#436) (83aa3a7) -
prefer-node-protocol: Add support for
process.getBuiltinModule()
(#430) (9e97d8e) -
prefer-promises: Add support for
process.getBuiltinModule()
(#437) (6f5e81d)
🩹 Fixes
- false negatives for
https
inprefer-node-protocol
, and false negatives fornode:sqlite
innode-builtins
(#432) (bb21bd0)
v17.17.0
🌟 Features
-
allow-modules: include
virtual:
in the modules pattern (#425) (a109793) - node-builtin: Add support for import.meta properties (#420) (76fc219)
🩹 Fixes
-
no-unpublished:
allowModules
option was disabled when using TS alias (#423) (9ae39fb) - type errors (#427) (8e3c290)
v17.16.2
🩹 Fixes
v17.16.1
🩹 Fixes
🧹 Chores
v17.15.1
🩹 Fixes
v17.15.0
🌟 Features
- no-unsupported: support node 22.12.0 (#393) (af4f774)
- resolve: allow overriding enhanced-resolve's options (#384) (1466bec)
🩹 Fixes
v17.14.0
🌟 Features
- no-sync: Add ignores option (#386) (c8fbf00)
- no-unsupported: support Node 23.2.0 & 23.3.0 (#390) (a52c968)
v17.13.2
🩹 Fixes
v17.13.1
🩹 Fixes
v17.13.0
🌟 Features
🩹 Fixes
🧹 Chores
v17.12.0
🌟 Features
- no-unsupported: Support node 23.0.0 and 22.10.0 (#358) (0fd0350)
- no-unsupported: Support node 23.1.0 (#370) (06d60ae)
🩹 Fixes
-
no-unsupported:
getCallSite
is experimental (#363) (d15c63a) -
no-unsupported: support missing
process.features
(#362) (9552a4a) - update dependencies (#365) (bf34ca5)
🧹 Chores
v17.11.1
🩹 Fixes
v17.11.0
🌟 Features
-
no-missing-import: Add
ignoreTypeImport
options (#344) (e022aba) - no-process-env: Allow users to exclude specific variables (#345) (b16a475)
- Update no-unsupported to node v22.9.0 (#342) (87fb484)
🩹 Fixes
-
no-missing-import: Ignore node builtins in package.json
imports
(#346) (148e47e) - no-missing-import: Resolve tsconfig paths relative to the tsconfig (#343) (6cd7954)
📚 Documentation
v17.10.3
🩹 Fixes
📚 Documentation
v17.10.2
🩹 Fixes
v17.10.1
🩹 Fixes
v17.10.0
🌟 Features
- no-unsupported: Support node 20.16.0 (73e2bed)
- no-unsupported: Support node 22.3.0 and 20.16.0 (#315) (73e2bed)
- Update to node v22.4.0 (#310) (f7a74eb), closes #308
- Update to node v22.5.0 (#312) (2539c9d)
📚 Documentation
🧹 Chores
- upgrade compatible deps (8f6f11d)
v17.9.0
🌟 Features
v17.8.1
🩹 Fixes
v17.8.0
🌟 Features
🩹 Fixes
🧹 Chores
- add a test for self-ref (#280) (4f50dfe)
- update dependency markdownlint-cli to ^0.41.0 (#287) (0efe751)
v17.7.0
🌟 Features
- hashbang: Add support to map extensions to executables (#278) (3fd7639)
- node-builtin: Add node 20.13.0, 22.0.0, and 22.1.0 support (#276) (4a685c0)
🩹 Fixes
📚 Documentation
- node-builtins: Specify that only static properties are supported (#272) (735a520)
- Provide an example with eslint-plugin-n to Playground (#275) (cb8ffa6)
v17.6.0
🌟 Features
📚 Documentation
v17.5.1
🩹 Fixes
v17.5.0
🌟 Features
- import-target: Add resolution error reason (#264) (982a723)
- node-builtins: Add node globals (#261) (9466731)
🩹 Fixes
🧹 Chores
v17.4.0
🌟 Features
🩹 Fixes
🧹 Chores
v17.3.1
: Release 17.3.1
v17.3.0
🌟 Features
🩹 Fixes
🧹 Chores
v17.2.1
🩹 Fixes
🧹 Chores
- update dependency @typescript-eslint/typescript-estree to v7 (#236) (a0b45ee)
- update dependency eslint-plugin-eslint-plugin to v6 (#237) (7addf99)
v17.2.0
🌟 Features
-
no-missing-imports: add
tryExtensions
option (#228) (ae5329c) - no-unsupported-features: ✨ Update to node v20.12.0/v21.7.0 (#229) (a8d0539)
🩹 Fixes
-
stream/promises
is stable (02a264e) -
no-unsupported-features:
stream/promises
is stable (#235) (02a264e), closes #234
v17.1.0
🌟 Features
- add
name
to flat configs (#224) (24512a0) - import-target: Add resolution error reason (ed7b25c)
- remove "is-builtin-module" dependency (fixes #232) (#227) (03619ee)
📚 Documentation
v17.0.0
eslint-community/eslint-plugin-promise (eslint-plugin-promise)
v7.2.1
🩹 Fixes
🧹 Chores
- deps-dev: update husky to v9.1.7 (#573) (24fd90a)
- deps: bump cross-spawn from 7.0.3 to 7.0.6 (#568) (f33f82e)
v7.2.0
🌟 Features
-
no-callback-in-promise
: addtimeoutsErr
option (#514) (907753f) -
valid-params
: addexclude
option (#515) (7ff2cb9) -
always-return: add
ignoreAssignmentVariable
option (#518) (701279c) -
catch-or-return: add
allowThenStrict
option (#522) (53be970) - new rule
prefer-catch
(#525) (05c8a93)
🩹 Fixes
🧹 Chores
- deps-dev: bump eslint-plugin-jest from 28.6.0 to 28.8.0 (#536) (80741f8)
- deps-dev: bump eslint-plugin-n from 17.9.0 to 17.10.2 (#529) (a646010)
- deps-dev: bump globals from 15.8.0 to 15.9.0 (#527) (b8afe92)
- deps-dev: bump husky from 9.1.2 to 9.1.4 (#524) (b8fdb9f)
- deps-dev: bump lint-staged from 15.2.7 to 15.2.8 (#539) (9e2528f)
- deps-dev: update eslint-plugin-eslint-plugin to v6.3.0 (#560) (7459bd6)
- deps-dev: update eslint-plugin-eslint-plugin to v6.3.1 (#561) (434c6fa)
- deps-dev: update eslint-plugin-eslint-plugin to v6.3.2 (#570) (a849f64)
- deps-dev: update eslint-plugin-jest to v28.9.0 (#565) (cf213fb)
- deps-dev: update eslint-plugin-n to v17.12.0 (#563) (d39e2f0)
- deps-dev: update eslint-plugin-n to v17.13.0 (#566) (b62f234)
- deps-dev: update eslint-plugin-n to v17.13.1 (#567) (266ddbb)
- deps-dev: update eslint-plugin-n to v17.13.2 (#569) (390f51f)
- deps-dev: update npm-run-all2 to v6.2.4 (#558) (2cf1732)
- deps-dev: update npm-run-all2 to v6.2.6 (#559) (dc32933)
- deps: switch from dependabot to renovate using shared eslint community configuration (#537) (30efed7)
- deps: update @eslint-community/eslint-utils to v4.4.1 (#562) (5c3628d)
- deps: update globals to v15.12.0 (#564) (c8632d1)
- update @typescript-eslint/parser to v7.18.0 (#545) (5744e60)
- update dependency eslint-plugin-n to v17.11.0 (#556) (bbd048b)
- update dependency eslint-plugin-n to v17.11.1 (#557) (e545254)
- update dependency globals to v15.11.0 (#555) (9151db8)
- update dependency typescript to v5.6.3 (#554) (ab55120)
- update eslint to v8.57.1 (#551) (38e2757)
- update eslint-plugin-jest to v28.8.3 (#548) (89f2578)
- update eslint-plugin-n to v17.10.3 (#552) (2d738fe)
- update globals to v15.10.0 (#553) (b871314)
- update husky to v9.1.6 (#547) (1e8d18f)
- update lint-staged to v15.2.10 (#544) (7d46b3b)
- update npm-run-all2 to v6.2.3 (#550) (14cd4c0)
- update typescript to ~5.6.0 (#549) (ebcdd8b)
v7.1.0
🌟 Features
-
catch-or-return
,prefer-await-to-then
: do not report Cypress commands (#495) (943f162) -
prefer-await-to-then
: ignore constructor scope unless withstrict
option (#496) (7bffb7a) - new rule
spec-only
to check for non-spec Promise methods (#502) (d6e9de1)
📚 Documentation
🧹 Chores
- bump dev dependencies (#483) (197ae4e)
- deps-dev: bump husky from 9.1.1 to 9.1.2 (#516) (ab8e7a0)
- file extension missing (#519) (94c9834)
- fix format.yml (#507) (948c097)
v7.0.0
- feat!: Update node versions to align with eslint v9 (#505) (09d0650), closes #505 /github.com/eslint-community/eslint-plugin-promise/pull/484#issuecomment-2246887433 eslint-community/eslint-plugin-promise#504
BREAKING CHANGES
- Requires Node.js: ^18.18.0 || ^20.9.0 || >=21.1.0
v6.6.0
Bug Fixes
Features
v6.5.1
Bug Fixes
v6.5.0
Features
v6.4.0
Features
v6.3.0
Features
v6.2.0
Bug Fixes
Features
vuejs/eslint-plugin-vue (eslint-plugin-vue)
v10.1.0
✨ Enhancements
-
#2734 Improved
allowlist
option ofvue/no-bare-strings-in-template
rule to accept regex. -
#2736 Added
vue/define-props-destructuring
rule that enforce consistent style for props destructuring. -
#2685 Added
disallowComments
option tovue/no-multiple-template-root
rule.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v10.0.1...v10.1.0
v10.0.1
🐛 Bug Fixes
-
#2700 Fixed incorrect type for
.eslintrc
configs. -
#2703 Fixed false negatives for multiple script blocks in
vue/prefer-use-template-ref
rule. -
#2726 Fixed false positives for tagged template expressions in
vue/no-ref-as-operand
rule. -
#2728 Fixed false negatives for props destructure in
vue/require-default-prop
rule. -
#2731 Fixed false positives for renamed props in
vue/no-dupe-keys
rule.
⚙️ Updates
-
#2701 Improved the report location for
vue/no-export-in-script-setup
rule. -
#2724 Improved the report location for
vue/html-self-closing
rule.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v10.0.0...v10.0.1
v10.0.0
💥 Breaking changes
-
#2630 Changed Versioning Policy:
- Allow minor versions of this plugin to enhance the checks for new features in Vue and Nuxt.
- Allow updating deprecated/reserved HTML+SVG element tag names in minor versions, see #2171.
- #2645 Removed deprecated rules (see removed rules).
-
#2669 Dropped support for old versions of ESLint and Node.js. New minimum requirements:
- Node.js:
^18.18.0 || ^20.9.0 || >=21.1.0
- ESLint:
^8.57.0 || ^9.0.0
- Node.js:
- Updated configs:
-
#2627 Added
vue/block-order
rule to recommended configs (replaces the removedvue/component-tags-order
rule). -
#2628 Added
vue/no-deprecated-delete-set
rule to vue3-essential config. -
#2629 Added
vue/no-deprecated-model-definition
rule to vue3-essential config. -
#2640 Added
vue/no-required-prop-with-default
rule to recommended configs. -
#2653 Added
vue/valid-define-options
rule to vue3-essential config. - #2674 Removed globals from configs. You may need to configure them manually now, see https://eslint.org/docs/latest/use/configure/language-options#predefined-global-variables.
-
#2648 Renamed
.eslintrc
configs (to matcheslint.config.js
config names; see MR for comparison). -
#2668 Changed
.eslintrc
base config so that vue-eslint-parser is only used for.vue
files.
-
#2627 Added
- #2670 Changed vue-eslint-parser to peer dependency.
-
#2697 Upgraded vue-eslint-parser to v10.
- This includes https://github.com/vuejs/vue-eslint-parser/pull/195, which should make the parser much faster for large TypeScript projects :zap:
-
#2153 Added
slots
andexpose
to the default order ofvue/order-in-components
rule. -
#2626 Removed legacy option from
vue/custom-event-name-casing
rule. -
#2655 Removed unused
runOutsideVue
option fromvue/sort-keys
rule. -
#2652 Removed
setup-compiler-macros
environments.
✨ Enhancements
- #2693 Improved type resolution for generic types and improved the rules for checking type-only macros.
-
#2684 Added
vue/no-import-compiler-macros
rule that disallows importing Vue compiler macros. -
#2694 Added
except
option tovue/prefer-true-attribute-shorthand
rule. -
#2311 Improved the plugin to check for objects declared with Nuxt3
defineNuxtComponent()
.
⚙️ Updates
- #2171 Updated resources.
- #2675 Deprecated Vue 2 only rules. They will be removed in eslint-plugin-vue v11.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.33.0...v10.0.0
v9.33.0
✨ Enhancements
-
#2639 Added
vue/no-implicit-coercion
rule to disallow shorthand type conversions in<template>
. -
#2680 Improved
vue/no-ref-as-operand
rule to checkemit
payloads. -
#2679 Added
ignoreProps
option tovue/prop-name-casing
rule.
🐛 Bug Fixes
-
#2636 Fixed crash in
vue/prefer-use-template-ref
rule whensetup
is an arrow function. -
#2682 Fixed regex matching order in
vue/no-bare-strings-in-template
rule. -
#2683 Fixed false positives for union type prop definitions in
vue/max-props
rule.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.32.0...v9.33.0
v9.32.0
✨ Enhancements
-
#2598 Added
checkMultiRootNodes
option tovue/no-duplicate-attr-inheritance
rule and changed to ignore multi-root components by default. -
#2610 Added
ignoreElementNamespaces
option tovue/no-v-text-v-html-on-component
rule. -
#2609 Added
ignoreTags
option tovue/attribute-hyphenation
rule andvue/v-on-event-hyphenation
rule. -
#2611 Added
vue/restricted-component-names
rule that enforces using only specific component names. -
#2620 Added
vue/slot-name-casing
rule that enforces specific casing for slot names. -
#2617 Added support for type references in
vue/require-explicit-slots
rule. -
#2608 Added support for
shallowRef
invue/prefer-use-template-ref
rule.
🐛 Bug Fixes
-
#2612 Changed
vue/prefer-use-template-ref
rule to only check root-level variables.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.31.0...v9.32.0
v9.31.0
✨ Enhancements
-
#2594 Added
caseSensitive
option tovue/no-reserved-component-names
rule. -
#2554 Added
vue/prefer-use-template-ref
rule that requires usinguseTemplateRef()
instead ofref()
for template refs. -
#2595 Made
vue/no-empty-component-block
rule auto-fixable.
🐛 Bug Fixes
-
#2591 Fixed false positives for
v-bind:name
invue/require-explicit-slots
rule.
⚙️ Updates
-
#2593 Updated
vue/define-macros-order
rule to skip TypeScriptdeclare
statements.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.30.0...v9.31.0
v9.30.0
🐛 Bug Fixes
-
#2585 Fixed
vue/custom-event-name-casing
rule to checkdefineEmits()
variable and$emit()
in<template>
. -
#2586 Fixed false negatives and false positives in
vue/require-valid-default-prop
rule.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.29.1...v9.30.0
v9.29.1
🐛 Bug Fixes
- #2572 Fixed index.d.ts
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.29.0...v9.29.1
v9.29.0
✨ Enhancements
New Rules
-
#2540 Added
vue/no-deprecated-delete-set
rule that disallows using deprecated$delete
and$set
.
Others
-
#2513 Added support for Vuex and Pinia to
vue/no-undef-properties
rule. -
#2541 Added support for Vue 3.5's
useTemplateRef()
tovue/no-unused-refs
rule. - Added support for Vue 3.5's props destructure to various rules:
-
#2551 to
vue/require-valid-default-prop
rule. -
#2552 to
vue/require-default-prop
rule. -
#2553 to
vue/no-boolean-default
rule. -
#2560 to
vue/no-required-prop-with-default
rule. -
#2562 to
vue/no-restricted-props
rule. -
#2550 to
vue/no-setup-props-reactivity-loss
rule.
-
#2551 to
⚙️ Updates
- #2528, #2566 Added TypeScript declarations for configs.
-
#2565 Added support for recognizing Vue components in
.tsx
files.
v9.28.0
✨ Enhancements
New Rules
-
#2430 Added
vue/max-props
rule that enforces the maximum number of props in Vue components. -
#2494 Added
vue/require-default-export
rule that requires components to be thedefault
export. -
#2525 Added
vue/max-template-depth
rule that enforces the maximum depth of<template>
.
New Features
-
#2501 Allow specifying custom macros in
vue/define-macros-order
rule. -
#2537 Added
additionalDirectives
option tovue/require-toggle-inside-transition
rule.
🐛 Bug Fixes
-
#2348 Fixed false positives/negatives for siblings in
vue/v-if-else-key
rule. -
#2505 Fixed false positives for JavaScript components in
vue/require-typed-object-prop
rule. -
#2511 Fixed false negatives for
v-model
directive invue/attribute-hyphenation
rule. -
#2533 Fixed auto-fix for
vue/attribute-hyphenation
rule to skipv-bind.sync
. -
#2529 Fixed auto-fix for
vue/no-deprecated-slot-attribute
rule to handlev-for
with dynamicslot
. -
#2530 Fixed auto-fix for
vue/no-deprecated-slot-attribute
rule to skip dynamic components.
⚙️ Updates
- #2498 Renamed flat config names for inspector.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.27.0...v9.28.0
v9.27.0
✨ Enhancements
-
#2487 Improved
vue/require-toggle-inside-transition
rule to understandv-bind:appear
.
🐛 Bug Fixes
-
#2489 Fixed false negatives for elements inside template literals in
vue/no-setup-props-reactivity-loss
rule.
⚙️ Updates
- #2476 Added name property to flat configs.
- #2488 Upgraded vue-eslint-parser to v9.4.3.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.26.0...v9.27.0
v9.26.0
✨ Enhancements
-
#2457 Improved some rules to understand MathML elements:
vue/component-name-in-template-casing
vue/no-deprecated-html-element-is
vue/no-undef-components
vue/no-unused-components
-
vue/script-setup-uses-vars
(note that this rule is deprecated!)
🐛 Bug Fixes
-
#2456 Fixed
vue/require-default-prop
rule to ignore the spread and continue checking. -
#2427 Fixed
vue/require-typed-ref
rule to ignore<script>
blocks withoutlang="ts"
in.vue
files.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.25.0...v9.26.0
v9.25.0
✨ Enhancements
-
#2441 Added support for Pinia methods to
vue/no-unused-properties
rule.
🐛 Bug Fixes
-
#2438 Improved
vue/no-use-computed-property-like-method
rule to understand logical expressions. -
#2435 Fixed false negatives for props in template in
vue/no-unused-properties
rule.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.24.1...v9.25.0
v9.24.1
⚙️ Updates
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.24.0...v9.24.1
v9.24.0
✨ Enhancements
- #2407, #2436 Added support for the flat config format.
🐛 Bug Fixes
-
#2425 Fixed error for empty value in
vue/no-restricted-class
rule
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.23.0...v9.24.0
v9.23.0
✨ Enhancements
-
#2422 Added support for auto-imported Vue APIs (e.g. in
vue/no-ref-as-operand
). -
#2423 Added suggestions for reordering to
vue/order-in-components
when there may be side effects.
🐛 Bug Fixes
-
#2410 Fixed false positives for non-kebab-case variables in
vue/v-bind-style
rule. -
#2416 Fixed false positives for extra comma in
vue/v-for-delimiter-style
rule.
⚙️ Updates
-
#2417 Improve performance by removing unnecessary second
filter
.
Full Changelog: https://github.com/vuejs/eslint-plugin-vue/compare/v9.22.0...v9.23.0
jsdom/jsdom (jsdom)
v26.1.0
- Added at least partial support for various SVG elements and their classes:
<defs>
(SVGDefsElement
),<desc>
(SVGDescElement
),<g>
(SVGGElement
),<metadata>
(SVGMetadataElement
),<switch>
(SVGSwitchElement
), and<symbol>
(SVGSymbolElement
). - Added
SVGAnimatedPreserveAspectRatio
andSVGAnimatedRect
, including support in the reflection layer. - Added the
SVGSVGElement
createSVGRect()
method, and theSVGRect
type (which is distinct fromDOMRect
.) - Added indexed property support to
HTMLFormElement
. - Updated the
SVGElement
viewportElement()
method to correctly establish the viewport based on ancestor elements. - Removed the now-bloated
form-data
dependency in favor of our own smaller implementation ofmultipart/form-data
serialization. No functional changes are expected. - Various performance improvements, caches, microoptimizations, and deferred object creation.
v26.0.0
Breaking change: canvas
peer dependency requirement has been upgraded from v2 to v3. (sebastianwachter)
Other changes:
- Added
AbortSignal.any()
. (jdbevan) - Added initial support for form-associated custom elements, in particular making them labelable and supporting the
ElementInternals
labels
property. The form-associated callbacks are not yet supported. (hesxenon) - Updated
whatwg-url
, adding support forURL.parse()
. - Updated
cssstyle
andrrweb-cssom
, to improve CSS parsing capabilities. - Updated
nwsapi
, improving CSS selector matching. - Updated
parse5
, fixing a bug around<noframes>
elements and HTML entity decoding. - Fixed
JSDOM.fromURL()
to properly reject the returned promise if the server redirects to an invalid URL, instead of causing an uncaught exception.
v25.0.1
- Updated dependencies, notably
tough-cookie
, which no longer prints a deprecation warning.
v25.0.0
This major release changes the prototype of a jsdom's EventTarget.prototype
to point to the Object.prototype
inside the jsdom, instead of pointing to the Node.js Object.prototype
. Thus, the prototype chain of Window
stays entirely within the jsdom, never crossing over into the Node.js realm.
This only occurs when runScripts
is set to non-default values of "dangerously"
or "outside-only"
, as with the default value, there is no separate Object.prototype
inside the jsdom.
This will likely not impact many programs, but could cause some changes in instanceof
behavior, and so out of an abundance of caution, we're releasing it as a new major version.
v24.1.3
- Fixed calls to
postMessage()
that were done as a bare property (i.e.,postMessage()
instead ofwindow.postMessage()
).
v24.1.2
- Fixed an issue with the
in
operator applied toEventTarget
methods, e.g.'addEventListener' in window
, which only appeared in Node.js ≥22.5.0. (legendecas) - Fixed the events fired by
blur()
: it no longer firesfocus
andfocusin
on theDocument
, andblur
andfocusout
no longer have theirrelatedTarget
property set. (asamuzaK)
v24.1.1
- Fixed selection methods to trigger the
selectionchange
event on theDocument
object. (piotr-oles)
v24.1.0
- Added the
getSetCookie()
method to theHeaders
class. (ushiboy) - Fixed the creation and parsing of elements with names from
Object.prototype
, like"constructor"
or"toString"
. - Updated
rweb-cssom
, which can now parse additional CSS constructs.
isaacs/node-lru-cache (lru-cache)
v11.1.0
v11.0.2
v11.0.1
v11.0.0
v10.4.3
v10.4.2
v10.4.1
v10.4.0
v10.3.1
v10.3.0
v10.2.2
v10.2.1
vuejs/pinia (pinia)
v3.0.2
Please refer to CHANGELOG.md for details.
v3.0.0
: Pinia 3.0
This version of Pinia has no new features, it drops support for Vue 2 and other deprecated APIs. It should be an straightforward upgrade for most users! 🎉
See the migration guide for help.
⚠ BREAKING CHANGES
- We now use the native
Awaited
introduced in TS 4.5, so you need at least TS 4.5 to use Pinia 3.0. That being said, it's always better to have an up to date version of TS. -
PiniaStorePlugin
is now removed. UsePiniaPlugin
instead. -
defineStore({ id: 'id' })
is now removed. UsedefineStore('id')
instead - Pinia is now published as a
type: module
package but it still provides CJS versions dist files
Please refer to CHANGELOG.md for details.
v2.3.1
Please refer to CHANGELOG.md for details.
v2.3.0
Please refer to CHANGELOG.md for details.
v2.2.8
Please refer to CHANGELOG.md for details.
v2.2.7
Please refer to CHANGELOG.md for details.
v2.2.6
Please refer to CHANGELOG.md for details.
v2.2.5
Please refer to CHANGELOG.md for details.
v2.2.4
Please refer to CHANGELOG.md for details.
v2.2.3
Please refer to CHANGELOG.md for details.
v2.2.2
Please refer to CHANGELOG.md for details.
v2.2.1
Please refer to CHANGELOG.md for details.
v2.2.0
Please refer to CHANGELOG.md for details.
sinonjs/sinon (sinon)
v20.0.0
-
b6daed26
chore!: remove usingPromise (Morgan Roderick)Everyone should be using native promises by now, or should know how to stub natives
-
95d4b8fc
chore!: remove fakeXMLHttpRequest and fakeServer (Morgan Roderick)BREAKING CHANGE: remove fakeXMLHttpRequest and fakeServer from the API
Released by Morgan Roderick on 2025-03-24.
v19.0.5
-
67d19ff0
chore: deprecate usingPromise (#2651) (Morgan Roderick) -
598dddb6
chore: deprecate useFakeXMLHttpRequest and useFakeServer (Morgan Roderick)
Released by Morgan Roderick on 2025-03-23.
v19.0.4
The release script failed half-way in 19.0.3, so re-releasing.
-
da67311a
Revert "Add version 19.0.3 to releases" (Carl-Erik Kopseng) -
84d5c82a
Add version 19.0.3 to releases (Carl-Erik Kopseng)
Released by Carl-Erik Kopseng on 2025-03-19.
v19.0.3
Basically just documentation updates
-
1f1d3706
Verifying links procedure (Carl-Erik Kopseng) -
37623efc
Catch latest two missing redirects (Carl-Erik Kopseng) -
2404a45f
Ignore ancient deadlinks to Sinon child projects in previous releases (Carl-Erik Kopseng) -
fba6f877
Ignore historic links in changelog (Carl-Erik Kopseng) -
e3950d9b
Fix external link (Carl-Erik Kopseng) -
0be40825
Fix the missing redirects to the migration guide (Carl-Erik Kopseng) -
108fbca0
Fix internal ../assertions link in source (Carl-Erik Kopseng) -
bb10e53a
Fix spy-call reference in source (Carl-Erik Kopseng) -
ef582e31
Remove bash-ism from Makefile (use POSIX) (Carl-Erik Kopseng) -
7af1d235
chore: remove .unimportedrc.json (Morgan Roderick) -
dfcad710
chore: fix codecov upload (Morgan Roderick)We are seeing errors uploading coverage reports to codecov:
Rate limit reached. Please upload with the Codecov repository upload token to resolve issue
I've added a repository token, as instructed in https://docs.codecov.com/docs/adding-the-codecov-token.
This changeset should fix the upload issue.
-
0ca2e49e
fix: browser-test job fails in ubuntu-latest (Morgan Roderick) -
e9eb2eb2
chore: remove unused unused job (Morgan Roderick)This crucial part of this workflow was removed in
278e667
, we should have removed the entire job. -
278e667e
chore: remove unimported (Morgan Roderick)The repository has been archived. See https://github.com/smeijer/unimported
-
9e30835b
npm audit (Morgan Roderick) -
a74301cf
chore: remove RunKit (Morgan Roderick)This service is dead.
-
80bc1d96
Fix out-of-date fake-timers docs (#2628) (Carl-Erik Kopseng)- Fix documentation issue for fake-timers mentioned in #2625
The docs were out of sync with the fake-timers docs.
- Update dependencies before new patch version
-
527568cc
Bump rexml from 3.3.7 to 3.3.9 (#2626) (dependabot[bot])Bumps rexml from 3.3.7 to 3.3.9.
updated-dependencies:
-
dependency-name: rexml
dependency-type: indirect
...
Signed-off-by: dependabot[bot] support@github.com
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
-
ed029725
Bump webrick from 1.8.1 to 1.8.2 (#2623) (dependabot[bot])Bumps webrick from 1.8.1 to 1.8.2.
updated-dependencies:
-
dependency-name: webrick
dependency-type: indirect
...
Signed-off-by: dependabot[bot] support@github.com
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Released by Carl-Erik Kopseng on 2025-03-19.
v19.0.2
-
4eb4c4bc
Use fix 13.0.2 version of fake-timers to get Date to pass instanceof checks (Carl-Erik Kopseng) -
a5b03db3
Add links to code that is affected by the breaking changes (Carl-Erik Kopseng)
Released by Carl-Erik Kopseng on 2024-09-13.
v19.0.1
-
037ec2d2
Update migration docs (Carl-Erik Kopseng)
Released by Carl-Erik Kopseng on 2024-09-13.
v19.0.0
-
3534ab4f
Bump samsam and nise to latest versions (#2617) (Carl-Erik Kopseng)Ensures consistency and less breakage when there are "circular" dependencies.
-
912c568d
upgrade fake timers and others (#2612) (Carl-Erik Kopseng)- Upgrade dependencies (includes breaking API in Fake Timers)
- fake-timers: no longer creating dates using the original Date class, but a subclass (proxy)
-
9715798e
Use newer @mochify/* packages (#2609) (Carl-Erik Kopseng)Co-authored-by: Maximilian Antoni mail@maxantoni.de
Released by Carl-Erik Kopseng on 2024-09-13.
v18.0.1
Basically a patch release to update a transitive dependency in Nise.
-
03e33ec6
Pin fake-timers@11.2.2 to avoid breaking change (Carl-Erik Kopseng) -
5a7924ad
Add createStubInstance header in stubs.md (Daniel Kaplan) -
ad6804cd
Bump elliptic from 6.5.5 to 6.5.7 (#2608) (dependabot[bot]) -
033287bd
Bump path-to-regexp and nise (#2611) (dependabot[bot])Bumps path-to-regexp to 8.1.0 and updates ancestor dependency nise. These dependencies need to be updated together.
Updates
path-to-regexp
from 6.2.2 to 8.1.0Updates
nise
from 6.0.0 to 6.0.1
updated-dependencies:
-
dependency-name: path-to-regexp
dependency-type: indirect
-
dependency-name: nise
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] support@github.com
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
-
0c609f95
re-add testing of esm browser builds (Carl-Erik Kopseng)It seems unclear why it was removed in the first place: I have tested extensively that it does work and it does fail the build if changing any assertion in the script
-
da4230a0
Bump braces from 3.0.2 to 3.0.3 (#2605) (dependabot[bot])Bumps braces from 3.0.2 to 3.0.3.
updated-dependencies:
-
dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] support@github.com
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
-
02542370
feat(ci): add node v22 (#2600) (Rotzbua) -
794cb81a
fix(tests): typo (#2603) (Rotzbua) -
1eb2a254
Use NodeJS 22.2.0 as base development version (Carl-Erik Kopseng) -
1aa713fd
Bump rexml from 3.2.5 to 3.2.8 (#2599) (dependabot[bot])Bumps rexml from 3.2.5 to 3.2.8. >
- Release notes >
- Changelog >
- Commits > > --- > updated-dependencies: >
- dependency-name: rexml > dependency-type: indirect > ... > > Signed-off-by: dependabot[bot] support@github.com > Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Released by Carl-Erik Kopseng on 2024-09-10.
v18.0.0
This is what 17.0.2 should have been, as that contained two breaking changes. After updating Nise we are down to one breaking change, which only affects sinon-test (which has been updated), so most people are not affected. The legacyRoutes flag that is currently enabled in Nise by default will at some later version be disabled. We will then issue a little migration note.
-
01d45312
Use Nise 6 with legacyRoutes flag enabled (Carl-Erik Kopseng)This should be disabled in a future Sinon version by default.
-
c618edc5
fix #2594: remove needless sandbox creation (Carl-Erik Kopseng)
Released by Carl-Erik Kopseng on 2024-05-15.
v17.0.2
-
f6dca0ba
upgrade packages (#2595) (Carl-Erik Kopseng) -
5025d001
Avoid return and callArg* clearing each other's state (#2593) (Carl-Erik Kopseng)- Partially revert "fix returns does not override call through (#2567)"
- revert to the old manual clearing of props
-
ed068a88
Bump ip from 1.1.8 to 1.1.9 (#2587) (dependabot[bot]) -
ec4d592e
fix #2589: avoid invoking getter as side-effect (#2592) (Carl-Erik Kopseng) -
9972e1e3
Fix typo in mocks documentation (#2591) (Eduardo de la Cruz Palacios) -
52e6e4c5
chore: prefer cache option of setup-node (Morgan Roderick) -
08da1235
Bump actions/cache from 3 to 4 (dependabot[bot]) -
404ef47e
Bump nokogiri from 1.14.3 to 1.16.2 (dependabot[bot]) -
fd79612c
Update Bug_report.md (Carl-Erik Kopseng) -
1fbc812a
Re-add about (Carl-Erik Kopseng) -
fc8f6c3e
Fix formatting :clown: (Carl-Erik Kopseng) -
c57e38ae
Remove old template (Carl-Erik Kopseng) -
754bf7a9
Update Bug_report.md (Carl-Erik Kopseng) -
87eed9d2
Fix some typos at code comments (#2581) (EliyahuMachluf) -
cbae6997
Link to createStubInstance util.md docs in stubs.md (#2577) (Daniel Kaplan) -
adcf936d
Fix Mocha watch task by delegating to Node (#2573) (Carl-Erik Kopseng) -
30ad2372
prettier:write (Carl-Erik Kopseng) -
45c4d6b9
Remove outdated info from README (#2571) (Carl-Erik Kopseng) -
6c9f5c2a
Add a notice that the Fake Timers API doc is incomplete (#2570) (Carl-Erik Kopseng) -
93db3ef3
breaking: Remove sinon.defaultConfig and related modules (#2565) (Carl-Erik Kopseng)- breaking: Remove sinon.defaultConfig and related modules
default-config and get-config are leftovers from when Sinon
shipped with sinon.test (now the independent NPM module
'sinon-test').
Released by Carl-Erik Kopseng on 2024-05-07.
v17.0.1
-
5fde5aeb
fix returns does not override call through (#2567) (Raz Luvaton) -
b5fc3671
Documentation for assertion options for the sandbox (#2564) (Carl-Erik Kopseng) -
f7d180cc
fix: assertion log limit (#2485) (Spencer Goossens) -
4f538e3e
Fix mochify breaking on node:assert (#2559) (Carl-Erik Kopseng)
Released by Carl-Erik Kopseng on 2023-11-01.
v17.0.0
-
11a8e3f2
Remove Proxyquire as it did not handle newer syntax (Carl-Erik Kopseng) -
ec37d634
Drop Node 16, as it is out of maintenance (Carl-Erik Kopseng) -
75e2b691
Upgrade fake-timers@11.2.2: new Intl mirroring and bugfixes (Carl-Erik Kopseng)
Released by Carl-Erik Kopseng on 2023-10-20.
v16.1.3
-
93e8aa93
Remove postinstall script as it causes issues for consumers (Carl-Erik Kopseng)
Released by Carl-Erik Kopseng on 2023-10-19.
v16.1.2
v16.1.1
v16.1.0
-
cac5184b
Enable use of assignment in the presence of accessors (#2538) (Carl-Erik Kopseng) -
f8c20e54
New article: making Sinon work with complex setups (#2540) (Carl-Erik Kopseng)Co-authored-by: Morgan Roderick morgan@roderick.dk >
-
cb5b9621
Add NPM script 'dev-docs' and document its usage (Carl-Erik Kopseng) -
dd7c6091
Add a little update to contributing (Carl-Erik Kopseng) -
79acdf38
Move tool versions into single file at root (Carl-Erik Kopseng) -
03b1db50
Expose Changelog page (#2550) (Carl-Erik Kopseng) -
e1c3dad2
Add section on tooling and recommend using ASDF for tool versioning (#2547) (Carl-Erik Kopseng) Released by Carl-Erik Kopseng on 2023-10-05.
v16.0.0
-
c3396058
fix(2525): ensure non empty message when error of type string is passed, but no message (#2544) (Mark de Dios) -
baa1aee9
.define method (#2539) (Konstantin Gukov)- .define method for temporarily defining new properties during the tests
-
fe799e78
Fix issue 2534: spies are not restored (#2535) (Carl-Erik Kopseng) -
305fb6cc
fix: actaully reset 'injectedKeys' (#2456) (Morgan Roderick) -
de2635dd
Bump LTS version one notch: 20 (#2529) (Carl-Erik Kopseng)
Released by Morgan Roderick on 2023-09-13.
v15.2.0
-
66b0081e
Use fake-timers v10.1.0 re-released as v10.3.0 (Carl-Erik Kopseng)Version 10.2.0 of fake-timers had an unexpected breaking change. We re-released 10.1.0 as 10.3.0 to force users into jumping over the deprecated version.
v10.2.0 was re-released as v11.0.0 and will be part of the next Sinon major
-
a79ccaeb
Support callable instances (#2517) (bojavou)- Support callable instances
- Clean prettier lint
Co-authored-by: - <->
-
d220c995
fix: bundling compatibility with webpack@5 (#2519) (Avi Vahl)- fix: bundling compatibility with webpack@5
when using webpack v5 to bundle code that calls
require('sinon')
(cjs) , it would have defaulted to "exports->require" and fail with multiple node-api requirements (util, timers, etc.)this patch ensures that anyone who bundles sinon for browser gets the (browser-compatible) esm version.
tested on both webpack v5 and v4. should be noted that v4 worked even without this patch, as it automatically injected polyfills. v5 no longer does so. with this MR, people using webpack@4 to bundle sinon at least see size improvement, as the polyfills are no longer required.
- fix: revert change for package.json -> "browser"
browserify doesn't seem to like esm. leave that entry point alone, and ensure "exports" -> "browser" (which webpack@5 uses) is esm.
Released by Carl-Erik Kopseng on 2023-06-20.
v15.1.2
-
02b73aed
Update lock file after removing node_modules ... (Carl-Erik Kopseng)
Released by Carl-Erik Kopseng on 2023-06-12.
v15.1.1
-
194fc2ef
Change fake-timers version to specifically target the one containing the 'jump' feature (Carl-Erik Kopseng)Instead of the later (breaking) version. See #470
-
05f05ac3
docs: Remove threw(obj) from docs (#2513) (Morgan Roderick)Since the introduction of threw in
0feec9f
, no one have reported thatthrew(obj)
doesn't work as the documentation states.const sinon = require("sinon"); const o = { pie: "apple" }; const f = sinon.fake.throws(o); f(); // this is supposed to return true f.threw(o); // => false
Since it has been 12+ years without an error report, it's safe to assume
that no one uses the
threw
method in this way. Let's remove it fromthe documentation.
Released by Carl-Erik Kopseng on 2023-06-12.
v15.1.0
-
79e719f2
Ensure we use a fake-timers version with clock.jump (Carl-Erik Kopseng) -
b2a4df5a
Add docs for clock.jump method (#2512) (Jason O'Neill) -
f096abff
fix (#2514): only force new or inherited descriptors to be configurable (#2515) (Carl-Erik Kopseng)
Released by Carl-Erik Kopseng on 2023-05-18.
v15.0.4
-
e9042c4f
Handling non-configurable object descriptors on the prototype (#2508) (Carl-Erik Kopseng)This should essentially make decorated methods stubbable again (see #2491)
-
430c9a60
Remove uses ofvar
(#2506) (Carl-Erik Kopseng)Replace var with const where possible in /lib and /test.
Modified the let codemod to be a codemod.
Took about half an hour with --watch running
Released by Carl-Erik Kopseng on 2023-04-20.
v15.0.3
-
b775f1b4
Avoid tampering with globals and other modules' exports in tests (#2504) (Carl-Erik Kopseng) -
477064b6
fix: make it possible to call through to underlying stub in stub instance (#2503) (Carl-Erik Kopseng)closes #2501
-
6e19746e
Remove dead Travis and Gitter references (Carl-Erik Kopseng)
Released by Carl-Erik Kopseng on 2023-03-26.
bendotcodes/cookies (universal-cookie)
v8.0.1
What's Changed
- Bump major version for universal-cookie on dependency by @eXon in https://github.com/bendotcodes/cookies/pull/878
- Release v8.0.1 by @eXon in https://github.com/bendotcodes/cookies/pull/879
Renovate
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/874
- chore(deps): update dependency rollup to ^4.36.0 by @renovate in https://github.com/bendotcodes/cookies/pull/875
- chore(deps): update dependency @playwright/test to ^1.51.1 by @renovate in https://github.com/bendotcodes/cookies/pull/876
- chore(deps): update dependency @types/react to ^19.0.11 by @renovate in https://github.com/bendotcodes/cookies/pull/877
Full Changelog: https://github.com/bendotcodes/cookies/compare/v8.0.0...v8.0.1
v8.0.0
What's Changed
- feat: add removeAllChangeListeners method by @eXon in https://github.com/bendotcodes/cookies/pull/861
- Detect when missing provider by @eXon in https://github.com/bendotcodes/cookies/pull/862
- Move demo and examples in TypeScript by @eXon in https://github.com/bendotcodes/cookies/pull/863
- Fix react links by @eXon in https://github.com/bendotcodes/cookies/pull/866
- Release v8.0.0 by @eXon in https://github.com/bendotcodes/cookies/pull/867
Renovate
- chore(deps): update dependency @types/node to ^22.8.4 by @renovate in https://github.com/bendotcodes/cookies/pull/731
- chore(deps): update dependency @types/node to ^22.8.5 by @renovate in https://github.com/bendotcodes/cookies/pull/734
- chore(deps): update dependency @testing-library/jest-dom to ^6.6.3 by @renovate in https://github.com/bendotcodes/cookies/pull/735
- chore(deps): update dependency @types/node to ^22.8.6 by @renovate in https://github.com/bendotcodes/cookies/pull/736
- chore(deps): update dependency tslib to ^2.8.1 by @renovate in https://github.com/bendotcodes/cookies/pull/737
- chore(deps): update dependency webpack to ^5.96.0 by @renovate in https://github.com/bendotcodes/cookies/pull/738
- chore(deps): update dependency webpack to ^5.96.1 by @renovate in https://github.com/bendotcodes/cookies/pull/739
- chore(deps): update dependency @types/node to ^22.8.7 by @renovate in https://github.com/bendotcodes/cookies/pull/740
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/742
- chore(deps): update dependency rollup to ^4.24.4 by @renovate in https://github.com/bendotcodes/cookies/pull/743
- chore(deps): update dependency @types/node to ^22.9.0 by @renovate in https://github.com/bendotcodes/cookies/pull/744
- chore(deps): update dependency rollup to ^4.25.0 by @renovate in https://github.com/bendotcodes/cookies/pull/745
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/746
- chore(deps): update dependency rollup to ^4.26.0 by @renovate in https://github.com/bendotcodes/cookies/pull/747
- chore(deps): update dependency rollup to ^4.27.0 by @renovate in https://github.com/bendotcodes/cookies/pull/748
- chore(deps): update dependency rollup to ^4.27.1 by @renovate in https://github.com/bendotcodes/cookies/pull/749
- chore(deps): update dependency rollup to ^4.27.2 by @renovate in https://github.com/bendotcodes/cookies/pull/750
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/751
- chore(deps): update dependency husky to ^9.1.7 by @renovate in https://github.com/bendotcodes/cookies/pull/752
- chore(deps): update dependency rollup to ^4.27.3 by @renovate in https://github.com/bendotcodes/cookies/pull/753
- chore(deps): update dependency @playwright/test to ^1.49.0 by @renovate in https://github.com/bendotcodes/cookies/pull/754
- chore(deps): update dependency @types/node to ^22.9.1 by @renovate in https://github.com/bendotcodes/cookies/pull/755
- chore(deps): update yarn to v4.5.2 by @renovate in https://github.com/bendotcodes/cookies/pull/756
- chore(deps): update dependency typescript to ^5.7.2 by @renovate in https://github.com/bendotcodes/cookies/pull/757
- chore(deps): update dependency @types/node to ^22.9.2 by @renovate in https://github.com/bendotcodes/cookies/pull/758
- chore(deps): update dependency @types/node to ^22.9.3 by @renovate in https://github.com/bendotcodes/cookies/pull/759
- chore(deps): update dependency rollup to ^4.27.4 by @renovate in https://github.com/bendotcodes/cookies/pull/760
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/761
- chore(deps): update yarn to v4.5.3 by @renovate in https://github.com/bendotcodes/cookies/pull/762
- chore(deps): update dependency @types/node to ^22.9.4 by @renovate in https://github.com/bendotcodes/cookies/pull/763
- chore(deps): update dependency @types/node to ^22.10.0 by @renovate in https://github.com/bendotcodes/cookies/pull/764
- chore(deps): update dependency prettier to ^3.4.0 by @renovate in https://github.com/bendotcodes/cookies/pull/765
- chore(deps): update dependency prettier to ^3.4.1 by @renovate in https://github.com/bendotcodes/cookies/pull/766
- chore(deps): update dependency @types/node to ^22.10.1 by @renovate in https://github.com/bendotcodes/cookies/pull/767
- chore(deps): update dependency rollup to ^4.28.0 by @renovate in https://github.com/bendotcodes/cookies/pull/768
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/769
- chore(deps): update dependency webpack to ^5.97.0 by @renovate in https://github.com/bendotcodes/cookies/pull/770
- chore(deps): update dependency prettier to ^3.4.2 by @renovate in https://github.com/bendotcodes/cookies/pull/771
- chore(deps): update dependency @babel/preset-react to ^7.26.3 by @renovate in https://github.com/bendotcodes/cookies/pull/772
- chore(deps): update dependency webpack to ^5.97.1 by @renovate in https://github.com/bendotcodes/cookies/pull/773
- chore(deps): update dependency @babel/cli to ^7.26.4 by @renovate in https://github.com/bendotcodes/cookies/pull/775
- fix(deps): update dependency @types/hoist-non-react-statics to ^3.3.6 by @renovate in https://github.com/bendotcodes/cookies/pull/774
- chore(deps): update dependency @testing-library/react to ^16.1.0 by @renovate in https://github.com/bendotcodes/cookies/pull/777
- fix(deps): update dependency express to ^4.21.2 by @renovate in https://github.com/bendotcodes/cookies/pull/776
- chore(deps): update dependency rollup to ^4.28.1 by @renovate in https://github.com/bendotcodes/cookies/pull/779
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/780
- chore(deps): update dependency @playwright/test to ^1.49.1 by @renovate in https://github.com/bendotcodes/cookies/pull/781
- chore(deps): update dependency lint-staged to ^15.2.11 by @renovate in https://github.com/bendotcodes/cookies/pull/782
- chore(deps): update dependency @types/node to ^22.10.2 by @renovate in https://github.com/bendotcodes/cookies/pull/783
- chore(deps): update dependency @rollup/plugin-commonjs to ^28.0.2 by @renovate in https://github.com/bendotcodes/cookies/pull/784
- chore(deps): update dependency @rollup/plugin-node-resolve to ^15.3.1 by @renovate in https://github.com/bendotcodes/cookies/pull/785
- chore(deps): update dependency @rollup/plugin-replace to ^6.0.2 by @renovate in https://github.com/bendotcodes/cookies/pull/786
- chore(deps): update dependency @rollup/plugin-node-resolve to v16 by @renovate in https://github.com/bendotcodes/cookies/pull/788
- chore(deps): update dependency @rollup/plugin-typescript to ^12.1.2 by @renovate in https://github.com/bendotcodes/cookies/pull/787
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/789
- chore(deps): update dependency webpack-cli to v6 by @renovate in https://github.com/bendotcodes/cookies/pull/790
- chore(deps): update dependency webpack-cli to ^6.0.1 by @renovate in https://github.com/bendotcodes/cookies/pull/791
- chore(deps): update dependency rollup to ^4.29.0 by @renovate in https://github.com/bendotcodes/cookies/pull/792
- chore(deps): update dependency rollup to ^4.29.1 by @renovate in https://github.com/bendotcodes/cookies/pull/793
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/794
- chore(deps): update dependency lint-staged to ^15.3.0 by @renovate in https://github.com/bendotcodes/cookies/pull/795
- chore(deps): update yarn to v4.6.0 by @renovate in https://github.com/bendotcodes/cookies/pull/796
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/797
- chore(deps): update dependency @types/node to ^22.10.3 by @renovate in https://github.com/bendotcodes/cookies/pull/798
- chore(deps): update dependency @types/node to ^22.10.4 by @renovate in https://github.com/bendotcodes/cookies/pull/799
- chore(deps): update dependency @types/node to ^22.10.5 by @renovate in https://github.com/bendotcodes/cookies/pull/800
- chore(deps): update dependency rollup to ^4.29.2 by @renovate in https://github.com/bendotcodes/cookies/pull/801
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/802
- chore(deps): update dependency rollup to ^4.30.0 by @renovate in https://github.com/bendotcodes/cookies/pull/803
- chore(deps): update dependency rollup to ^4.30.1 by @renovate in https://github.com/bendotcodes/cookies/pull/804
- chore(deps): update dependency typescript to ^5.7.3 by @renovate in https://github.com/bendotcodes/cookies/pull/805
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/806
- chore(deps): update dependency @types/node to ^22.10.6 by @renovate in https://github.com/bendotcodes/cookies/pull/807
- chore(deps): update dependency @types/node to ^22.10.7 by @renovate in https://github.com/bendotcodes/cookies/pull/809
- chore(deps): update dependency @testing-library/react to ^16.2.0 by @renovate in https://github.com/bendotcodes/cookies/pull/810
- chore(deps): update dependency lint-staged to ^15.4.0 by @renovate in https://github.com/bendotcodes/cookies/pull/811
- chore(deps): update dependency lint-staged to ^15.4.1 by @renovate in https://github.com/bendotcodes/cookies/pull/812
- chore(deps): update dependency rollup to ^4.31.0 by @renovate in https://github.com/bendotcodes/cookies/pull/813
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/814
- chore(deps): update dependency @types/node to ^22.10.8 by @renovate in https://github.com/bendotcodes/cookies/pull/815
- chore(deps): update dependency @types/node to ^22.10.9 by @renovate in https://github.com/bendotcodes/cookies/pull/816
- chore(deps): update dependency lint-staged to ^15.4.2 by @renovate in https://github.com/bendotcodes/cookies/pull/817
- chore(deps): update dependency @playwright/test to ^1.50.0 by @renovate in https://github.com/bendotcodes/cookies/pull/819
- chore(deps): update dependency @types/node to ^22.10.10 by @renovate in https://github.com/bendotcodes/cookies/pull/818
- chore(deps): update dependency rollup to ^4.32.0 by @renovate in https://github.com/bendotcodes/cookies/pull/820
- chore(deps): update babel monorepo to ^7.26.7 by @renovate in https://github.com/bendotcodes/cookies/pull/821
- chore(deps): update dependency lint-staged to ^15.4.3 by @renovate in https://github.com/bendotcodes/cookies/pull/822
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/823
- chore(deps): update dependency @types/node to ^22.12.0 by @renovate in https://github.com/bendotcodes/cookies/pull/824
- chore(deps): update dependency rollup to ^4.32.1 by @renovate in https://github.com/bendotcodes/cookies/pull/825
- chore(deps): update dependency @types/node to ^22.13.0 by @renovate in https://github.com/bendotcodes/cookies/pull/827
- chore(deps): update dependency rollup to ^4.34.0 by @renovate in https://github.com/bendotcodes/cookies/pull/828
- chore(deps): update dependency @playwright/test to ^1.50.1 by @renovate in https://github.com/bendotcodes/cookies/pull/826
- chore(deps): update dependency rollup to ^4.34.1 by @renovate in https://github.com/bendotcodes/cookies/pull/829
- chore(deps): update dependency @types/node to ^22.13.1 by @renovate in https://github.com/bendotcodes/cookies/pull/830
- chore(deps): update dependency rollup to ^4.34.2 by @renovate in https://github.com/bendotcodes/cookies/pull/831
- chore(deps): update dependency rollup to ^4.34.3 by @renovate in https://github.com/bendotcodes/cookies/pull/832
- chore(deps): update dependency rollup to ^4.34.4 by @renovate in https://github.com/bendotcodes/cookies/pull/833
- chore(deps): update dependency rollup to ^4.34.5 by @renovate in https://github.com/bendotcodes/cookies/pull/834
- chore(deps): update dependency rollup to ^4.34.6 by @renovate in https://github.com/bendotcodes/cookies/pull/835
- chore(deps): update babel monorepo to ^7.26.8 by @renovate in https://github.com/bendotcodes/cookies/pull/836
- chore(deps): update dependency prettier to ^3.5.0 by @renovate in https://github.com/bendotcodes/cookies/pull/837
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/838
- chore(deps): update dependency @types/node to ^22.13.2 by @renovate in https://github.com/bendotcodes/cookies/pull/839
- chore(deps): update dependency prettier to ^3.5.1 by @renovate in https://github.com/bendotcodes/cookies/pull/840
- chore(deps): update dependency webpack to ^5.98.0 by @renovate in https://github.com/bendotcodes/cookies/pull/841
- chore(deps): update dependency @types/node to ^22.13.4 by @renovate in https://github.com/bendotcodes/cookies/pull/842
- chore(deps): update dependency rollup to ^4.34.7 by @renovate in https://github.com/bendotcodes/cookies/pull/844
- chore(deps): update babel monorepo to ^7.26.9 by @renovate in https://github.com/bendotcodes/cookies/pull/843
- chore(deps): update dependency @rollup/plugin-commonjs to ^28.0.3 by @renovate in https://github.com/bendotcodes/cookies/pull/845
- chore(deps): update dependency prettier to ^3.5.3 by @renovate in https://github.com/bendotcodes/cookies/pull/847
- chore(deps): update dependency @playwright/test to ^1.51.0 by @renovate in https://github.com/bendotcodes/cookies/pull/848
- chore(deps): update dependency @size-limit/preset-small-lib to ^11.2.0 by @renovate in https://github.com/bendotcodes/cookies/pull/849
- chore(deps): update dependency size-limit to ^11.2.0 by @renovate in https://github.com/bendotcodes/cookies/pull/851
- chore(deps): update dependency @types/node to ^22.13.10 by @renovate in https://github.com/bendotcodes/cookies/pull/846
- chore(deps): update dependency typescript to ^5.8.2 by @renovate in https://github.com/bendotcodes/cookies/pull/852
- chore(deps): update dependency rollup to ^4.35.0 by @renovate in https://github.com/bendotcodes/cookies/pull/850
- chore(deps): update yarn to v4.7.0 by @renovate in https://github.com/bendotcodes/cookies/pull/853
- chore(deps): update dependency babel-loader to v10 by @renovate in https://github.com/bendotcodes/cookies/pull/854
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/855
- chore(deps): update dependency node to v20.18.3 by @renovate in https://github.com/bendotcodes/cookies/pull/856
- chore(deps): update dependency @rollup/plugin-node-resolve to ^16.0.1 by @renovate in https://github.com/bendotcodes/cookies/pull/859
- chore(deps): update dependency @babel/core to ^7.26.10 by @renovate in https://github.com/bendotcodes/cookies/pull/858
- chore(deps): update dependency lint-staged to ^15.5.0 by @renovate in https://github.com/bendotcodes/cookies/pull/860
- fix(deps): update dependency cookie to v1 by @renovate in https://github.com/bendotcodes/cookies/pull/700
- chore(deps): update dependency node to v22 by @renovate in https://github.com/bendotcodes/cookies/pull/857
- fix(deps): update react monorepo to v19 (major) by @renovate in https://github.com/bendotcodes/cookies/pull/778
- chore(deps): update dependency @types/jest to ^29.5.14 by @renovate in https://github.com/bendotcodes/cookies/pull/864
- chore(deps): update dependency @types/node to ^22.13.10 by @renovate in https://github.com/bendotcodes/cookies/pull/865
- chore(deps): update dependency ts-loader to ^9.5.2 by @renovate in https://github.com/bendotcodes/cookies/pull/868
- chore(deps): update react monorepo by @renovate in https://github.com/bendotcodes/cookies/pull/870
- chore(deps): update dependency @types/express to v5 by @renovate in https://github.com/bendotcodes/cookies/pull/871
- chore(deps): update dependency typescript to ^5.8.2 by @renovate in https://github.com/bendotcodes/cookies/pull/869
Full Changelog: https://github.com/bendotcodes/cookies/compare/v7.2.2...v8.0.0
v7.2.2
v7.2.1
What's Changed
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/597
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/598
- chore(deps): update dependency @playwright/test to ^1.45.3 by @renovate in https://github.com/bendotcodes/cookies/pull/599
- chore(deps): update dependency @testing-library/jest-dom to ^6.4.7 by @renovate in https://github.com/bendotcodes/cookies/pull/600
- chore(deps): update dependency typescript to ^5.5.4 by @renovate in https://github.com/bendotcodes/cookies/pull/601
- chore(deps): update dependency @testing-library/jest-dom to ^6.4.8 by @renovate in https://github.com/bendotcodes/cookies/pull/602
- chore(deps): update dependency @types/node to ^20.14.12 by @renovate in https://github.com/bendotcodes/cookies/pull/603
- chore(deps): update dependency husky to ^9.1.2 by @renovate in https://github.com/bendotcodes/cookies/pull/605
- chore(deps): update dependency husky to ^9.1.3 by @renovate in https://github.com/bendotcodes/cookies/pull/606
- chore(deps): update dependency rollup to ^4.19.1 by @renovate in https://github.com/bendotcodes/cookies/pull/608
- chore(deps): update dependency @types/node to ^20.14.13 by @renovate in https://github.com/bendotcodes/cookies/pull/609
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/610
- chore(deps): update dependency @babel/preset-env to ^7.25.0 by @renovate in https://github.com/bendotcodes/cookies/pull/607
- chore(deps): update dependency husky to ^9.1.4 by @renovate in https://github.com/bendotcodes/cookies/pull/611
- chore(deps): update babel monorepo to ^7.25.2 by @renovate in https://github.com/bendotcodes/cookies/pull/612
- chore(deps): update dependency @babel/preset-env to ^7.25.3 by @renovate in https://github.com/bendotcodes/cookies/pull/613
- chore(deps): update dependency rollup to ^4.19.2 by @renovate in https://github.com/bendotcodes/cookies/pull/614
- chore(deps): update dependency @types/node to ^20.14.14 by @renovate in https://github.com/bendotcodes/cookies/pull/615
- chore(deps): update yarn to v4.4.0 by @renovate in https://github.com/bendotcodes/cookies/pull/616
- chore(deps): update dependency rollup to ^4.20.0 by @renovate in https://github.com/bendotcodes/cookies/pull/617
- chore(deps): update dependency lint-staged to ^15.2.8 by @renovate in https://github.com/bendotcodes/cookies/pull/618
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/619
- chore(deps): update dependency @playwright/test to ^1.46.0 by @renovate in https://github.com/bendotcodes/cookies/pull/620
- chore(deps): update dependency @types/node to ^20.14.15 by @renovate in https://github.com/bendotcodes/cookies/pull/621
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/622
- chore(deps): update dependency lint-staged to ^15.2.9 by @renovate in https://github.com/bendotcodes/cookies/pull/623
- chore(deps): update dependency @playwright/test to ^1.46.1 by @renovate in https://github.com/bendotcodes/cookies/pull/625
- chore(deps): update dependency @types/node to ^20.15.0 by @renovate in https://github.com/bendotcodes/cookies/pull/626
- chore(deps): update dependency rollup to ^4.21.0 by @renovate in https://github.com/bendotcodes/cookies/pull/627
- chore(deps): update dependency @types/node to ^20.16.0 by @renovate in https://github.com/bendotcodes/cookies/pull/628
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/629
- chore(deps): update dependency @types/node to ^20.16.1 by @renovate in https://github.com/bendotcodes/cookies/pull/630
- chore(deps): update dependency husky to ^9.1.5 by @renovate in https://github.com/bendotcodes/cookies/pull/631
- chore(deps): update dependency @babel/preset-env to ^7.25.4 by @renovate in https://github.com/bendotcodes/cookies/pull/632
- chore(deps): update dependency webpack to ^5.94.0 by @renovate in https://github.com/bendotcodes/cookies/pull/633
- chore(deps): update dependency @testing-library/jest-dom to ^6.5.0 by @renovate in https://github.com/bendotcodes/cookies/pull/634
- chore(deps): update dependency tslib to ^2.7.0 by @renovate in https://github.com/bendotcodes/cookies/pull/635
- chore(deps): update yarn to v4.4.1 by @renovate in https://github.com/bendotcodes/cookies/pull/636
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/637
- chore(deps): update dependency rollup to ^4.21.1 by @renovate in https://github.com/bendotcodes/cookies/pull/638
- chore(deps): update dependency @types/node to ^20.16.2 by @renovate in https://github.com/bendotcodes/cookies/pull/639
- chore(deps): update dependency @testing-library/react to ^16.0.1 by @renovate in https://github.com/bendotcodes/cookies/pull/640
- chore(deps): update dependency @babel/cli to ^7.25.6 by @renovate in https://github.com/bendotcodes/cookies/pull/641
- chore(deps): update dependency rollup to ^4.21.2 by @renovate in https://github.com/bendotcodes/cookies/pull/642
- chore(deps): update dependency @types/node to ^20.16.3 by @renovate in https://github.com/bendotcodes/cookies/pull/643
- chore(deps): update dependency lint-staged to ^15.2.10 by @renovate in https://github.com/bendotcodes/cookies/pull/644
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/645
- chore(deps): update dependency @types/node to ^20.16.4 by @renovate in https://github.com/bendotcodes/cookies/pull/647
- chore(deps): update dependency @types/node to ^20.16.5 by @renovate in https://github.com/bendotcodes/cookies/pull/649
- chore(deps): update dependency @playwright/test to ^1.47.0 by @renovate in https://github.com/bendotcodes/cookies/pull/650
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/651
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/652
- chore(deps): update dependency @size-limit/preset-small-lib to ^11.1.5 by @renovate in https://github.com/bendotcodes/cookies/pull/653
- chore(deps): update dependency size-limit to ^11.1.5 by @renovate in https://github.com/bendotcodes/cookies/pull/654
- chore(deps): update dependency typescript to ^5.6.2 by @renovate in https://github.com/bendotcodes/cookies/pull/656
- fix(deps): update dependency express to ^4.20.0 by @renovate in https://github.com/bendotcodes/cookies/pull/657
- chore(deps): update dependency husky to ^9.1.6 by @renovate in https://github.com/bendotcodes/cookies/pull/658
- fix(deps): update dependency express to ^4.21.0 by @renovate in https://github.com/bendotcodes/cookies/pull/659
- chore(deps): update dependency rollup to ^4.21.3 by @renovate in https://github.com/bendotcodes/cookies/pull/660
- chore(deps): update dependency @types/jest to ^29.5.13 by @renovate in https://github.com/bendotcodes/cookies/pull/661
- chore(deps): update dependency @playwright/test to ^1.47.1 by @renovate in https://github.com/bendotcodes/cookies/pull/662
- chore(deps): update yarn to v4.5.0 by @renovate in https://github.com/bendotcodes/cookies/pull/663
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/664
- chore(deps): update dependency babel-loader to ^9.2.1 by @renovate in https://github.com/bendotcodes/cookies/pull/665
- chore(deps): update dependency rollup to ^4.22.0 by @renovate in https://github.com/bendotcodes/cookies/pull/666
- chore(deps): update dependency rollup to ^4.22.2 by @renovate in https://github.com/bendotcodes/cookies/pull/667
- chore(deps): update dependency @playwright/test to ^1.47.2 by @renovate in https://github.com/bendotcodes/cookies/pull/668
- chore(deps): update dependency rollup to ^4.22.4 by @renovate in https://github.com/bendotcodes/cookies/pull/669
- chore(deps): update dependency @rollup/plugin-node-resolve to ^15.2.4 by @renovate in https://github.com/bendotcodes/cookies/pull/670
- chore(deps): update dependency @rollup/plugin-typescript to v12 by @renovate in https://github.com/bendotcodes/cookies/pull/671
- chore(deps): update dependency @rollup/plugin-commonjs to ^26.0.3 by @renovate in https://github.com/bendotcodes/cookies/pull/672
- chore(deps): update dependency @types/node to ^20.16.6 by @renovate in https://github.com/bendotcodes/cookies/pull/674
- chore(deps): update dependency @rollup/plugin-node-resolve to ^15.3.0 by @renovate in https://github.com/bendotcodes/cookies/pull/673
- chore(deps): update dependency @rollup/plugin-commonjs to v28 by @renovate in https://github.com/bendotcodes/cookies/pull/675
- chore(deps): update dependency @rollup/plugin-replace to v6 by @renovate in https://github.com/bendotcodes/cookies/pull/676
- chore(deps): update dependency @types/node to ^20.16.7 by @renovate in https://github.com/bendotcodes/cookies/pull/677
- chore(deps): update dependency webpack to ^5.95.0 by @renovate in https://github.com/bendotcodes/cookies/pull/678
- chore(deps): update dependency @types/node to ^20.16.9 by @renovate in https://github.com/bendotcodes/cookies/pull/679
- chore(deps): update dependency rollup to ^4.22.5 by @renovate in https://github.com/bendotcodes/cookies/pull/680
- chore(deps): update dependency @types/node to ^20.16.10 by @renovate in https://github.com/bendotcodes/cookies/pull/681
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/682
- chore(deps): update dependency @size-limit/preset-small-lib to ^11.1.6 by @renovate in https://github.com/bendotcodes/cookies/pull/683
- chore(deps): update dependency size-limit to ^11.1.6 by @renovate in https://github.com/bendotcodes/cookies/pull/684
- chore(deps): update dependency rollup to ^4.23.0 by @renovate in https://github.com/bendotcodes/cookies/pull/685
- chore(deps): update dependency rollup to ^4.24.0 by @renovate in https://github.com/bendotcodes/cookies/pull/686
- chore(deps): update babel monorepo to ^7.25.7 by @renovate in https://github.com/bendotcodes/cookies/pull/687
- fix(deps): update dependency cookie to ^0.7.0 by @renovate in https://github.com/bendotcodes/cookies/pull/688
- fix(deps): update dependency cookie to ^0.7.1 by @renovate in https://github.com/bendotcodes/cookies/pull/689
- chore(deps): lock file maintenance by @renovate in https://github.com/bendotcodes/cookies/pull/690
- fix(deps): update dependency cookie to ^0.7.2 by @renovate in https://github.com/bendotcodes/cookies/pull/692
- chore(deps): update actions/checkout digest to
eef6144
by @renovate in https://github.com/bendotcodes/cookies/pull/694 - chore(deps): update dependency @types/node to ^20.16.11 by @renovate in https://github.com/bendotcodes/cookies/pull/695
- chore(deps): update dependency @playwright/test to ^1.48.0 by @renovate in https://github.com/bendotcodes/cookies/pull/697
- chore(deps): update dependency typescript to ^5.6.3 by @renovate in https://github.com/bendotcodes/cookies/pull/698
- fix(deps): update dependency express to ^4.21.1 by @renovate in https://github.com/bendotcodes/cookies/pull/699
- Release v7.2.1 by @eXon in https://github.com/bendotcodes/cookies/pull/701
Full Changelog: https://github.com/bendotcodes/cookies/compare/v7.2.0...v7.2.1
v7.2.0
What's Changed
- chore(deps): update dependencies by @renovate
- feat(react-cookie): Add CookieGetOptions to useCookies by @presto2116 in https://github.com/bendotcodes/cookies/pull/532
- Release v7.2.0 by @eXon in https://github.com/bendotcodes/cookies/pull/596
New Contributors
- @presto2116 made their first contribution in https://github.com/bendotcodes/cookies/pull/532
Full Changelog: https://github.com/bendotcodes/cookies/compare/v7.1.4...v7.2.0
v7.1.4
What's Changed
- Fix TypeScript definition for ESM by @eXon in https://github.com/bendotcodes/cookies/pull/483
- Release v7.1.4 by @eXon in https://github.com/bendotcodes/cookies/pull/484
Full Changelog: https://github.com/bendotcodes/cookies/compare/v7.1.3...v7.1.4
v7.1.3
What's Changed
- Fix TypeScript for CJS (fix #477) by @eXon in https://github.com/bendotcodes/cookies/pull/480
- Release v7.1.3 by @eXon in https://github.com/bendotcodes/cookies/pull/481
Full Changelog: https://github.com/bendotcodes/cookies/compare/v7.1.2...v7.1.3
v7.1.2
What's Changed
- Fix TypeScript default export with ESM (bug #471) by @eXon in https://github.com/bendotcodes/cookies/pull/475
- Release v7.1.2 by @eXon in https://github.com/bendotcodes/cookies/pull/476
Full Changelog: https://github.com/bendotcodes/cookies/compare/v7.1.1...v7.1.2
v7.1.1
What's Changed
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/462
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/463
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/465
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/466
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/468
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/470
- fix: do not update during render by @SantoJambit in https://github.com/bendotcodes/cookies/pull/467
- Auto merge library upgrade individually with renovatebot by @eXon in https://github.com/bendotcodes/cookies/pull/472
- chore(deps): update dependency @types/node to v20.12.2 by @renovate in https://github.com/bendotcodes/cookies/pull/473
- Release v7.1.1 by @eXon in https://github.com/bendotcodes/cookies/pull/474
New Contributors
- @SantoJambit made their first contribution in https://github.com/bendotcodes/cookies/pull/467
Full Changelog: https://github.com/bendotcodes/cookies/compare/v7.1.0...v7.1.1
v7.1.0
What's Changed
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/456
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/458
- Fix UMD build & transform cookie CJS build into ESM for ESM build by @eXon in https://github.com/bendotcodes/cookies/pull/460
- Release v7.1.0 by @eXon in https://github.com/bendotcodes/cookies/pull/461
Full Changelog: https://github.com/bendotcodes/cookies/compare/v7.0.2...v7.1.0
v7.0.2
What's Changed
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/447
- Support partitioned attribute to manage the phasing out of third-party cookies by @pjchender in https://github.com/bendotcodes/cookies/pull/446
- Update dependency husky to v9 by @renovate in https://github.com/bendotcodes/cookies/pull/451
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/449
- Release v7.0.2 by @eXon in https://github.com/bendotcodes/cookies/pull/453
New Contributors
- @pjchender made their first contribution in https://github.com/bendotcodes/cookies/pull/446
Full Changelog: https://github.com/bendotcodes/cookies/compare/v7.0.1...v7.0.2
v7.0.1
What's Changed
- Add e2e test with playwright by @eXon in https://github.com/bendotcodes/cookies/pull/436
- Update actions/upload-artifact action to v4 by @renovate in https://github.com/bendotcodes/cookies/pull/437
- Update dependency rimraf to v5 by @renovate in https://github.com/bendotcodes/cookies/pull/439
- Replace dependency rollup-plugin-node-resolve with @rollup/plugin-node-resolve ^6.0.0 by @renovate in https://github.com/bendotcodes/cookies/pull/438
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/442
- Fix UMD version in readme to 7 by @eXon in https://github.com/bendotcodes/cookies/pull/443
- Remove postbuild by @eXon in https://github.com/bendotcodes/cookies/pull/444
- Hotfix : Fix ESM exports by @thib3113 in https://github.com/bendotcodes/cookies/pull/441
- Release v7.0.1 by @eXon in https://github.com/bendotcodes/cookies/pull/445
New Contributors
- @thib3113 made their first contribution in https://github.com/bendotcodes/cookies/pull/441
Full Changelog: https://github.com/bendotcodes/cookies/compare/v7.0.0...v7.0.1
v7.0.0
Breaking Changes
No breaking change has been made in v7. However, the entire build system has been rewritten and the output file structure has changed. The upgrade should be seamless unless if you were importing files in a subfolder. This is no longer supported.
What's Changed
- Refactor build system for ESM by @eXon in https://github.com/bendotcodes/cookies/pull/435
Full Changelog: https://github.com/bendotcodes/cookies/compare/v6.1.3...v7.0.0
v6.1.3
What's Changed
- Fix global undefined error in browser by @eXon in https://github.com/bendotcodes/cookies/pull/433
- Release v6.1.3 by @eXon in https://github.com/bendotcodes/cookies/pull/434
Full Changelog: https://github.com/bendotcodes/cookies/compare/v6.1.2...v6.1.3
v6.1.2
What's Changed
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/394
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/395
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/398
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/401
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/404
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/405
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/408
- Update dependency @types/node to v20.8.9 by @renovate in https://github.com/bendotcodes/cookies/pull/412
- Update actions/setup-node action to v4 by @renovate in https://github.com/bendotcodes/cookies/pull/411
- Update dependency lint-staged to v15 by @renovate in https://github.com/bendotcodes/cookies/pull/407
- Update dependency size-limit to v10 by @renovate in https://github.com/bendotcodes/cookies/pull/410
- Update dependency rollup to v4 by @renovate in https://github.com/bendotcodes/cookies/pull/403
- Update actions/checkout digest to
b4ffde6
by @renovate in https://github.com/bendotcodes/cookies/pull/399 - Fix syntax error universal-cookie README.md by @thibaultmthh in https://github.com/bendotcodes/cookies/pull/406
- Update dependency @size-limit/preset-small-lib to v10 by @renovate in https://github.com/bendotcodes/cookies/pull/409
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/413
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/414
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/418
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/420
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/421
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/423
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/424
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/426
- Update dependency @testing-library/jest-dom to ^6.1.6 by @renovate in https://github.com/bendotcodes/cookies/pull/427
- Update dependency size-limit to v11 by @renovate in https://github.com/bendotcodes/cookies/pull/416
- Update dependency @size-limit/preset-small-lib to v11 by @renovate in https://github.com/bendotcodes/cookies/pull/415
- Fix defaultoptions #396 by @eXon in https://github.com/bendotcodes/cookies/pull/428
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/429
- Fix yarn lock file by @eXon in https://github.com/bendotcodes/cookies/pull/430
- Fix memory leak #419 #425 by @eXon in https://github.com/bendotcodes/cookies/pull/431
- Release 6.1.2 by @eXon in https://github.com/bendotcodes/cookies/pull/432
New Contributors
- @thibaultmthh made their first contribution in https://github.com/bendotcodes/cookies/pull/406
Full Changelog: https://github.com/bendotcodes/cookies/compare/v6.1.1...v6.1.2
v6.1.1
What's Changed
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/385
- Update all non-major dependencies by @renovate in https://github.com/bendotcodes/cookies/pull/388
- Update actions/checkout action to v4 by @renovate in https://github.com/bendotcodes/cookies/pull/389
- Update dependency @size-limit/preset-small-lib to v9 by @renovate in https://github.com/bendotcodes/cookies/pull/390
- Update dependency size-limit to v9 by @renovate in https://github.com/bendotcodes/cookies/pull/391
- Fix Readme React hook example code typo (prop name) by @AndyLeezard in https://github.com/bendotcodes/cookies/pull/387
- Release v6.1.1 by @eXon in https://github.com/bendotcodes/cookies/pull/392
New Contributors
- @AndyLeezard made their first contribution in https://github.com/bendotcodes/cookies/pull/387
Full Changelog: https://github.com/bendotcodes/cookies/compare/v6.1.0...v6.1.1
v6.1.0
What's Changed
- Automatically detect changes from the browser by @eXon in https://github.com/bendotcodes/cookies/pull/384
Full Changelog: https://github.com/bendotcodes/cookies/compare/v6.0.1...v6.1.0
v6.0.1
What's Changed
- Add missing types in package.json by @eXon in https://github.com/bendotcodes/cookies/pull/381
Full Changelog: https://github.com/bendotcodes/cookies/compare/v6.0.0...v6.0.1
v6.0.0
What's Changed
-
BREAKING CHANGE The undocumented encode/decode functions are no longer supported in
universal-cookie
- BREAKING CHANGE All JavaScript types are now serialized in JSON, except strings
- defaultSetOptions has been added to Cookies in
universal-cookie
- defaultSetOptions prop has been added to CookiesProvider in
react-cookie
- update function has been added to
universal-cookie
so that you can update cookies after they are changed by the server - updateCookies function has been added to useCookies in
react-cookie
Full Changelog: https://github.com/bendotcodes/cookies/compare/v5.0.0...v6.0.0
v5.0.0
: - Reborn!
NO BREAKING CHANGES
This project has been inactive for 4 years and is about to be active again. I am starting this new 5.0 era with no breaking changes. Instead, a lot of house keeping has been done:
- Updated all dependencies to latest version
- Changed the test runner from karma to jest
- Changed UglifyJS to Terser for magnification
- Rewrote the react-cookie tests with React Testing Library
- Automated the tests process and publish process with Github Actions
vitejs/vite (vite)
v6.3.5
v6.3.4
- fix: check static serve file inside sirv (#19965) (c22c43d), closes #19965
- fix(optimizer): return plain object when using
require
to import externals in optimized dependenci (efc5eab), closes #19940 - refactor: remove duplicate plugin context type (#19935) (d6d01c2), closes #19935
v6.3.3
- fix: ignore malformed uris in tranform middleware (#19853) (e4d5201), closes #19853
- fix(assets): ensure ?no-inline is not included in the asset url in the production environment (#1949 (16a73c0), closes #19496
- fix(css): resolve relative imports in sass properly on Windows (#19920) (ffab442), closes #19920
- fix(deps): update all non-major dependencies (#19899) (a4b500e), closes #19899
- fix(ssr): fix execution order of re-export (#19841) (ed29dee), closes #19841
- fix(ssr): fix live binding of default export declaration and hoist exports getter (#19842) (80a91ff), closes #19842
- perf: skip sourcemap generation for renderChunk hook of import-analysis-build plugin (#19921) (55cfd04), closes #19921
- test(ssr): test
ssrTransform
re-export deps and test stacktrace with first line (#19629) (9399cda), closes #19629
v6.3.2
- fix: match default asserts case insensitive (#19852) (cbdab1d), closes #19852
- fix: open first url if host does not match any urls (#19886) (6abbdce), closes #19886
- fix(css): respect
css.lightningcss
option in css minification process (#19879) (b5055e0), closes #19879 - fix(deps): update all non-major dependencies (#19698) (bab4cb9), closes #19698
- feat(css): improve lightningcss messages (#19880) (c713f79), closes #19880
v6.3.1
- fix: avoid using
Promise.allSettled
in preload function (#19805) (35c7f35), closes #19805 - fix: backward compat for internal plugin
transform
calls (#19878) (a152b7c), closes #19878
v6.3.0
- fix(hmr): avoid infinite loop happening with
hot.invalidate
in circular deps (#19870) (d4ee5e8), closes #19870 - fix(preview): use host url to open browser (#19836) (5003434), closes #19836
v6.2.7
Please refer to CHANGELOG.md for details.
v6.2.6
Please refer to CHANGELOG.md for details.
v6.2.5
Please refer to CHANGELOG.md for details.
v6.2.4
Please refer to CHANGELOG.md for details.
v6.2.3
Please refer to CHANGELOG.md for details.
v6.2.2
- fix: await client buildStart on top level buildStart (#19624) (b31faab), closes #19624
- fix(css): inline css correctly for double quote use strict (#19590) (d0aa833), closes #19590
- fix(deps): update all non-major dependencies (#19613) (363d691), closes #19613
- fix(indexHtml): ensure correct URL when querying module graph (#19601) (dc5395a), closes #19601
- fix(preview): use preview https config, not server (#19633) (98b3160), closes #19633
- fix(ssr): use optional chaining to prevent "undefined is not an object" happening in `ssrRewriteStac (4309755), closes #19612
- feat: show friendly error for malformed
base
(#19616) (2476391), closes #19616 - feat(worker): show asset filename conflict warning (#19591) (367d968), closes #19591
- chore: extend commit hash correctly when ambigious with a non-commit object (#19600) (89a6287), closes #19600
v6.2.1
- refactor: remove
isBuild
check from preAliasPlugin (#19587) (c9e086d), closes #19587 - refactor: restore endsWith usage (#19554) (6113a96), closes #19554
- refactor: use
applyToEnvironment
in internal plugins (#19588) (f678442), closes #19588 - fix(css): stabilize css module hashes with lightningcss in dev mode (#19481) (92125b4), closes #19481
- fix(deps): update all non-major dependencies (#19555) (f612e0f), closes #19555
- fix(reporter): fix incorrect bundle size calculation with non-ASCII characters (#19561) (437c0ed), closes #19561
- fix(sourcemap): combine sourcemaps with multiple sources without matched source (#18971) (e3f6ae1), closes #18971
- fix(ssr): named export should overwrite export all (#19534) (2fd2fc1), closes #19534
- feat: add
*?url&no-inline
type and warning for.json?inline
/.json?no-inline
(#19566) (c0d3667), closes #19566 - test: add glob import test case (#19516) (aa1d807), closes #19516
- test: convert config playground to unit tests (#19568) (c0e68da), closes #19568
- test: convert resolve-config playground to unit tests (#19567) (db5fb48), closes #19567
- perf: flush compile cache after 10s (#19537) (6c8a5a2), closes #19537
- chore(css): move environment destructuring after condition check (#19492) (c9eda23), closes #19492
- chore(html): remove unnecessary value check (#19491) (797959f), closes #19491
v6.2.0
- fix(deps): update all non-major dependencies (#19501) (c94c9e0), closes #19501
- fix(worker): string interpolation in dynamic worker options (#19476) (07091a1), closes #19476
- chore: use unicode cross icon instead of x (#19497) (5c70296), closes #19497
v6.1.6
Please refer to CHANGELOG.md for details.
v6.1.5
Please refer to CHANGELOG.md for details.
v6.1.4
Please refer to CHANGELOG.md for details.
v6.1.3
Please refer to CHANGELOG.md for details.
v6.1.2
Please refer to CHANGELOG.md for details.
v6.1.1
- fix: ensure
.[cm]?[tj]sx?
static assets are JS mime (#19453) (e7ba55e), closes #19453 - fix: ignore
*.ipv4
address in cert (#19416) (973283b), closes #19416 - fix(css): run rewrite plugin if postcss plugin exists (#19371) (bcdb51a), closes #19371
- fix(deps): bump tsconfck (#19375) (746a583), closes #19375
- fix(deps): update all non-major dependencies (#19392) (60456a5), closes #19392
- fix(deps): update all non-major dependencies (#19440) (ccac73d), closes #19440
- fix(html): ignore malformed src attrs (#19397) (aff7812), closes #19397
- fix(worker): fix web worker type detection (#19462) (edc65ea), closes #19462
- refactor: remove custom .jxl mime (#19457) (0c85464), closes #19457
- feat: add support for injecting debug IDs (#18763) (0ff556a), closes #18763
- chore: update 6.1.0 changelog (#19363) (fa7c211), closes #19363
v6.1.0
Features
- feat: show hosts in cert in CLI (#19317) (a5e306f), closes #19317
- feat: support for env var for defining allowed hosts (#19325) (4d88f6c), closes #19325
- feat: use native runtime to import the config (#19178) (7c2a794), closes #19178
- feat: print
port
in the logged error message after failed WS connection withEADDRINUSE
(#19212) (14027b0), closes #19212 - perf(css): only run postcss when needed (#19061) (30194fa), closes #19061
- feat: add support for
.jxl
(#18855) (57b397c), closes #18855 - feat: add the
builtins
environmentresolve
(#18584) (2c2d521), closes #18584 - feat: call Logger for plugin logs in build (#13757) (bf3e410), closes #13757
- feat: export
defaultAllowedOrigins
for user-land config and 3rd party plugins (#19259) (dc8946b), closes #19259 - feat: expose createServerModuleRunnerTransport (#18730) (8c24ee4), closes #18730
- feat: support async for proxy.bypass (#18940) (a6b9587), closes #18940
- feat: support log related functions in dev (#18922) (3766004), closes #18922
- feat: use module runner to import the config (#18637) (b7e0e42), closes #18637
- feat(css): add friendly errors for IE hacks that are not supported by lightningcss (#19072) (caad985), closes #19072
- feat(optimizer): support bun text lockfile (#18403) (05b005f), closes #18403
- feat(reporter): add
wasm
to the compressible assets regex (#19085) (ce84142), closes #19085 - feat(worker): support dynamic worker option fields (#19010) (d0c3523), closes #19010
Fixes
- fix: avoid builtStart during vite optimize (#19356) (fdb36e0), closes #19356
- fix(build): fix stale build manifest on watch rebuild (#19361) (fcd5785), closes #19361
- fix: allow expanding env vars in reverse order (#19352) (3f5f2bd), closes #19352
- fix: avoid packageJson without name in
resolveLibCssFilename
(#19324) (f183bdf), closes #19324 - fix(html): fix css disorder when building multiple entry html (#19143) (e7b4ba3), closes #19143
- fix: don't call buildStart hooks for
vite optimize
(#19347) (19ffad0), closes #19347 - fix: don't call next middleware if user sent response in proxy.bypass (#19318) (7e6364d), closes #19318
- fix: respect top-level
server.preTransformRequests
(#19272) (12aaa58), closes #19272 - fix: use
nodeLikeBuiltins
forssr.target: 'webworker'
withoutnoExternal: true
(#19313) (9fc31b6), closes #19313 - fix(css): less
@plugin
imports of JS files treated as CSS and rebased (fix #19268) (#19269) (602b373), closes #19268 #19269 - fix(deps): update all non-major dependencies (#19296) (2bea7ce), closes #19296
- fix(resolve): preserve hash/search of file url (#19300) (d1e1b24), closes #19300
- fix(resolve): warn if node-like builtin was imported when
resolve.builtin
is empty (#19312) (b7aba0b), closes #19312 - fix(ssr): fix transform error due to export all id scope (#19331) (e28bce2), closes #19331
- fix(ssr): pretty print plugin error in
ssrLoadModule
(#19290) (353c467), closes #19290 - fix: change ResolvedConfig type to interface to allow extending it (#19210) (bc851e3), closes #19210
- fix: correctly resolve hmr dep ids and fallback to url (#18840) (b84498b), closes #18840
- fix: make
--force
work for all environments (#18901) (51a42c6), closes #18901 - fix: use loc.file from rollup errors if available (#19222) (ce3fe23), closes #19222
- fix(deps): update all non-major dependencies (#19190) (f2c07db), closes #19190
- fix(hmr): register inlined assets as a dependency of CSS file (#18979) (eb22a74), closes #18979
- fix(resolve): support resolving TS files by JS extension specifiers in JS files (#18889) (612332b), closes #18889
- fix(ssr): combine empty source mappings (#19226) (ba03da2), closes #19226
- fix(utils): clone
RegExp
values withnew RegExp
instead ofstructuredClone
(fix #19245, fix #1 (56ad2be), closes #19245 #18875 #19247
Chore
- refactor: deprecate
vite optimize
command (#19348) (6e0e3c0), closes #19348 - chore: update deprecate links domain (#19353) (2b2299c), closes #19353
- docs: rephrase browser range and features relation (#19286) (97569ef), closes #19286
- docs: update
build.manifest
jsdocs (#19332) (4583781), closes #19332 - chore: remove outdated code comment about
scanImports
not being used in ssr (#19285) (fbbc6da), closes #19285 - chore: unneeded name in lockfileFormats (#19275) (96092cb), closes #19275
- chore(deps): update dependency strip-literal to v3 (#19231) (1172d65), closes #19231
Beta Changelogs
6.1.0-beta.2 (2025-02-04)
6.1.0-beta.1 (2025-02-04)
6.1.0-beta.0 (2025-01-24)
v6.0.15
Please refer to CHANGELOG.md for details.
v6.0.14
Please refer to CHANGELOG.md for details.
v6.0.13
Please refer to CHANGELOG.md for details.
v6.0.12
Please refer to CHANGELOG.md for details.
v6.0.11
- fix:
preview.allowedHosts
with specific values was not respected (#19246) (aeb3ec8), closes #19246 - fix: allow CORS from loopback addresses by default (#19249) (3d03899), closes #19249
v6.0.10
v6.0.9
- fix!: check host header to prevent DNS rebinding attacks and introduce
server.allowedHosts
(bd896fb) - fix!: default
server.cors: false
to disallow fetching from untrusted origins (b09572a) - fix: verify token for HMR WebSocket connection (029dcd6)
v6.0.8
- fix: avoid SSR HMR for HTML files (#19193) (3bd55bc), closes #19193
- fix: build time display 7m 60s (#19108) (cf0d2c8), closes #19108
- fix: don't resolve URL starting with double slash (#19059) (35942cd), closes #19059
- fix: ensure
server.close()
only called once (#19204) (db81c2d), closes #19204 - fix: resolve.conditions in ResolvedConfig was
defaultServerConditions
(#19174) (ad75c56), closes #19174 - fix: tree shake stringified JSON imports (#19189) (f2aed62), closes #19189
- fix: use shared sigterm callback (#19203) (47039f4), closes #19203
- fix(deps): update all non-major dependencies (#19098) (8639538), closes #19098
- fix(optimizer): use correct default install state path for yarn PnP (#19119) (e690d8b), closes #19119
- fix(types): improve
ESBuildOptions.include / exclude
type to allowreadonly (string | RegExp)[]
(ea53e70), closes #19146 - chore(deps): update dependency pathe to v2 (#19139) (71506f0), closes #19139
v6.0.7
- fix: fix
minify
whenbuilder.sharedPlugins: true
(#19025) (f7b1964), closes #19025 - fix: skip the plugin if it has been called before with the same id and importer (#19016) (b178c90), closes #19016
- fix(html): error while removing
vite-ignore
attribute for inline script (#19062) (a492253), closes #19062 - fix(ssr): fix semicolon injection by ssr transform (#19097) (1c102d5), closes #19097
- perf: skip globbing for static path in warmup (#19107) (677508b), closes #19107
- feat(css): show lightningcss warnings (#19076) (b07c036), closes #19076
v6.0.6
- fix: replace runner-side path normalization with
fetchModule
-side resolve (#18361) (9f10261), closes #18361 - fix(css): resolve style tags in HTML files correctly for lightningcss (#19001) (afff05c), closes #19001
- fix(css): show correct error when unknown placeholder is used for CSS modules pattern in lightningcs (9290d85), closes #19070
- fix(resolve): handle package.json with UTF-8 BOM (#19000) (902567a), closes #19000
- fix(ssrTransform): preserve line offset when transforming imports (#19004) (1aa434e), closes #19004
- chore: fix typo in comment (#19067) (eb06ec3), closes #19067
- chore: update comment about
build.target
(#19047) (0e9e81f), closes #19047 - revert: unpin esbuild version (#19043) (8bfe247), closes #19043
- test(ssr): test virtual module with query (#19044) (a1f4b46), closes #19044
v6.0.5
v6.0.4
- fix:
this.resolve
skipSelf should not skip for differentid
orimport
(#18903) (4727320), closes #18903 - fix: fallback terser to main thread when function options are used (#18987) (12b612d), closes #18987
- fix: merge client and ssr values for
pluginContainer.getModuleInfo
(#18895) (258cdd6), closes #18895 - fix(css): escape double quotes in
url()
when lightningcss is used (#18997) (3734f80), closes #18997 - fix(css): root relative import in sass modern API on Windows (#18945) (c4b532c), closes #18945
- fix(css): skip non css in custom sass importer (#18970) (21680bd), closes #18970
- fix(deps): update all non-major dependencies (#18967) (d88d000), closes #18967
- fix(deps): update all non-major dependencies (#18996) (2b4f115), closes #18996
- fix(optimizer): keep NODE_ENV as-is when keepProcessEnv is
true
(#18899) (8a6bb4e), closes #18899 - fix(ssr): recreate ssrCompatModuleRunner on restart (#18973) (7d6dd5d), closes #18973
- chore: better validation error message for dts build (#18948) (63b82f1), closes #18948
- chore(deps): update all non-major dependencies (#18916) (ef7a6a3), closes #18916
- chore(deps): update dependency @rollup/plugin-node-resolve to v16 (#18968) (62fad6d), closes #18968
- refactor: make internal invoke event to use the same interface with
handleInvoke
(#18902) (27f691b), closes #18902 - refactor: simplify manifest plugin code (#18890) (1bfe21b), closes #18890
- test: test
ModuleRunnerTransport
invoke
API (#18865) (e5f5301), closes #18865 - test: test output hash changes (#18898) (bfbb130), closes #18898
v6.0.3
- fix: handle postcss load unhandled rejections (#18886) (d5fb653), closes #18886
- fix: make handleInvoke interface compatible with invoke (#18876) (a1dd396), closes #18876
- fix: make result interfaces for
ModuleRunnerTransport#invoke
more explicit (#18851) (a75fc31), closes #18851 - fix: merge
environments.ssr.resolve
with rootssr
config (#18857) (3104331), closes #18857 - fix: no permission to create vite config file (#18844) (ff47778), closes #18844
- fix: remove CSS import in CJS correctly in some cases (#18885) (690a36f), closes #18885
- fix(config): bundle files referenced with imports field (#18887) (2b5926a), closes #18887
- fix(config): make stacktrace path correct when sourcemap is enabled (#18833) (20fdf21), closes #18833
- fix(css): rewrite url when image-set and url exist at the same time (#18868) (d59efd8), closes #18868
- fix(deps): update all non-major dependencies (#18853) (5c02236), closes #18853
- fix(html): allow unexpected question mark in tag name (#18852) (1b54e50), closes #18852
- fix(module-runner): decode uri for file url passed to import (#18837) (88e49aa), closes #18837
- refactor: fix logic errors found by no-unnecessary-condition rule (#18891) (ea802f8), closes #18891
- chore: fix duplicate attributes issue number in comment (#18860) (ffee618), closes #18860
v6.0.2
- chore: run typecheck in unit tests (#18858) (49f20bb), closes #18858
- chore: update broken links in changelog (#18802) (cb754f8), closes #18802
- chore: update broken links in changelog (#18804) (47ec49f), closes #18804
- fix: don't store temporary vite config file in
node_modules
if deno (#18823) (a20267b), closes #18823 - fix(css): referencing aliased svg asset with lightningcss enabled errored (#18819) (ae68958), closes #18819
- fix(manifest): use
style.css
as a key for the style file forcssCodesplit: false
(#18820) (ec51115), closes #18820 - fix(optimizer): resolve all promises when cancelled (#18826) (d6e6194), closes #18826
- fix(resolve): don't set builtinModules to
external
by default (#18821) (2250ffa), closes #18821 - fix(ssr): set
ssr.target: 'webworker'
defaults as fallback (#18827) (b39e696), closes #18827 - feat(css): format lightningcss error (#18818) (dac7992), closes #18818
- refactor: make properties of ResolvedServerOptions and ResolvedPreviewOptions required (#18796) (51a5569), closes #18796
v6.0.1
- fix:
preview.allowedHosts
with specific values was not respected (#19246) (aeb3ec8), closes #19246 - fix: allow CORS from loopback addresses by default (#19249) (3d03899), closes #19249
v6.0.0
Today, we're taking another big step in Vite's story. The Vite team, contributors, and ecosystem partners are excited to announce the release of the next Vite major:
- Vite 6.0 announcement blog post
- Docs
- Translations: 简体中文, 日本語, Español, Português, 한국어, Deutsch
- Migration Guide
We want to thank the more than 1K contributors to Vite Core and the maintainers and contributors of Vite plugins, integrations, tools, and translations that have helped us craft this new major. We invite you to get involved and help us improve Vite for the whole ecosystem. Learn more at our Contributing Guide.
Breaking Changes
- feat!: drop node 21 support in version ranges (#18729) (a384d8f), closes #18729
- fix(deps)!: update dependency dotenv-expand to v12 (#18697) (0c658de), closes #18697
- feat(html)!: support more asset sources (#11138) (8a7af50), closes #11138
- feat(resolve)!: allow removing conditions (#18395) (d002e7d), closes #18395
- refactor!: remove fs.cachedChecks option (#18493) (94b0857), closes #18493
- feat!: proxy bypass with WebSocket (#18070) (3c9836d), closes #18070
- feat!: support
file://
resolution (#18422) (6a7e313), closes #18422 - feat!: update to chokidar v4 (#18453) (192d555), closes #18453
- feat(lib)!: use package name for css output file name (#18488) (61cbf6f), closes #18488
- fix(css)!: remove default import in ssr dev (#17922) (eccf663), closes #17922
- chore(deps)!: update postcss-load-config to v6 (#15235) (3a27f62), closes #15235
- feat(css)!: change default sass api to modern/modern-compiler (#17937) (d4e0442), closes #17937
- feat(css)!: load postcss config within workspace root only (#18440) (d23a493), closes #18440
- feat(json)!: add
json.stringify: 'auto'
and make that the default (#18303) (b80daa7), closes #18303 - fix!: default
build.cssMinify
to'esbuild'
for SSR (#15637) (f1d3bf7), closes #15637 - chore(deps)!: migrate
fast-glob
totinyglobby
(#18243) (6f74a3a), closes #18243 - refactor!: bump minimal terser version to 5.16.0 (#18209) (19ce525), closes #18209
- feat!: Environment API (#16471) (242f550), closes #16471
Features
- feat: add support for .cur type (#18680) (5ec9eed), closes #18680
- feat: enable HMR by default on ModuleRunner side (#18749) (4d2abc7), closes #18749
- feat: support
module-sync
condition when loading config if enabled (#18650) (cf5028d), closes #18650 - feat: add
isSsrTargetWebWorker
flag toconfigEnvironment
hook (#18620) (3f5fab0), closes #18620 - feat: add
ssr.resolve.mainFields
option (#18646) (a6f5f5b), closes #18646 - feat: expose default mainFields/conditions (#18648) (c12c653), closes #18648
- feat: extended applyToEnvironment and perEnvironmentPlugin (#18544) (8fa70cd), closes #18544
- feat: show error when accessing variables not exposed in CJS build (#18649) (87c5502), closes #18649
- feat(optimizer): allow users to specify their esbuild
platform
option (#18611) (0924879), closes #18611 - refactor: introduce
mergeWithDefaults
and organize how default values for config options are set ( (0e1f437), closes #18550 - build: ignore cjs warning (#18660) (33b0d5a), closes #18660
- feat: use a single transport for fetchModule and HMR support (#18362) (78dc490), closes #18362
- feat(asset): add
?inline
and?no-inline
queries to control inlining (#15454) (9162172), closes #15454 - feat(asset): inline svg in dev if within limit (#18581) (f08b146), closes #18581
- feat: log complete config in debug mode (#18289) (04f6736), closes #18289
- feat(html): support
vite-ignore
attribute to opt-out of processing (#18494) (d951310), closes #18494 - feat: allow custom
console
increateLogger
(#18379) (0c497d9), closes #18379 - feat: read
sec-fetch-dest
header to detect JS in transform (#9981) (e51dc40), closes #9981 - feat(css): add more stricter typing of lightningcss (#18460) (b9b925e), closes #18460
- feat: add .git to deny list by default (#18382) (105ca12), closes #18382
- feat: add
environment::listen
(#18263) (4d5f51d), closes #18263 - feat: enable dependencies discovery and pre-bundling in ssr environments (#18358) (9b21f69), closes #18358
- feat: restrict characters useable for environment name (#18255) (9ab6180), closes #18255
- feat: support arbitrary module namespace identifier imports from cjs deps (#18236) (4389a91), closes #18236
- feat: introduce RunnableDevEnvironment (#18190) (fb292f2), closes #18190
- feat: support
this.environment
inoptions
andonLog
hook (#18142) (7722c06), closes #18142 - feat: expose
EnvironmentOptions
type (#18080) (35cf59c), closes #18080 - feat(css): support es2023 build target for lightningcss (#17998) (1a76300), closes #17998
Performance
- perf: reduce bundle size for
Object.keys(import.meta.glob(...))
/ `Object.values(import.meta.glob( (ed99a2c), closes #18666 - perf(worker): inline worker without base64 (#18752) (90c66c9), closes #18752
- perf: remove strip-ansi for a node built-in (#18630) (5182272), closes #18630
- perf(css): skip style.css extraction if code-split css (#18470) (34fdb6b), closes #18470
- perf: call
module.enableCompileCache()
(#18323) (18f1dad), closes #18323 - perf: use
crypto.hash
when available (#18317) (2a14884), closes #18317 - build: reduce package size (#18517) (b83f60b), closes #18517
Fixes
- fix:
createRunnableDevEnvironment
returnsRunnableDevEnvironment
, notDevEnvironment
(#18673) (74221c3), closes #18673 - fix:
getModulesByFile
should return aserverModule
(#18715) (b80d5ec), closes #18715 - fix: catch error in full reload handler (#18713) (a10e741), closes #18713
- fix: display pre-transform error details (#18764) (554f45f), closes #18764
- fix: exit code on
SIGTERM
(#18741) (cc55e36), closes #18741 - fix: expose missing
InterceptorOptions
type (#18766) (6252c60), closes #18766 - fix: log error when send in module runner failed (#18753) (ba821bb), closes #18753
- fix(client): overlay not appearing when multiple vite clients were loaded (#18647) (27d70b5), closes #18647
- fix(deps): update all non-major dependencies (#18691) (f005461), closes #18691
- fix(html): fix inline proxy modules invalidation (#18696) (8ab04b7), closes #18696
- fix(module-runner): make evaluator optional (#18672) (fd1283f), closes #18672
- fix(optimizer): detect npm / yarn / pnpm dependency changes correctly (#17336) (#18560) (818cf3e), closes #17336 #18560
- fix(optimizer): trigger onCrawlEnd after manual included deps are registered (#18733) (dc60410), closes #18733
- fix(optimizer): workaround firefox's false warning for no sources source map (#18665) (473424e), closes #18665
- fix(ssr): replace
__vite_ssr_identity__
with(0, ...)
and inject;
between statements (#18748) (94546be), closes #18748 - refactor: first character judgment replacement regexp (#18658) (58f1df3), closes #18658
- refactor(resolve): remove
allowLinkedExternal
parameter fromtryNodeResolve
(#18670) (b74d363), closes #18670 - revert: use chokidar v3 (#18659) (49783da), closes #18659
- fix: cjs build for perEnvironmentState et al (#18656) (95c4b3c), closes #18656
- fix: include more modules to prefix-only module list (#18667) (5a2103f), closes #18667
- fix(html): externalize
rollup.external
scripts correctly (#18618) (55461b4), closes #18618 - fix(ssr): format
ssrTransform
parse error (#18644) (d9be921), closes #18644 - fix(ssr): preserve fetchModule error details (#18626) (866a433), closes #18626
- fix: browser field should not be included by default for
consumer: 'server'
(#18575) (87b2347), closes #18575 - fix: use
server.perEnvironmentStartEndDuringDev
(#18549) (fe30349), closes #18549 - fix(client): detect ws close correctly (#18548) (637d31b), closes #18548
- fix(resolve): run ensureVersionQuery for SSR (#18591) (63207e5), closes #18591
- refactor(resolve): remove
environmentsOptions
parameter (#18590) (3ef0bf1), closes #18590 - fix: allow nested dependency selector to be used for
optimizeDeps.include
for SSR (#18506) (826c81a), closes #18506 - fix: asset
new URL(,import.meta.url)
match (#18194) (5286a90), closes #18194 - fix: close watcher if it's disabled (#18521) (85bd0e9), closes #18521
- fix(config): write temporary vite config to node_modules (#18509) (72eaef5), closes #18509
- fix(css):
cssCodeSplit
uses the current environment configuration (#18486) (eefe895), closes #18486 - fix(json): don't
json.stringify
arrays (#18541) (fa50b03), closes #18541 - fix(less): prevent rebasing
@import url(...)
(#17857) (aec5fdd), closes #17857 - fix(lib): only resolve css bundle name if have styles (#18530) (5d6dc49), closes #18530
- fix(scss): improve error logs (#18522) (3194a6a), closes #18522
- refactor: client-only top-level warmup (#18524) (a50ff60), closes #18524
- fix:
define
in environment config was not working (#18515) (052799e), closes #18515 - fix: consider URLs with any protocol to be external (#17369) (a0336bd), closes #17369
- fix: use picomatch to align with tinyglobby (#18503) (437795d), closes #18503
- fix(build): apply resolve.external/noExternal to server environments (#18495) (5a967cb), closes #18495
- fix(config): remove error if require resolve to esm (#18437) (f886f75), closes #18437
- refactor: separate tsconfck caches per config in a weakmap (#17317) (b9b01d5), closes #17317
- fix: handle warmup glob hang (#18462) (409fa5c), closes #18462
- fix: return the same instance of ModuleNode for the same EnvironmentModuleNode (#18455) (5ead461), closes #18455
- fix: set scripts imported by HTML moduleSideEffects=true (#18411) (2ebe4b4), closes #18411
- fix: use websocket to test server liveness before client reload (#17891) (7f9f8c6), closes #17891
- fix(css):
cssCodeSplit
inenvironments.xxx.build
is invalid (#18464) (993e71c), closes #18464 - fix(css): make sass types work with sass-embedded (#18459) (89f8303), closes #18459
- fix(deps): update all non-major dependencies (#18484) (2ec12df), closes #18484
- fix(manifest): non entry CSS chunk src was wrong (#18133) (c148676), closes #18133
- fix(module-runner): delay function eval until module runner instantiation (#18480) (472afbd), closes #18480
- fix(plugins): noop if config hook returns same config reference (#18467) (bd540d5), closes #18467
- fix: add typing to
CSSOptions.preprocessorOptions
(#18001) (7eeb6f2), closes #18001 - fix(dev): prevent double URL encoding in server.open on macOS (#18443) (56b7176), closes #18443
- fix(preview): set resolvedUrls null after close (#18445) (65014a3), closes #18445
- fix(ssr): inject identity function at the top (#18449) (0ab20a3), closes #18449
- fix(ssr): preserve source maps for hoisted imports (fix #16355) (#16356) (8e382a6), closes #16355 #16356
- fix: augment hash for CSS files to prevent chromium erroring by loading previous files (#18367) (a569f42), closes #18367
- fix: more robust plugin.sharedDuringBuild (#18351) (47b1270), closes #18351
- fix(cli):
--watch
should not overridebuild.watch
options (#18390) (b2965c8), closes #18390 - fix(css): don't transform sass function calls with namespace (#18414) (dbb2604), closes #18414
- fix(deps): update
open
dependency to 10.1.0 (#18349) (5cca4bf), closes #18349 - fix(deps): update all non-major dependencies (#18345) (5552583), closes #18345
- fix(ssr):
this
in exported function should beundefined
(#18329) (bae6a37), closes #18329 - fix(worker): rewrite rollup
output.format
withworker.format
on worker build error (#18165) (dc82334), closes #18165 - fix:
injectQuery
double encoding (#18246) (2c5f948), closes #18246 - fix: add position to import analysis resolve exception (#18344) (0fe95d4), closes #18344
- fix: destroy the runner when runnable environment is closed (#18282) (5212d09), closes #18282
- fix: handle yarn command fail when root does not exist (#18141) (460aaff), closes #18141
- fix: make it easier to configure environment runner (#18273) (fb35a78), closes #18273
- fix(assets): make srcset parsing HTML spec compliant (#16323) (#18242) (0e6d4a5), closes #16323 #18242
- fix(css): dont remove JS chunk for pure CSS chunk when the export is used (#18307) (889bfc0), closes #18307
- fix(deps): bump tsconfck (#18322) (67783b2), closes #18322
- fix(deps): update all non-major dependencies (#18292) (5cac054), closes #18292
- fix(hmr): don't try to rewrite imports for direct CSS soft invalidation (#18252) (a03bb0e), closes #18252
- fix(middleware-mode): call all hot.listen when server restart (#18261) (007773b), closes #18261
- fix(optimizer): don't externalize transitive dep package name with asset extension (#18152) (fafc7e2), closes #18152
- fix(resolve): fix resolve cache key for external conditions (#18332) (93d286c), closes #18332
- fix(resolve): fix resolve cache to consider
conditions
and more (#18302) (2017a33), closes #18302 - fix(types): add more overload to
defineConfig
(#18299) (94e34cf), closes #18299 - fix: asset import should skip handling data URIs (#18163) (70813c7), closes #18163
- fix: cache the runnable environment module runner (#18215) (95020ab), closes #18215
- fix: call
this.hot.close
for non-ws HotChannel (#18212) (bad0ccc), closes #18212 - fix: close HotChannel on environment close (#18206) (2d148e3), closes #18206
- fix: require serialization for
HMRConnection.send
on implementation side (#18186) (9470011), closes #18186 - fix: use
config.consumer
instead ofoptions?.ssr
/config.build.ssr
(#18140) (21ec1ce), closes #18140 - fix(config): treat all files as ESM on deno (#18081) (c1ed8a5), closes #18081
- fix(css): ensure sass compiler initialized only once (#18128) (4cc5322), closes #18128
- fix(css): fix lightningcss dep url resolution with custom root (#18125) (eb08f60), closes #18125
- fix(css): fix missing source file warning with sass modern api custom importer (#18113) (d7763a5), closes #18113
- fix(data-uri): only match ids starting with
data:
(#18241) (ec0efe8), closes #18241 - fix(deps): update all non-major dependencies (#18170) (c8aea5a), closes #18170
- fix(deps): upgrade rollup 4.22.4+ to ensure avoiding XSS (#18180) (ea1d0b9), closes #18180
- fix(html): make build-html plugin work with
sharedPlugins
(#18214) (34041b9), closes #18214 - fix(mixedModuleGraph): handle undefined id in getModulesByFile (#18201) (768a50f), closes #18201
- fix(optimizer): re-optimize when changing config
webCompatible
(#18221) (a44b0a2), closes #18221 - fix(ssr): fix source map remapping with multiple sources (#18150) (e003a2c), closes #18150
- fix(vite): refactor "module cache" to "evaluated modules", pass down module to "runInlinedModule" (# (e83beff), closes #18092
- fix: avoid DOM Clobbering gadget in
getRelativeUrlFromDocument
(#18115) (ade1d89), closes #18115 - fix: fs raw query (#18112) (9d2413c), closes #18112
- fix(preload): throw error preloading module as well (#18098) (ba56cf4), closes #18098
- fix: allow scanning exports from
script module
in svelte (#18063) (7d699aa), closes #18063 - fix: ensure req.url matches moduleByEtag URL to avoid incorrect 304 (#17997) (abf04c3), closes #17997
- fix: incorrect environment consumer option resolution (#18079) (0e3467e), closes #18079
- fix: store backwards compatible
ssrModule
andssrError
(#18031) (cf8ced5), closes #18031 - fix(build): declare
preload-helper
has no side effects (#18057) (587ad7b), closes #18057 - fix(css): fallback to mainthread if logger or pkgImporter option is set for sass (#18071) (d81dc59), closes #18071
- fix(dynamicImportVars): correct glob pattern for paths with parentheses (#17940) (2a391a7), closes #17940
- fix(html): escape html attribute (#18067) (5983f36), closes #18067
- fix(preload): allow ignoring dep errors (#18046) (3fb2889), closes #18046
Chore
- chore: add 5.4.x changelogs (#18768) (26b58c8), closes #18768
- chore: add some comments about mimes (#18705) (f07e9b9), closes #18705
- chore(deps): update all non-major dependencies (#18746) (0ad16e9), closes #18746
- docs: rename
HotUpdateContext
toHotUpdateOptions
(#18718) (824c347), closes #18718 - test: simplify
playground/json/__tests__/ssr
(#18701) (f731ca2), closes #18701 - chore: tweak build config (#18622) (2a88f71), closes #18622
- chore(deps): update all non-major dependencies (#18634) (e2231a9), closes #18634
- chore(deps): update transitive deps (#18602) (0c8b152), closes #18602
- chore: add warning for
/
mapping inresolve.alias
(#18588) (a51c254), closes #18588 - chore: remove unused
ssr
variable (#18594) (23c39fc), closes #18594 - chore(deps): update all non-major dependencies (#18562) (fb227ec), closes #18562
- test: update filename regex (#18593) (dd25c1a), closes #18593
- chore: fix moduleSideEffects in build script on Windows (#18518) (25fe9e3), closes #18518
- chore: use premove instead of rimraf (#18499) (f97a578), closes #18499
- docs: add jsdocs to flags in BuilderOptions (#18516) (1507068), closes #18516
- docs: missing changes guides (#18491) (5da78a6), closes #18491
- docs: update fs.deny default in JSDoc (#18514) (1fcc83d), closes #18514
- refactor: optimizeDeps back to top level (#18465) (1ac22de), closes #18465
- refactor: top-level createEnvironment is client-only (#18475) (6022fc2), closes #18475
- refactor(css): hide internal preprocessor types and expose types used for options (#18458) (c32837c), closes #18458
- refactor: use
originalFileNames
/names
(#18240) (f2957c8), closes #18240 - test: fix test conflict (#18446) (94cd1e6), closes #18446
- chore(deps): update dependency picomatch to v4 (#15876) (3774881), closes #15876
- refactor: use builder in
build
(#18432) (cc61d16), closes #18432 - refactor(resolve): remove
tryEsmOnly
flag (#18394) (7cebe38), closes #18394 - chore: combine deps license with same text (#18356) (b5d1a05), closes #18356
- chore: fix grammar (#18385) (8030231), closes #18385
- chore: mark builder api experimental (#18436) (b57321c), closes #18436
- chore: tiny typo (#18374) (7d97a9b), closes #18374
- chore: update moduleResolution value casing (#18409) (ff018dc), closes #18409
- chore(create-vite): mark template files as CC0 (#18366) (f6b9074), closes #18366
- chore(deps): bump TypeScript to 5.6 (#18254) (57a0e85), closes #18254
- chore(deps): update all non-major dependencies (#18404) (802839d), closes #18404
- chore(deps): update dependency sirv to v3 (#18346) (5ea4b00), closes #18346
- test: remove unnecessary logs from output (#18368) (f50d358), closes #18368
- test: replace fs mocking in css module compose test (#18413) (ddee0ad), closes #18413
- test: ssr external / resolveId test (#18327) (4c5cf91), closes #18327
- test: test optimized dep as ssr entry (#18301) (466f94a), closes #18301
- chore: point deprecation error URLs to main branch docs (#18321) (11c0fb1), closes #18321
- chore: update all url references of vitejs.dev to vite.dev (#18276) (7052c8f), closes #18276
- chore: update built LICENSE (69b6764)
- chore: update license copyright (#18278) (56eb869), closes #18278
- chore(deps): update dependency @rollup/plugin-commonjs to v28 (#18231) (78e749e), closes #18231
- refactor: rename runner.destroy() to runner.close() (#18304) (cd368f9), closes #18304
- docs: update homepage (#18274) (a99a0aa), closes #18274
- test: fix server-worker-runner flaky test (#18247) (8f82730), closes #18247
- refactor: break circular dependencies to fix test-unit (#18237) (a577828), closes #18237
- refactor: remove
_onCrawlEnd
(#18207) (bea0272), closes #18207 - refactor: remove the need for "processSourceMap" (#18187) (08ff233), closes #18187
- refactor: replace
parse
withsplitFileAndPostfix
(#18185) (6f030ec), closes #18185 - refactor: use
resolvePackageData
to get rollup version (#18208) (220d6ec), closes #18208 - chore: escape template tag in CHANGELOG.md (#18126) (caaa683), closes #18126
- chore(deps): update all non-major dependencies (#18108) (a73bbaa), closes #18108
- chore(deps): update all non-major dependencies (#18230) (c0edd26), closes #18230
- chore(deps): update esbuild (#18173) (e59e2ca), closes #18173
- chore(optimizer): fix typo in comment (#18239) (b916ab6), closes #18239
- docs: fix typo in proxy.ts (#18162) (49087bd), closes #18162
- chore: enable some eslint rules (#18084) (e9a2746), closes #18084
- chore: remove npm-run-all2 (#18083) (41180d0), closes #18083
- chore: silence unnecessary logs during test (#18052) (a3ef052), closes #18052
- chore(deps): update all non-major dependencies (#18050) (7cac03f), closes #18050
- refactor: remove custom resolveOptions from pre-alias plugin (#18041) (6f60adc), closes #18041
- refactor: remove unnecessary escape (#18044) (8062d36), closes #18044
- refactor(create-vite): use picocolors (#18085) (ba37df0), closes #18085
- test: move glob test root to reduce snapshot change (#18053) (04d7e77), closes #18053
Beta Changelogs
6.0.0-beta.10 (2024-11-14)
6.0.0-beta.9 (2024-11-07)
6.0.0-beta.8 (2024-11-01)
6.0.0-beta.7 (2024-10-30)
6.0.0-beta.6 (2024-10-28)
6.0.0-beta.5 (2024-10-24)
6.0.0-beta.4 (2024-10-23)
6.0.0-beta.3 (2024-10-15)
6.0.0-beta.2 (2024-10-01)
6.0.0-beta.1 (2024-09-16)
6.0.0-beta.0 (2024-09-12)
v5.4.19
Please refer to CHANGELOG.md for details.
v5.4.18
Please refer to CHANGELOG.md for details.
v5.4.17
Please refer to CHANGELOG.md for details.
v5.4.16
Please refer to CHANGELOG.md for details.
v5.4.15
Please refer to CHANGELOG.md for details.
v5.4.14
Please refer to CHANGELOG.md for details.
v5.4.13
Please refer to CHANGELOG.md for details.
v5.4.12
This version contains a breaking change due to security fixes. See https://github.com/vitejs/vite/security/advisories/GHSA-vg6x-rcgg-rjx6 for more details.
Please refer to CHANGELOG.md for details.
v5.4.11
Please refer to CHANGELOG.md for details.
v5.4.10
Please refer to CHANGELOG.md for details.
v5.4.9
Please refer to CHANGELOG.md for details.
v5.4.8
Please refer to CHANGELOG.md for details.
v5.4.7
Please refer to CHANGELOG.md for details.
v5.4.6
Please refer to CHANGELOG.md for details.
v5.4.5
Please refer to CHANGELOG.md for details.
v5.4.4
Please refer to CHANGELOG.md for details.
v5.4.3
Please refer to CHANGELOG.md for details.
v5.4.2
Please refer to CHANGELOG.md for details.
v5.4.1
Please refer to CHANGELOG.md for details.
v5.4.0
Please refer to CHANGELOG.md for details.
v5.3.6
Please refer to CHANGELOG.md for details.
v5.3.5
Please refer to CHANGELOG.md for details.
v5.3.4
Please refer to CHANGELOG.md for details.
v5.3.3
Please refer to CHANGELOG.md for details.
v5.3.2
Please refer to CHANGELOG.md for details.
v5.3.1
Please refer to CHANGELOG.md for details.
v5.3.0
Please refer to CHANGELOG.md for details.
v5.2.14
Please refer to CHANGELOG.md for details.
v5.2.13
Please refer to CHANGELOG.md for details.
vite-pwa/vite-plugin-pwa (vite-plugin-pwa)
v1.0.0
🚨 Breaking Changes
- Update
@vite-pwa/assets-generator
tov1.0.0
- by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/846 (1c570)
🐞 Bug Fixes
- Avoid assigning to bundle object - by @sapphi-red in https://github.com/vite-pwa/vite-plugin-pwa/issues/843 (b0716)
View changes on GitHub
v0.21.2
🐞 Bug Fixes
-
manifest: Default manifest
theme_color
anddescription
not being applied - by @alexandre-hallaine in https://github.com/vite-pwa/vite-plugin-pwa/issues/839 (53568)
View changes on GitHub
v0.21.1
🚀 Features
- Support Vite 6 - by @gabrielrbarbosa and @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/797 (c4c25)
- html: Add head when missing from entry point - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/784 (856d3)
🐞 Bug Fixes
- Do not await workbox-window messageSkipWaiting - by @piotr-cz in https://github.com/vite-pwa/vite-plugin-pwa/issues/795 (f5197)
- Return async function from registerSW in dev mode - by @piotr-cz in https://github.com/vite-pwa/vite-plugin-pwa/issues/799 (06c1d)
View changes on GitHub
v0.21.0
🚨 Breaking Changes
- Update workbox to 7.3.0 - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/781 (e01e4)
View changes on GitHub
v0.20.5
🐞 Bug Fixes
- Dev sw stop working when using generateSW strategy - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/751 (9a9c3)
View changes on GitHub
v0.20.4
🚀 Features
- injectManifest: Optimize workbox load - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/750 (6db18)
View changes on GitHub
v0.20.3
No significant changes: add git+
prefix to repository url
View changes on GitHub
v0.20.2
🚀 Features
- Throw error when
maximumFileSizeToCacheInBytes
found in sw build warnings - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/pull/747
View changes on GitHub
v0.20.1
No significant changes
View changes on GitHub
v0.20.0
🚨 Breaking Changes
- workbox: Update workbox dependencies to 7.1.0 - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/707 (7a917)
View changes on GitHub
v0.19.8
🐞 Bug Fixes
- Pwa assets disabled when using custom inline preset - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/697 (99ed1)
- Configure favicon preset when using inlined preset - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/699 (2cb62)
View changes on GitHub
v0.19.7
🐞 Bug Fixes
- PWA icons not generated when PWA disabled - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/691 (d1a10)
View changes on GitHub
v0.19.6
🚀 Features
- injectManifest: Add sw build env options and allow change vite configuration - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/690 (1474e)
View changes on GitHub
v0.19.5
🐞 Bug Fixes
- dev: Custom service worker with custom base not working - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/688 (d4218)
View changes on GitHub
v0.19.4
🐞 Bug Fixes
- dev: Inject register not working when disabling web manifest - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/686 (293db)
View changes on GitHub
v0.19.3
🐞 Bug Fixes
- Pwa assets disabled when using inlined configuration - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/685 (7ffeb)
View changes on GitHub
v0.19.2
🐞 Bug Fixes
- Wrong changes reverting prompt logic - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/675 (98518)
View changes on GitHub
v0.19.1
🐞 Bug Fixes
- Revert MR 633 - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/673 (e33aa)
View changes on GitHub
v0.19.0
🚨 Breaking Changes
- Add experimental PWA assets generation and injection - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/621 (d9ffc)
View changes on GitHub
v0.18.2
🐞 Bug Fixes
- Use
swDest
folder to resolve mjs and map files in Vite build - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/661 (aaa85)
View changes on GitHub
v0.18.1
🐞 Bug Fixes
- Handle Vite's base properly in dev server - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/657 (8cac9)
View changes on GitHub
v0.18.0
🚨 Breaking Changes
- New custom service worker build - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/629 (865fd)
🐞 Bug Fixes
- Register client module and prompt - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/633 (b3474)
View changes on GitHub
v0.17.5
🚀 Features
- Add error handling when importing workbox-window. - by @cpojer and @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/646 (b3350)
- Override dev-dist assets between restarts - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/650 (0e679)
View changes on GitHub
v0.17.4
🚀 Features
-
types: Autocomplete
purpose
in IconResource - by @DamianGlowala and @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/616 (f90c0)
View changes on GitHub
v0.17.3
🐞 Bug Fixes
- Configure static assets when includeAssets option is true regardless of manifest option - by @sgpinkus in https://github.com/vite-pwa/vite-plugin-pwa/issues/612 (c7e90)
View changes on GitHub
v0.17.2
🐞 Bug Fixes
- Expose
injectRegister
in pwa info - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/611 (ceab9)
View changes on GitHub
v0.17.1
🚀 Features
- Add 'script-defer' option for
injectRegister
script - by @LouisMazel and @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/605 (f1833)
🐞 Bug Fixes
- Remove sw cache storage entries when using self destroying option - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/609 (df8b4)
View changes on GitHub
v0.17.0
🚨 Breaking Changes
- Support Vite 5 - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/598 (54b7a)
View changes on GitHub
v0.16.7
No significant changes
View changes on GitHub
v0.16.6
🚀 Features
- Update type definitions for
manifest
options - by @skyclouds2001 and @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/573 (51dc8) - Vite 5 support - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/585 (ee966)
View changes on GitHub
v0.16.5
🚀 Features
- Add
scope_extensions
to webmanifest - by @dargmuesli in https://github.com/vite-pwa/vite-plugin-pwa/issues/561 (81ad4) - Add
screenshots.form_factor
to webmanifest - by @dargmuesli in https://github.com/vite-pwa/vite-plugin-pwa/issues/562 (92f79)
View changes on GitHub
v0.16.4
🚀 Features
- Add new manifest options - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/535 (4fd02)
View changes on GitHub
v0.16.3
🚀 Features
- Allow suppress workbox-build warnings in dev - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/531 (15b14)
View changes on GitHub
v0.16.2
🐞 Bug Fixes
- Add vite resolve option when building custom sw - by @arsonik in https://github.com/vite-pwa/vite-plugin-pwa/issues/530 (4bea0)
View changes on GitHub
v0.16.1
🐞 Bug Fixes
- Dev plugin and base url - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/528 (2920e)
View changes on GitHub
v0.16.0
🚨 Breaking Changes
- Update workbox to v7 - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/527 (2fae3)
View changes on GitHub
v0.15.2
🐞 Bug Fixes
- Don't copy public folder when building custom sw - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/525 (f7c4c)
View changes on GitHub
v0.15.1
🐞 Bug Fixes
- Custom sw build failing - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/523 (bc80d)
View changes on GitHub
v0.15.0
🚨 Breaking Changes
- Build custom service worker using vite - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/506 (7cacd)
🚀 Features
- ESM first - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/493 (e8ee8)
🐞 Bug Fixes
- Make manifest.shortcuts.icons optional #509 - by @AntonOfTheWoods in https://github.com/vite-pwa/vite-plugin-pwa/issues/510 and https://github.com/vite-pwa/vite-plugin-pwa/issues/509 (c59de)
- examples: Svelte routify fails running examples cli - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/508 (ba74d)
View changes on GitHub
v0.14.7
🐞 Bug Fixes
- Respect base to register dev service worker - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/495 (17845)
View changes on GitHub
v0.14.6
🐞 Bug Fixes
- Types regression in v0.14.5 - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/491 (32841)
View changes on GitHub
v0.14.5
🚀 Features
- Support "types" condition in "exports" field - by @sheremet-va in https://github.com/vite-pwa/vite-plugin-pwa/issues/483 (f7975)
- Virtual dts per framework - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/486 (b45f1)
🏎 Performance
- Calculate asset hash when required - by @userquin in https://github.com/vite-pwa/vite-plugin-pwa/issues/488 (c73c7)
View changes on GitHub
intlify/vue-i18n (vue-i18n)
v11.1.3
What's Changed
🐛 Bug Fixes
- fix: cannot resolve the ast messages which has json path for v11 by @kazupon in https://github.com/intlify/vue-i18n/pull/2159
⚡ Improvement Features
- fix: duplicate generated type config naming by @BobbieGoede in https://github.com/intlify/vue-i18n/pull/2158
Full Changelog: https://github.com/intlify/vue-i18n/compare/v11.1.2...v11.1.3
v11.1.2
What's Changed
🔒 Security Fixes
- fix: prototype pollution in
handleFlatJson
, about details see https://github.com/intlify/vue-i18n/security/advisories/GHSA-p2ph-7g93-hw3m
Full Changelog: https://github.com/intlify/vue-i18n/compare/v11.1.1...v11.1.2
v11.1.1
Full Changelog: https://github.com/intlify/vue-i18n/compare/v11.1.0...v11.1.1
v11.1.0
What's Changed
🌟 Features
- feat: configurable
ComponentCustomProperties['$i18n']
type by @BobbieGoede in https://github.com/intlify/vue-i18n/pull/2094
📝️ Documentations
- fix: vue-i18n v8 EOL by @kazupon in https://github.com/intlify/vue-i18n/pull/2060
Full Changelog: https://github.com/intlify/vue-i18n/compare/v11.0.1...v11.1.0
v11.0.1
This changelog is generated by GitHub Releases
What's Changed
⚡ Improvement Features
- fix: v-t custom directive warning when it will run by @kazupon in https://github.com/intlify/vue-i18n/pull/2057
Full Changelog: https://github.com/intlify/vue-i18n/compare/v11.0.0...v11.0.1
v11.0.0
This changelog is generated by GitHub Releases
What's Changed
Deprecate Legacy API mode
The Legacy API mode was the API mode compatible with v8 for Vue 2. When v9 was released, the Legacy API was provided to smooth the migration from v8 to v9.
Legacy API mode will be deprecated in v11, as previous vue-i18n releases have already provided the following to support migration to Composition API mode
- Migration from Legacy API mode to Composition API mode, see the docs
- Composition API usage, see the docs
For compatibility, Legacy API mode still works in v11, but will be removed entirely in v12, so Legacy API mode will not work after that version.
v-t
Deprecate Custom Directive The advantage of v-t
was that it could optimize performance using the vue compiler transform and the pre-translation of vue-i18n-extension
.
This feature was supported from Vue 2. About details see the blog article
In Vue 3, due to the Composition API, the pre-translation of vue-i18n-extension
is now limited only for global scope.
In addition, Vue 3 Virtual DOM optimization has been introduced, and the optimization provided by vue-i18n-extension
is no longer very effective. We need to require settings for SSR, the benefits of using v-t
have disappeared. And DX of templates using v-t
is not good. Custom directives do not work with key completion in editors (e.g. vscode).
For compatibility, v-t
mode still works in v11, but will be removed entirely in v12, so v-t
will not work after that version.
tc
and $tc
for Legacy API mode
Drop These APIs had already deprecated in warning about being dropped in v11. docs says
Vue I18n maintenance Status
Vue I18n v8 is no longer supported after 2025. Vue I18n v9 and Vue I18n v10 is in maintenance mode after 2025 July.
With the release of Vue I18n v11, that version will become mainstream.
The maintenance detail status of Vue I18n v9 and Vue I18n v10 is as follows:
You can check the maintenance status on the docs
❗ Breaking Changes
- feat!: deprecate Legacy API mode by @kazupon in https://github.com/intlify/vue-i18n/pull/2016
- breaking: drop
$tc
andtc
by @kazupon in https://github.com/intlify/vue-i18n/pull/2017 - feat!: deprecate
v-t
custom directive by @kazupon in https://github.com/intlify/vue-i18n/pull/2045
⚡ Improvement Features
- fix:
tm
function should acceptDefineLocaleMessage
key type by @BobbieGoede in https://github.com/intlify/vue-i18n/pull/2014
🔒 Security Fixes
- fix: security vulnerability fix porting by @kazupon in https://github.com/intlify/vue-i18n/pull/2034
📝️ Documentations
- Change config prop for quasar flags by @chrissyast in https://github.com/intlify/vue-i18n/pull/2003
- docs: Pluralization Page by @Sammuel09 in https://github.com/intlify/vue-i18n/pull/1998
- docs: fix composition section by @Sammuel09 in https://github.com/intlify/vue-i18n/pull/2008
- fix(docs): correct output in composition api example by @pejeio in https://github.com/intlify/vue-i18n/pull/2012
- docs: not use deprecated api by @kazupon in https://github.com/intlify/vue-i18n/pull/2013
- docs: fix wrong plural example by @kazupon in https://github.com/intlify/vue-i18n/pull/2033
- docx(pluralization.md): Correct spelling from 'gloal' to 'global' by @PuppyOne in https://github.com/intlify/vue-i18n/pull/2038
- Fix typo by @shaedrich in https://github.com/intlify/vue-i18n/pull/2040
- Fix another typo by @shaedrich in https://github.com/intlify/vue-i18n/pull/2041
- docs: add maintenance status by @kazupon in https://github.com/intlify/vue-i18n/pull/2044
👋 New Contributors
- @chrissyast made their first contribution in https://github.com/intlify/vue-i18n/pull/2003
- @Sammuel09 made their first contribution in https://github.com/intlify/vue-i18n/pull/1998
- @pejeio made their first contribution in https://github.com/intlify/vue-i18n/pull/2012
- @PuppyOne made their first contribution in https://github.com/intlify/vue-i18n/pull/2038
- @shaedrich made their first contribution in https://github.com/intlify/vue-i18n/pull/2040
Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.4...v11.0.0
v10.0.7
What's Changed
🐛 Bug Fixes
- fix: cannot resolve the ast messages which has json path for v10 by @kazupon in https://github.com/intlify/vue-i18n/pull/2160
Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.6...v10.0.7
v10.0.6
What's Changed
🔒 Security Fixes
- fix: prototype pollution in
handleFlatJson
, about details see https://github.com/intlify/vue-i18n/security/advisories/GHSA-p2ph-7g93-hw3m
Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.5...v10.0.6
v10.0.5
What's Changed
🔒 Security Fixes
- fix: XSS vulnerability with prototype pollution on AST: https://github.com/intlify/vue-i18n/security/advisories/GHSA-9r9m-ffp6-9x4v
- fix: prototype pollusion on deepCopy: https://github.com/intlify/vue-i18n/security/advisories/GHSA-hjwq-mjwj-4x6c
Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.4...v10.0.5
v10.0.4
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: cannot resolve empty string on plural by @kazupon in https://github.com/intlify/vue-i18n/pull/1985
📝️ Documentations
- Add petite-vue-i18n package to README by @vikingair in https://github.com/intlify/vue-i18n/pull/1971
New Contributors
- @vikingair made their first contribution in https://github.com/intlify/vue-i18n/pull/1971
Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.3...v10.0.4
v10.0.3
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix(petite-vue-i18n): cannot register correctly message resolver and locale fallbacker by @kazupon in https://github.com/intlify/vue-i18n/pull/1967
📝️ Documentations
- docs: add unplugin-vue-i18n setting for petite-vue-i18n by @kazupon in https://github.com/intlify/vue-i18n/pull/1968
Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.2...v10.0.3
v10.0.2
This changelog is generated by GitHub Releases
What's Changed
⚡ Improvement Features
- fix: revert #1379 by @BobbieGoede in https://github.com/intlify/vue-i18n/pull/1953
- fix: messages
deepCopy
mutatessrc
arguments by @BobbieGoede in https://github.com/intlify/vue-i18n/pull/1947
📝️ Documentations
- docs: add team members by @kazupon in https://github.com/intlify/vue-i18n/pull/1951
- docs: add how to use shared locale messages on composition api by @kazupon in https://github.com/intlify/vue-i18n/pull/1964
Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.1...v10.0.2
v10.0.1
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: petite-vue-i18n type errors by @TPORL in https://github.com/intlify/vue-i18n/pull/1945
New Contributors
- @TPORL made their first contribution in https://github.com/intlify/vue-i18n/pull/1945
Full Changelog: https://github.com/intlify/vue-i18n/compare/v10.0.0...v10.0.1
v10.0.0
We are excited to announce the release of Vue I18n v10. We had many contributors.
Thanks for your contributing ❤️
v9.14.4
What's Changed
🐛 Bug Fixes
- fix: cannot resolve the ast messages which has json path for v9 by @kazupon in https://github.com/intlify/vue-i18n/pull/2162
Full Changelog: https://github.com/intlify/vue-i18n/compare/v9.14.3...v9.14.4
v9.14.3
What's Changed
🔒 Security Fixes
- fix: prototype pollution in
handleFlatJson
, about details see https://github.com/intlify/vue-i18n/security/advisories/GHSA-p2ph-7g93-hw3m
Full Changelog: https://github.com/intlify/vue-i18n/compare/v9.14.2...v9.14.3
v9.14.2
What's Changed
🔒 Security Fixes
- fix: XSS vulnerability with prototype pollution on AST: https://github.com/intlify/vue-i18n/security/advisories/GHSA-9r9m-ffp6-9x4v
- fix: prototype pollusion on deepCopy: https://github.com/intlify/vue-i18n/security/advisories/GHSA-hjwq-mjwj-4x6c
Full Changelog: https://github.com/intlify/vue-i18n/compare/v9.14.1...v9.14.2
v9.14.1
What's Changed
🐛 Bug Fixes
- fix: messages
deepCopy
mutatessrc
arguments by @BobbieGoede in https://github.com/intlify/vue-i18n/pull/1975
Full Changelog: https://github.com/intlify/vue-i18n/compare/v9.14.0...v9.14.1
v9.14.0
What's Changed
⚡ Improvement Features
- fix: vue-i18n type definition for vue package by @BobbieGoede in https://github.com/intlify/vue-i18n/pull/1919
Full Changelog: https://github.com/intlify/vue-i18n/compare/v9.13.1...v9.14.0
v9.13.1
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix(message-compiler): cannot resolve none-identifier characters at linked key by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1813
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.13.0...v9.13.1
v9.13.0
This changelog is generated by GitHub Releases
What's Changed
⚠️ Deprecated Features
- fix: EOL announcement warning for vue-i18n-bridge by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1800
⚡ Improvement Features
- fix: not throw warnings when using implicit fallback by @ShinnosukeKomiya in https://github.com/intlify/vue-i18n-next/pull/1798
📝️ Documentations
- fix: spelling by @DamageESP in https://github.com/intlify/vue-i18n-next/pull/1802
- docs: improve documentation by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1801
- docs: fix dead link on menu by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1804
New Contributors
- @ShinnosukeKomiya made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1798
- @DamageESP made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1802
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.12.1...v9.13.0
v9.12.1
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: compile error for key with included hyphen in named interpolation by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1797
👕 Refactoring
- refactor: tokenizer by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1799
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.12.0...v9.12.1
v9.12.0
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
- fix: deprecate named interpolation with modulo syntax by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1795
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.11.1...v9.12.0
v9.11.1
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: regression triple slash including in
.d.ts
by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1794
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.11.0...v9.11.1
v9.11.0
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
- fix: number and date format components not using
scope
prop by @BobbieGoede in https://github.com/intlify/vue-i18n-next/pull/1786
New Contributors
- @xuanzhi33 made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1767
- @YoshiYo made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1781
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.10.2...v9.11.0
v9.10.2
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
- fix: manually add triple slash directive to
message-compiler
by @BobbieGoede in https://github.com/intlify/vue-i18n-next/pull/1766
New Contributors
- @shinGangan made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1763
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.10.1...v9.10.2
v9.10.1
This changelog is generated by GitHub Releases
What's Changed
⚡ Improvement Features
- chore(fix): #1630 make the install function synchronous to be aligned… by @k-paxian in https://github.com/intlify/vue-i18n-next/pull/1631
📝️ Documentations
- docs: wrong te docs by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1753
New Contributors
- @k-paxian made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1631
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.10.0...v9.10.1
v9.10.0
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
- fix: Support for
te
behavior compatibility before v9.6 by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1751
📝️ Documentations
- docs: update description of Nuxt I18n and its status by @BobbieGoede in https://github.com/intlify/vue-i18n-next/pull/1739
New Contributors
- @twolfvb made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1732
- @ismailarilik made their first contribution in https://github.com/intlify/vue-i18n-next/pull/1722
Full Changelog: https://github.com/intlify/vue-i18n-next/compare/v9.9.1...v9.10.0
vuejs/language-tools (vue-tsc)
v2.2.10
v2.2.8
Bug Fixes
- revert "fix(language-core): validate
v-model
variable against model type"
v2.2.6
Features
- feat(language-core): infer prop JSDoc from
defineModel
's leading comments (#5211) - Thanks to @KazariEX!
Bug Fixes
- fix(language-core): map camelized prop name correctly (#5207) - Thanks to @KazariEX!
- fix(component-meta): resolve
defineModel
options to collectdefault
value (#5209) - Thanks to @KazariEX! - fix(language-core): avoid duplicate generation of
defineExpose
's codes - Thanks to @KazariEX! - fix(language-core): generate camelized prop name for
defineModel
(#5213) - Thanks to @KazariEX! - fix(language-core): validate
v-model
variable against model type (#5214) - Thanks to @KazariEX! - fix(language-core): use keywords instead of semicolons to separate script sections (#5217) - Thanks to @KazariEX!
Other Changes
- ci: auto close issues with
can't reproduce
label - Thanks to @KazariEX! - refactor(language-core): defer the calculation of
linkedCodeMappings
offsets (#5220) - Thanks to @KazariEX!
v2.2.4
Features
- feat(language-service): map sfc compiler errors outside the template inner content (#5045) - Thanks to @KazariEX!
- feat(language-core): introduce options to control type inference of
$attrs
,$el
,$refs
and$slots
(#5135) - Thanks to @KazariEX! - feat(language-core): enhance single root nodes collection (#4819) - Thanks to @KazariEX!
Bug Fixes
- fix(language-core): move
generateSfcBlockSection
to the end to fix missing comma errors (#5184) - Thanks to @zhiyuanzmj! - fix(language-core): handle edge case of default slot name mismatch - Thanks to @KazariEX!
- fix(language-core): combine dollar variable keys from the upper level interface - Thanks to @KazariEX!
- fix(language-core): hoist the variables that may cause
TS4081
(#5192) - Thanks to @KazariEX! - fix(language-core): adjust regex match for
@vue-generic
to improve offset calculation (#5193) - Thanks to @Gehbt! - fix(language-core): correct codegen of native element refs - Thanks to @KazariEX!
- fix(language-core): ignore latex block content (#5151) - Thanks to @KazariEX!
- fix(language-core): do not emit
undefined
for model with default value (#5198) - Thanks to @RylanBueckert-Broadsign! - fix(language-service): typescript-semantic renaming first in style blocks (#4685) - Thanks to @KazariEX!
- fix(typescript-plugin): prevent removed components from appearing in the completion list - Thanks to @KazariEX!
Other Changes
- refactor(language-core): drop invalid
v-scope
implemention - Thanks to @KazariEX! - refactor(language-core): improve type declaration of
v-for
- Thanks to @KazariEX! - test: enable
declaration
to track more errors - Thanks to @KazariEX! - refactor(language-core): remove semantic highlight of style module names - Thanks to @KazariEX!
- chore(language-core): add docs for
@vue-expect-error
support (#5176) - Thanks to @machty! - ci: upload extension as artifact for each commit - Thanks to @KazariEX!
v2.2.2
Features
- feat(language-core): navigation support for
$attrs
,$slots
,$refs
and$el
in the template (#5056) - Thanks to @KazariEX! - feat(language-service): support global directives completion (#4989) - Thanks to @KazariEX!
- feat(language-core): type support of
useAttrs
(#5106) - Thanks to @KazariEX! - feat(language-core): add options for fine-grained configuration of
strictTemplates
(#5138) - feat(language-service): display deprecated info of props in completion (#5134) - Thanks to @KazariEX!
- feat(component-meta): collect destructured props defaults (#5101) - Thanks to @Akryum!
- feat(language-core): add
checkUnknownDirectives
option (#5141) - Thanks to @KazariEX! - feat(language-core): support
<script vapor>
- Thanks to @KazariEX!
Bug Fixes
- fix(language-core): ignore ts errors in function-scoped declare expressions (#5090) - Thanks to @zhiyuanzmj!
- fix(language-core, typescript-plugin): handle self-reference component correctly (#5102) - Thanks to @KazariEX!
- fix(language-core): do not generate element for
<template>
withv-slot
(#5077) - Thanks to @KazariEX! - fix(language-service): set code action kinds to avoid warning (#5096) - Thanks to @KazariEX!
- fix(language-core): handle parentheses in v-for exp
- fix(language-core): slot exp formatting virtual code syntax incorrect
- fix(language-core): arrow function formatting virtual code syntax incorrect in interpolation
- fix(language-core): improve multiple lines event formatting result
- fix(language-core): prefer
loc.source
instead of node content - fix(language-core): intersect local
$attrs
with__VLS_ctx.$attrs
(#5113) - Thanks to @KazariEX! - fix(language-core): only generate model modifiers for components - Thanks to @KazariEX!
- fix(language-plugin-pug): ignore duplicate attribute error of
class
(#5100) - Thanks to @KazariEX! - fix(language-core): align types of
v-for
with core (#5084) - Thanks to @KazariEX! - fix(language-core): map interpolation error with multiple variables correctly (#5158) - Thanks to @KazariEX!
- fix(vscode): ask user to reload extension host when configuration changes (#5160) - Thanks to @typed-sigterm!
- fix(typescript-plugin): update component names correctly for the first time - Thanks to @KazariEX!
- fix(language-core): add
undefined
to first param type of optional model emits (#5171) - Thanks to @KazariEX! - fix(language-core): intersect
__VLS_slots
with__VLS_ctx.$slots
(#5083) - Thanks to @KazariEX! - fix(language-core): complete codegen of slot name prop (#5139) - Thanks to @KazariEX!
Other Changes
- refactor(language-service): read ast from codegen instead of parsing it repeatedly (#5086) - Thanks to @KazariEX!
- refactor(language-core): rewrite
vueCompilerOptions
resolution logic - refactor(component-meta): read
scriptSetupRanges
from codegen - Thanks to @KazariEX! - refactor(component-meta): read node directly instead of creating sub ast - Thanks to @KazariEX!
- refactor(component-meta): read ast from
sfc.script
- Thanks to @KazariEX! - refactor(language-core): generate the type of slots with function property (#5173) - Thanks to @KazariEX!
- refactor(language-core): reduce codegen size of template returns - Thanks to @KazariEX!
- refactor(language-core): remove semantic highlight of directives - Thanks to @KazariEX!
- refactor: update alien-signals to 1.0.3 (#5181) - Thanks to @KazariEX!
v2.2.0
Features
- feat(language-core): support
@vue-generic
(#4971) - Thanks to @KazariEX! - feat(vscode): add configuration for skipping automatic detection of Hybrid Mode (#5046) - Thanks to @KazariEX!
- feat(language-service): crawl html data of
data-allow-mismatch
- Thanks to @KazariEX! - feat(language-core): type support of
$attrs
(#5076) - Thanks to @KazariEX! - feat(language-core): type support of
useSlots
and$slots
(#5055) - Thanks to @KazariEX! - feat(language-core): type support of
v-model
modifiers (#5061) - Thanks to @KazariEX! - feat(language-service): process references data at runtime to reduce bundle size (#5054) - Thanks to @KazariEX!
- feat(language-core): support the use of sfc root comment to configure
vueCompilerOptions
(#4987) - Thanks to @KazariEX! - feat(vscode): add timeout logic for insiders fetching (#5048) - Thanks to @KazariEX!
- feat(vscode): add examples to inlay hints configuration (#5068) - Thanks to @KazariEX!
Performance
- perf(typescript-plugin): use named pipe servers more efficiently (#5070)
Bug Fixes
- fix(language-core): generate script setup starting from last leading comment without
@ts-check
- Thanks to @KazariEX! - fix(language-core): make model modifiers optional (#4978) - Thanks to @stafyniaksacha!
- fix(language-core): always report missing props on
<slot>
(#4982) - Thanks to @KazariEX! - fix(language-core): avoid unchecked index access when parsing
defineEmits
(#5028) - Thanks to @KazariEX! - fix(language-service): handle text edit of special closing tags completion correctly (#5016) - Thanks to @KazariEX!
- fix(language-core): don't generate variable access of template refs using
useTemplateRef
(#5032) - Thanks to @KazariEX! - fix(vscode): update
enabledHybridMode
before activate extension (#5019) - Thanks to @nieyuyao! - fix(tsc): point to shimmed tsc entry point to support ts 5.7 (#5020) - Thanks to @davidmatter!
- fix(vscode): add
GitHub.copilot-chat
to hybrid mode compatible list (#5047) - Thanks to @KazariEX! - fix(language-core): generate generics normally when
useTemplateRef
has no parameters (#5051) - Thanks to @KazariEX! - fix(language-core): avoid clipping prop name using
.prop
or.attr
onv-model
- Thanks to @KazariEX! - fix(language-core): handle named default import of components correctly (#5066) - Thanks to @KazariEX!
- fix(language-core): disable navigation feature on non-binding prop values (#5040) - Thanks to @KazariEX!
- fix(language-core): do not generate
useTemplateRef
parameter repeatedly (#5009) - fix(language-core): generate macros after script setup content (#5071) - Thanks to @KazariEX!
- fix(language-core): correct type and completion support of
vue:
event (#4969) - Thanks to @KazariEX! - fix(language-core): prevent visiting functional components for
parseScriptSetupRanges
(#5049) - Thanks to @zhiyuanzmj! - fix(language-service): don't provide modifier completion for
@
and:
(#5052) - Thanks to @KazariEX! - fix(language-core): consistent interpolation behavior of shorthand binding (#4975) - Thanks to @KazariEX!
- fix(language-core): resolve components with various name cases correctly (#5067) - Thanks to @KazariEX!
- fix(language-core): map
v-slot
correctly to report error when missing default slot - Thanks to @KazariEX! - fix(language-core): map component loc to instance variable for verification - Thanks to @KazariEX!
Other Changes
- refactor: improve code consistency (#4976) - Thanks to @KazariEX!
- docs: update nvim guide (#4984) - Thanks to @zeromask1337!
- docs: fix broken marketplace page (#5004) - Thanks to @rioj7!
- chore: upgrade
reactive-vscode
to v0.2.7 (#4997) - Thanks to @KermanX! - refactor(language-service): consistent style of source and virtual code operation (#5053) - Thanks to @KazariEX!
- refactor(language-core): remove unnecessary linked code mappings of
defineProp
(#5058) - Thanks to @KazariEX! - refactor(language-core): simplify current component info passing (#5078) - Thanks to @KazariEX!
- Upgraded Volar from
v2.4.8
tov2.4.11
:- fix(typescript): avoid crash when converting relatedInformation from overly large files
- fix(typescript): fix interactive refactors (https://github.com/volarjs/volar.js/pull/244) - Thanks to @andrewbranch!
- fix(typescript): should not suppressing getLanguageId crashes (https://github.com/volarjs/volar.js/issues/253)
- fix(typescript): force update the opened script snapshot after the language plugin is ready (https://github.com/volarjs/volar.js/issues/254)
- feat(typescript): add typescriptObject option to runTsc (https://github.com/volarjs/volar.js/pull/245) - Thanks to @zhiyuanzmj!
- fix(typescript): fix issue with transpiled TypeScript files not being registered with a project at all (https://github.com/volarjs/volar.js/pull/250) - Thanks to @piotrtomiak!
- docs(source-map): updated API section based on #207 (https://github.com/volarjs/volar.js/pull/248) - Thanks to @alamhubb!
- fix(typescript): resolve the shim used for tsc in Typescript v5.7 and up (#252) - Thanks to @kitsune7!
v2.1.10
Features
-
language-service: auto insert
const props =
withprops
completion (#4942) - Thanks to @KazariEX!
Bug Fixes
- language-core: revert #4902
-
language-core: inject
as
assertion ofuseCssModule
into correct location (#4952) - Thanks to @KazariEX! - language-core: hold prev track id correctly (#4961) - Thanks to @KazariEX!
- language-core: generate style modules type as needed (#4953) - Thanks to @KazariEX!
- language-core: reference global types file with relative path (#4966)
Refactors
- vscode: rewrite with Reactive VSCode (#4945) - Thanks to @KazariEX, @KermanX!
v2.1.8
Features
- vscode: reactions visualization now identifies more use cases Insiders
-
language-core: auto infer
$el
type (#4805) - Thanks to @KazariEX! - language-core: typed directive arg and modifiers (#4813) - Thanks to @KazariEX!
Bug Fixes
- language-core: avoid generic type loss due to destructured props (#4821) - Thanks to @KazariEX!
-
language-core: handle
v-for
withv-once
correctly (#4830) - Thanks to @KazariEX! - language-core: avoid generating zero-length mappings for interpolation edges
-
language-core: don't assign
this
to__VLS_ctx
(#4845) - Thanks to @KazariEX! - language-service: initialize scope with null prototype object (#4855) - Thanks to @KazariEX!
-
language-core: inlay hints for
<component :is>
and<slot :name>
(#4661) - Thanks to @KazariEX, @so1ve! - language-core: should error when invalid syntax at script end (#4692) - Thanks to @KazariEX!
-
language-core: correct type inference of
defineModel
&defineEmits
in generic (#4823) - Thanks to @KazariEX! -
language-core: inject generics of
useTemplateRef
into correct location (#4829) - Thanks to @KazariEX! - language-core: prevent the generation of generics in JS (#4836) - Thanks to @KazariEX, @zhiyuanzmj!
-
language-core: generate correct reference for
v-on
on<slot>
(#4864) - Thanks to @KazariEX! -
language-core: match classname before
)
(#4887) - Thanks to @KazariEX! - language-service: handle internal item key with leading slash correctly (#4894) - Thanks to @KazariEX!
- language-core: correctly obtain the index of style modules (#4907) - Thanks to @KazariEX!
- language-core: refer absolute path of global types file (#4924) - Thanks to @depressedX!
- component-meta: error when signatures is undefined (#4930) - Thanks to @Hannesrasmussen!
- language-core: intersect props of generic component with attrs (#4886) - Thanks to @KazariEX!
- language-core: fix incorrect syntax for class component virtual code
-
language-core: generate
value
instead of model name into tuple (#4892) - Thanks to @KazariEX! -
language-core: infer template ref's type of native elements with
v-for
correctly (#4933) - Thanks to @KazariEX! -
language-core: should wrap item with
Reactive
onv-for
(#4902) - Thanks to @KazariEX!
Performance
- language-service: find destructured props only with enabled setting (#4815) - Thanks to @KazariEX!
Other Changes
- Upgraded Volar from
v2.4.1
tov2.4.8
: - chore: fix nvim config snippet in README (#4881) - Thanks to @LiamEderzeel!
- chore: remove side effects (#4871) - Thanks to @vikingair!
- chore: remove
importsNotUsedAsValues
(#4897) - Thanks to @KazariEX! - chore(vscode): switch to
"module": "CommonJS"
(#4944) - Thanks to @KazariEX! - test: fix incorrect default value (#4934) - Thanks to @jh-leong!
- test(tsc): add a test case for class component
v2.1.6
Features
- language-plugin-pug: support initial indentation (#4774)
- language-service: JSDoc display support when typing props on component template (#4796) - Thanks to @joy-yu!
- language-core: typed directives in template (#4807) - Thanks to @KazariEX!
Bug Fixes
-
language-core: wrap template refs with
unref
in interpolation (#4777) - Thanks to @KazariEX! - language-core: ensure to pass tsc on inline global types (#4782) - Thanks to @KazariEX!
- language-core: infer native template ref as build-in element interface (#4786) - Thanks to @KazariEX!
-
language-core: generate
__VLS_StyleModules
after template (#4790) - Thanks to @KazariEX! -
language-core: make
expose
of non-generic template ref required (#4795) - Thanks to @zhiyuanzmj! -
language-core: avoid using
__typeProps
with runtime props (#4800) - Thanks to @KazariEX! - language-core: ignore unknown attrs error when strictTemplates is not enabled (#4785)
- language-core: prevent append globalTypes to virtual file (#4806) - Thanks to @zhiyuanzmj!
- language-core: prevent type error when use defineSlots and non-template (#4809) - Thanks to @zhiyuanzmj!
- typescript-plugin: disconnect socket on error (#4672)
Performance
Other Changes
-
language-core: split
__VLS_templateResult
(#4781) - Thanks to @KazariEX! - language-core: wrap template virtual code into a function (#4784)
-
language-core: move
templateRef
intocomposables
(#4791) - Thanks to @KazariEX! - language-core: generate global types for the first parsed Vue component if cannot write global types file
Tests
-
language-server: add renaming case for template
ref()
(#4794) - Thanks to @KazariEX! - tsc: update to Vue 3.5 (#4725)
- tsc: unknown props on non-strict generic component (#4792)
v2.1.5
Features
-
typescript-plugin, language-server: generate global types file into
node_modules/.vue-global-types
(#4752) - Thanks to @KazariEX! - language-core: navigation support for template-ref (#4726) - Thanks to @KazariEX!
Bug Fixes
- language-core, typescript-plugin, language-server: apply snake case on globalTypes filename (#4749) - Thanks to @KazariEX!
-
language-core: hoist
$refs
type (#4763) - language-core: disable lib check on global types file (#4767) - Thanks to @KazariEX!
- language-core: prevent circular reference of templateRef (#4768) - Thanks to @zhiyuanzmj!
-
language-core: using interface merging for
GlobalComponents
-
language-core:
fallthroughAttributes
causes global components to be self-referential (#4761) - language-core: auto-completion for the last line of template block (#4771) - Thanks to @zhiyuanzmj!
-
language-core: update ast correctly on repeated
v-for
modifications (#4772) - Thanks to @KazariEX! - language-server: leaking named pipes (#4672)
- typescript-plugin: compatible with Yarn PnP (#4751)
-
vscode: whitelist
ms-dynamics-smb.al
extension for Vue Hybrid Mode. (#4765) - Thanks to @kyleweishaupt!
Other Changes
- Add optional "dependencies" textarea to issue template (#4758) - Thanks to @davidmatter!
v2.1.4
Features
-
typescript-plugin, language-server: generate global types file into
node_modules/.vue-global-types
(#4752) - Thanks to @KazariEX! - language-core: navigation support for template-ref (#4726) - Thanks to @KazariEX!
Bug Fixes
- language-core, typescript-plugin, language-server: apply snake case on globalTypes filename (#4749) - Thanks to @KazariEX!
-
language-core: hoist
$refs
type (#4763) - language-core: disable lib check on global types file (#4767) - Thanks to @KazariEX!
- language-core: prevent circular reference of templateRef (#4768) - Thanks to @zhiyuanzmj!
-
language-core: using interface merging for
GlobalComponents
-
language-core:
fallthroughAttributes
causes global components to be self-referential (#4761) - language-core: auto-completion for the last line of template block (#4771) - Thanks to @zhiyuanzmj!
-
language-core: update ast correctly on repeated
v-for
modifications (#4772) - Thanks to @KazariEX! - language-server: leaking named pipes (#4672)
- typescript-plugin: compatible with Yarn PnP (#4751)
-
vscode: whitelist
ms-dynamics-smb.al
extension for Vue Hybrid Mode. (#4765) - Thanks to @kyleweishaupt!
Other Changes
- Add optional "dependencies" textarea to issue template (#4758) - Thanks to @davidmatter!
v2.1.2
Bug Fixes
- language-core, typescript-plugin, language-server: write globalTypes into dist for correct export (#4740) (#4737) (#4738) (#4739) - Thanks to @KazariEX!
-
language-core: don't default
vueCompilerOptions.lib
to@vue/runtime-dom
for Vue 2
v2.1.0
Features
- language-core: inlay hints for destructured props (#4634) - Thanks to @KazariEX!
- language-core: typed fallthrough attributes (#4103) - Thanks to @A5rocks, @so1ve!
-
language-core: document links for classname within
:class
(#4642) - Thanks to @KazariEX! - language-core: auto infer type for $refs & useTemplateRef (#4644) - Thanks to @zhiyuanzmj!
- language-core: type support for CSS Modules API (#4674) - Thanks to @KazariEX!
- language-service: better completion for directives (#4640) - Thanks to @KazariEX!
- language-service: better sorting & filtering of completion (#4671) - Thanks to @KazariEX!
- language-service: add style scoped and module completion (#4705) - Thanks to @runyasak!
Bug Fixes
-
vscode: type of
vue.server.hybridMode
config (#4703) - Thanks to @KermanX! -
language-core: dependency on vulnerable version of
vue-template-compiler
(#4613) - Thanks to @yyx990803! - language-core: support parse method to access ctx var in object (#4609) - Thanks to @linghaoSu!
- language-core: escape \ and ' in className avoid type error (#4619) - Thanks to @linghaoSu!
- language-core: semantic highlight of the end tag of namespaced elements (#4623) - Thanks to @KermanX!
- language-core: nullable modelvalues (#4648) - Thanks to @davidmatter!
- language-core: should try casting dynamic slot name into constant (#4669) - Thanks to @KermanX!
- language-core: local name support for prop using runtime api (#4650) - Thanks to @KazariEX!
-
language-core: optimize matching of scoped class and
v-bind()
(#4679) - Thanks to @KazariEX! - language-core: should preserve generic info in directive (#4686) - Thanks to @KermanX!
-
language-core: generate
ref
as identifier instead of interpolation (#4688) - Thanks to @KazariEX! - language-core: correct type narrowing from script to template (#4689) - Thanks to @KazariEX!
-
language-core: should camelize prop name in
experimentalModelPropName
(#4691) - Thanks to @KermanX! - language-core: drop duplicate hints on incomplete tag (#4696) - Thanks to @KazariEX!
- language-core: correct inlay hints for v-bind with modifier (#4721) - Thanks to @KazariEX!
-
language-core: transform range of
file-md
correctly (#4735) - Thanks to @KazariEX! - language-plugin-pug: should cache proxyed object (#4626) - Thanks to @KermanX!
- language-plugin-pug: compute offset correctly of pug class (#4652) - Thanks to @KazariEX!
- language-service: completion documentations for binding attributes (#4667) - Thanks to @KazariEX!
- language-service: avoid converting internal id of special tags (#4643) - Thanks to @KazariEX!
- language-service: reinstate the completion for modifiers (#4639) - Thanks to @KazariEX!
- language-service: consistent data from provider for sfc completion (#4645) - Thanks to @KazariEX!
- typescript-plugin: unknown request type warning (#4715) - Thanks to @davidmatter!
Refactors
- language-core: extract SFC root tags to separate virtual code
-
language-core: removed
__hint
trick from codegen - language-core: rewrite a part of confusing codegen code
- language-core: reduce virtual code generated by component tags (#4714)
- language-core: do not wrap template virtual code with function (#4731)
- language-core: write real files to FS for shared global types (#4736)
-
component-meta: remove deprecated
createComponentMetaCheckerByJsonConfig
,createComponentMetaChecker
api
Other Changes
- Upgraded Volar from
v2.4.0-alpha.18
tov2.4.1
:- Ensure unopened files are synced to project (#4711) (#4632) - Thanks to @davidmatter!
- ci: integrated pkg.pr.new
- tsc: test all typecheck cases in one tsconfig (#4723)
- tsc: add test for TS-next (#4724)
- tsc: add tests for for #3779, #3820 (#3838) - Thanks to @so1ve!
- vscode: add grammar test (#3861) - Thanks to @so1ve!
-
language-service: migrate tests to
@volar/test-utils
(#4719) - language-core: add scoped classes renaming case (#4727) - Thanks to @KazariEX!
v2.0.29
Features
- vscode: focus mode Insiders (https://github.com/volarjs/insiders/pull/24)
-
language-core: Plugin API 2.1
- Added plugin hooks:
getLanguageId
,isValidFile
,parseSFC2
- Improve backward compatibility (#4585) - Thanks @zhiyuanzmj
- Added plugin hooks:
- language-core: support default prop when using __typeProps (#4602) - Thanks @zhiyuanzmj
- language-core: improve nested plugins (#4581) - Thanks @zhiyuanzmj
-
language-service: remove
v-bind
code action (#4601) - vscode: add empty pattern to codeblock attributes scope (#4590) - Thanks @KermanX
Bug Fixes
- tsc: errors should be thrown instead of being console.log printed
- language-server: observe named pipes changes when server startup (#4292)
- language-core: infer define model type from options type (#4545) - Thanks @davidmatter
- language-core: type-checking not working with hyphen in slot name with JS (#4478) - Thanks @KermanX
- language-core: add type check for v-model without argument (#4598) - Thanks @zhiyuanzmj
- language-service: filter special tags (#4596) - Thanks @so1ve
- typescript-plugin: improve named pipes reliability (#4603)
- language-core: property access is incorrectly identified as compound expression (#4600)
- language-core: fix compatibility of generic component virtual code with TS 5.5 (#4577)
- tsc: TS4082 not reported for functional component (#4569)
Other Changes
- Upgraded Volar from
v2.4.0-alpha.15
tov2.4.0-alpha.18
: - Fix yarn 4 compatibility (#4587)
- Add vue vine to hybrid mode compatible list (#4543) - Thanks @so1ve
- Add global components prop validation test (#4542) - Thanks @davidmatter
v2.0.28
Features
- vscode: focus mode Insiders (https://github.com/volarjs/insiders/pull/24)
-
language-core: Plugin API 2.1
- Added plugin hooks:
getLanguageId
,isValidFile
,parseSFC2
- Improve backward compatibility (#4585) - Thanks @zhiyuanzmj
- Added plugin hooks:
- language-core: support default prop when using __typeProps (#4602) - Thanks @zhiyuanzmj
- language-core: improve nested plugins (#4581) - Thanks @zhiyuanzmj
-
language-service: remove
v-bind
code action (#4601) - vscode: add empty pattern to codeblock attributes scope (#4590) - Thanks @KermanX
Bug Fixes
- tsc: errors should be thrown instead of being console.log printed
- language-server: observe named pipes changes when server startup (#4292)
- language-core: infer define model type from options type (#4545) - Thanks @davidmatter
- language-core: type-checking not working with hyphen in slot name with JS (#4478) - Thanks @KermanX
- language-core: add type check for v-model without argument (#4598) - Thanks @zhiyuanzmj
- language-service: filter special tags (#4596) - Thanks @so1ve
- typescript-plugin: improve named pipes reliability (#4603)
- language-core: property access is incorrectly identified as compound expression (#4600)
- language-core: fix compatibility of generic component virtual code with TS 5.5 (#4577)
- tsc: TS4082 not reported for functional component (#4569)
Other Changes
- Upgraded Volar from
v2.4.0-alpha.15
tov2.4.0-alpha.18
: - Fix yarn 4 compatibility (#4587)
- Add vue vine to hybrid mode compatible list (#4543) - Thanks @so1ve
- Add global components prop validation test (#4542) - Thanks @davidmatter
v2.0.26
Features
- language-service: Support auto-complete for more preprocessing languages.
- language-core: Improve type compatibility with Vue 3.5. (#4474) - Thanks, @zhiyuanzmj.
Bug Fixes
- vscode: Fix insider version display condition. Insiders
-
language-service: Fix
vue-twoslash-queries
not working in LSP mode. - language-service: Add null handling for script tag completion items. (#4520)
-
language-core: Fix
any
in templates if the first checked file was not root. (#4526) - Thanks, @daniluk4000.
Other Changes
- Upgraded Volar from
v2.4.0-alpha.2
tov2.4.0-alpha.15
:- Fixed an issue where, when Hybrid Mode is disabled, TS support for Vue files not included in tsconfig may be missing.
- Improved the consistency of
vue-tsc
andtsc
behavior. (#3526) - Fixed the
--clean
flag support forvue-tsc
.
- Updated the high-level overview mermaid diagram.
- Added 'expected' and 'actually happening' sections to the bug report template. (#4515) - Thanks, @davidmatter.
v2.0.24
Features
- vscode: pop message box if new insiders version available insiders
- vscode: if insiders versions information failed to fetch from GitHub, try to fetch from CDN insiders
- language-service: better sfc-level tag name completion (#4506) - Thanks @KermanX
Bug Fixes
- tsc: update required volar version (#4498) - Thanks @davidmatter
- tsc: bump peer typescript version (#4513) - Thanks @so1ve
Refactors
- language-server: reorganize the code structure (#4507)
Other Changes
- Upgrade Volar from
v2.3.1
tov2.4.0-alpha.2
.- Hybrid Mode compatibility improvements with other TS plugins (https://github.com/volarjs/volar.js/issues/216)
- docs: add nvim-cmp integration (#4463) - Thanks @RayGuo-ergou
- docs: update mermaid
- The following extensions have been added to Hybrid Mode’s compatibility whitelist (#4206):
p42ai.refactor
nrwl.angular-console
styled-components.vscode-styled-components
Divlo.vscode-styled-jsx-languageserver
v2.0.22
Bug Fixes
- vscode: directive syntax highlighting (#4482) - Thanks @KermanX
- language-core: move declare defineProp out of function scope (#4454) - Thanks @zhiyuanzmj
- language-core: compatible with TS 5.5 (#4492)
Other Changes
- Upgrade Volar from
v2.3.0-alpha.14
tov2.3.1
.- Error tolerant to
contentChanges
length (#4457)
- Error tolerant to
- Add feature request template (#4490) - Thanks @so1ve
- docs: fix wrong links in CHANGELOG.md (#4475) - Thanks @KermanX
v2.0.21
Bug Fixes
- fix(typescript-plugin): TS plugin cause type checking broken in .ts files (#4453)
v2.0.20
Features
- feat(language-service): add localization support for zh-hk/zh-tw
- feat(vscode): enable syntax highlighting of cue code blocks in MDX (#4425) - Thanks @remcohaszing
Bug Fixes
- fix(vscode): fix "as"/"instanceof" expressions syntax highlight (#4412)
- fix(language-core):
ForIteratorExpression
'sreturns
property may be undefined (#4418) - Thanks @so1ve - fix(language-core): use defineEmits calls instead of type infer (#4430) - Thanks @zhiyuanzmj
- fix(tsc): log catched errors to console (#4451) - Thanks @mik3ybark3r
- fix(typescript-plugin): TS not working in template when tsconfig missing (#4452)
- fix(language-core): use type infer instead of await import (#4436) - Thanks @zhiyuanzmj
- feat(language-core): ignore type error for new functional component (#4445) - Thanks @zhiyuanzmj
- fix(language-core): ignore type error for possible component name (#4446) - Thanks @zhiyuanzmj
- fix(language-service): filter internal props in template completion
- fix(language-service): sort component props in template completion
- fix(language-core): duplicate completion appears at the beginning of script setup block
Other Changes
- Upgrade Volar from
v2.2.4
tov2.3.0-alpha.14
.- LSP server performance improved
- Language server now responds with the exact server capabilities for initialization requests
- Auto insertion requests can now exit early in the language client
- The following extensions have been added to Hybrid Mode’s compatibility whitelist:
-
kimuson.ts-type-expand
- Thanks @zcf0508
-
v2.0.19
Bug Fixes
- language-core: property 'xyz' does not exist on type 'abc' when using v-for (#4386)
- language-core: avoid report error when events do not accept parameters (#4387)
- language-core: inline dynamic event handlers should not expect commas (#4387)
v2.0.18
Features
- language-core: report unknown events when strictTemplates is enabled (#3718)
-
language-core: add
compileSFCScript
plugin hook (#3200) - vscode: add coffeescript syntax highlight support
Bug Fixes
- language-core: fix event handler type for hyphen-case event names
- language-core: allow binding multiple events with the same name (#4369)
-
language-core: variable used in
key
appears as unused in v-for template tag (#329) (#3421) - language-core: generics with slots don't work with Vue 2.7 (#3241)
- language-core: template language of .md files should be markdown (#4299)
-
language-core: no template class links when
experimentalResolveStyleCssClasses
is set toalways
(#4379)
Other Changes
- Upgrade Volar from
v2.2.2
tov2.2.4
.- Fixed a few URI conversion issues
- fix(typescript): empty items list should be valid completion result (#4368)
- fix(typescript): path completion not working for meta files
- Upgrade Volar services from
v0.0.44
tov0.0.45
.- fix(typescript-twoslash-queries): inlay hints not working
- fix(css, html, json, yaml): failed to resolve relative path
- feat(emmet): port VSCode emmet extension client logic (https://github.com/volarjs/services/issues/95)
- The following extensions have been added to Hybrid Mode’s compatibility whitelist:
miaonster.vscode-tsx-arrow-definition
runem.lit-plugin
v2.0.17
Features
- language-core: add JSDoc support for component (#2377)
- language-core: add JSDoc support for script setup binding variables (#3409)
- language-core: add class component support (#4354)
- language-service: re-support scoped class links in template (#4357)
- typescript-plugin: create script setup block when auto import if needed
- typescript-plugin: add JSDoc support for events in template (#4365)
- component-meta: add JSDoc tags support for events
- language-core: support defineOptions (#4362) - Thanks @zhiyuanzmj
Bug Fixes
- language-core: hover not working for intrinsic element event name
-
language-core: showing false declared but not used errors for functions used in
v-on="{}"
(#4333) - language-core: fix nameless event expression formatting
-
language-core: types imported in the
<script setup>
should not be used as a variable in template (#4353) -
language-core: renaming classname within
scoped
not working (#4355) -
language-core:
<style>
completions and html custom data completions not provided in some cases (#4092) - language-core: improve code action edits mapping fault tolerance
- language-core: support defineModel for generic component (#4345) - Thanks @zhiyuanzmj
- language-service: completion cannot trigger in SFC root
-
component-meta:
forceUseTs
options not working
Other Changes
- Upgrade Volar from
v2.2.0
tov2.2.2
.- fix(language-server): pass correct languageId when creating virtual code (https://github.com/volarjs/volar.js/issues/173)
- fix(typescript): additional completion not working in plugin (#4323)
- Upgrade Volar services from
v0.0.42
tov0.0.44
.- feat(typescript): code action edits respect editor formatting settings (https://github.com/volarjs/services/issues/30)
- fix(typescript): not being able to jump to shims module definition
- fix(typescript):
allowTextChangesInNewFiles
never true for embedded documents - perf(typescript): check
command
resolve capability only for specific refactors (https://github.com/volarjs/services/issues/94)
- The following extensions have been added to Hybrid Mode’s compatibility whitelist:
mxsdev.typescript-explorer
- Deprecated
vueCompilerOptions.experimentalUseElementAccessInTemplate
- Specify
packageManager
(#4358) - Thanks @so1ve - docs: emoved possibly redundant duplicate reference (#4348) - Thanks @artshade
- language-service: temporarily remove references codeLens (#4364)
v2.0.16
Bug Fixes
- language-core: virtual document language ID is not updated when changing SFC style block lang
-
language-core: correct logic for
defineSlots
destructuring (#4326) - Thanks @zhiyuanzmj -
language-core: ObjectDirective does not work with
defineSlots
(#4327) - language-service: emmet not working in postcss style block (https://github.com/volarjs/volar.js/issues/169)
Other Changes
- Upgrade to Volar 2.2
-
language-core: export
VueEmbeddedCode
(#4265) - Thanks @zhiyuanzmj -
typescript-plugin: expose
FileRegistry
toproject.program
(#3963) - Thanks @zcf0508 - vscode: remove outdated formatters section (#4243) - Thanks @BBboy01
v2.0.15
Features
- Redesign additional extensions, VitePress, PetiteVue support (#4321)
- Fix custom file extensions not working in Hybrid Mode (#4251)
- vscode: prompt when Hybrid Mode is explicitly enabled but known incompatible extensions are installed
- language-core: use internal options for directly exposing user props/emits types (vuejs/core#10801)
- language-core: support defineSlots destructuring (#4312) - Thanks @zhiyuanzmj
Bug Fixes
- vscode: when enabled VitePress support, extension not activated when opening markdown files
- language-core: auto-complete not working in v-bind
Performance
- language-service: emmet completion should not be blocked by TS type evaluation (#4298)
- language-core: simplify virtual code for intrinsic elements
Other Changes
- Upgrade Volar from
v2.2.0-alpha.10
tov2.2.0-alpha.12
: - Add
svelte.svelte-vscode
(>=108.4.0) to Hybrid Mode compatibility whitelist (sveltejs/language-tools#2317) - component-meta: convert source code to TS
-
language-core: export
allCodeFeatures
(#4320) - Thanks @zhiyuanzmj
v2.0.14
Features
- language-core: added search html tag (#4280) - Thanks @audunhov
- language-service: added Russian, Czech localization support
Bug Fixes
-
language-core:
@ts-ignore
not working for slots (#4263) - language-core: reduce unnecessary props mapping (#4284)
- tsc: improve regexp performance for global type removal (#4260) - Thanks @blake-newman
Other Changes
- Upgrade Volar from
v2.2.0-alpha.8
tov2.2.0-alpha.10
to fix some issues:- Parameter Hints not working in Hybrid Mode (#3948)
- TS server to crash repeatedly when include large js file (#4278)
- Randomly causing errors when renaming / find definitions in Hybrid Mode (#4257, #4281, #4282)
- Unable to resolve Nuxt UI component type
- Incomplete results for find refernces in Hybrid Mode
- The following extensions have been added to Hybrid Mode’s compatibility whitelist:
bierner.lit-html
-
denoland.vscode-deno
(Whendeno.enable
isfalse
) jenkey2011.string-highlight
-
language-core: improve maintainability of codegen (#4276)
- Deprecated
vueCompilerOptions.nativeTags
, now respects thenodeType
property of template AST node. - Dynamic component types without
v-bind:is
are no longer supported.
- Deprecated
v2.0.13
Performance
- tsc: re-introduce global types removal check (#4245)
Other Changes
- Upgrade Volar from
v2.2.0-alpha.7
tov2.2.0-alpha.8
for a vue-tsc performance issue fixes (#4238)
v2.0.12
Bug Fixes
- vscode: restart tsserver before restart vue language server (#4242)
- tsc: remove exit early condition
- typescript-plugin: handle named pipe server timeout
-
language-core:
@vue-ignore
not working for fragment v-if/v-for nodes (#4232)
Other Changes
- Upgrade Volar from
v2.2.0-alpha.6
tov2.2.0-alpha.7
for a typescript plugin bug fixes
v2.0.11
Features
-
vscode: support for enabling/disabling typescript plugin (#4226)
- Added
typeScriptPluginOnly
option forvue.server.hybridMode
setting. - When Hybrid Mode is disabled, the Vue TypeScript Plugin will be disabled by default.
- Added
-
vscode: support for
vue.format.wrapAttributes
setting (#4212) -
vscode: add
vue.codeActions.askNewComponentName
setting (#4217)
Bug Fixes
-
vscode:
Find File References
not working when hybrid mode is disabled (#4221) - language-core: type narrowing not working for inline event handlers (#4209)
-
language-core:
@vue-ignore
,@vue-expect-error
not working for interpolations -
language-core: improve reliability for
@vue-ignore
,@vue-expect-error
(#4203) - language-core: duplicated items in suggestion list for prop values (#3922)
-
language-server:
vueCompilerOptions
not working with hybrid mode (#4211) (#3959)
Other Changes
- Upgrade Volar from
v2.2.0-alpha.5
tov2.2.0-alpha.6
for avue-tsc
bug fixes- volarjs/volar.js#162 - Thanks @wangshunnn
- test: add test for #4203 (#4207) - Thanks @tinco
v2.0.10
Features
-
vscode: enable
vue.updateImportsOnFileMove.enabled
by default (#3646) - vscode: re-add restart server command (#4174)
- vscode: automatically enable Hybrid Mode if possible (#4206)
- component-meta: add typing resolution for defineModel modifiers (#4175) - Thanks @stafyniaksacha
- language-service: drag and drop import respects tsconfig path aliases (#4184)
- language-service: supports auto insertion of multiple cursors (#4140)
Bug Fixes
-
language-server:
additionalExtensions
option not working for inferred project - language-core: avoid interpolation indentation affecting each other
- language-core: generate each interpolation into separate virtual code (#4165)
-
language-service: ignore html
wrapAttributes
format settings for vue document (#3987) - vscode: remove duplicate ts version status (#4167)
-
language-server:
.html
,.md
file language id incorrect - typescript-plugin: formatting settings not working for ts completion
- tsc: remove fake global types holder for composite projects compatibility (#4196) - Thanks @blake-newman
Performance
- language-core: cache canonical root file names with string Set
Other Changes
- Upgrade Volar from
v2.1.3
tov2.2.0-alpha.5
for a few bug fixes and performance improves, please refer to CHANGELOG.md for details. -
vscode: update required VSCode version to
^1.88.0
- docs: update readme with neovim lspconfig setup (#4134) - Thanks @RayGuo-ergou
- language-core: split inline css codegen into separate plugin
- language-core: move global types codegen into separate script
- language-core: resolve virtual code features before push code
- test: added simple tests for vue-tsc and custom SFC extensions. (#4181) - Thanks @cabal95
v2.0.7
[!NOTE] Hybrid Mode is now disabled by default, you need to enable
vue.server.hybridMode
in settings to enable it explicitly.
Features
- language-server: reintroducing full TS support and disable Hybrid Mode by default (#4119)
-
vscode: check outdated
@vue/language-plugin-pug
in doctor - vscode: significantly reduces the status bar space occupied
Bug Fixes
- vscode: vueCompilerOptions no longer prompts for deprecated options
-
component-meta:
defineSlots
allows empty params (#4093) - thanks @Evertvdw - typescript-plugin: fault tolerance for named pipe servers json file (#4075) - thanks @Simon-He95
-
language-core: generate
defineModel
emits type on-demand (#4052) - thanks @so1ve -
language-core: special treatment for number elements inside
v-for
(#3859) - thanks @so1ve - language-plugin-pug: semantic tokens mapping failed (#4070)
Other Changes
- language-service update neovim lsp set up info (#4085) - thanks @CofCat456
-
lint: add
tsl
linter and auto fix workflow (#4100) - vscode: remove embedded language IDs (#4081) - thanks @remcohaszing
v2.0.6
[!IMPORTANT] If the TypeScript language server crashes since 2.0, please try using VSCode Insiders and install JavaScript and TypeScript Nightly, or temporarily downgrade to 1.8.27.
Issue: https://github.com/vuejs/language-tools/issues/3962If false positive errors occur, please try disabling unrelated extensions in the Vue workspace.
Issue: https://github.com/vuejs/language-tools/issues/3942
Fixes
- language-core: use local variables in v-bind shorthand (#4017) - thanks @so1ve
- language-core: sfc folding end position failed to mapping (#4038) - thanks @so1ve
-
language-service: remove
extraLiners
option for formatting (#3943) -
language-service: bump
volar-service-typescript
for fix jsx formatting (#3949) -
language-service: bump
@volar/typescript
for fix 2.0.5 auto-complete performance regression (#4024)
Other Changes
-
vscode: rename
vue.inlayHints.vbindShorthand
setting tovue.inlayHints.vBindShorthand
(#3995) - thanks @l4dybird
v2.0.5
Features
-
language-core: support
v-bind
shorthand (#3990) - thanks @so1ve -
language-service: support inlay hints for
v-bind
shorthand (#3990) - thanks @so1ve - vscode: prompt to disable Svelte extension in Vue workspace to avoid conflicts
Fixes
- typescript-plugin: fault tolerance for named pipe server data
-
language-core: avoid
globalTypesHolder
being specified from anode_modules
file (#3990) - language-core: fault tolerance for plugin creation
- language-plugin-pug: failed to load due to an invalid require path (#3930)
- typescript-plugin: custom extensions do not work (#3977)
- language-service: html custom data not working (#3975)
Other Changes
- typescript-plugin add README (#3974) - thanks @WhyNotHugo
- component-meta update demo (#3994) - thanks @zzfn
v2.0.4
Features
- vscode: report requires TSDK version in doctor
Fixes
- typescript-plugin: JSON parsing error when server data length > 8192 (#3961)
v2.0.3
Features
- vscode: identify #3942 in doctor
Fixes
- vscode: compatible with VSCode 1.87.0
- vscode: search "TypeScript and JavaScript Language Features" with id (#3932)
- typescript-plugin: more reliable connection to named pipe server (#3941)
Refactors
- language-service: dependency injection typescript plugin (#3994)
v2.0.2
Features
- vscode: focus mode Insiders (https://github.com/volarjs/insiders/pull/24)
-
language-core: Plugin API 2.1
- Added plugin hooks:
getLanguageId
,isValidFile
,parseSFC2
- Improve backward compatibility (#4585) - Thanks @zhiyuanzmj
- Added plugin hooks:
- language-core: support default prop when using __typeProps (#4602) - Thanks @zhiyuanzmj
- language-core: improve nested plugins (#4581) - Thanks @zhiyuanzmj
-
language-service: remove
v-bind
code action (#4601) - vscode: add empty pattern to codeblock attributes scope (#4590) - Thanks @KermanX
Bug Fixes
- tsc: errors should be thrown instead of being console.log printed
- language-server: observe named pipes changes when server startup (#4292)
- language-core: infer define model type from options type (#4545) - Thanks @davidmatter
- language-core: type-checking not working with hyphen in slot name with JS (#4478) - Thanks @KermanX
- language-core: add type check for v-model without argument (#4598) - Thanks @zhiyuanzmj
- language-service: filter special tags (#4596) - Thanks @so1ve
- typescript-plugin: improve named pipes reliability (#4603)
- language-core: property access is incorrectly identified as compound expression (#4600)
- language-core: fix compatibility of generic component virtual code with TS 5.5 (#4577)
- tsc: TS4082 not reported for functional component (#4569)
Other Changes
- Upgraded Volar from
v2.4.0-alpha.15
tov2.4.0-alpha.18
: - Fix yarn 4 compatibility (#4587)
- Add vue vine to hybrid mode compatible list (#4543) - Thanks @so1ve
- Add global components prop validation test (#4542) - Thanks @davidmatter
v2.0.1
Bug Fixes
- language-core: property 'xyz' does not exist on type 'abc' when using v-for (#4386)
- language-core: avoid report error when events do not accept parameters (#4387)
- language-core: inline dynamic event handlers should not expect commas (#4387)
v2.0.0
Features
- Hybrid Mode
- Takeover Mode has been deprecated. The extension now has the same performance as Takeover Mode by default.
- TypeScript language support has been moved from Vue language server to TypeScript plugin (#3788)
- Integrated all TypeScript editor features
- Warn when internal TypeScript extension is disabled or "TypeScript Vue Plugin" extension is installed
- Migrated to named pipe server using TypeScript LanguageService (#3908, #3916)
-
typescript.tsdk
duplicate registration errors are no longer reported - language-service: reimplemented component tag semantic tokens in TypeScript plugin (#3915)
- language-service: reimplemented auto-import patching in TypeScript plugin (#3917)
-
language-service: ensured tsserver readiness when requesting auto insert
.value
(#3914)
- Upgraded to Volar 2.0 and 2.1 (#3736, #3906)
- vscode: extension now compatible with Volar Labs v2
-
vscode: removed
volar.format.initialIndent
option, replaced with 3 new options:vue.format.template.initialIndent
vue.format.script.initialIndent
vue.format.style.initialIndent
-
language-server:
ignoreTriggerCharacters
,reverseConfigFilePriority
andfullCompletionList
options are no longer supported
- Supported Component Drag and Drop Import (#3692)
-
tsc: supported
vueCompilerOptions.extensions
option (#3800) - language-core: achieved compatibility with Vue 3.4 type changes (#3860)
Fixes
- vscode: prevented reading undefined properties in non-VS Code editors (#3836)
- vscode: prevented extension activation with TS files
- vscode: corrected trace server ID
- language-core: implemented emit codegen for defineModel (#3895)
- language-core: addressed transition type incompatibility with Vue 2.7.16 (#3882)
- language-core: excluded vue directive syntax injection in Angular bindings (#3891)
- component-type-helpers: resolved inference issue for Vue 3.4.20 functional component
Refactors
- Renamed "Volar Language Features (Volar)" extension to "Vue - Official"
- "TypeScript Vue Plugin" extension has been deprecated
- Relocated source scripts from
src
tolib
(#3913) - Replaced
typescript/lib/tsserverlibrary
imports withtypescript
- language-core: implemented codegen based on Generator (#3778)
- language-core: generated global types in a single virtual file (#3803)
- language-core: implemented plugin API v2 (#3918)
- language-core: ignored nested codeblocks in markdown file (#3839)
-
language-core: removed
experimentalAdditionalLanguageModules
and deprecated APIs (#3907) - language-service: made service plugins independent of project context
-
language-server:
volar.config.js
is no longer supported - component-meta: renamed APIs
-
typescript-plugin: renamed package to
@vue/typescript-plugin
(#3910) - tsc: rewritten based on first-party TS API and no longer relies on TypeScript module (#3795)
- tsc: deprecated hooks API (#3793)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This MR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.