lawspec 0.29.0 → 0.29.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
@@ -6,6 +6,16 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.29.1] - 2026-10-22
10
+
11
+ ### Fixed
12
+
13
+ - Parsing now reports independent errors together across fields, collection
14
+ items, table rows, law sections, declarations, harness settings and files.
15
+ This includes repeated bad constructors and general syntax errors. Recovery
16
+ preserves source locations and block opener links, keeps quoted tokens
17
+ opaque, and never admits a partial program or writes a formatting result.
18
+
9
19
  ## [0.29.0] - 2026-10-22
10
20
 
11
21
  ### Changed
@@ -1926,7 +1936,8 @@ A maintenance release. The language, generated code and API are unchanged from
1926
1936
  machine-sized bindings reject an architecture mismatch. Rust adapters take
1927
1937
  owned values.
1928
1938
 
1929
- [Unreleased]: https://github.com/brain-fuel/lawspec/compare/v0.29.0...HEAD
1939
+ [Unreleased]: https://github.com/brain-fuel/lawspec/compare/v0.29.1...HEAD
1940
+ [0.29.1]: https://github.com/brain-fuel/lawspec/compare/v0.29.0...v0.29.1
1930
1941
  [0.29.0]: https://github.com/brain-fuel/lawspec/compare/v0.28.0...v0.29.0
1931
1942
  [0.28.0]: https://github.com/brain-fuel/lawspec/compare/v0.27.0...v0.28.0
1932
1943
  [0.27.0]: https://github.com/brain-fuel/lawspec/compare/v0.26.0...v0.27.0
package/bin/lawspec.mjs CHANGED
@@ -26,7 +26,7 @@ import {
26
26
  safePath,
27
27
  collectSources,
28
28
  } from "../files.mjs";
29
- const VERSION = "0.29.0";
29
+ const VERSION = "0.29.1";
30
30
  const args = process.argv.slice(2);
31
31
  const verb = args.shift();
32
32
  const options = {};
package/build.json CHANGED
@@ -514,8 +514,8 @@
514
514
  ],
515
515
  "digests": {
516
516
  "dev/Gen/Embed.hs": "a359c45835b3656d7381d5f00f3b4c17ebe25460cdcb7b9905c7842a25eec406",
517
- "lawspec.cabal": "9a302e72cdcaa9be1fb840fc61952765804b1ca8c5c22b88fd47bb1ec8b4ade9",
518
- "package.yaml": "9b68d8fb8e0c6fb42e2b5daa38f6483fa646df6b958e2a8dab8f61ca0e776582",
517
+ "lawspec.cabal": "4ddf941cda8fb5edfe8cfbd43b3a88e8db6cd340df4480c3ed9f7642da2b6820",
518
+ "package.yaml": "3387644242c7cba4673c00bd3330aff1d796112c20064357e5c5e1438949555a",
519
519
  "runtime/LawSpecCodecs.hs": "d4cf9cacf9d0f8f100423f537d30be7232b1ec3634bace0ef8b0780e9d7ad2f3",
520
520
  "runtime/LawSpecCollectionCodecs.hs": "1ec581af09c2931cacd0245b35debebd066fd06d71c6dfb60a124af9a5fac562",
521
521
  "runtime/LawSpecDataStrategies.hs": "8ab09adb405a76535e6a9f969375298b693954d2428d12e1479e23d813a0d799",
@@ -722,8 +722,8 @@
722
722
  "runtime/lawspec_schema.mjs": "f3602f701d73295be8946e3e27f236cf77d2cd3f1d58bfd456d6365c75cd69a7",
723
723
  "runtime/lawspec_schema.py": "db690189506bf485f7692505ada87d142e2d842f595520e071db38edaea64bfe",
724
724
  "runtime/lawspec_strategies.rs": "b801c9ddc702588b6b30e6a14c1e7b200ae2e0229f4f3ca8f6fb5510e8238df6",
725
- "runtime/rust/Cargo.lock": "bea4c5b0683c0b686c240d5af3f49c1b6383e22bfc00b16e2ef4a6f6b31f518e",
726
- "runtime/rust/Cargo.toml": "827a0e498c0e33d69d97640a91d23456332fc936fc183dae6b448c96be5e14fc",
725
+ "runtime/rust/Cargo.lock": "0249aac56ce632030ac24499c3038fb4617951ac4e98c53bfd75aece779fb5d6",
726
+ "runtime/rust/Cargo.toml": "620a6d4cae82f650591ac112d855154cc3fd8d8f5ea96b1becc4b0ba67407b93",
727
727
  "src/LawSpec/Abilities.hs": "79e900dea8c07ec0ca724d6301b4a489332de0cc0d7ce46511a16a21bca13831",
728
728
  "src/LawSpec/AbilityEmit.hs": "d79a0b60785433c7763aea6edb389c45377b7be98a5345436140a725655de3b7",
729
729
  "src/LawSpec/AbilityEmit/Go.hs": "d6e78b73c6f225c90cfc4345f2c4fbc6a090ec5083e4ba65af906028cc33f994",
@@ -917,7 +917,7 @@
917
917
  "src/LawSpec/Network.hs": "4fdbc8a0bc6f91b22f1fe57554078be79425d9a4f4509e09595b949092f4f733",
918
918
  "src/LawSpec/OperationChecks.hs": "00094994bca2e62d0d77741508ae2336588cb22896864a798940281ec814a994",
919
919
  "src/LawSpec/Packages.hs": "fd66ad5a6bdd167d518d2548df21f12a6af02e2d635c1993bf3e309824b1d8b4",
920
- "src/LawSpec/Parser.hs": "b9957ada41bf0390ac46612983cd04a4d7b2eda2d54af63c2d8d17cf19f71f6d",
920
+ "src/LawSpec/Parser.hs": "1b52723dcac7f4c875efd9a7a9e12792b45c4f1e5e30e0d3a48a951e1872d1e2",
921
921
  "src/LawSpec/Persist.hs": "a354a57cffc7d61d2b9c5aa35e246633997a79a0f8ef0b087b70c4e348698251",
922
922
  "src/LawSpec/PortableGenerator.hs": "14037ba42ef8fc06bbdbb5892c058455cc1848a08253f0f7cf2d7cc5cb16d396",
923
923
  "src/LawSpec/PortableTestHelpers.hs": "1a60780525e70b2faf84c09750362ea5a9b2927225812378e6e210126aed6a45",
@@ -1022,9 +1022,9 @@
1022
1022
  "wasm/app/Exports.hs": "7698bc8dcdbd3e00cc62d0597626a6dabe29aace9258645d1df266be1f3c408c",
1023
1023
  "wasm/cabal.project": "91ad752c055a034fff42bf1815125ce2174630a41859fe8d5c571e9a12e50b7d",
1024
1024
  "wasm/cabal.project.freeze": "e067df77442b8111c97b3f12cc215af5ca69668aa65f95f3ff90110c22933170",
1025
- "wasm/lawspec-wasm.cabal": "1f3b7bf6ab2d1c231726b0693ee18d9e4107d64e44773010a69473281633d263",
1026
- "npm/core.wasm": "e97419a974a8e871f8be7884ee52884a5df037f90223991a336f93da36cb3ea9",
1027
- "npm/core_jsffi.js": "e5f02e974a7641b1e425c4d68f7a71756f38d57183913242af1b8e2f7751f31d",
1025
+ "wasm/lawspec-wasm.cabal": "f4d06d78ed6d9722f3742dcbc927e22efe1ae06cfee06312f784835b7efddea5",
1026
+ "npm/core.wasm": "2ad02540bc6a144b6e45fd5e72a19470817fe5120d45c53ebebde250e66dee71",
1027
+ "npm/core_jsffi.js": "6d2302b334268f00034618b5a0df76232ca4198595454c20416d3282429ca7dd",
1028
1028
  "npm/api.mjs": "fd40ec7034402e4456504182d80e2e97f535713ae5d227ffad6456fa9091f59b",
1029
1029
  "npm/index.d.ts": "3efda72842f1c99bc15bc2e764f0ef2707db7be0d47dfc98cbae2263dbf7af04"
1030
1030
  }
package/core.wasm CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/core.wasm
3
- size: 76263061 bytes
4
- sha256: e97419a974a8e871f8be7884ee52884a5df037f90223991a336f93da36cb3ea9
3
+ size: 77188592 bytes
4
+ sha256: 2ad02540bc6a144b6e45fd5e72a19470817fe5120d45c53ebebde250e66dee71
package/core_jsffi.js CHANGED
@@ -92,11 +92,11 @@ newJSVal: (v) => __ghc_wasm_jsffi_jsval_manager.newJSVal(v),
92
92
  getJSVal: (k) => __ghc_wasm_jsffi_jsval_manager.getJSVal(k),
93
93
  freeJSVal: (k) => __ghc_wasm_jsffi_jsval_manager.freeJSVal(k),
94
94
  scheduleWork: () => setImmediate(__exports.rts_schedulerLoop),
95
- ZC1ZClawspeczmwasmzm0zi29zi0zminplacezmlawspeczmwasmZCMainZC: ($1) => (($1.parts.push($1.decoder.decode()), $1.parts.join(''))),
96
- ZC2ZClawspeczmwasmzm0zi29zi0zminplacezmlawspeczmwasmZCMainZC: ($1,$2,$3) => ($1.parts.push($1.decoder.decode(new Uint8Array(__exports.memory.buffer, $2 >>> 0, $3), {stream: true}))),
97
- ZC3ZClawspeczmwasmzm0zi29zi0zminplacezmlawspeczmwasmZCMainZC: () => (({decoder: new TextDecoder('utf-8', {fatal: true}), parts: []})),
98
- ZC4ZClawspeczmwasmzm0zi29zi0zminplacezmlawspeczmwasmZCMainZC: ($1,$2,$3) => ((new TextEncoder()).encodeInto($1, new Uint8Array(__exports.memory.buffer, $2 >>> 0, $3)).written),
99
- ZC5ZClawspeczmwasmzm0zi29zi0zminplacezmlawspeczmwasmZCMainZC: ($1) => ($1.length),
95
+ ZC1ZClawspeczmwasmzm0zi29zi1zminplacezmlawspeczmwasmZCMainZC: ($1) => (($1.parts.push($1.decoder.decode()), $1.parts.join(''))),
96
+ ZC2ZClawspeczmwasmzm0zi29zi1zminplacezmlawspeczmwasmZCMainZC: ($1,$2,$3) => ($1.parts.push($1.decoder.decode(new Uint8Array(__exports.memory.buffer, $2 >>> 0, $3), {stream: true}))),
97
+ ZC3ZClawspeczmwasmzm0zi29zi1zminplacezmlawspeczmwasmZCMainZC: () => (({decoder: new TextDecoder('utf-8', {fatal: true}), parts: []})),
98
+ ZC4ZClawspeczmwasmzm0zi29zi1zminplacezmlawspeczmwasmZCMainZC: ($1,$2,$3) => ((new TextEncoder()).encodeInto($1, new Uint8Array(__exports.memory.buffer, $2 >>> 0, $3)).written),
99
+ ZC5ZClawspeczmwasmzm0zi29zi1zminplacezmlawspeczmwasmZCMainZC: ($1) => ($1.length),
100
100
  ZC0ZCghczminternalZCGHCziInternalziWasmziPrimziExportsZC: ($1,$2) => ($1.reject(new WebAssembly.RuntimeError($2))),
101
101
  ZC18ZCghczminternalZCGHCziInternalziWasmziPrimziExportsZC: ($1,$2) => ($1.resolve($2)),
102
102
  ZC20ZCghczminternalZCGHCziInternalziWasmziPrimziExportsZC: ($1) => {$1.throwTo = () => {};},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lawspec",
3
- "version": "0.29.0",
3
+ "version": "0.29.1",
4
4
  "description": "State the law once. Check it everywhere.",
5
5
  "license": "MIT",
6
6
  "repository": {