Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 2, 2021

Bumps vue and @vue/compiler-sfc. These dependencies needed to be updated together.
Updates vue from 3.0.5 to 3.1.4

Commits

Updates @vue/compiler-sfc from 3.0.5 to 3.1.4

Release notes

Sourced from @​vue/compiler-sfc's releases.

v3.1.4

Please refer to CHANGELOG.md for details.

v3.1.3

Please refer to CHANGELOG.md for details.

v3.1.2

Please refer to CHANGELOG.md for details.

v3.1.1

Please refer to CHANGELOG.md for details.

v3.1.0 Pluto

Features

  • Migration Build: a build of Vue 3 that provides Vue 2 compatible behavior. The Migration Build is intended to help migrating existing Vue 2 apps to Vue 3.
  • compiler-core: whitespace handling strategy (dee3d6a)
  • support component-level compilerOptions when using runtime compiler (ce0bbe0)
  • config: support configuring runtime compiler via app.config.compilerOptions (091e6d6)
  • support casting plain element to component via is="vue:xxx" (af9e699)
  • devtools: improved KeepAlive support (03ae300)
  • devtools: performance events (f7c54ca)
  • onServerPrefetch (#3070) (349eb0f)

Performance Improvements

  • only trigger $attrs update when it has actually changed (5566d39)
  • compiler: skip unncessary checks when parsing end tag (048ac29)
  • avoid deopt for props/emits normalization when global mixins are used (51d2be2)

Deprecations

  • app.config.isCustomElement has been deprecated and should be now nested under app.config.compilerOptions. [Docs]
  • delimiters component option has been deprecated and should now be nested under the compilerOptions component option. [Docs]
  • v-is has been deprecated in favor of is="vue:xxx" [Docs]

Minor Breaking Changes

  • this.$props and the props object passed to setup() now always contain all the keys for declared props, even for props that are absent (4fe4de0). This has always been the behavior in Vue 2 and is therefore considered a fix (see reasoning in #3288). However, this could break Vue 3 code that relied on the keys for prop absence checks. The workaround is to use a Symbol default value for props that need absence checks:

    const isAbsent = Symbol()
    export default {
    props: {
    foo: { default: isAbsent }
    },
    setup(props) {
    if (props.foo === isAbsent) {
    // foo is absent

... (truncated)

Changelog

Sourced from @​vue/compiler-sfc's changelog.

3.1.4 (2021-07-02)

Bug Fixes

  • build: avoid using async/await syntax (438754a)
  • build: fix generated code containing unprocessed class field syntax (2788154), closes #4052 vuejs/vue-cli#6562
  • codegen: ensure valid types in genreated code when using global directives (a44d528), closes #4054
  • compiler-sfc: fix parse-only mode when there is no script setup block (253ca27)
  • runtime-core: add useAttrs and useSlots export (#4053) (735ada1)
  • runtime-core: fix instance accessed via $parent chain when using expose() (#4048) (12cf9f4)

3.1.3 (2021-07-01)

Bug Fixes

  • compiler-core: properly exit self-closing pre tag (d2df28d), closes #4030
  • compiler-sfc: avoid script setup marker showing up in devtools (211793d)
  • compiler-sfc: fix defineProps() call on imported identifier (691d354)
  • compiler-sfc: fix defineProps/defineEmits usage in multi-variable declarations (62c1b2f), closes #3739
  • compiler-sfc: fix script setup hidden flag codegen (a5a66c5)
  • compiler-sfc: support method signature in defineProps (afdd2f2), closes #2983
  • compiler-sfc: support TS runtime enum in <script setup> (1ffd48a)
  • runtime-core: add missing serverPrefetch hook error string (#4014) (d069796)
  • runtime-core: fix mouting of detached static vnode (fded1e8), closes #4023
  • runtime-dom: fix static node content caching edge cases (ba89ca9), closes #4023 #4031 #4037
  • sfc: allow variables that start with _ or $ in <script setup> (0b8b576)
  • ssr: ensure behavior consistency between prod/dev when mounting SSR app to empty containers (33708e8), closes #4034
  • ssr: properly hydrate non-string value bindings (34d4991), closes #4006
  • types: improve type of unref() (127ed1b), closes #3954
  • defineExpose type definition and runtime warning (1675b6d)
  • prevent withAsyncContext currentInstance leak in edge cases (9ee41e1)

Features

  • compiler-sfc: compileScript parseOnly mode (601a290)
  • expose: always expose $ instance properties on child refs (b0203a3)
  • sfc: add defineEmits and deprecate defineEmit (#3725) (a137da8)
  • sfc: auto restore current instance after await statements in async setup() (0240e82)
  • sfc: change <script setup> directive resolution to require v prefix (d35e0b1), closes #3543
  • sfc: defineExpose (be2b1d3)
  • sfc: make ref sugar disabled by default (96cc335)
  • sfc: remove \<template inherit-attrs> support (6f6f0cf)
  • sfc: support referenced types for defineEmits (2973b6c)
  • sfc: support using declared interface or type alias with defineProps() (2f91db3)
  • sfc: useAttrs + useSlots (63e9e2e)

... (truncated)

Commits
  • 348c3b0 release: v3.1.4
  • 253ca27 fix(compiler-sfc): fix parse-only mode when there is no script setup block
  • fc7b640 release: v3.1.3
  • 1ffd48a fix(compiler-sfc): support TS runtime enum in \<script setup>
  • 601a290 feat(compiler-sfc): compileScript parseOnly mode
  • 96cc335 feat(sfc): make ref sugar disabled by default
  • 0240e82 feat(sfc): auto restore current instance after await statements in async setup()
  • fd7fa6f test: fix script setup directive test
  • 211793d fix(compiler-sfc): avoid script setup marker showing up in devtools
  • 2e10261 chore: warn script setup compiler macro imports
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [vue](https://github.com/vuejs/vue) and [@vue/compiler-sfc](https://github.com/vuejs/vue-next/tree/HEAD/packages/compiler-sfc). These dependencies needed to be updated together.

Updates `vue` from 3.0.5 to 3.1.4
- [Release notes](https://github.com/vuejs/vue/releases)
- [Commits](https://github.com/vuejs/vue/commits)

Updates `@vue/compiler-sfc` from 3.0.5 to 3.1.4
- [Release notes](https://github.com/vuejs/vue-next/releases)
- [Changelog](https://github.com/vuejs/vue-next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-next/commits/v3.1.4/packages/compiler-sfc)

---
updated-dependencies:
- dependency-name: vue
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: "@vue/compiler-sfc"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 2, 2021
@vercel
Copy link

vercel bot commented Jul 2, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/xlbd/tailwind-pre-processor/C6bwZCedWAjqxxWWRUxUYdLVKioA
✅ Preview: https://tailwind-pre-processor-git-dependabot-npmandyarnvue-8aebf1-xlbd.vercel.app

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 16, 2021

Superseded by #153.

@dependabot dependabot bot closed this Jul 16, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/vue-and-vue/compiler-sfc-3.1.4 branch July 16, 2021 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants