Repository navigation
Update pnpm.catalog.default vue-types to v7 - #619
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
renovate
Bot
force-pushed
the
renovate/vue-types-7.x
branch
from
October 23, 2026 06:10
031822f to
382e41d
Compare
renovate
Bot
force-pushed
the
renovate/vue-types-7.x
branch
from
October 25, 2026 01:46
382e41d to
d990343
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.0.2→^7.0.1Release Notes
dwightjack/vue-types (vue-types)
v7.0.1Compare Source
Patch Changes
2005933: Shim: removeVueTypes.extendimplementation and add a removal warning. The static method was removed from VueTypes' core in v6.0.0v7.0.0Compare Source
Major Changes
d37a012: - Remove old polyfills and shims forArray.isArray,globalThis,Object.hasOwnv6.0.0Compare Source
Major Changes
306173f: #### Drop Vue 2 supportVue 2 reached End of Life (EOL) on December 31st, 2023. By dropping Vue 2 compatibility we can deliver a smaller package and make the source code more maintainable.
If you're unable to update to Vue 3, please use vue-types@5.x
Removed
VueTypes.extendmethodVueTypes.extendwas deprecated in v5. In v6 this method has been removed. Please migrate your code to use ES6+extendsfeature.Example:
Using
VueTypes.extend(old):Using ES6+
extends(new):Package format review:
If you're using a bundler, you should not encounter any issue.
If you are directly referencing or importing a specific file in the
distorshimfolder, you might need to update its path as described in the following table:dist/vue-types.m.jsdist/index.mjsdist/vue-types.modern.jsdist/index.mjsdist/vue-types.cjsdist/index.cjsdist/vue-types.umd.jsdist/index.umd.jsdist/shim.m.jsdist/shim.mjsdist/shim.modern.jsdist/shim.mjsdist/shim.cjsdist/shim.cjsdist/shim.umd.jsdist/shim.umd.jsshim/index.m.jsdist/shim.mjsshim/index.modern.jsdist/shim.mjsshim/index.cjsdist/shim.cjsshim/index.umd.jsdist/shim.umd.jsv5.1.3Compare Source
Patch Changes
97f366d: vue-types: expose shared types to ESM module consumersv5.1.2Compare Source
Patch Changes
9f5ba17: Include provenance statements to the packagev5.1.1Compare Source
Patch Changes
30673ac: Theexportsdeclarations in package.json were missing thetypesubpath. See #419v5.1.0Compare Source
Minor Changes
ec32a30: Force stricter type for the.validate(fn)function arguments:This should not be a breaking change, but you should be aware of the new behavior.
v5.0.4Compare Source
Patch Changes
9dfa28b: Allow the user to pass async functions as function props. Closes #397v5.0.3Compare Source
Patch Changes
8cb1ccb: - Accepts null as valid value in validateType utilnullable()should be used for nullable required props.Closes #383
v5.0.2Compare Source
Fix
validateTypefunction in the shim build (fixes #319)v5.0.1Compare Source
Breaking Changes
Default for booleans
bool().def(undefined)explicitly sets thedefault: undefinedproperty on the type instead of removing it (#284):Nullable strict validation
nullablevalidates only when a prop value is=== null. This change makes it easier to use it with other validators likeoneOfType.oneOfTypeandoneOfstrict validationWhen passed a
oneOfvalidator,oneOfTypechecks the actual values instead of their types.This makes it easier to define complex validators mixing specific values and generic types.
Standalone Nuxt module
Nuxt support has been moved to a dedicated module:
vue-types-nuxtincluding support for both Nuxt@2 and Nuxt@3. See the usage documentation here: https://dwightjack.github.io/vue-types/guide/installation.html#nuxtMinor Changes
oneOfsupportsnullas a value:oneOf(['on', 'off', null])oneOf(#147)Other Changes and Notes
v5.0.0Compare Source
v4.2.1Compare Source
Bugfix Release
f455c09)v4.2.0Compare Source
Main Changes
nuxtfolder for CJS environments (#280 Thanks @PikaDude)Other Changes
New Contributors
Full Changelog: dwightjack/vue-types@4.1.1...4.2.0
v4.1.1Compare Source
Bugfix Release
oneOfTyperegression (#188)custom()validator functions are executed when used asshape()properties (#177)v4.1.0Compare Source
Minor Changes
stringnumber/integeranyoneOfTypeThanks to @victorgarciaesgi for the great contribution.
v4.0.3Compare Source
Bugfix
customTypecannot be called multiple times because of redefine issue (#162 thanks @iamricogo)v4.0.2Compare Source
Bugfix
VueTypes.extend([... ])(#158 thanks @iamricogo)v4.0.1Compare Source
Bugfix
v4.0.0Compare Source
Major Release
This release introduces two main changes that may be breaking depending on your application setup:
VueTypes as an ES Module
With the wide support for the ES Module format in Node.js, browsers and bundlers, VueTypes has switched to this format by default. CommonJS is still supported for older bundlers and Node.js versions, while UMD is available for direct usage in browsers.
This change will not affect most usage scenarios; anyway, if you are using the shim version or have configured your bundler to alias
vue-typesmodule, make sure to read the updated installation documentation.Vue 2 and Vue 3 compatibility
The following changes where introduced to support both versions of Vue.
prop.typecan betrueon Vue 2 componentsTypeScript definitions have changed between v2 and v3 of Vue. The most notable change is that
PropOptions.typecan now betrue. To support both version, VueTypes uses customized component prop's TS definitions. This change should not affect your application.Console logging setup
In VueTypes 2, the library used the global
Vue.config.silentproperty to manage its logging behavior. This property is no more available in Vue 3 and thus the behaviour has been changed.If you wan to replicate the old behavior in applications using VueTypes 4 and Vue 2, you can add the following line to your entry point (documentation):
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.