@noy-db/hub 0.7.0-pre.0 → 0.7.0-pre.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/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # Changelog — hub
2
2
 
3
+ ## 0.7.0-pre.1
4
+
5
+ ### Patch Changes
6
+
7
+ - **The `at-*` options types now follow their factories.**
8
+
9
+ `0.7.0-pre.0` renamed every `at-*` factory to `at<Pkg>()` and left four of the
10
+ five options types carrying the retired `SealingProvider` vocabulary — so it
11
+ shipped `atAwsKms()` taking an `AwsKmsSealingProviderOptions`. `at-env` had
12
+ already renamed both halves, which is what makes this a gap rather than a
13
+ decision.
14
+
15
+ | before | after |
16
+ | ------------------------------------- | ------------------------ |
17
+ | `AwsKmsSealingProviderOptions` | `AtAwsKmsOptions` |
18
+ | `GcpKmsSealingProviderOptions` | `AtGcpKmsOptions` |
19
+ | `AzureKeyVaultSealingProviderOptions` | `AtAzureKeyvaultOptions` |
20
+ | `MacosKeychainSealingProviderOptions` | `AtMacosKeychainOptions` |
21
+
22
+ Four rows added to `@noy-db/hub/codemods/0.7.0-pre.json`. `AwsKmsRecipientSealerOptions`
23
+ is deliberately unchanged — it belongs to a different factory that was not renamed.
24
+
25
+ Also corrects a doc comment in `vault.ts` that named two capability gates,
26
+ `canExportPlaintext` and `canExportBundle`, **neither of which has ever
27
+ existed**. The gate is `assertCanExport('plaintext', fmt)` /
28
+ `assertCanExport('bundle')`. That comment ships as JSDoc in the `.d.ts` and had
29
+ propagated into the docs site.
30
+
3
31
  ## 0.7.0-pre.0
4
32
 
5
33
  ### Minor Changes
@@ -245,6 +245,42 @@
245
245
  "./by",
246
246
  "./cargo"
247
247
  ]
248
+ },
249
+ {
250
+ "from": "AwsKmsSealingProviderOptions",
251
+ "to": "AtAwsKmsOptions",
252
+ "kind": "type",
253
+ "package": "@noy-db/at-aws-kms",
254
+ "safeGlobalReplace": true,
255
+ "section": "at-port",
256
+ "note": "The options type for the renamed factory. `at-env` renamed its pair together (EnvSealingProviderOptions -> AtEnvOptions); these four renamed the FACTORY and left the options type carrying the retired `SealingProvider` vocabulary, so 0.7.0-pre.0 shipped `atAwsKms()` taking an `AwsKmsSealingProviderOptions`. Convention: `at<Pkg>()` takes `At<Pkg>Options` (#1204)."
257
+ },
258
+ {
259
+ "from": "GcpKmsSealingProviderOptions",
260
+ "to": "AtGcpKmsOptions",
261
+ "kind": "type",
262
+ "package": "@noy-db/at-gcp-kms",
263
+ "safeGlobalReplace": true,
264
+ "section": "at-port",
265
+ "note": "The options type for the renamed factory. `at-env` renamed its pair together (EnvSealingProviderOptions -> AtEnvOptions); these four renamed the FACTORY and left the options type carrying the retired `SealingProvider` vocabulary, so 0.7.0-pre.0 shipped `atAwsKms()` taking an `AwsKmsSealingProviderOptions`. Convention: `at<Pkg>()` takes `At<Pkg>Options` (#1204)."
266
+ },
267
+ {
268
+ "from": "AzureKeyVaultSealingProviderOptions",
269
+ "to": "AtAzureKeyvaultOptions",
270
+ "kind": "type",
271
+ "package": "@noy-db/at-azure-keyvault",
272
+ "safeGlobalReplace": true,
273
+ "section": "at-port",
274
+ "note": "The options type for the renamed factory. `at-env` renamed its pair together (EnvSealingProviderOptions -> AtEnvOptions); these four renamed the FACTORY and left the options type carrying the retired `SealingProvider` vocabulary, so 0.7.0-pre.0 shipped `atAwsKms()` taking an `AwsKmsSealingProviderOptions`. Convention: `at<Pkg>()` takes `At<Pkg>Options` (#1204)."
275
+ },
276
+ {
277
+ "from": "MacosKeychainSealingProviderOptions",
278
+ "to": "AtMacosKeychainOptions",
279
+ "kind": "type",
280
+ "package": "@noy-db/at-macos-keychain",
281
+ "safeGlobalReplace": true,
282
+ "section": "at-port",
283
+ "note": "The options type for the renamed factory. `at-env` renamed its pair together (EnvSealingProviderOptions -> AtEnvOptions); these four renamed the FACTORY and left the options type carrying the retired `SealingProvider` vocabulary, so 0.7.0-pre.0 shipped `atAwsKms()` taking an `AwsKmsSealingProviderOptions`. Convention: `at<Pkg>()` takes `At<Pkg>Options` (#1204)."
248
284
  }
249
285
  ],
250
286
  "unretired": [
@@ -5,7 +5,7 @@ import {
5
5
  describeExtraction,
6
6
  unsealDeks,
7
7
  withCargo
8
- } from "../chunk-YKPGQJFU.js";
8
+ } from "../chunk-H3VG6XBC.js";
9
9
  import {
10
10
  extractPartition,
11
11
  walkClosure
@@ -10676,9 +10676,9 @@ var Vault = class {
10676
10676
  * - The keyring must already carry a wrap for the target tier on
10677
10677
  * at least one collection (or be `owner` / `admin`, who can
10678
10678
  * auto-mint). Otherwise throws {@link TierNotGrantedError}.
10679
- * - Per-collection capability gates (`assertCanExport`,
10680
- * `canExportBundle`) are NOT bypassed — elevation is a tier
10681
- * projection, not a privilege escalation path.
10679
+ * - The export gates (`assertCanExport('plaintext', fmt)` and
10680
+ * `assertCanExport('bundle')`) are NOT bypassed — elevation is a
10681
+ * tier projection, not a privilege escalation path.
10682
10682
  * - Only one elevation can be active per vault at a time.
10683
10683
  * Calling `elevate(...)` while another is live throws
10684
10684
  * {@link AlreadyElevatedError}.
@@ -14690,4 +14690,4 @@ export {
14690
14690
  Noydb,
14691
14691
  createNoydb
14692
14692
  };
14693
- //# sourceMappingURL=chunk-Y3YLJORD.js.map
14693
+ //# sourceMappingURL=chunk-3SMSERQU.js.map