@wavehouse/chtypes 2.0.0-dev.1 → 2.0.0-dev.11

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 (145) hide show
  1. package/CHANGELOG.md +97 -0
  2. package/README.md +5 -1
  3. package/dist/abi2/buildinfo.d.ts +1 -1
  4. package/dist/abi2/buildinfo.js +3 -3
  5. package/dist/abi2/buildinfo.js.map +1 -1
  6. package/dist/abi2/calls.gen.d.ts +5 -5
  7. package/dist/abi2/calls.gen.d.ts.map +1 -1
  8. package/dist/abi2/calls.gen.js +11 -11
  9. package/dist/abi2/calls.gen.js.map +1 -1
  10. package/dist/abi2/decls.gen.d.ts +2 -1
  11. package/dist/abi2/decls.gen.d.ts.map +1 -1
  12. package/dist/abi2/decls.gen.js +78 -20
  13. package/dist/abi2/decls.gen.js.map +1 -1
  14. package/dist/abi2/errmap.gen.js +1 -1
  15. package/dist/abi2/errors.d.ts +21 -40
  16. package/dist/abi2/errors.d.ts.map +1 -1
  17. package/dist/abi2/errors.js +20 -44
  18. package/dist/abi2/errors.js.map +1 -1
  19. package/dist/abi2/index.d.ts +2 -2
  20. package/dist/abi2/index.d.ts.map +1 -1
  21. package/dist/abi2/index.js +1 -1
  22. package/dist/abi2/index.js.map +1 -1
  23. package/dist/abi2/libc.gen.d.ts +2 -0
  24. package/dist/abi2/libc.gen.d.ts.map +1 -1
  25. package/dist/abi2/libc.gen.js +11 -1
  26. package/dist/abi2/libc.gen.js.map +1 -1
  27. package/dist/abi2/loader.d.ts +4 -2
  28. package/dist/abi2/loader.d.ts.map +1 -1
  29. package/dist/abi2/loader.js +2 -2
  30. package/dist/abi2/loader.js.map +1 -1
  31. package/dist/abi2/raw.d.ts.map +1 -1
  32. package/dist/abi2/raw.js +4 -1
  33. package/dist/abi2/raw.js.map +1 -1
  34. package/dist/abi2/vocab.gen.d.ts +90 -1
  35. package/dist/abi2/vocab.gen.d.ts.map +1 -1
  36. package/dist/abi2/vocab.gen.js +144 -4
  37. package/dist/abi2/vocab.gen.js.map +1 -1
  38. package/dist/cli.d.ts +11 -5
  39. package/dist/cli.d.ts.map +1 -1
  40. package/dist/cli.js +130 -20
  41. package/dist/cli.js.map +1 -1
  42. package/dist/documents.d.ts +100 -7
  43. package/dist/documents.d.ts.map +1 -1
  44. package/dist/documents.js +135 -8
  45. package/dist/documents.js.map +1 -1
  46. package/dist/env.d.ts +8 -1
  47. package/dist/env.d.ts.map +1 -1
  48. package/dist/env.js +17 -8
  49. package/dist/env.js.map +1 -1
  50. package/dist/index.d.ts +10 -7
  51. package/dist/index.d.ts.map +1 -1
  52. package/dist/index.js +8 -5
  53. package/dist/index.js.map +1 -1
  54. package/dist/library.d.ts +13 -2
  55. package/dist/library.d.ts.map +1 -1
  56. package/dist/library.js +24 -5
  57. package/dist/library.js.map +1 -1
  58. package/dist/ocifetch/channel.d.ts +84 -0
  59. package/dist/ocifetch/channel.d.ts.map +1 -1
  60. package/dist/ocifetch/channel.js +157 -2
  61. package/dist/ocifetch/channel.js.map +1 -1
  62. package/dist/ocifetch/constants.gen.d.ts +28 -0
  63. package/dist/ocifetch/constants.gen.d.ts.map +1 -1
  64. package/dist/ocifetch/constants.gen.js +30 -1
  65. package/dist/ocifetch/constants.gen.js.map +1 -1
  66. package/dist/ocifetch/dsse.d.ts +5 -1
  67. package/dist/ocifetch/dsse.d.ts.map +1 -1
  68. package/dist/ocifetch/dsse.js +10 -3
  69. package/dist/ocifetch/dsse.js.map +1 -1
  70. package/dist/ocifetch/ensure.d.ts +68 -8
  71. package/dist/ocifetch/ensure.d.ts.map +1 -1
  72. package/dist/ocifetch/ensure.js +305 -66
  73. package/dist/ocifetch/ensure.js.map +1 -1
  74. package/dist/ocifetch/errors.d.ts +101 -25
  75. package/dist/ocifetch/errors.d.ts.map +1 -1
  76. package/dist/ocifetch/errors.js +74 -36
  77. package/dist/ocifetch/errors.js.map +1 -1
  78. package/dist/ocifetch/hold.d.ts +66 -0
  79. package/dist/ocifetch/hold.d.ts.map +1 -0
  80. package/dist/ocifetch/hold.js +150 -0
  81. package/dist/ocifetch/hold.js.map +1 -0
  82. package/dist/ocifetch/http.d.ts +10 -2
  83. package/dist/ocifetch/http.d.ts.map +1 -1
  84. package/dist/ocifetch/http.js +31 -12
  85. package/dist/ocifetch/http.js.map +1 -1
  86. package/dist/ocifetch/index.d.ts +10 -5
  87. package/dist/ocifetch/index.d.ts.map +1 -1
  88. package/dist/ocifetch/index.js +8 -3
  89. package/dist/ocifetch/index.js.map +1 -1
  90. package/dist/ocifetch/localverify.d.ts +3 -1
  91. package/dist/ocifetch/localverify.d.ts.map +1 -1
  92. package/dist/ocifetch/localverify.js +6 -1
  93. package/dist/ocifetch/localverify.js.map +1 -1
  94. package/dist/ocifetch/lock.d.ts +2 -1
  95. package/dist/ocifetch/lock.d.ts.map +1 -1
  96. package/dist/ocifetch/lock.js +7 -5
  97. package/dist/ocifetch/lock.js.map +1 -1
  98. package/dist/ocifetch/oci.d.ts +45 -3
  99. package/dist/ocifetch/oci.d.ts.map +1 -1
  100. package/dist/ocifetch/oci.js +125 -58
  101. package/dist/ocifetch/oci.js.map +1 -1
  102. package/dist/ocifetch/prune.d.ts +48 -0
  103. package/dist/ocifetch/prune.d.ts.map +1 -0
  104. package/dist/ocifetch/prune.js +383 -0
  105. package/dist/ocifetch/prune.js.map +1 -0
  106. package/dist/ocifetch/referrers.d.ts +24 -0
  107. package/dist/ocifetch/referrers.d.ts.map +1 -1
  108. package/dist/ocifetch/referrers.js +92 -5
  109. package/dist/ocifetch/referrers.js.map +1 -1
  110. package/dist/ocifetch/resolve.d.ts +37 -0
  111. package/dist/ocifetch/resolve.d.ts.map +1 -0
  112. package/dist/ocifetch/resolve.js +90 -0
  113. package/dist/ocifetch/resolve.js.map +1 -0
  114. package/dist/ocifetch/retired.d.ts +61 -0
  115. package/dist/ocifetch/retired.d.ts.map +1 -0
  116. package/dist/ocifetch/retired.js +236 -0
  117. package/dist/ocifetch/retired.js.map +1 -0
  118. package/dist/ocifetch/revocation.d.ts +151 -0
  119. package/dist/ocifetch/revocation.d.ts.map +1 -0
  120. package/dist/ocifetch/revocation.js +481 -0
  121. package/dist/ocifetch/revocation.js.map +1 -0
  122. package/dist/ocifetch/types.d.ts +18 -2
  123. package/dist/ocifetch/types.d.ts.map +1 -1
  124. package/dist/ocifetch/types.js.map +1 -1
  125. package/dist/registry.d.ts +80 -3
  126. package/dist/registry.d.ts.map +1 -1
  127. package/dist/registry.js +168 -9
  128. package/dist/registry.js.map +1 -1
  129. package/dist/schema.d.ts +52 -9
  130. package/dist/schema.d.ts.map +1 -1
  131. package/dist/schema.js +6 -6
  132. package/dist/schema.js.map +1 -1
  133. package/dist/server.d.ts +27 -0
  134. package/dist/server.d.ts.map +1 -0
  135. package/dist/server.js +35 -0
  136. package/dist/server.js.map +1 -0
  137. package/dist/settings.d.ts +101 -9
  138. package/dist/settings.d.ts.map +1 -1
  139. package/dist/settings.js +201 -27
  140. package/dist/settings.js.map +1 -1
  141. package/dist/setup.d.ts +3 -2
  142. package/dist/setup.d.ts.map +1 -1
  143. package/dist/setup.js +2 -3
  144. package/dist/setup.js.map +1 -1
  145. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -6,6 +6,103 @@ The four bindings in this repository are released together and give one answer,
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ### Added
10
+
11
+ - `columnDefaults` is covered by unit tests (ABI v2): the exact `insert_options` JSON for a UTF-8 value, a non-UTF-8 value (`value_b64`), an empty value (sent as `""`) and two entries in order. The decode of `default_override` was already tested. The batches guide gains a usage section. No behavior changed.
12
+ - `CODE_DECLINED` (ABI v2, -2): the code a declined row, outcome or verdict carries, generated from the description and exported from the package, as `bindings-v1.md` section 3 promises.
13
+ - `registry.fetch(request): Promise<Resolved>`, the fetch-only call (#492): it resolves, fetches, verifies and installs the build a request names into the cache, as `chtypes fetch` does, and opens nothing (no library is loaded, the process setup is untouched, nothing appears in `libraries()`). It honors the registry's fetch options, its errors are the fetch codes (a refused spelling is a `UsageError`, as for `for`), and it shares one fetch with a concurrent open or `fetch` of the same request: an open that misses the cache now waits on the same fetch.
14
+ - `chtypes resolve <spelling> [--json] [--offline]` (#493): the version, build and platform manifest digest the spelling resolves to on every platform the registry offers, one `resolved <version> <platform> <build> <manifest>` line each in platform order (`--json`: one compact JSON array of `{platform, version, build, manifest}`), each verified exactly as a fetch verifies it, with no layer downloaded and nothing written. `--offline` answers from the cache. A refused spelling (a `v` prefix, a channel suffix) exits with the usage status.
15
+ - `chtypes prune [--line <line>] [--keep <n>] [--dry-run]`, and the in-use hold (#494): prune removes from the cache the installed builds of each line that newer installed builds of the same line and platform supersede, keeping the newest `n` (default 1), with their `index.json` entries and every blob no remaining build names. It never touches a system directory or another fingerprint's build, and never removes a build a live process holds: every build a registry opens or fetches is held by that process until it exits, by a shared `flock` on the entry's `verified.json` (prune takes the exclusive lock without waiting, and reports a held build `in-use`).
16
+ - The `CHTYPES_*` codes as constants (`CODE_ARTIFACT_MISSING` …) and their union type, `ErrorCode`, the type of `ArtifactError.code`, generated from `spec/fetch-v1/constants.json` (#500; `docs/reference/bindings-v1.md` §4, the codes).
17
+ - Every settings layer's filter-declined settings, in one list (ABI v2; moves the dev fingerprint; #588): `SchemaDescription.filterDeclinedSettings`, a list of `DeclinedSetting`, decoded from `schema_description`'s new required top-level `filter_declined_settings`, over every layer known at schema compile (`setup`'s defaults as the compile captured them, the server profile, and the schema's own settings). `DeclinedSetting` gains `layer`, the highest layer that sets the name, from the new `DeclinedLayer` vocabulary (`Defaults`, `Server`, `Schema`, and its unknown(n), with `declinedLayerKnown`). One entry per name, ordered by layer and then by name bytes, as the library writes it; the binding sorts nothing.
18
+ - `Schema.describe` raises the library's `CHS_REJECTED` with ch_code 306 (TOO_DEEP_RECURSION), a `SchemaError`, for a deep input the server's stack check refuses (ABI v2: `chs_schema_describe` now lists `CHS_REJECTED`).
19
+ - The server's filter-declined settings (ABI v2; moves the dev fingerprint): `SchemaServer.filterDeclinedSettings`, a list of `DeclinedSetting` (`name`, `tier`), decoded from `schema_description`'s new required `server.filter_declined_settings`, with the new `DeclinedTier` vocabulary (`Predicate`, `PredicateUnflipped`, `ResultContent`, its unknown(n), and `declinedTierKnown`). `compileFilter` on a schema whose server lists any is the library's `CHS_DECLINED`, an `UnsupportedError` carrying its message; a filter's own settings other than `session_timezone` are no longer declined at compile, and a declined one is named at evaluation instead.
20
+ - The v2 spec states that a filter verdict counts only when the evaluation's outcome is `ok`: over a body a server would not accept, every verdict is `d`.
21
+ - The v2 spec publishes the WHERE-affecting settings lists (`spec/abi-v2/where-settings/`) with the consumer rule.
22
+ - The v2 spec publishes the filter decline-reasons catalog (`spec/abi-v2/declines/`).
23
+ - The v2 spec's decline catalog has 49 entries, and it publishes the settings values a server refuses outright (`spec/abi-v2/where-settings/documented-pathological.tsv`).
24
+ - The v2 spec's decline catalog follows the producer's batch 11: its `server-profile-setting` entry now covers every settings layer the schema compiles under (the id is unchanged), the evaluation-time setting entries name only the filter's own settings, and its `stack-depth` entry lists `chs_schema_describe`.
25
+ - The v2 spec publishes the documented platform differences (`spec/abi-v2/documented-platform/`), and its decline catalog adds `setting-format-pair`, `string-reading` and `equals-fold` (52 reasons).
26
+ - The v2 spec's decline catalog adds `server-dependent-function` (a column's DEFAULT, MATERIALIZED, ALIAS or EPHEMERAL expression, or a CHECK, that calls a function whose resolver needs a server is declined at `chs_schema_create`), `function-name-as-lambda` (a bare function name written where a higher-order function takes a lambda, such as `arrayExists(isNull, arr)`, is declined at `chs_filter_create` on 26.7, 26.8 and 26.9) and `skipped-key-in-squashed-block` (a batch whose answer depends on how the INSERT's squashing step groups its chunks is unsupported), and `call-setting-session-timezone` names only a per-call `session_timezone` the call cannot attach (55 reasons).
27
+ - A `410 Gone` is a retired repository, and permanent (#571). Any request the fetch layer makes (a tag, an alias, a digest, a blob, `tags/list`, the referrers API or its fallback tag, after a redirect too) that answers `410` is now the new code `CHTYPES_SOURCE_RETIRED` (exit status 10), never retried and never sent to the next base, nor from the dev channel's alias to its tag. It was `CHTYPES_SOURCE_UNREACHABLE` (exit 3) with the registry's message dropped, and Go, Python and Rust moved on to the next base, so a mirror's 404 could hide the retirement. The error names the URL that answered and carries the registry's own message, with control and bidirectional-formatting characters removed and cut to 256 code points: Go `CodeSourceRetired` (`errors.Is(err, ErrSourceRetired)`), Python and TypeScript `SourceRetiredError`, Rust `Error::SourceRetired`. The rule is `docs/guides/fetch-v1.md` section 2, "A retired repository", and the `retired-410-*` and `list-tags-retired-410` conformance cases and one shared message table (`tests/fixtures/retired-message/cases.json`) hold all four bindings to it.
28
+ - Build-level revocation for generation 2 (#625; `docs/guides/fetch-v1.md`, "Build-level revocation"). A build its signed revocation refuses is the new code `CHTYPES_ARTIFACT_REVOKED`, exit status 11 (`CODE_ARTIFACT_REVOKED`, `ArtifactRevokedError`), whose message names the advisory and whose `revocation` carries it for programs (`Revocation`, `Advisory`). An install reads a revocation from the trust listing it already makes and refuses before the layer; `--frozen` makes one listing, warm or cold, so a warm frozen fetch makes 1 request instead of 0 (`--frozen --offline` stays at 0); a registry open, `preload` and a fetch that finds the build installed check it at most once per build per process, one attempt per base, no backoff and one 5 s deadline (`checkInstalled`); `--lock` and `update` refuse a revoked build on every platform they pin. A verified revocation is stored in the build's cache entry (`revocation.json`) and refuses it from then on with no request, offline too; `chtypes verify` reports it and exits 11. A revocation that does not verify is ignored with one warning; a status that cannot be read is one warning, or with `FetchOptions.requireRevocationCheck` (`--require-revocation-check`) the transport's error. `FetchOptions.allowRevoked` (`--allow-revoked`) uses a revoked build for one call, with a warning, never for a lock or an update. A `410` whose body's `errors[0].detail.revoked` is an object is `CHTYPES_ARTIFACT_REVOKED`; every other `410` stays `CHTYPES_SOURCE_RETIRED`. The v1 contract is unchanged.
29
+ - The public server handle (ABI v2): `lib.newServer(profile)` describes one ClickHouse server (`ServerProfile`: `timezone`, `settings`, `macros`), `compileTable(createTable, { server })` compiles a table on it, and `Server` has `close()` and `[Symbol.dispose]()`. A schema description carries `server` (`SchemaServer`) and `replicated` (`SchemaReplicated`: `zookeeperPath`, `replicaName`), each `undefined` when absent. Absent `macros` is not `{}`: absent means the server's macros are unknown, present (even `{}`) is its complete set. The binding validates nothing in the profile. Follows the Go binding.
30
+ - A 2.0.0-dev SDK prefers the newest build of its own fingerprint (#511). A version request resolves `<tag>--fp-<fingerprint>` first, the alias the staging dev registry serves beside every dev tag, with the binding's own generated ABI fingerprint, and the tag itself only when every base answers the alias 404; any other failure of the alias request is that failure, with no fallback, and an alias whose index lacks the platform is `CHTYPES_ARTIFACT_UNPUBLISHED`. The dev channel's cache lookups (the installed-build lookup a registry open makes first, the offline answer, and the monotonic rule of a fetch) now see only records whose signed `abi_fingerprint` is the SDK's own, so a newer build of another fingerprint, installed by another dev SDK in the shared cache, is never returned or kept over this one's own, and is never removed or rewritten. So a dev build of a newer fingerprint no longer strands an older dev SDK until its consumers upgrade. Trust is unchanged (the signed predicate and the load checks decide), a listing never shows an alias, nothing records one, `list` and `where` are unchanged, and there is no option: both steps are the dev channel's alone, and the v1 contract and every production channel never take them. The rule is `docs/guides/fetch-v1.md` section 3, and the `dev-alias-*`, `resolve-installed-dev-alias-*` and `list-tags-dev-alias` conformance cases hold all four bindings to it.
31
+ - `CallError.reason` (ABI v2): the error's catalog id, read through `chs_error_reason` beside the other `chs_error_*` fields and passed through verbatim (ASCII, empty if none), on all four call classes and on `CallErrorFields`. A misuse the binding detects itself carries the empty string.
32
+ - Spec batch 2, the options documents (ABI v2; moves the dev fingerprint): `insertableColumns`, `columnDefaults` (a list of `ColumnDefault`), `verdictBasis` (`VerdictBasis.Input`, `VerdictBasis.Export`) and `deferDefaults` (`DeferDefaults.None`, `DeferDefaults.Server`) build `insert_options` for `schema.row`, `schema.rows`, `schema.parseBlock` and `filter.rows`; `paramEncoding` (`ParamEncoding.Escaped`, `ParamEncoding.Raw`) builds `filter_options` for `compileFilter`; `posture` (`Posture.Create`, `Posture.Load`) builds `schema_options` for `compileTable`. `insertOptionsExtra`, `filterOptionsExtra` and `schemaOptionsExtra` pass a member the binding has no name for through as JSON text, so the library, which refuses an unknown key (rule r1), is the only judge. A document with no member set is not sent. `columns` now applies to `filter.rows` too (`chs_filter_eval_body` takes the column list).
33
+ - Spec batch 2, a value that is not UTF-8 (ABI v2): a settings value, a query-parameter value, a `setup` default and a server profile's settings value may be a `Uint8Array` (`SettingValue` is `string | Uint8Array`), and bytes that are not valid UTF-8 are sent as `{"b64": ...}` (the content `json_object_byte_values`), where the binding used to refuse the value; so may `sessionTimezone`. `SchemaServer.settings` decodes the same form back to a `Buffer`.
34
+ - Spec batch 2, the decline and refusal members (ABI v2): `RowResult`, `BatchResult` and `FilterResult` carry `reason` (the catalog id, present where the code is -2, `CHS_CODE_DECLINED`), `refusedAt` (a `RefusalSite`: `Call`, `BodyRead`, `Row`, `BodyStep`) and `refusedRow`; `RowResult.verdictReason`; `FilterRowError.reason`; `BatchResult.exportColumns` and `BatchResult.exportDeclinedReason`. All are `undefined` when the document carries none.
35
+ - Spec batch 2, the schema description (ABI v2): `SchemaDescription.posture`, and `Column.defaultSupport` (a `DefaultSupport`), `Column.defaultSupportReason` and `Column.reads`, reserved members a build reports when it implements them. `Source.DefaultDeferred`, `Source.DefaultOverride` (stored) and `DeclinedTier.ServerRefuses` join the vocabularies.
36
+
37
+ ### Changed
38
+
39
+ - `chtypes list` and the tag listing name the published lines only (two-part, numeric order), as Go's always did; `chtypes resolve <line>` prints the exact version a line resolves to (#613).
40
+ - `chtypes fetch` of a refused spelling (a `v` prefix, a `-lts`/`-stable` suffix) exits with the usage status, 2, as Go's does, and prints the refusal alone; it exited 1 and printed a stack trace.
41
+ - **Breaking: the public surface the parity gate carried as exceptions is resolved, before the v2 lock (#500).** A convenience exists in every binding or in none (`docs/reference/bindings-v1.md` §1, principle 2). Migration, old → new:
42
+ - `isChtypesError(e)` → `e instanceof ChtypesError`: `ArtifactError` extends `ChtypesError` (#487), so the guard was the same test.
43
+ - `LoaderCorruptError` → `ArtifactCorruptError`: the loader's corrupt refusal is an `ArtifactCorruptError` carrying the refusal's fields, and its `name` is `ArtifactCorruptError`. `ArtifactError` itself now carries `reason`, `path`, `want` and `got`, as Go's and Python's do (`undefined` on a fetch error), so `ArtifactIncompatibleError` inherits them. `LoaderErrorFields` is no longer exported.
44
+ - `ArtifactError.exitStatus` → removed: a code's exit status is the `chtypes` command's, never the library's.
45
+ - `SourceUnreachableError.retryAfterRefused` → removed: the fetch layer has spent its retry table before it raises, and the message names the refused `Retry-After`.
46
+ - `FetchOptions` is an interface of its own (it was the fetch layer's options less its test hooks). `trustedKeys: [{ keyid, ed25519Hex }, …]` → `trustedKeys: ['<64 hex characters>', …]`, the `CHTYPES_TRUSTED_KEYS` spelling and Go's and Rust's, with each key id derived; a malformed key is a `UsageError` where the channel honors the option. `platform` → removed: a registry opens libraries for this host only, and `CHTYPES_TARGET` no longer reaches one (it names `chtypes fetch`'s platform). `lockAllPlatforms` → removed: a lock write pins every platform the index offers, as in the other bindings.
47
+ - `BatchOutcome` and `batchOutcomeKnown` → `Outcome` and `outcomeKnown`: `BatchResult.outcome` is an `Outcome`, as in the other bindings.
48
+ - **Breaking: `ArtifactError` extends `ChtypesError`** (#487). `new ArtifactMissingError('x') instanceof ChtypesError` was `false`, so a caller catching `ChtypesError` to handle every SDK error missed the fetch and loader errors; in Python they are `ChtypesError`s. `ChtypesError` (still abstract, still exported under the same names) is now the base of `ArtifactError` as well as of `CallError`. Error codes, names and messages are unchanged. A handler written as `catch (e) { if (e instanceof ChtypesError) treatAsCallError(e) }` now also receives artifact errors: narrow on `CallError` for the call errors only.
49
+ - `compileFilter` is the library's `CHS_DECLINED`, `UnsupportedError`, on a schema whose `filter_declined_settings` is not empty from any layer, and its message names each setting and its layer (ABI v2, #588). A declined setting from the defaults or the schema's own settings now fails the compile, where it was named at evaluation before; a filter's own settings and an evaluation's are still named at evaluation.
50
+ - **Enforcement gate lifted** for `26.3` on `linux-amd64`.
51
+ - **Enforcement gate lifted** for `26.7` on `linux-amd64`.
52
+ - **Enforcement gate lifted** for `26.8` on `linux-amd64`.
53
+ - **Enforcement gate lifted** for `26.9` on `linux-amd64`.
54
+ - **Enforcement gate lifted** for `26.3` on `linux-arm64`.
55
+ - **Enforcement gate lifted** for `26.7` on `linux-arm64`.
56
+ - **Enforcement gate lifted** for `26.8` on `linux-arm64`.
57
+ - **Enforcement gate lifted** for `26.9` on `linux-arm64`.
58
+ - **Enforcement gate lifted** for `26.7` on `darwin-arm64`.
59
+ - **Enforcement gate lifted** for `26.8` on `darwin-arm64`.
60
+ - **Enforcement gate lifted** for `26.9` on `darwin-arm64`.
61
+ - **Enforcement gate restored** for `26.3` on `linux-amd64`.
62
+ - **Enforcement gate restored** for `26.3` on `linux-arm64`.
63
+ - **Enforcement gate restored** for `26.7` on `linux-amd64`.
64
+ - **Enforcement gate restored** for `26.7` on `linux-arm64`.
65
+ - **Enforcement gate restored** for `26.8` on `linux-amd64`.
66
+ - **Enforcement gate restored** for `26.8` on `linux-arm64`.
67
+ - **Enforcement gate restored** for `26.9` on `linux-amd64`.
68
+ - **Enforcement gate restored** for `26.9` on `linux-arm64`.
69
+ - **Enforcement gate restored** for `26.7` on `darwin-arm64`.
70
+ - **Enforcement gate restored** for `26.8` on `darwin-arm64`.
71
+ - **Enforcement gate restored** for `26.9` on `darwin-arm64`.
72
+ - **Enforcement gate lifted** for `26.3` on `linux-amd64`.
73
+ - **Enforcement gate lifted** for `26.7` on `linux-amd64`.
74
+ - **Enforcement gate lifted** for `26.8` on `linux-amd64`.
75
+ - **Enforcement gate lifted** for `26.9` on `linux-amd64`.
76
+ - **Enforcement gate lifted** for `26.3` on `linux-arm64`.
77
+ - **Enforcement gate lifted** for `26.7` on `linux-arm64`.
78
+ - **Enforcement gate lifted** for `26.8` on `linux-arm64`.
79
+ - **Enforcement gate lifted** for `26.9` on `linux-arm64`.
80
+ - **Enforcement gate lifted** for `26.7` on `darwin-arm64`.
81
+ - **Enforcement gate lifted** for `26.8` on `darwin-arm64`.
82
+ - **Enforcement gate lifted** for `26.9` on `darwin-arm64`.
83
+ - `docs/limitations.md` is re-checked against artifact build `20261012.142240` (v2-dev.13), the library half measured on that build: functions that need a server, in a column expression, and a body the server may read serially or in parallel under a non-zero error budget are listed under "Declined by design"; the known divergence for a column expression that calls a function needing a server is retired, since that build declines those schemas (on 26.8 and 26.9 the `AI*` and `ai*` functions compile, as the page says); and the `lossy` raw-NUL TSV gap is marked fixed on that build and still present in the 1.0 libraries. `docs/guides/filters.md` gains a section on subcolumn filters and a JSON value typed by its batch.
84
+ - **Breaking (ABI v2 dev): `BatchResult.spans` is `(Span | null)[]`**, one entry per `rows` entry and index-aligned with it: `row_spans` carries `null` for a row the export did not carry (a skipped row, or a row a filter cut). It was the spans of the exported rows only.
85
+ - **Breaking (ABI v2 dev): `AtMergeEntry.row` is `AtMergeEntry.partRow`**, the document's `part_row`.
86
+ - **Breaking (ABI v2 dev): `Settings` values and `sessionTimezone` take `string | Uint8Array`**, and a string holding a lone surrogate (no bytes) is still refused as a `UsageError`; the refusal of a value that is not UTF-8 is gone for a `Uint8Array`, while a key that is not valid UTF-8 is still refused.
87
+ - A document's `code` can be -2 for a row, batch, filter result or verdict this build declined, and every decline names its `reason`; a `Source` the description does not list reads the description's fallback (`skipped`), not stored.
88
+
89
+ ### Removed
90
+
91
+ - `SchemaServer.filterDeclinedSettings` (a breaking change inside v2 dev, #588): the server member no longer carries the list. Read `SchemaDescription.filterDeclinedSettings`, whose `server`-layer entries are the profile's.
92
+ - **`RowResult.unsupportedSettings`** (ABI v2 dev): the row document no longer carries `unsupported_settings`; the batch's and the filter result's lists stay.
93
+
94
+ ### Fixed
95
+
96
+ - A response body cut off part way (shorter than its Content-Length, a reset, a TLS close) is retried like a 5xx and, once the retry table is spent, is `CHTYPES_SOURCE_UNREACHABLE`; only an oversize body is `CHTYPES_ARTIFACT_CORRUPT`, and it is never retried (#641). Go and TypeScript already behaved this way; the fetch spec now states it. The rule is `docs/guides/fetch-v1.md` section 7, and the new `body-cut-off-then-ok` and `body-cut-off-exhausted` conformance cases hold every binding to it.
97
+ - A chunked response body cut off before its terminating zero-length chunk is held to the same rule (#644): the new `body-cut-off-chunked-then-ok` and `body-cut-off-chunked-exhausted` conformance cases cut one on the layer blob GET, and this binding already retried it and ended as `CHTYPES_SOURCE_UNREACHABLE` once the retry table was spent. No behavior change; the case now holds it.
98
+ - A settings or query-parameter key or value that is not valid UTF-8 is refused as a usage error; it was silently replaced with U+FFFD, so the library saw a different value. A string holding a lone surrogate was sent as a `\udXXX` escape; the same inputs are refused now, for the per-call zone, the setup defaults and the server profile too. Valid UTF-8 serializes as before.
99
+ - A declined export's payload is absent, as documented: it was an empty payload when the library returned a zero-length buffer for a declined export. `BatchResult.payload` and `spans` are `undefined` for a declined export. Whether an export was declined is decided from the document's `export_declined`, never from the buffer's length.
100
+ - `fetch --lock` pins every platform the index offers, as Go, Python and Rust do (#487): the CLI and the `lockWrite` option pinned only the host's platform, because the all-platforms write was an opt-in (`lockAllPlatforms`) that only the conformance runner set, so a lock written on a Mac could not drive a `--frozen` fetch in a Linux image (`CHTYPES_ARTIFACT_PINNED`). The all-platforms write is now the default, with no public opt-out (#500), and the runner no longer sets it, so `lock-write-all-platforms` exercises the default path.
101
+ - `--frozen` with a warm cache no longer GETs the manifest (#487; it made one request, a manifest of a few hundred bytes, on 1.0.2). `--frozen` with a warm, verified cache makes zero requests, and `--frozen --offline` verifies the installed build against the lock with zero network (#414). An installed build whose `verified.json` is for the platform and records exactly the lock's pinned manifest, layer and bundle digests is used as it is. `--frozen --offline` is `CHTYPES_ARTIFACT_MISSING` when the pinned build is not installed, and `CHTYPES_ARTIFACT_PINNED` when there is no lock entry or the installed record does not match the pin; `--offline` without `--frozen` is unchanged. The `frozen-warm-cache-zero-requests`, `frozen-offline-lock-match`, `frozen-offline-lock-mismatch` and `frozen-offline-lock-not-installed` conformance cases hold all four bindings to it, under both corpora.
102
+ - A 2.0.0-dev SDK whose own-fingerprint alias has expired, with a cached build of that fingerprint for the request, now says so in the `CHTYPES_ARTIFACT_UNPUBLISHED` message of `fetch` (#581): `; a cached build for this fingerprint (build <id>) is still usable by open; upgrade the SDK to get newer builds` is appended. The code, the exit status (4) and the cache are unchanged, and all four bindings give the same message (`fp-ahead-cached-own-fp`).
103
+ - A 2.0.0-dev SDK whose fingerprint no published build carries yet now fails closed with a precise message (#578). When every base answers its own alias 404 and the tag names a build signed for another fingerprint, `fetch` is `CHTYPES_ARTIFACT_UNPUBLISHED` (exit status 4): `no published build for this SDK's fingerprint <own fp>; newest published on this channel is <fp> (build <id>)`. It used to install that build, or report it already installed, and the lookup at open then answered `CHTYPES_ARTIFACT_MISSING` with advice to run `fetch`: a loop with no pointer to the cause. Nothing is downloaded or installed and the cache is unchanged. An alias that answers, a tag at the SDK's own fingerprint and the v1 contract are unchanged. All four bindings run the same fetch conformance cases, `fp-ahead-*`, and the rule is `docs/guides/fetch-v1.md` section 3.
104
+ - Opening a line never waits for another line's fetch, and concurrent opens of one request share one fetch (#491). The TypeScript registry already behaved this way (one promise per request in its memo, and no lock), so nothing changes here; the same tests as in the other three bindings now hold it to the rule.
105
+
9
106
  ## [1.1.0] — 2026-10-06
10
107
 
11
108
  ### Added
package/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # chtypes — TypeScript SDK
2
2
 
3
- > **2.0.0-dev: UNSTABLE, staging only, not for production.** This is the ABI v2 development binding (public issue #511). It speaks ABI v2's unstable description, pins its dev fingerprint and refuses a library with any other ("update your dev SDK"). It fetches only from the staging dev channel (`https://registry-staging.wavehouse.dev/chtypes/v2-dev`) and trusts only the staging key; `CHTYPES_ARTIFACTS_URL`, `CHTYPES_TRUSTED_KEYS` and `CHTYPES_ALLOW_UNSIGNED` are ignored, each with one warning; `--lock`, `--frozen` and `--update` (and the `frozen`, `lockPath`, `lockWrite` and `update` options) are refused, because a dev build is replaceable and a superseded one expires after 14 days. Its cache is `${XDG_CACHE_HOME:-~/.cache}/chtypes/v2-dev`, or `<CHTYPES_CACHE>/v2-dev` under an explicit cache, which no 1.x SDK reads. Every vocabulary has rule r3's `unknown(n)` member: an unlisted value is kept as it came, and its `*Known` function (`outcomeKnown`, `verdictKnown`, ...) is false for it. The rules are r1 to r6 of [`docs/reference/abi-v2.md`](../docs/reference/abi-v2.md). For production, use the 1.x package, `@wavehouse/chtypes@latest`.
3
+ > **2.0.0-dev: UNSTABLE, staging only, not for production.** This is the ABI v2 development binding (public issue #511). It speaks ABI v2's unstable description, pins its dev fingerprint and refuses a library with any other ("update your dev SDK"). It fetches only from the staging dev channel (`https://registry-staging.wavehouse.dev/chtypes/v2-dev`) and trusts only the staging key; `CHTYPES_ARTIFACTS_URL`, `CHTYPES_TRUSTED_KEYS` and `CHTYPES_ALLOW_UNSIGNED` are ignored, each with one warning; `--lock`, `--frozen` and `--update` (and the `frozen`, `lockPath`, `lockWrite` and `update` options) are refused, because a dev build is replaceable and a superseded one expires after 14 days. Its cache is `${XDG_CACHE_HOME:-~/.cache}/chtypes/v2-dev`, or `<CHTYPES_CACHE>/v2-dev` under an explicit cache, which no 1.x SDK reads. A dev SDK prefers the newest build of its own fingerprint: it resolves `<tag>--fp-<its fingerprint>` first and the tag only when no such build exists, and its cache lookups ignore another dev SDK's builds in a shared cache, so a newer dev fingerprint never strands it (§3 of [`docs/guides/fetch-v1.md`](../docs/guides/fetch-v1.md)). Every vocabulary has rule r3's `unknown(n)` member: an unlisted value is kept as it came, and its `*Known` function (`outcomeKnown`, `verdictKnown`, ...) is false for it. The rules are r1 to r6 of [`docs/reference/abi-v2.md`](../docs/reference/abi-v2.md). For production, use the 1.x package, `@wavehouse/chtypes@latest`.
4
+ >
5
+ > An explicit cache directory gets the `v2-dev` subroot whether it comes from `CHTYPES_CACHE` or from the `cacheDir` fetch option: the layout is under `<cacheDir>/v2-dev`, never in the directory itself, so code that inspects or pre-populates a cache looks there; `cacheRoot` and `searchDirs` return the resolved paths. `CHTYPES_OFFLINE=1` is the environment twin of the `offline` fetch option and `--offline`: the cache only, no request.
6
+ >
7
+ > <!-- remove-at-v2-lock -->v2-dev builds before the one that carries this contract (its release notice names it) can answer `ok` with `t` verdicts after a refused row. On those builds, when a body or block holds more than one row, treat every verdict as `d` if `errors` is non-empty.<!-- /remove-at-v2-lock -->
4
8
 
5
9
  **If this row were inserted into this table on this ClickHouse version, what would happen?** chtypes answers with ClickHouse's own code: the real C++ type machinery, vendored per release into a native library behind the frozen `chs_*` C ABI and reached here through `ffi-rs`. Nothing semantic is reimplemented, so _"what does ClickHouse do with `256` into a `UInt8`?"_ is answered by ClickHouse rather than by a model of it. One peer binding among `{go, python, ts, rust}` — no language is privileged, and all four give one answer.
6
10
 
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * `BuildInfo`: the decoded form of the library's static build-info JSON
3
3
  * (`docs/reference/bindings-v1.md` §5, `BuildInfo`). Decoded once, at loader
4
- * step 4, where a malformed document is a `LoaderCorruptError`
4
+ * step 4, where a malformed document is an `ArtifactCorruptError`
5
5
  * (`build_info_malformed`): ASCII only, no duplicate key at any depth,
6
6
  * `schema` equal to 1, every required field of its type.
7
7
  */
@@ -1,14 +1,14 @@
1
1
  /**
2
2
  * `BuildInfo`: the decoded form of the library's static build-info JSON
3
3
  * (`docs/reference/bindings-v1.md` §5, `BuildInfo`). Decoded once, at loader
4
- * step 4, where a malformed document is a `LoaderCorruptError`
4
+ * step 4, where a malformed document is an `ArtifactCorruptError`
5
5
  * (`build_info_malformed`): ASCII only, no duplicate key at any depth,
6
6
  * `schema` equal to 1, every required field of its type.
7
7
  */
8
- import { LoaderCorruptError } from './errors.js';
8
+ import { corruptRefusal } from './errors.js';
9
9
  import { DuplicateKeyError, isAsciiOnly, parseStrictJson } from './strictjson.js';
10
10
  function malformed(path, want, got) {
11
- throw new LoaderCorruptError({ reason: 'build_info_malformed', path, want, got });
11
+ throw corruptRefusal({ reason: 'build_info_malformed', path, want, got });
12
12
  }
13
13
  function kindOf(v) {
14
14
  return v === null ? 'null' : Array.isArray(v) ? 'array'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E,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,SAAS,CAAC;QAClC,eAAe,EAAE,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,kBAAkB,CAAC;QACnD,gBAAgB,EAAE,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,CAAC;QACrD,UAAU,EAAE,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,aAAa,CAAC;QACzC,KAAK,EAAE,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,OAAO,CAAC;QAC9B,YAAY,EAAE,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,eAAe,CAAC;QAC7C,EAAE,EAAE,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,CAAC;QACxB,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,MAAM,CAAC;QAC5B,SAAS,EAAE,SAAoC;QAC/C,YAAY,EAAE;YACZ,YAAY,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,EAAE,eAAe,CAAC;YACrD,aAAa,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,EAAE,gBAAgB,CAAC;YACvD,QAAQ,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,EAAE,WAAW,CAAC;YAC7C,QAAQ,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,EAAE,UAAU,CAAC;SAC7C;QACD,GAAG,EAAE,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC;KACjC,CAAC;AACJ,CAAC"}
@@ -38,18 +38,18 @@ export declare class Calls {
38
38
  /** The generated call wrapper for chs_schema_describe. */
39
39
  schemaDescribe(schema: SchemaHandle): Buffer;
40
40
  /** The generated call wrapper for chs_preview_row. */
41
- previewRow(schema: SchemaHandle, format: number, body: Uint8Array, settings: Uint8Array, columns: Uint8Array): Buffer;
41
+ previewRow(schema: SchemaHandle, format: number, body: Uint8Array, settings: Uint8Array, columns: Uint8Array, options: Uint8Array): Buffer;
42
42
  /** The generated call wrapper for chs_preview_batch. */
43
- previewBatch(schema: SchemaHandle, format: number, body: Uint8Array, settings: Uint8Array, columns: Uint8Array, filter: FilterHandle | null, exportFormat: number, docFlags: number): {
43
+ previewBatch(schema: SchemaHandle, format: number, body: Uint8Array, settings: Uint8Array, columns: Uint8Array, filter: FilterHandle | null, exportFormat: number, docFlags: number, options: Uint8Array): {
44
44
  readonly out: Buffer;
45
45
  readonly outExport: Buffer;
46
46
  };
47
47
  /** The generated call wrapper for chs_filter_create. */
48
- filterCreate(schema: SchemaHandle, expr: Uint8Array, queryParams: Uint8Array, settings: Uint8Array): FilterHandle;
48
+ filterCreate(schema: SchemaHandle, expr: Uint8Array, queryParams: Uint8Array, settings: Uint8Array, options: Uint8Array): FilterHandle;
49
49
  /** The generated call wrapper for chs_filter_eval_body. */
50
- filterEvalBody(filter: FilterHandle, format: number, body: Uint8Array, settings: Uint8Array): Buffer;
50
+ filterEvalBody(filter: FilterHandle, format: number, body: Uint8Array, settings: Uint8Array, columns: Uint8Array, options: Uint8Array): Buffer;
51
51
  /** The generated call wrapper for chs_block_create. */
52
- blockCreate(schema: SchemaHandle, format: number, body: Uint8Array, settings: Uint8Array, columns: Uint8Array): BlockHandle;
52
+ blockCreate(schema: SchemaHandle, format: number, body: Uint8Array, settings: Uint8Array, columns: Uint8Array, options: Uint8Array): BlockHandle;
53
53
  /** The generated call wrapper for chs_filter_eval_block. */
54
54
  filterEvalBlock(filter: FilterHandle, block: BlockHandle): Buffer;
55
55
  /** The generated call wrapper for chs_discover_query. */
@@ -1 +1 @@
1
- {"version":3,"file":"calls.gen.d.ts","sourceRoot":"","sources":["../../src/abi2/calls.gen.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,UAAU,EAAc,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAwD,KAAK,MAAM,EAAW,MAAM,UAAU,CAAC;AAEtG,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG;IAAE,QAAQ,CAAC,IAAI,EAAE,YAA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QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,GAAG,WAAW,CAG/I;IAED,4DAA4D;IAC5D,eAAe,CAAC,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,WAAW,GAAG,MAAM,CAGhE;IAED,yDAAyD;IACzD,aAAa,IAAI,MAAM,CAGtB;IAED,2DAA2D;IAC3D,eAAe,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM,CAGxC;CAEF"}
@@ -1,4 +1,4 @@
1
- /* GENERATED by scripts/abi-v1/gen.py --major 2 from spec/abi-v2/abi.json (CHS_ABI_FINGERPRINT sha256:d87e91be2bbe75b985c38224268c2f7dc5d8236dab0a4b4d61357c6dfdc1a232) — DO NOT EDIT */
1
+ /* GENERATED by scripts/abi-v1/gen.py --major 2 from spec/abi-v2/abi.json (CHS_ABI_FINGERPRINT sha256:d53239933966e15a3c363e631a94fbba1231d84c4300337115d3ae5377bb41c2) — DO NOT EDIT */
2
2
  /*
3
3
  * One typed, copy-then-free method per described call, named without the `chs_` prefix.
4
4
  * Each marshals through the generic `rawCall`, throws the error class sdk.json's status
@@ -69,31 +69,31 @@ export class Calls {
69
69
  return outs["out"];
70
70
  }
71
71
  /** The generated call wrapper for chs_preview_row. */
72
- previewRow(schema, format, body, settings, columns) {
73
- const outs = checkStatus(rawCall(this.raw, SYMBOL.PREVIEW_ROW, [schema.ptr, format, asBuffer(body), asBuffer(settings), asBuffer(columns)]));
72
+ previewRow(schema, format, body, settings, columns, options) {
73
+ const outs = checkStatus(rawCall(this.raw, SYMBOL.PREVIEW_ROW, [schema.ptr, format, asBuffer(body), asBuffer(settings), asBuffer(columns), asBuffer(options)]));
74
74
  return outs["out"];
75
75
  }
76
76
  /** The generated call wrapper for chs_preview_batch. */
77
- previewBatch(schema, format, body, settings, columns, filter, exportFormat, docFlags) {
78
- const outs = checkStatus(rawCall(this.raw, SYMBOL.PREVIEW_BATCH, [schema.ptr, format, asBuffer(body), asBuffer(settings), asBuffer(columns), filter === null ? NULL_EXTERNAL : filter.ptr, exportFormat, docFlags]));
77
+ previewBatch(schema, format, body, settings, columns, filter, exportFormat, docFlags, options) {
78
+ const outs = checkStatus(rawCall(this.raw, SYMBOL.PREVIEW_BATCH, [schema.ptr, format, asBuffer(body), asBuffer(settings), asBuffer(columns), filter === null ? NULL_EXTERNAL : filter.ptr, exportFormat, docFlags, asBuffer(options)]));
79
79
  return {
80
80
  out: outs["out"],
81
81
  outExport: outs["out_export"],
82
82
  };
83
83
  }
84
84
  /** The generated call wrapper for chs_filter_create. */
85
- filterCreate(schema, expr, queryParams, settings) {
86
- const outs = checkStatus(rawCall(this.raw, SYMBOL.FILTER_CREATE, [schema.ptr, asBuffer(expr), asBuffer(queryParams), asBuffer(settings)]));
85
+ filterCreate(schema, expr, queryParams, settings, options) {
86
+ const outs = checkStatus(rawCall(this.raw, SYMBOL.FILTER_CREATE, [schema.ptr, asBuffer(expr), asBuffer(queryParams), asBuffer(settings), asBuffer(options)]));
87
87
  return wrapHandle(this.raw, outs["out"]);
88
88
  }
89
89
  /** The generated call wrapper for chs_filter_eval_body. */
90
- filterEvalBody(filter, format, body, settings) {
91
- const outs = checkStatus(rawCall(this.raw, SYMBOL.FILTER_EVAL_BODY, [filter.ptr, format, asBuffer(body), asBuffer(settings)]));
90
+ filterEvalBody(filter, format, body, settings, columns, options) {
91
+ const outs = checkStatus(rawCall(this.raw, SYMBOL.FILTER_EVAL_BODY, [filter.ptr, format, asBuffer(body), asBuffer(settings), asBuffer(columns), asBuffer(options)]));
92
92
  return outs["out"];
93
93
  }
94
94
  /** The generated call wrapper for chs_block_create. */
95
- blockCreate(schema, format, body, settings, columns) {
96
- const outs = checkStatus(rawCall(this.raw, SYMBOL.BLOCK_CREATE, [schema.ptr, format, asBuffer(body), asBuffer(settings), asBuffer(columns)]));
95
+ blockCreate(schema, format, body, settings, columns, options) {
96
+ const outs = checkStatus(rawCall(this.raw, SYMBOL.BLOCK_CREATE, [schema.ptr, format, asBuffer(body), asBuffer(settings), asBuffer(columns), asBuffer(options)]));
97
97
  return wrapHandle(this.raw, outs["out"]);
98
98
  }
99
99
  /** The generated call wrapper for chs_filter_eval_block. */
@@ -1 +1 @@
1
- {"version":3,"file":"calls.gen.js","sourceRoot":"","sources":["../../src/abi2/calls.gen.ts"],"names":[],"mappings":"AAAA,wLAAwL;AACxL;;;;;;;GAOG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAmB,UAAU,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAkB,aAAa,EAAe,OAAO,EAAE,MAAM,UAAU,CAAC;AAOtG,MAAM,OAAO,KAAK;IACP,GAAG,CAAS;IAErB,YAAY,GAAW;QACrB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;IACjB,CAAC;IAED,uDAAuD;IACvD,WAAW;QACT,MAAM,IAAI,GAAG,WAAW,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC,CAAC;QACrE,OAAO,IAAI,CAAC,KAAK,CAAW,CAAC;IAC/B,CAAC;IAED,sDAAsD;IACtD,UAAU;QACR,MAAM,IAAI,GAAG,WAAW,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC,CAAC;QACpE,OAAO,IAAI,CAAC,KAAK,CAAW,CAAC;IAC/B,CAAC;IAED,qDAAqD;IACrD,UAAU,CAAC,QAAoB;QAC7B,WAAW,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM,CAAC,UAAU,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;IAC1E,CAAC;IAED,uDAAuD;IACvD,WAAW,CAAC,QAAoB;QAC9B,WAAW,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,MAA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CAAC;IAED,yDAAyD;IACzD,aAAa;QACX,MAAM,IAAI,GAAG,WAAW,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC,CAAC;QACvE,OAAO,IAAI,CAAC,KAAK,CAAW,CAAC;IAC/B,CAAC;IAED,2DAA2D;IAC3D,eAAe,CAAC,IAAgB;QAC9B,MAAM,IAAI,GAAG,WAAW,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM,CAAC,gBAAgB,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;QACvF,OAAO,IAAI,CAAC,KAAK,CAAW,CAAC;IAC/B,CAAC;CAEF"}
@@ -58,6 +58,7 @@ export declare const SYMBOL: {
58
58
  readonly ERROR_COLUMN: "chs_error_column";
59
59
  readonly ERROR_FREE: "chs_error_free";
60
60
  readonly ERROR_MESSAGE: "chs_error_message";
61
+ readonly ERROR_REASON: "chs_error_reason";
61
62
  readonly ERROR_STATUS: "chs_error_status";
62
63
  readonly FILTER_CREATE: "chs_filter_create";
63
64
  readonly FILTER_EVAL_BLOCK: "chs_filter_eval_block";
@@ -106,7 +107,7 @@ export declare const BUF_HANDLE: 'chs_buf';
106
107
  * chs_build_info().abi_fingerprint at loader step 4).
107
108
  */
108
109
  export declare const ABI_VERSION = 2;
109
- export declare const ABI_FINGERPRINT = "sha256:d87e91be2bbe75b985c38224268c2f7dc5d8236dab0a4b4d61357c6dfdc1a232";
110
+ export declare const ABI_FINGERPRINT = "sha256:d53239933966e15a3c363e631a94fbba1231d84c4300337115d3ae5377bb41c2";
110
111
  /**
111
112
  * The description's stability: "unstable" while this generation is being designed, so
112
113
  * ABI_FINGERPRINT moves with every change, and "locked" after (spec/abi-v2/docs.md, rule
@@ -1 +1 @@
1
- {"version":3,"file":"decls.gen.d.ts","sourceRoot":"","sources":["../../src/abi2/decls.gen.ts"],"names":[],"mappings":"AAaA,MAAM,M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i-v1/gen.py --major 2 from spec/abi-v2/abi.json (CHS_ABI_FINGERPRINT sha256:d53239933966e15a3c363e631a94fbba1231d84c4300337115d3ae5377bb41c2) — DO NOT EDIT */
2
2
  /*
3
3
  * The ABI description as DATA: every described symbol's name, its parameter and return
4
4
  * shape, and the chs_status enum, both directions. See this emitter's module docstring
@@ -128,8 +128,6 @@ export const FUNCTION_SPECS = {
128
128
  "cls": "api",
129
129
  "mayReturn": [
130
130
  "CHS_OK",
131
- "CHS_REJECTED",
132
- "CHS_DECLINED",
133
131
  "CHS_INVALID_ARGUMENT",
134
132
  "CHS_INTERNAL"
135
133
  ],
@@ -156,7 +154,7 @@ export const FUNCTION_SPECS = {
156
154
  "type": null
157
155
  },
158
156
  {
159
- "content": "json_object_string_values",
157
+ "content": "json_object_byte_values",
160
158
  "kind": "bytes_in",
161
159
  "name": "settings",
162
160
  "nullable": false,
@@ -169,6 +167,13 @@ export const FUNCTION_SPECS = {
169
167
  "nullable": false,
170
168
  "type": null
171
169
  },
170
+ {
171
+ "content": "input:insert_options",
172
+ "kind": "bytes_in",
173
+ "name": "options",
174
+ "nullable": false,
175
+ "type": null
176
+ },
172
177
  {
173
178
  "content": null,
174
179
  "kind": "out_handle",
@@ -543,6 +548,29 @@ export const FUNCTION_SPECS = {
543
548
  },
544
549
  "thread": "shared"
545
550
  },
551
+ "chs_error_reason": {
552
+ "cls": "api",
553
+ "mayReturn": [],
554
+ "params": [
555
+ {
556
+ "content": null,
557
+ "kind": "handle",
558
+ "name": "error",
559
+ "nullable": false,
560
+ "type": "chs_error"
561
+ }
562
+ ],
563
+ "returns": {
564
+ "borrows": null,
565
+ "constant": null,
566
+ "content": "ascii",
567
+ "kind": "handle",
568
+ "nullable": true,
569
+ "owned": true,
570
+ "type": "chs_buf"
571
+ },
572
+ "thread": "shared"
573
+ },
546
574
  "chs_error_status": {
547
575
  "cls": "api",
548
576
  "mayReturn": [],
@@ -591,19 +619,26 @@ export const FUNCTION_SPECS = {
591
619
  "type": null
592
620
  },
593
621
  {
594
- "content": "json_object_string_values",
622
+ "content": "json_object_byte_values",
595
623
  "kind": "bytes_in",
596
624
  "name": "query_params",
597
625
  "nullable": false,
598
626
  "type": null
599
627
  },
600
628
  {
601
- "content": "json_object_string_values",
629
+ "content": "json_object_byte_values",
602
630
  "kind": "bytes_in",
603
631
  "name": "settings",
604
632
  "nullable": false,
605
633
  "type": null
606
634
  },
635
+ {
636
+ "content": "input:filter_options",
637
+ "kind": "bytes_in",
638
+ "name": "options",
639
+ "nullable": false,
640
+ "type": null
641
+ },
607
642
  {
608
643
  "content": null,
609
644
  "kind": "out_handle",
@@ -634,8 +669,6 @@ export const FUNCTION_SPECS = {
634
669
  "cls": "api",
635
670
  "mayReturn": [
636
671
  "CHS_OK",
637
- "CHS_REJECTED",
638
- "CHS_DECLINED",
639
672
  "CHS_INVALID_ARGUMENT",
640
673
  "CHS_INTERNAL"
641
674
  ],
@@ -684,8 +717,6 @@ export const FUNCTION_SPECS = {
684
717
  "cls": "api",
685
718
  "mayReturn": [
686
719
  "CHS_OK",
687
- "CHS_REJECTED",
688
- "CHS_DECLINED",
689
720
  "CHS_INVALID_ARGUMENT",
690
721
  "CHS_INTERNAL"
691
722
  ],
@@ -712,12 +743,26 @@ export const FUNCTION_SPECS = {
712
743
  "type": null
713
744
  },
714
745
  {
715
- "content": "json_object_string_values",
746
+ "content": "json_object_byte_values",
716
747
  "kind": "bytes_in",
717
748
  "name": "settings",
718
749
  "nullable": false,
719
750
  "type": null
720
751
  },
752
+ {
753
+ "content": "json_array_names",
754
+ "kind": "bytes_in",
755
+ "name": "columns",
756
+ "nullable": false,
757
+ "type": null
758
+ },
759
+ {
760
+ "content": "input:insert_options",
761
+ "kind": "bytes_in",
762
+ "name": "options",
763
+ "nullable": false,
764
+ "type": null
765
+ },
721
766
  {
722
767
  "content": "document:filter_result",
723
768
  "kind": "out_handle",
@@ -874,8 +919,6 @@ export const FUNCTION_SPECS = {
874
919
  "cls": "api",
875
920
  "mayReturn": [
876
921
  "CHS_OK",
877
- "CHS_REJECTED",
878
- "CHS_DECLINED",
879
922
  "CHS_INVALID_ARGUMENT",
880
923
  "CHS_INTERNAL"
881
924
  ],
@@ -902,7 +945,7 @@ export const FUNCTION_SPECS = {
902
945
  "type": null
903
946
  },
904
947
  {
905
- "content": "json_object_string_values",
948
+ "content": "json_object_byte_values",
906
949
  "kind": "bytes_in",
907
950
  "name": "settings",
908
951
  "nullable": false,
@@ -936,6 +979,13 @@ export const FUNCTION_SPECS = {
936
979
  "nullable": false,
937
980
  "type": "uint32"
938
981
  },
982
+ {
983
+ "content": "input:insert_options",
984
+ "kind": "bytes_in",
985
+ "name": "options",
986
+ "nullable": false,
987
+ "type": null
988
+ },
939
989
  {
940
990
  "content": "document:batch",
941
991
  "kind": "out_handle",
@@ -973,8 +1023,6 @@ export const FUNCTION_SPECS = {
973
1023
  "cls": "api",
974
1024
  "mayReturn": [
975
1025
  "CHS_OK",
976
- "CHS_REJECTED",
977
- "CHS_DECLINED",
978
1026
  "CHS_INVALID_ARGUMENT",
979
1027
  "CHS_INTERNAL"
980
1028
  ],
@@ -1001,7 +1049,7 @@ export const FUNCTION_SPECS = {
1001
1049
  "type": null
1002
1050
  },
1003
1051
  {
1004
- "content": "json_object_string_values",
1052
+ "content": "json_object_byte_values",
1005
1053
  "kind": "bytes_in",
1006
1054
  "name": "settings",
1007
1055
  "nullable": false,
@@ -1014,6 +1062,13 @@ export const FUNCTION_SPECS = {
1014
1062
  "nullable": false,
1015
1063
  "type": null
1016
1064
  },
1065
+ {
1066
+ "content": "input:insert_options",
1067
+ "kind": "bytes_in",
1068
+ "name": "options",
1069
+ "nullable": false,
1070
+ "type": null
1071
+ },
1017
1072
  {
1018
1073
  "content": "document:row",
1019
1074
  "kind": "out_handle",
@@ -1183,7 +1238,7 @@ export const FUNCTION_SPECS = {
1183
1238
  "type": null
1184
1239
  },
1185
1240
  {
1186
- "content": "json_object_string_values",
1241
+ "content": "json_object_byte_values",
1187
1242
  "kind": "bytes_in",
1188
1243
  "name": "settings",
1189
1244
  "nullable": false,
@@ -1370,7 +1425,7 @@ export const FUNCTION_SPECS = {
1370
1425
  ],
1371
1426
  "params": [
1372
1427
  {
1373
- "content": "json_object_string_values",
1428
+ "content": "json_object_byte_values",
1374
1429
  "kind": "bytes_in",
1375
1430
  "name": "settings",
1376
1431
  "nullable": false,
@@ -1475,6 +1530,7 @@ export const CAMEL_NAMES = {
1475
1530
  "chs_error_column": "errorColumn",
1476
1531
  "chs_error_free": "errorFree",
1477
1532
  "chs_error_message": "errorMessage",
1533
+ "chs_error_reason": "errorReason",
1478
1534
  "chs_error_status": "errorStatus",
1479
1535
  "chs_filter_create": "filterCreate",
1480
1536
  "chs_filter_eval_block": "filterEvalBlock",
@@ -1528,6 +1584,7 @@ export const SYMBOL = {
1528
1584
  "ERROR_COLUMN": "chs_error_column",
1529
1585
  "ERROR_FREE": "chs_error_free",
1530
1586
  "ERROR_MESSAGE": "chs_error_message",
1587
+ "ERROR_REASON": "chs_error_reason",
1531
1588
  "ERROR_STATUS": "chs_error_status",
1532
1589
  "FILTER_CREATE": "chs_filter_create",
1533
1590
  "FILTER_EVAL_BLOCK": "chs_filter_eval_block",
@@ -1625,6 +1682,7 @@ export const DESCRIBED_SYMBOLS = [
1625
1682
  "chs_error_column",
1626
1683
  "chs_error_free",
1627
1684
  "chs_error_message",
1685
+ "chs_error_reason",
1628
1686
  "chs_error_status",
1629
1687
  "chs_filter_create",
1630
1688
  "chs_filter_eval_block",
@@ -1661,7 +1719,7 @@ export const BUF_HANDLE = 'chs_buf';
1661
1719
  * chs_build_info().abi_fingerprint at loader step 4).
1662
1720
  */
1663
1721
  export const ABI_VERSION = 2;
1664
- export const ABI_FINGERPRINT = "sha256:d87e91be2bbe75b985c38224268c2f7dc5d8236dab0a4b4d61357c6dfdc1a232";
1722
+ export const ABI_FINGERPRINT = "sha256:d53239933966e15a3c363e631a94fbba1231d84c4300337115d3ae5377bb41c2";
1665
1723
  /**
1666
1724
  * The description's stability: "unstable" while this generation is being designed, so
1667
1725
  * ABI_FINGERPRINT moves with every change, and "locked" after (spec/abi-v2/docs.md, rule