diff --git a/.changeset/solid-js-peer-cap.md b/.changeset/solid-js-peer-cap.md new file mode 100644 index 00000000..8dc2c170 --- /dev/null +++ b/.changeset/solid-js-peer-cap.md @@ -0,0 +1,6 @@ +--- +'@tanstack/charts': patch +'@tanstack/solid-charts': patch +--- + +Cap the `solid-js` peer range at `^1`. The previous open-ended `>=` range would accept Solid 2.0.0 once it is released, but these packages are built against Solid 1 and do not work with Solid 2. diff --git a/benchmarks/conformance/previews/manifest.json b/benchmarks/conformance/previews/manifest.json index b9a05cde..e5001659 100644 --- a/benchmarks/conformance/previews/manifest.json +++ b/benchmarks/conformance/previews/manifest.json @@ -2,7 +2,7 @@ "schemaVersion": 1, "width": 288, "height": 192, - "sourceHash": "f79b8b8343174e5569667c35f2f555d89c70d2bac5bec3e26076d523baf0dfe8", + "sourceHash": "bd192a70a226c4e49e5f687cdf4572478b7f465baf62fe6f564e86309f669ff0", "assets": [ { "id": "01-line-gaps", diff --git a/packages/charts-core/package.json b/packages/charts-core/package.json index 8b0bfd70..87d22f56 100644 --- a/packages/charts-core/package.json +++ b/packages/charts-core/package.json @@ -53,7 +53,7 @@ "react-dom": "^18.0.0 || ^19.0.0", "react-native": "^0.86.0 || ^0.88.0", "react-native-svg": ">=15.15.4 <16", - "solid-js": ">=1.8", + "solid-js": "^1.8", "svelte": "^5.20.0", "vue": ">=3.5" }, diff --git a/packages/solid-charts/package.json b/packages/solid-charts/package.json index c081471b..670225e5 100644 --- a/packages/solid-charts/package.json +++ b/packages/solid-charts/package.json @@ -25,7 +25,7 @@ "@tanstack/charts": "workspace:*" }, "peerDependencies": { - "solid-js": ">=1.8" + "solid-js": "^1.8" }, "devDependencies": { "solid-js": "^1.9.13", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 65a6b109..b1dffb71 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -622,7 +622,7 @@ importers: specifier: '>=15.15.4 <16' version: 15.15.5(react-native@0.86.2(@babel/core@7.29.7(supports-color@10.2.2))(@react-native-community/cli@20.1.0(supports-color@10.2.2)(typescript@6.0.3))(@react-native/metro-config@0.86.2(@babel/core@7.29.7(supports-color@10.2.2))(supports-color@10.2.2))(@types/react@19.2.17)(react@19.2.3)(supports-color@10.2.2))(react@19.2.3) solid-js: - specifier: '>=1.8' + specifier: ^1.8 version: 1.9.14 svelte: specifier: ^5.20.0