@crowdedkingdoms/crowdyjs 18.7.0-dev.1 → 18.8.0-dev.1

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.
package/MIGRATION.md CHANGED
@@ -120,6 +120,21 @@ super-admin's session). There is no SDK replacement.
120
120
  `dev`'s SDL after #417 merged (`npm run schema:sync:paths -- --schema <that schema.gql>`, then
121
121
  `npm run codegen`).
122
122
 
123
+ ## 18.8.0: builds report the SDK version they compiled against
124
+
125
+ Additive, with one new floor: **the build documents select `ExecBuild.sdkVersion`, so 18.8.0
126
+ needs ck-api v2.40.2 or later** for `exec.build`, `buildStatus`, `waitForBuild`, `modBuild`,
127
+ `modClientBuild`, `modBuildStatus` and `waitForModBuild` (an older API refuses the selection).
128
+
129
+ - **`sdkVersion`** on every build: the version of `ckx-sdk` the platform compiled the build
130
+ against (`crowdy-client-sdk` for a CLIENT half), from the toolchain of the API instance that
131
+ ran it. The platform points a crate at its own copy of the SDK whatever version the crate
132
+ names, so this, not your manifest, says what your code was checked against. `null` until the
133
+ build starts, and for builds from before the platform recorded it. The build log's first line
134
+ names the same toolchain.
135
+
136
+ `schema.gql` and the generated types carry cks-game-api `dev`'s SDL at #494.
137
+
123
138
  ## 18.7.0: voice helpers, channel audio, opcode 140 on the relay, wide voxels, self-echo, pause and access refusals
124
139
 
125
140
  Additive, with reads that change for values they used to get wrong (the wide-voxel item) and one
@@ -3418,8 +3418,10 @@ export type ExecBuild = {
3418
3418
  finishedAt: Maybe<Scalars['DateTime']['output']>;
3419
3419
  /** What it builds: `exec` for ck-exec modules, `client` for the CLIENT half of a mod (`execModClientBuild`). */
3420
3420
  kind: Scalars['String']['output'];
3421
- /** The compiler’s output once the build finishes, at most 64 KB (the end is kept). */
3421
+ /** The compiler’s output once the build finishes, at most 64 KB (the end is kept). Its first line names the toolchain the build ran with. */
3422
3422
  log: Maybe<Scalars['String']['output']>;
3423
+ /** The SDK version the build compiled against, from the toolchain of the API instance that ran it: `ckx-sdk` for a ck-exec build, `crowdy-client-sdk` for a CLIENT half. A crate’s own version requirement for the SDK is not what decides this. Null until the build starts, and for builds from before it was recorded. */
3424
+ sdkVersion: Maybe<Scalars['String']['output']>;
3423
3425
  /** When it started compiling. */
3424
3426
  startedAt: Maybe<Scalars['DateTime']['output']>;
3425
3427
  /** `queued`, `building`, `succeeded` or `failed`. */