@plitzi/sdk-schema 0.37.3 → 0.37.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @plitzi/sdk-schema
2
2
 
3
+ ## 0.37.4
4
+
5
+ ### Patch Changes
6
+
7
+ - cadd1b9: ## `@plitzi/sdk-shared` loads without Apollo
8
+
9
+ - **The root entry no longer needs `@apollo/client`.** It re-exported every builder query, mutation and subscription,
10
+ written with `gql` from `@apollo/client/core` — a package it never declared. Inside the monorepo the builder's copy
11
+ answered for it; a server installing the published packages (`@plitzi/sdk-server` and anything else that imports
12
+ `@plitzi/sdk-shared`) failed at boot with `ERR_MODULE_NOT_FOUND: @apollo/client`. The documents are now written with
13
+ `graphql-tag`, which Apollo's `gql` already was, and `graphql` is a dependency.
14
+ - **The two helpers that do run Apollo leave the barrels**: `createAuthFailureLink` is imported from
15
+ `@plitzi/sdk-shared/auth/authFailureLink` (no longer from `@plitzi/sdk-shared/auth` or the root) and
16
+ `createStripTypenameLink` from `@plitzi/sdk-shared/helpers/stripTypename`. `@apollo/client` is an optional peer, for
17
+ those two alone.
18
+
19
+ - Updated dependencies [cadd1b9]
20
+ - @plitzi/sdk-shared@0.37.4
21
+ - @plitzi/sdk-style@0.37.4
22
+
3
23
  ## 0.37.3
4
24
 
5
25
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plitzi/sdk-schema",
3
- "version": "0.37.3",
3
+ "version": "0.37.4",
4
4
  "license": "AGPL-3.0",
5
5
  "files": [
6
6
  "dist"
@@ -53,8 +53,8 @@
53
53
  },
54
54
  "dependencies": {
55
55
  "@plitzi/plitzi-ui": "^1.6.24",
56
- "@plitzi/sdk-shared": "0.37.3",
57
- "@plitzi/sdk-style": "0.37.3",
56
+ "@plitzi/sdk-shared": "0.37.4",
57
+ "@plitzi/sdk-style": "0.37.4",
58
58
  "prop-types": "^15.8.1"
59
59
  },
60
60
  "devDependencies": {