@plitzi/sdk-style 0.37.4 → 0.37.5

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 +21 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @plitzi/sdk-style
2
2
 
3
+ ## 0.37.5
4
+
5
+ ### Patch Changes
6
+
7
+ - a32a5a2: ## `@plitzi/sdk-shared`'s GraphQL documents are text
8
+
9
+ - **Every document is a plain string marked `/* GraphQL */`**, the builder's as the SDK's already were, and the client
10
+ parses what it sends — the builder with Apollo's `gql`. A server importing the package no longer loads a GraphQL
11
+ parser or parses 115 documents at boot; `graphql` and `graphql-tag` are no longer dependencies.
12
+ - `BuilderQueries` and `BuilderMutations` are typed `Record<keyof …Map, string>`, and every operation is named as its
13
+ file is: `SpacePublish`, `SpaceDeploy`, `SpaceFixIssues`, `SpaceUpdate`, `SpaceUpdateSchema`, `SpaceUpdateElement(s)`,
14
+ `SpaceRemoveElement`, `StyleUpdate` and `SegmentPublish` gain their `Mutation` suffix, and the space's subscription,
15
+ anonymous until now, is `SpaceEventSubscription`.
16
+ - **Breaking:** `BuilderQueries`, `BuilderMutations` and `SpaceEventSubscription` are strings, not `DocumentNode`s —
17
+ pass them through `gql` for Apollo.
18
+
19
+ - Updated dependencies [a32a5a2]
20
+ - @plitzi/sdk-plugins@0.37.5
21
+ - @plitzi/sdk-shared@0.37.5
22
+ - @plitzi/sdk-variables@0.37.5
23
+
3
24
  ## 0.37.4
4
25
 
5
26
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plitzi/sdk-style",
3
- "version": "0.37.4",
3
+ "version": "0.37.5",
4
4
  "license": "AGPL-3.0",
5
5
  "files": [
6
6
  "dist"
@@ -937,9 +937,9 @@
937
937
  },
938
938
  "dependencies": {
939
939
  "@plitzi/plitzi-ui": "^1.6.24",
940
- "@plitzi/sdk-plugins": "0.37.4",
941
- "@plitzi/sdk-shared": "0.37.4",
942
- "@plitzi/sdk-variables": "0.37.4",
940
+ "@plitzi/sdk-plugins": "0.37.5",
941
+ "@plitzi/sdk-shared": "0.37.5",
942
+ "@plitzi/sdk-variables": "0.37.5",
943
943
  "clsx": "^2.1.1",
944
944
  "immer": "^11.1.18",
945
945
  "prop-types": "^15.8.1",