diff --git a/CHANGELOG.md b/CHANGELOG.md index 53ce6f47..704b89f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +# [4.0.0-beta.2](https://github.com/vuejs/vue-apollo/compare/v4.0.0-beta.1...v4.0.0-beta.2) (2023-02-03) + + +### Bug Fixes + +* **@vue/apollo-option:** ssr cleanup function fails to run ([#1424](https://github.com/vuejs/vue-apollo/issues/1424)) ([#1425](https://github.com/vuejs/vue-apollo/issues/1425)) ([8dfe93b](https://github.com/vuejs/vue-apollo/commit/8dfe93b82679fac42b8d1509febc97e7faeed1e0)) +* hydration error, revert [#1388](https://github.com/vuejs/vue-apollo/issues/1388), fix [#1432](https://github.com/vuejs/vue-apollo/issues/1432) ([9302d4d](https://github.com/vuejs/vue-apollo/commit/9302d4d4a55541bb49292463d8176d0527c06ce9)) +* ignore next result only if not loading ([1e24d21](https://github.com/vuejs/vue-apollo/commit/1e24d2110c3ea6ee80590c2b6578fef45a2e448e)) +* typo in useResult deprecation message ([#1414](https://github.com/vuejs/vue-apollo/issues/1414)) ([3728928](https://github.com/vuejs/vue-apollo/commit/372892855d76622128ac560e8fadc689c50675bc)) + + + # [4.0.0-beta.1](https://github.com/vuejs/vue-apollo/compare/v4.0.0-alpha.20...v4.0.0-beta.1) (2022-10-05) diff --git a/package.json b/package.json index 765d5c82..23f97002 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-apollo-monorepo", - "version": "4.0.0-beta.1", + "version": "4.0.0-beta.2", "private": true, "scripts": { "build": "pnpm run -r --filter \"vue-apollo*\" --filter \"@vue/apollo*\" build", diff --git a/packages/vue-apollo-components/package.json b/packages/vue-apollo-components/package.json index ef06be06..abc705da 100644 --- a/packages/vue-apollo-components/package.json +++ b/packages/vue-apollo-components/package.json @@ -1,6 +1,6 @@ { "name": "@vue/apollo-components", - "version": "4.0.0-alpha.20", + "version": "4.0.0-beta.2", "description": "Apollo GraphQL components for Vue.js", "main": "dist/vue-apollo-components.umd.js", "module": "dist/vue-apollo-components.esm.js", @@ -34,7 +34,7 @@ "access": "public" }, "dependencies": { - "@vue/apollo-option": "^4.0.0-alpha.20" + "@vue/apollo-option": "^4.0.0-beta.2" }, "peerDependencies": { "vue": "^3.1.0" diff --git a/packages/vue-apollo-composable/package.json b/packages/vue-apollo-composable/package.json index f1b5e13d..61f8acf9 100644 --- a/packages/vue-apollo-composable/package.json +++ b/packages/vue-apollo-composable/package.json @@ -1,6 +1,6 @@ { "name": "@vue/apollo-composable", - "version": "4.0.0-beta.1", + "version": "4.0.0-beta.2", "description": "Apollo GraphQL for Vue Composition API", "repository": { "type": "git", diff --git a/packages/vue-apollo-option/package.json b/packages/vue-apollo-option/package.json index 446e938d..d10c1b62 100644 --- a/packages/vue-apollo-option/package.json +++ b/packages/vue-apollo-option/package.json @@ -1,6 +1,6 @@ { "name": "@vue/apollo-option", - "version": "4.0.0-alpha.20", + "version": "4.0.0-beta.2", "description": "Use Apollo and GraphQL with Vue.js using the `apollo` option", "main": "dist/vue-apollo-option.umd.js", "module": "dist/vue-apollo-option.esm.js", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3a3fac28..bf9132ac 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -106,7 +106,7 @@ importers: '@babel/core': 7.18.5 '@typescript-eslint/eslint-plugin': 4.33.0_3ekaj7j3owlolnuhj3ykrb7u7i '@typescript-eslint/parser': 4.33.0_hxadhbs2xogijvk7vq4t2azzbu - '@vue/cli-plugin-babel': 5.0.6_3ds5mlvhltqp7qqzsbexbmgxf4 + '@vue/cli-plugin-babel': 5.0.6_i7qaw567irxlgtwglrpx6w4et4 '@vue/cli-plugin-e2e-cypress': 5.0.6_7orj6el5f2drpdr3kyev2asldq '@vue/cli-service': 5.0.6_cdqfsdyxtxoiivt7cwra7kovse cypress: 10.2.0 @@ -167,7 +167,7 @@ importers: devDependencies: '@babel/core': 7.18.5 '@types/shortid': 0.0.29 - '@vue/cli-plugin-babel': 5.0.6_amyxu2ixb6ykbcrzsxd4obqs24 + '@vue/cli-plugin-babel': 5.0.6_pzhgrhphm6cnko3v5tfu5vhh5u '@vue/cli-plugin-e2e-cypress': 5.0.6_ppkze6ikzunhk5ilp2lq5gvxq4 '@vue/cli-plugin-typescript': 5.0.6_amyxu2ixb6ykbcrzsxd4obqs24 '@vue/cli-service': 5.0.6_@babel+core@7.18.5 @@ -185,7 +185,7 @@ importers: '@babel/plugin-transform-for-of': ^7.18.1 '@babel/preset-env': ^7.18.2 '@types/graphql': ^14.5.0 - '@vue/apollo-option': ^4.0.0-alpha.20 + '@vue/apollo-option': ^4.0.0-beta.2 '@vue/test-utils': ^1.3.0 babel-core: ^7.0.0-bridge.0 cross-env: ^6.0.3 @@ -2275,7 +2275,7 @@ packages: error-stack-parser: 2.1.4 string-width: 4.2.3 strip-ansi: 6.0.1 - webpack: 5.73.0 + webpack: 5.73.0_esbuild@0.8.57 dev: true /@soda/get-current-script/1.0.2: @@ -2772,9 +2772,11 @@ packages: svg-tags: 1.0.0 dev: true - /@vue/babel-preset-app/5.0.6_vue@3.2.37: + /@vue/babel-preset-app/5.0.6_3aogryackydaz2fubzu76aosly: resolution: {integrity: sha512-hoVr5M5RIvAL8F6MX8ZG0RvjA7MB7eDOkykK+M+qThkkrsAvlianzygnE86xN1N7JVSq7kGOyZk0Te+L20KqeQ==} peerDependencies: + '@babel/core': '*' + core-js: ^3 vue: '*' peerDependenciesMeta: core-js: @@ -2884,13 +2886,13 @@ packages: resolution: {integrity: sha512-rghCRMPVQ4FIKmQy8ipn8fKztdaQSQTktAKob2SGuEL/iBWfclSMAQCXfj908nyzOBymo+q/Sn/oiLhi07oHlA==} dev: true - /@vue/cli-plugin-babel/5.0.6_3ds5mlvhltqp7qqzsbexbmgxf4: + /@vue/cli-plugin-babel/5.0.6_i7qaw567irxlgtwglrpx6w4et4: resolution: {integrity: sha512-ruQhfhj2WM6Fe/VDQneQc/kqNp/p138SjQMfz7q/rxMTMG1kpV5B0jYWschXHXLQ6aDsFnqmBmIK+XjU3XTF3g==} peerDependencies: '@vue/cli-service': ^3.0.0 || ^4.0.0 || ^5.0.0-0 dependencies: '@babel/core': 7.18.5 - '@vue/babel-preset-app': 5.0.6_vue@3.2.37 + '@vue/babel-preset-app': 5.0.6_3aogryackydaz2fubzu76aosly '@vue/cli-service': 5.0.6_cdqfsdyxtxoiivt7cwra7kovse '@vue/cli-shared-utils': 5.0.6 babel-loader: 8.2.5_te6ollfzjcco6mbxjl755ucqke @@ -2898,6 +2900,7 @@ packages: webpack: 5.73.0_esbuild@0.8.57 transitivePeerDependencies: - '@swc/core' + - core-js - encoding - esbuild - supports-color @@ -2906,13 +2909,13 @@ packages: - webpack-cli dev: true - /@vue/cli-plugin-babel/5.0.6_amyxu2ixb6ykbcrzsxd4obqs24: + /@vue/cli-plugin-babel/5.0.6_pzhgrhphm6cnko3v5tfu5vhh5u: resolution: {integrity: sha512-ruQhfhj2WM6Fe/VDQneQc/kqNp/p138SjQMfz7q/rxMTMG1kpV5B0jYWschXHXLQ6aDsFnqmBmIK+XjU3XTF3g==} peerDependencies: '@vue/cli-service': ^3.0.0 || ^4.0.0 || ^5.0.0-0 dependencies: '@babel/core': 7.18.5 - '@vue/babel-preset-app': 5.0.6_vue@3.2.37 + '@vue/babel-preset-app': 5.0.6_3aogryackydaz2fubzu76aosly '@vue/cli-service': 5.0.6_@babel+core@7.18.5 '@vue/cli-shared-utils': 5.0.6 babel-loader: 8.2.5_te6ollfzjcco6mbxjl755ucqke @@ -2920,6 +2923,7 @@ packages: webpack: 5.73.0 transitivePeerDependencies: - '@swc/core' + - core-js - encoding - esbuild - supports-color @@ -2963,7 +2967,7 @@ packages: peerDependencies: '@vue/cli-service': ^3.0.0 || ^4.0.0 || ^5.0.0-0 dependencies: - '@vue/cli-service': 5.0.6_@babel+core@7.18.5 + '@vue/cli-service': 5.0.6_cdqfsdyxtxoiivt7cwra7kovse '@vue/cli-shared-utils': 5.0.6 transitivePeerDependencies: - encoding @@ -3011,7 +3015,7 @@ packages: peerDependencies: '@vue/cli-service': ^3.0.0 || ^4.0.0 || ^5.0.0-0 dependencies: - '@vue/cli-service': 5.0.6_@babel+core@7.18.5 + '@vue/cli-service': 5.0.6_cdqfsdyxtxoiivt7cwra7kovse dev: true /@vue/cli-service/5.0.6_@babel+core@7.18.5: @@ -4387,7 +4391,7 @@ packages: /axios/0.21.4_debug@4.3.2: resolution: {integrity: sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==} dependencies: - follow-redirects: 1.15.1_debug@4.3.2 + follow-redirects: 1.15.1 transitivePeerDependencies: - debug dev: true @@ -4395,7 +4399,7 @@ packages: /axios/0.24.0: resolution: {integrity: sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA==} dependencies: - follow-redirects: 1.15.1_debug@4.3.2 + follow-redirects: 1.15.1 transitivePeerDependencies: - debug dev: true @@ -4441,7 +4445,7 @@ packages: loader-utils: 2.0.2 make-dir: 3.1.0 schema-utils: 2.7.1 - webpack: 5.73.0 + webpack: 5.73.0_esbuild@0.8.57 dev: true /babel-plugin-dynamic-import-node/2.3.3: @@ -5543,8 +5547,8 @@ packages: engines: {node: '>=10'} hasBin: true dependencies: - is-text-path: 1.0.1 JSONStream: 1.3.5 + is-text-path: 1.0.1 lodash: 4.17.21 meow: 8.1.2 split2: 3.2.2 @@ -5584,7 +5588,7 @@ packages: normalize-path: 3.0.0 schema-utils: 3.1.1 serialize-javascript: 6.0.0 - webpack: 5.73.0 + webpack: 5.73.0_esbuild@0.8.57 dev: true /core-js-compat/3.23.2: @@ -5715,7 +5719,7 @@ packages: postcss-modules-values: 4.0.0_postcss@8.4.14 postcss-value-parser: 4.2.0 semver: 7.3.7 - webpack: 5.73.0 + webpack: 5.73.0_esbuild@0.8.57 dev: true /css-minimizer-webpack-plugin/3.4.1_27w6rz5nz7mlmvskwel5io2kzi: @@ -7517,7 +7521,7 @@ packages: resolution: {integrity: sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==} dev: true - /follow-redirects/1.15.1_debug@4.3.2: + /follow-redirects/1.15.1: resolution: {integrity: sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA==} engines: {node: '>=4.0'} peerDependencies: @@ -7525,8 +7529,6 @@ packages: peerDependenciesMeta: debug: optional: true - dependencies: - debug: 4.3.2 dev: true /for-each/0.3.3: @@ -8188,7 +8190,7 @@ packages: lodash: 4.17.21 pretty-error: 4.0.0 tapable: 2.2.1 - webpack: 5.73.0 + webpack: 5.73.0_esbuild@0.8.57 dev: true /htmlparser2/6.1.0: @@ -8263,7 +8265,7 @@ packages: engines: {node: '>=8.0.0'} dependencies: eventemitter3: 4.0.7 - follow-redirects: 1.15.1_debug@4.3.2 + follow-redirects: 1.15.1 requires-port: 1.0.0 transitivePeerDependencies: - debug @@ -9953,7 +9955,7 @@ packages: optional: true dependencies: schema-utils: 4.0.0 - webpack: 5.73.0 + webpack: 5.73.0_esbuild@0.8.57 dev: true /minimalistic-assert/1.0.1: @@ -10841,7 +10843,7 @@ packages: klona: 2.0.5 postcss: 8.4.14 semver: 7.3.7 - webpack: 5.73.0 + webpack: 5.73.0_esbuild@0.8.57 dev: true /postcss-merge-longhand/5.1.6_postcss@8.4.14: @@ -11238,7 +11240,7 @@ packages: chalk: 2.4.2 figures: 2.0.0 log-update: 2.3.0 - webpack: 5.73.0 + webpack: 5.73.0_esbuild@0.8.57 dev: true /progress/2.0.3: @@ -12836,7 +12838,7 @@ packages: loader-utils: 2.0.2 neo-async: 2.6.2 schema-utils: 3.1.1 - webpack: 5.73.0 + webpack: 5.73.0_esbuild@0.8.57 dev: true /throat/4.1.0: @@ -13429,7 +13431,7 @@ packages: loader-utils: 1.4.0 vue-hot-reload-api: 2.3.4 vue-style-loader: 4.1.3 - webpack: 5.73.0 + webpack: 5.73.0_esbuild@0.8.57 transitivePeerDependencies: - arc-templates - atpl @@ -13497,7 +13499,7 @@ packages: chalk: 4.1.2 hash-sum: 2.0.0 loader-utils: 2.0.2 - webpack: 5.73.0 + webpack: 5.73.0_esbuild@0.8.57 dev: true /vue-property-decorator/10.0.0-rc.3_vue@3.2.37: @@ -13653,7 +13655,7 @@ packages: mime-types: 2.1.35 range-parser: 1.2.1 schema-utils: 4.0.0 - webpack: 5.73.0 + webpack: 5.73.0_esbuild@0.8.57 dev: true /webpack-dev-server/4.9.2_debug@4.3.4+webpack@5.73.0: @@ -13696,7 +13698,7 @@ packages: serve-index: 1.9.1 sockjs: 0.3.24 spdy: 4.0.2 - webpack: 5.73.0 + webpack: 5.73.0_esbuild@0.8.57 webpack-dev-middleware: 5.3.3_webpack@5.73.0 ws: 8.8.0 transitivePeerDependencies: