@noy-db/hub 0.7.0-pre.1 → 0.7.0-pre.2

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 +24 -0
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # Changelog — hub
2
2
 
3
+ ## 0.7.0-pre.2
4
+
5
+ ### Patch Changes
6
+
7
+ - **The conformance kit covers both entry-point shapes and both gates (#1209).**
8
+
9
+ `0.7.0-pre.0`'s `/as` inversion silently blinded `@noy-db/test-format-conformance`:
10
+ it denied by proxying the vault, which the inverted method-on-vault shape
11
+ (`vault.export(asCsv())`) bypasses — `this` inside `Vault.export` is the real,
12
+ unproxied object. The four inverted formats' fixtures had been deleted rather
13
+ than migrated, so coverage dropped from nine formats to five with nothing
14
+ turning red.
15
+
16
+ The kit now **patches the instance** instead: own-property assignment shadows
17
+ the prototype method at call time, intercepting the argument shape, the
18
+ inverted shape, and hub's internal delegation. Denials are matched on the
19
+ kit's own error class rather than "it threw", every entry point gets an
20
+ ungated-success guard, and the **import gate (`assertCanImport`) is covered
21
+ for the first time** — a format shipping a `decode` with no declared import
22
+ entries gets a loud `SKIPPED` line.
23
+
24
+ All four fixtures are restored, and a new architecture rule
25
+ (`as-conformance-fixture`) makes a silent fixture deletion impossible.
26
+
3
27
  ## 0.7.0-pre.1
4
28
 
5
29
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noy-db/hub",
3
- "version": "0.7.0-pre.1",
3
+ "version": "0.7.0-pre.2",
4
4
  "description": "Zero-knowledge, offline-first, encrypted document store — core library with AES-256-GCM, PBKDF2, multi-user keyring, and sync engine",
5
5
  "license": "MIT",
6
6
  "author": "vLannaAi <vicio@lanna.ai>",
@@ -233,14 +233,14 @@
233
233
  "node": ">=22.0.0"
234
234
  },
235
235
  "dependencies": {
236
- "@noy-db/attestation": "0.7.0-pre.1"
236
+ "@noy-db/attestation": "0.7.0-pre.2"
237
237
  },
238
238
  "devDependencies": {
239
239
  "@types/node": "^22.0.0",
240
240
  "esbuild": "^0.25.0",
241
241
  "zod": "^4.0.0",
242
242
  "zod-to-json-schema": "^3.25.2",
243
- "@noy-db/on-shamir": "0.7.0-pre.1"
243
+ "@noy-db/on-shamir": "0.7.0-pre.2"
244
244
  },
245
245
  "peerDependencies": {
246
246
  "zod-to-json-schema": "^3.25.0"