Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 27, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vue-types (source) ^3.0.0 -> ^4.0.0 age adoption passing confidence

Release Notes

dwightjack/vue-types

v4.1.1

Compare Source

Bugfix Release

v4.1.0

Compare Source

Minor Changes

  • Added TypeScript casting on the following validators (#​135 , #​138 , #​136):
    • string
    • number / integer
    • any
    • oneOfType
  • Added dedicated TS documentation

Thanks to @​victorgarciaesgi for the great contribution.

v4.0.3

Compare Source

Bugfix

  • Shim: validators generated with customType cannot be called multiple times because of redefine issue (#​162 thanks @​iamricogo)

v4.0.2

Compare Source

Bugfix

v4.0.1

Compare Source

Bugfix

v4.0.0

Compare Source

Major Release

This release introduces two main changes that may be breaking depending on your application setup:

  • The library is now published as an ES Module with fallback support for Common JS and UMD.
  • Version 4.x works with both Vue 2 and Vue 3

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-types module, 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.type can be true on Vue 2 components

TypeScript definitions have changed between v2 and v3 of Vue. The most notable change is that PropOptions.type can now be true. 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.silent property 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):

import Vue from 'vue'
import VueTypes from 'vue-types'

VueTypes.config.silent = Vue.config.silent

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 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.


  • If you want to rebase/retry this PR, click this checkbox.

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

@codecov
Copy link

codecov bot commented Jun 27, 2021

Codecov Report

Merging #4277 (df9e127) into next (4a0fce5) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             next    #4277   +/-   ##
=======================================
  Coverage   32.24%   32.24%           
=======================================
  Files          68       68           
  Lines         276      276           
  Branches       40       40           
=======================================
  Hits           89       89           
  Misses        183      183           
  Partials        4        4           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4a0fce5...df9e127. Read the comment docs.

@github-actions
Copy link

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the Stale label Dec 19, 2021
@github-actions github-actions bot closed this Dec 29, 2021
@renovate
Copy link
Contributor Author

renovate bot commented Dec 29, 2021

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 4.x releases. However, if you upgrade to 4.x manually then Renovate will reenable minor and patch updates automatically.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.

@renovate renovate bot deleted the renovate/vue-types-4.x branch December 29, 2021 02:20
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants