diff --git a/CHANGELOG.md b/CHANGELOG.md index fcb9595..34f370e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## v2406.0.1 + +*Released 13.08.2024* + +### Bugfixes and Changes: + +- Fixed peer dependency of @apollo/client in @coremedia-labs/graphql-layer + +--- + ## v2406.0.0 *Released 20.06.2024* diff --git a/apps/spark/package.json b/apps/spark/package.json index 0c5f2d9..9abb39d 100644 --- a/apps/spark/package.json +++ b/apps/spark/package.json @@ -17,7 +17,7 @@ "build-storybook": "storybook build -o dist/storybook" }, "dependencies": { - "@apollo/client": "^3.10.5", + "@apollo/client": "^3.11.4", "@coremedia-labs/graphql-layer": "workspace:^", "@coremedia-labs/preview-integration": "workspace:^", "@coremedia-labs/view-dispatcher": "workspace:^", diff --git a/apps/standalone-fragment/package.json b/apps/standalone-fragment/package.json index 7aef47f..8ab0f4c 100644 --- a/apps/standalone-fragment/package.json +++ b/apps/standalone-fragment/package.json @@ -9,7 +9,7 @@ "lint:ci": "eslint \"src/**/*.+(ts|tsx)\"" }, "dependencies": { - "@apollo/client": "^3.10.5", + "@apollo/client": "^3.11.4", "@coremedia-labs/graphql-layer": "workspace:^", "graphql": "^16.8.2", "react": "^17.0.2", diff --git a/package.json b/package.json index 5f36c74..fc1df10 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@coremedia-labs/headless-client-workspace", - "version": "2406.0.0", + "version": "2406.0.1", "description": "Spark - The React client workspace for the CoreMedia Headless Server", "private": true, "license": "CoreMedia Open Source License", diff --git a/packages/graphql-layer/package.json b/packages/graphql-layer/package.json index b511f13..417e074 100644 --- a/packages/graphql-layer/package.json +++ b/packages/graphql-layer/package.json @@ -28,10 +28,11 @@ "./dist/__downloaded__/schema.json": "./dist/__downloaded__/schema.json" }, "dependencies": { - "@apollo/client": "^3.10.5", + "@apollo/client": "^3.11.4", "dotenv": "^16.4.5", "graphql": "^16.8.2", "graphql-tag": "^2.12.6", + "react-dom": "^17.0.2", "typescript": "~5.2.2" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 53cfd48..af35580 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,8 +18,8 @@ importers: apps/spark: dependencies: '@apollo/client': - specifier: ^3.10.5 - version: 3.10.5(@types/react@17.0.80)(graphql-ws@5.16.0(graphql@16.8.2))(graphql@16.8.2)(react-dom@17.0.2(react@17.0.2))(react@17.0.2) + specifier: ^3.11.4 + version: 3.11.4(@types/react@17.0.80)(graphql-ws@5.16.0(graphql@16.8.2))(graphql@16.8.2)(react-dom@17.0.2(react@17.0.2))(react@17.0.2) '@coremedia-labs/graphql-layer': specifier: workspace:^ version: link:../../packages/graphql-layer @@ -205,8 +205,8 @@ importers: apps/standalone-fragment: dependencies: '@apollo/client': - specifier: ^3.10.5 - version: 3.10.5(@types/react@17.0.80)(graphql-ws@5.16.0(graphql@16.8.2))(graphql@16.8.2)(react-dom@17.0.2(react@17.0.2))(react@17.0.2) + specifier: ^3.11.4 + version: 3.11.4(@types/react@17.0.80)(graphql-ws@5.16.0(graphql@16.8.2))(graphql@16.8.2)(react-dom@17.0.2(react@17.0.2))(react@17.0.2) '@coremedia-labs/graphql-layer': specifier: workspace:^ version: link:../../packages/graphql-layer @@ -278,8 +278,8 @@ importers: packages/graphql-layer: dependencies: '@apollo/client': - specifier: ^3.10.5 - version: 3.10.5(@types/react@18.3.3)(graphql-ws@5.16.0(graphql@16.8.2))(graphql@16.8.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^3.11.4 + version: 3.11.4(@types/react@17.0.80)(graphql-ws@5.16.0(graphql@16.8.2))(graphql@16.8.2)(react-dom@17.0.2(react@17.0.2))(react@17.0.2) dotenv: specifier: ^16.4.5 version: 16.4.5 @@ -289,6 +289,9 @@ importers: graphql-tag: specifier: ^2.12.6 version: 2.12.6(graphql@16.8.2) + react-dom: + specifier: ^17.0.2 + version: 17.0.2(react@17.0.2) typescript: specifier: ~5.2.2 version: 5.2.2 @@ -456,7 +459,7 @@ importers: version: 5.1.3(@types/eslint@8.56.10)(eslint-config-prettier@9.1.0(eslint@8.57.0))(eslint@8.57.0)(prettier@3.3.2) jest: specifier: ^29.7.0 - version: 29.7.0(@types/node@20.14.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.14.5)) + version: 29.7.0(@types/node@20.14.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.6.3)(@types/node@20.14.5)(typescript@5.2.2)) prettier: specifier: ^3.3.2 version: 3.3.2 @@ -572,13 +575,13 @@ packages: peerDependencies: graphql: 14.x || 15.x || 16.x - '@apollo/client@3.10.5': - resolution: {integrity: sha512-bZh5wLAT8b4KdEmqnqiQeDUttnR+NJ+gDYSN8T+U0uFGN++5LO5PTwySih6kIU5ErGGGw4NHI94YdSET3uLuBA==} + '@apollo/client@3.11.4': + resolution: {integrity: sha512-bmgYKkULpym8wt8aXlAZ1heaYo0skLJ5ru0qJ+JCRoo03Pe+yIDbBCnqlDw6Mjj76hFkDw3HwFMgZC2Hxp30Mg==} peerDependencies: graphql: ^15.0.0 || ^16.0.0 graphql-ws: ^5.5.5 - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || >=19.0.0-rc <19.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || >=19.0.0-rc <19.0.0 subscriptions-transport-ws: ^0.9.0 || ^0.11.0 peerDependenciesMeta: graphql-ws: @@ -2950,9 +2953,6 @@ packages: '@types/react@17.0.80': resolution: {integrity: sha512-LrgHIu2lEtIo8M7d1FcI3BdwXWoRQwMoXOZ7+dPTW0lYREjmlHl3P0U1VD0i/9tppOuv8/sam7sOjx34TxSFbA==} - '@types/react@18.3.3': - resolution: {integrity: sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==} - '@types/resolve@1.20.6': resolution: {integrity: sha512-A4STmOXPhMUtHH+S6ymgE2GiBSMqf4oTvcQZMcHzokuTLVYzXTB8ttjcgxOVaAp2lGwEdzZ0J+cRbbeevQj1UQ==} @@ -6172,11 +6172,6 @@ packages: peerDependencies: react: 17.0.2 - react-dom@18.3.1: - resolution: {integrity: sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==} - peerDependencies: - react: ^18.3.1 - react-element-to-jsx-string@15.0.0: resolution: {integrity: sha512-UDg4lXB6BzlobN60P8fHWVPX3Kyw8ORrTeBtClmIlGdkOOE+GYQSFvmEU5iLLpwp/6v42DINwNcwOhOLfQ//FQ==} peerDependencies: @@ -6275,10 +6270,6 @@ packages: resolution: {integrity: sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==} engines: {node: '>=0.10.0'} - react@18.3.1: - resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==} - engines: {node: '>=0.10.0'} - read-pkg-up@7.0.1: resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==} engines: {node: '>=8'} @@ -6490,9 +6481,6 @@ packages: scheduler@0.20.2: resolution: {integrity: sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==} - scheduler@0.23.2: - resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} - schema-utils@3.3.0: resolution: {integrity: sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==} engines: {node: '>= 10.13.0'} @@ -7520,7 +7508,7 @@ snapshots: dependencies: graphql: 16.8.2 - '@apollo/client@3.10.5(@types/react@17.0.80)(graphql-ws@5.16.0(graphql@16.8.2))(graphql@16.8.2)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)': + '@apollo/client@3.11.4(@types/react@17.0.80)(graphql-ws@5.16.0(graphql@16.8.2))(graphql@16.8.2)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)': dependencies: '@graphql-typed-document-node/core': 3.2.0(graphql@16.8.2) '@wry/caches': 1.0.1 @@ -7544,30 +7532,6 @@ snapshots: transitivePeerDependencies: - '@types/react' - '@apollo/client@3.10.5(@types/react@18.3.3)(graphql-ws@5.16.0(graphql@16.8.2))(graphql@16.8.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': - dependencies: - '@graphql-typed-document-node/core': 3.2.0(graphql@16.8.2) - '@wry/caches': 1.0.1 - '@wry/equality': 0.5.7 - '@wry/trie': 0.5.0 - graphql: 16.8.2 - graphql-tag: 2.12.6(graphql@16.8.2) - hoist-non-react-statics: 3.3.2 - optimism: 0.18.0 - prop-types: 15.8.1 - rehackt: 0.1.0(@types/react@18.3.3)(react@18.3.1) - response-iterator: 0.2.6 - symbol-observable: 4.0.0 - ts-invariant: 0.10.3 - tslib: 2.6.3 - zen-observable-ts: 1.2.5 - optionalDependencies: - graphql-ws: 5.16.0(graphql@16.8.2) - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - transitivePeerDependencies: - - '@types/react' - '@apollo/protobufjs@1.2.7': dependencies: '@protobufjs/aspromise': 1.1.2 @@ -9468,7 +9432,7 @@ snapshots: jest-util: 29.7.0 slash: 3.0.0 - '@jest/core@29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.14.5))': + '@jest/core@29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.6.3)(@types/node@20.14.5)(typescript@5.2.2))': dependencies: '@jest/console': 29.7.0 '@jest/reporters': 29.7.0 @@ -9482,7 +9446,7 @@ snapshots: exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.14.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.14.5)) + jest-config: 29.7.0(@types/node@20.14.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.6.3)(@types/node@20.14.5)(typescript@5.2.2)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -10799,12 +10763,6 @@ snapshots: '@types/scheduler': 0.16.8 csstype: 3.1.3 - '@types/react@18.3.3': - dependencies: - '@types/prop-types': 15.7.12 - csstype: 3.1.3 - optional: true - '@types/resolve@1.20.6': {} '@types/scheduler@0.16.8': {} @@ -11968,13 +11926,13 @@ snapshots: country-flag-icons@1.5.12: {} - create-jest@29.7.0(@types/node@20.14.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.14.5)): + create-jest@29.7.0(@types/node@20.14.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.6.3)(@types/node@20.14.5)(typescript@5.2.2)): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.14.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.14.5)) + jest-config: 29.7.0(@types/node@20.14.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.6.3)(@types/node@20.14.5)(typescript@5.2.2)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -13513,16 +13471,16 @@ snapshots: - babel-plugin-macros - supports-color - jest-cli@29.7.0(@types/node@20.14.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.14.5)): + jest-cli@29.7.0(@types/node@20.14.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.6.3)(@types/node@20.14.5)(typescript@5.2.2)): dependencies: - '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.14.5)) + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.6.3)(@types/node@20.14.5)(typescript@5.2.2)) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.14.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.14.5)) + create-jest: 29.7.0(@types/node@20.14.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.6.3)(@types/node@20.14.5)(typescript@5.2.2)) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@20.14.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.14.5)) + jest-config: 29.7.0(@types/node@20.14.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.6.3)(@types/node@20.14.5)(typescript@5.2.2)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -13532,7 +13490,7 @@ snapshots: - supports-color - ts-node - jest-config@29.7.0(@types/node@20.14.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.14.5)): + jest-config@29.7.0(@types/node@20.14.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.6.3)(@types/node@20.14.5)(typescript@5.2.2)): dependencies: '@babel/core': 7.24.7 '@jest/test-sequencer': 29.7.0 @@ -13784,12 +13742,12 @@ snapshots: merge-stream: 2.0.0 supports-color: 8.1.1 - jest@29.7.0(@types/node@20.14.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.14.5)): + jest@29.7.0(@types/node@20.14.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.6.3)(@types/node@20.14.5)(typescript@5.2.2)): dependencies: - '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.14.5)) + '@jest/core': 29.7.0(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.6.3)(@types/node@20.14.5)(typescript@5.2.2)) '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(@types/node@20.14.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.14.5)) + jest-cli: 29.7.0(@types/node@20.14.5)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@swc/core@1.6.3)(@types/node@20.14.5)(typescript@5.2.2)) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -14675,13 +14633,6 @@ snapshots: react: 17.0.2 scheduler: 0.20.2 - react-dom@18.3.1(react@18.3.1): - dependencies: - loose-envify: 1.4.0 - react: 18.3.1 - scheduler: 0.23.2 - optional: true - react-element-to-jsx-string@15.0.0(react-dom@17.0.2(react@17.0.2))(react@17.0.2): dependencies: '@base2/pretty-print-object': 1.0.1 @@ -14801,11 +14752,6 @@ snapshots: loose-envify: 1.4.0 object-assign: 4.1.1 - react@18.3.1: - dependencies: - loose-envify: 1.4.0 - optional: true - read-pkg-up@7.0.1: dependencies: find-up: 4.1.0 @@ -14898,11 +14844,6 @@ snapshots: '@types/react': 17.0.80 react: 17.0.2 - rehackt@0.1.0(@types/react@18.3.3)(react@18.3.1): - optionalDependencies: - '@types/react': 18.3.3 - react: 18.3.1 - rehype-external-links@3.0.0: dependencies: '@types/hast': 3.0.4 @@ -15058,11 +14999,6 @@ snapshots: loose-envify: 1.4.0 object-assign: 4.1.1 - scheduler@0.23.2: - dependencies: - loose-envify: 1.4.0 - optional: true - schema-utils@3.3.0: dependencies: '@types/json-schema': 7.0.15