Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: vuejs/vue
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: df281b0
Choose a base ref
...
head repository: vuejs/vue
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9e88707
Choose a head ref

Commits on Oct 15, 2022

  1. Copy the full SHA
    259c706 View commit details

Commits on Oct 16, 2022

  1. 1
    Copy the full SHA
    a7a71ad View commit details

Commits on Oct 19, 2022

  1. Copy the full SHA
    6d9aac8 View commit details

Commits on Nov 9, 2022

  1. Copy the full SHA
    a5afc4d View commit details
  2. Copy the full SHA
    0b3cf7d View commit details
  3. Copy the full SHA
    f7db7f3 View commit details
  4. Copy the full SHA
    5aed733 View commit details
  5. Copy the full SHA
    5e3d4e9 View commit details
  6. Copy the full SHA
    d1899ca View commit details
  7. fix(reactivity): avoid using WeakMap for IE compatibility

    Using a WeakMap polyfill isn't ideal because the reason we tried to use
    WeakMap was to work with non-extensible objects. However, WeakMap
    polyfill for non-extensible objects are non-weak and could lead to
    memory leaks.
    
    The trade-off is that we remove support for `readonly()` on
    non-extensible objects, which seems reasonable.
    
    close #12837
    yyx990803 committed Nov 9, 2022
    Copy the full SHA
    29b5f58 View commit details
  8. release: v2.7.14

    yyx990803 committed Nov 9, 2022
    Copy the full SHA
    9dd006b View commit details

Commits on Dec 6, 2022

  1. Copy the full SHA
    ca11dc6 View commit details

Commits on Dec 14, 2022

  1. chore: comment typos (#12878)

    Co-authored-by: 方恒 <fangheng@shwpg.com>
    FlyingCaiChong and 方恒 authored Dec 14, 2022
    Copy the full SHA
    2e57061 View commit details

Commits on Dec 27, 2022

  1. 1
    Copy the full SHA
    34c6192 View commit details
  2. Copy the full SHA
    0e8511a View commit details

Commits on Jan 12, 2023

  1. Copy the full SHA
    d52fbff View commit details

Commits on Feb 4, 2023

  1. chore: typos (#12949)

    rj1 authored Feb 4, 2023
    Copy the full SHA
    a9ca2d8 View commit details

Commits on Apr 27, 2023

  1. Copy the full SHA
    49b6bd4 View commit details

Commits on Oct 22, 2023

  1. Copy the full SHA
    18cc547 View commit details
  2. Copy the full SHA
    6149048 View commit details
  3. Copy the full SHA
    78ef627 View commit details
  4. Copy the full SHA
    1399ee6 View commit details
  5. Copy the full SHA
    74ca5a1 View commit details

Commits on Oct 23, 2023

  1. Copy the full SHA
    67c1d26 View commit details
  2. Copy the full SHA
    099401e View commit details
  3. Copy the full SHA
    bb59751 View commit details
  4. Copy the full SHA
    d27c128 View commit details
  5. Copy the full SHA
    b8c8b3f View commit details
  6. Copy the full SHA
    51fef2c View commit details
  7. Copy the full SHA
    c223634 View commit details
  8. chore: update snapshots

    yyx990803 committed Oct 23, 2023
    Copy the full SHA
    af9a10f View commit details
  9. release: v2.7.15

    yyx990803 committed Oct 23, 2023
    Copy the full SHA
    81598ea View commit details

Commits on Nov 7, 2023

  1. Copy the full SHA
    223a9e9 View commit details

Commits on Dec 6, 2023

  1. chore: bump vitest to 1.0

    yyx990803 committed Dec 6, 2023
    Copy the full SHA
    947993f View commit details
  2. Copy the full SHA
    08382f0 View commit details
  3. test: fix tests

    yyx990803 committed Dec 6, 2023
    Copy the full SHA
    d30f6fd View commit details
  4. Copy the full SHA
    0ad8e8d View commit details
  5. Copy the full SHA
    45d6ad6 View commit details
  6. Copy the full SHA
    de0b97b View commit details
  7. Copy the full SHA
    ae3e4b1 View commit details
  8. Copy the full SHA
    10c2a87 View commit details
  9. Copy the full SHA
    25f97a5 View commit details
  10. chore(deps): bump esbuild

    yyx990803 committed Dec 6, 2023
    Copy the full SHA
    d6468c4 View commit details
  11. fix(style): always set new styles

    close #12901
    close #12946
    yyx990803 committed Dec 6, 2023
    1
    Copy the full SHA
    f5ef882 View commit details
  12. Copy the full SHA
    a174c29 View commit details
  13. Copy the full SHA
    6d857f5 View commit details

Commits on Dec 7, 2023

  1. Copy the full SHA
    24fcf69 View commit details
  2. Copy the full SHA
    83d9535 View commit details
  3. Copy the full SHA
    3650c12 View commit details
  4. Copy the full SHA
    2632249 View commit details
Showing with 3,278 additions and 2,180 deletions.
  1. +1 −1 .github/CODE_OF_CONDUCT.md
  2. +1 −1 .github/CONTRIBUTING.md
  3. +6 −9 .github/ISSUE_TEMPLATE/config.yml
  4. +1 −1 .github/PULL_REQUEST_TEMPLATE.md
  5. +8 −8 .github/workflows/ci.yml
  6. +84 −15 CHANGELOG.md
  7. +10 −6 README.md
  8. +1 −1 examples/classic/elastic-header/index.html
  9. +2 −2 examples/classic/todomvc/app.js
  10. +2 −2 examples/classic/todomvc/index.html
  11. +7 −7 examples/classic/todomvc/readme.md
  12. +14 −10 package.json
  13. +6 −3 packages/compiler-sfc/package.json
  14. +16 −9 packages/compiler-sfc/src/compileScript.ts
  15. +8 −2 packages/compiler-sfc/src/rewriteDefault.ts
  16. +67 −21 packages/compiler-sfc/test/__snapshots__/compileScript.spec.ts.snap
  17. +17 −17 packages/compiler-sfc/test/__snapshots__/cssVars.spec.ts.snap
  18. +58 −1 packages/compiler-sfc/test/compileScript.spec.ts
  19. +10 −10 packages/compiler-sfc/test/prefixIdentifiers.spec.ts
  20. +70 −4 packages/compiler-sfc/test/rewriteDefault.spec.ts
  21. +2 −2 packages/server-renderer/package.json
  22. +0 −4 packages/server-renderer/src/render-context.ts
  23. +3 −2 packages/server-renderer/test/ssr-basic-renderer.spec.ts
  24. +1 −1 packages/server-renderer/test/ssr-bundle-render.spec.ts
  25. +6 −4 packages/server-renderer/test/ssr-stream.spec.ts
  26. +146 −135 packages/server-renderer/test/ssr-string.spec.ts
  27. +22 −0 packages/server-renderer/test/utils.ts
  28. +1 −1 packages/template-compiler/README.md
  29. +1 −1 packages/template-compiler/package.json
  30. +2,287 −1,800 pnpm-lock.yaml
  31. +1 −1 src/compiler/codegen/index.ts
  32. +1 −1 src/compiler/parser/html-parser.ts
  33. +1 −1 src/compiler/parser/index.ts
  34. +8 −2 src/core/components/keep-alive.ts
  35. +3 −0 src/core/instance/init.ts
  36. +8 −2 src/core/instance/lifecycle.ts
  37. +5 −6 src/core/instance/render.ts
  38. +18 −12 src/core/instance/state.ts
  39. +7 −8 src/core/observer/index.ts
  40. +19 −3 src/core/util/options.ts
  41. +5 −2 src/core/vdom/patch.ts
  42. +2 −4 src/platforms/web/runtime/modules/style.ts
  43. +1 −1 src/platforms/web/util/element.ts
  44. +10 −4 src/shared/util.ts
  45. +1 −1 src/types/utils.ts
  46. +1 −1 src/v3/apiAsyncComponent.ts
  47. +6 −2 src/v3/apiWatch.ts
  48. +4 −6 src/v3/reactivity/reactive.ts
  49. +11 −5 src/v3/reactivity/readonly.ts
  50. +3 −6 src/v3/reactivity/ref.ts
  51. +3 −3 test/transition/karma.conf.js
  52. +1 −1 test/unit/features/global-api/config.spec.ts
  53. +8 −0 test/unit/features/options/inject.spec.ts
  54. +18 −0 test/unit/features/options/props.spec.ts
  55. +31 −0 test/unit/features/v3/apiWatch.spec.ts
  56. +25 −0 test/unit/features/v3/reactivity/effectScope.spec.ts
  57. +1 −1 test/unit/features/v3/reactivity/reactive.spec.ts
  58. +7 −4 test/unit/features/v3/reactivity/readonly.spec.ts
  59. +1 −1 test/unit/modules/compiler/parser.spec.ts
  60. +11 −0 test/unit/modules/util/toString.spec.ts
  61. +15 −0 test/unit/modules/vdom/modules/style.spec.ts
  62. +38 −0 test/unit/modules/vdom/patch/edge-cases.spec.ts
  63. +63 −0 types/built-in-components.d.ts
  64. +1 −1 types/common.d.ts
  65. +9 −1 types/index.d.ts
  66. +3 −1 types/jsx.d.ts
  67. +1 −1 types/options.d.ts
  68. +1 −1 types/test/async-component-test.ts
  69. +13 −3 types/test/setup-helpers-test.ts
  70. +12 −1 types/test/v3/reactivity-test.ts
  71. +12 −3 types/test/v3/tsx-test.tsx
  72. +15 −1 types/test/v3/watch-test.ts
  73. +7 −7 types/test/vue-test.ts
  74. +5 −1 types/v3-setup-helpers.d.ts
  75. +4 −1 types/vnode.d.ts
2 changes: 1 addition & 1 deletion .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -10,4 +10,4 @@ Project maintainers have the right and responsibility to remove, edit, or reject

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.

This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
This Code of Conduct is adapted from the [Contributor Covenant](https://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@ Hi! I'm really excited that you are interested in contributing to Vue.js. Before

## Development Setup

You will need [Node.js](http://nodejs.org) **version 12+** and [pnpm](https://pnpm.io/).
You will need [Node.js](https://nodejs.org) **version 18+** and [pnpm](https://pnpm.io/) **version 8+**.

After cloning the repo, run:

15 changes: 6 additions & 9 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Create new issue
url: https://new-issue.vuejs.org/
about: Please use the following link to create a new issue.
- name: Patreon
url: https://www.patreon.com/evanyou
about: Love Vue.js? Please consider supporting us via Patreon.
- name: Open Collective
url: https://opencollective.com/vuejs/donate
about: Love Vue.js? Please consider supporting us via Open Collective.
- name: Vue 2 has reached EOL!
url: https://v2.vuejs.org/eol/
about: Vue 2 has reached EOL and is no longer actively maintained. Click the link on the right for more details.
- name: Vue 2 NES by HeroDevs
url: https://www.herodevs.com/support/nes-vue?utm_source=vuejs-github&utm_medium=issue-form
about: Learn more about Vue 2 NES if you have security or compliance requirements for continued Vue 2 usage.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ If yes, please describe the impact and migration path for existing applications:

**The PR fulfills these requirements:**

- [ ] It's submitted to the `dev` branch for v2.x (or to a previous version branch), _not_ the `master` branch
- [ ] It's submitted to the `main` branch for v2.x (or to a previous version branch)
- [ ] When resolving a specific issue, it's referenced in the PR's title (e.g. `fix #xxx[,#xxx]`, where "xxx" is the issue number)
- [ ] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
- [ ] New/updated tests are included
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -15,10 +15,10 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2

- name: Set node version to 16
- name: Set node version to 18
uses: actions/setup-node@v2
with:
node-version: 16
node-version: 18
cache: 'pnpm'

- run: pnpm install
@@ -34,10 +34,10 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2

- name: Set node version to 16
- name: Set node version to 18
uses: actions/setup-node@v2
with:
node-version: 16
node-version: 18
cache: 'pnpm'

- run: pnpm install
@@ -56,10 +56,10 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2

- name: Set node version to 16
- name: Set node version to 18
uses: actions/setup-node@v2
with:
node-version: 16
node-version: 18
cache: 'pnpm'

- run: pnpm install
@@ -78,10 +78,10 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2

- name: Set node version to 16
- name: Set node version to 18
uses: actions/setup-node@v2
with:
node-version: 16
node-version: 18
cache: 'pnpm'

- run: pnpm install
Loading