lutaml-jsonschema 0.1.26 → 0.1.27

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b7c72a0b9f42bf072c40e4f52b986ba536f59ed1eaa96650bd6df86d469a16e1
4
- data.tar.gz: 818f5e758c204d40d20f371ccb3cc6e772ab2c9e7b54e59c5f02de9b0050b9db
3
+ metadata.gz: 62d07f64bf709e026e4fe893510e9f1402d809277ce8d01d8c6280133a0d86ff
4
+ data.tar.gz: cdc50464c9d3f0f50bf2d03bd3ea52044271108415aef7e0e4c8152d3f48149a
5
5
  SHA512:
6
- metadata.gz: 85878a652c2ffee03bed715b5ee1eb83c0b54b8d16e04ef5dee20977ebed04f7b239a8f2a0c43a2c49e25b14a96a55dc620e9c8033b5f4d20afd3fc0108fef56
7
- data.tar.gz: 4ab26811feb7b7be7ff0ebe407582ba1adf2c6a2109c84d4a411e16e544cec7186ad276043425f027178fd2782fbb5aea54c6c921a90c069341d722c38d2f850
6
+ metadata.gz: a675207cdd0390d2e9b9ec5c28ac6ecf71792e4e7049d63824762e4819a7f021b830fad43da1739102d3edbbadec7301644644c02dcef7667fede9b28342bcfe
7
+ data.tar.gz: d7d09880ecac56438197710e7295c6d669fe4530a295e9247f226d6bbb1439e507891f7861a5a239191fad293128bc8b13a876c5c45c8fd7055a11b616e4f81c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,78 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.1.27] - 2026-10-31
4
+
5
+ - Add the BSD-2-Clause license (LICENSE.md + `spec.license`) and backfill
6
+ the changelog for 0.1.16–0.1.26
7
+ - Floor yeptris at the fixed `~> 0.6.51` line (marshal strict-dup
8
+ false-positive fixed, yeptris-ruby#333)
9
+ - Frontend dev toolchain bumped past the vulnerable ranges
10
+ - lychee-action bumped to v2
11
+
12
+ ## [0.1.26] - 2026-10-28
13
+
14
+ - Accept YAML schema inputs (`SourceFile` records) alongside JSON
15
+ - Fix AsciiDoc links to resolved schema targets; reference-link audit
16
+ - Audit the Arabic RTL render in the axe gate
17
+ - Real README; CLAUDE.md refreshed for the SOTA state
18
+ - Pin Parsanol for the LML round-trip test
19
+
20
+ ## [0.1.25] - 2026-10-22
21
+
22
+ - Fully lossless model: unknown keywords and `x-*` extensions preserved via
23
+ `map_unmapped` (lutaml-model `~> 0.8.122`)
24
+ - RTL-safe layout (CSS logical properties + document `dir` mirroring),
25
+ Arabic locale with live switch, RTL render proven in headless Chrome
26
+ - axe-core AA audit in the default `rake` gate with vendored axe
27
+ - LML exporter (`export --format lml` via lutaml-lml)
28
+ - Metanorma-embeddable AsciiDoc (`--embeddable`) and CDDL round-trip through
29
+ the RFC 8610 reference parser (`pstore` declared for Ruby 4.0)
30
+ - Dialect semantics annotations for `$ref` siblings and format assertions
31
+ - Ruby 4.0: brace hash literals in specs passed to `dump`
32
+
33
+ ## [0.1.24] - 2026-10-21
34
+
35
+ - Generated SPA passes an axe-core AA scan
36
+ - Frontend built in rake CI; fixed the rake workflow startup failure
37
+ - Perf caps calibrated per environment; `benchmark` gem declared for Ruby 4.0
38
+
39
+ ## [0.1.23] - 2026-10-20
40
+
41
+ - yeptris as the JSON parse engine, floored at the fixed `~> 0.6.34` line
42
+ (fixes the native materializer SIGSEGV and the tape-engine perf gap)
43
+ - CLAUDE.md with repo commands and architecture
44
+
45
+ ## [0.1.22] - 2026-10-19
46
+
47
+ - Floor lutaml-model at `~> 0.8.114`
48
+
49
+ ## [0.1.21] - 2026-10-02
50
+
51
+ - Maintenance release (release-train CI fixes ride along from 0.1.20)
52
+
53
+ ## [0.1.20] - 2026-10-01
54
+
55
+ - Release `post_install` hardened: `npm ci` against the runner-synced lock
56
+ without touching tracked files
57
+
58
+ ## [0.1.19] - 2026-06-08
59
+
60
+ - Fix all SPA data gaps for complex schemas (0.1.18 line)
61
+ - Appearance config support for logos and subtitle
62
+ - Comprehensive code-quality audit (311 specs, 0 failures)
63
+ - Remove the local lutaml-store path override for CI
64
+
65
+ ## [0.1.17] - 2026-05-27
66
+
67
+ - Resolve array items `$ref` and expose definition-level constraints
68
+ - Render `itemsRef` and definition constraints
69
+
70
+ ## [0.1.16] - 2026-05-14
71
+
72
+ - Frontend range tests (numberRange/stringRange/itemsRange) and
73
+ jsonToCollapsibleHtml edge cases
74
+ - Hardcoded rgba replaced with CSS variables; rubocop baseline refresh
75
+
3
76
  ## [0.1.15] - 2026-05-10
4
77
 
5
78
  ### Redoc-style UX improvements (round 16)
data/CLAUDE.md CHANGED
@@ -51,8 +51,9 @@ Two distinct paths, both engine-backed:
51
51
  - **Direct parsing** in this gem (`Cli#combine`, `Cli#validate`, `Schema.serialize_additional_properties`) uses `Yeptris::JSON.load` — strict RFC 8259, exact-`JSON.parse` semantics, raises `Yeptris::JSON::ParseError`. JSON **generation** stays on the stdlib `json` gem (`JSON.pretty_generate`); yeptris's JSON surface is load-only.
52
52
  - **Model serialization** (`Schema.from_json`/`to_json`, `Configuration.from_yaml`, lutaml-store I/O) goes through lutaml-model, whose `AdapterResolver` auto-detects yeptris from the bundle and routes both `:json` and `:yaml` to its `YeptrisAdapter`. That adapter re-raises parse failures as `JSON::ParserError`, so error handling must cover **both** exception types — see the rescue in `Cli#validate`.
53
53
  - Raw-parse speed depends on the resolved yeptris build shipping a **native materializer for the running Ruby version**; without one it falls back to a pure-Ruby tape engine that is several times slower than `JSON.parse` on large documents (yeptris-ruby#278). Check with `defined?(Yeptris::Native)` (0.6.28.x shipped only Ruby 3.3; 3.4-native starts at 0.6.29.1).
54
- - The GC-pressure SIGSEGV in the native JSON materializer (yeptris-ruby#279) is fixed in the yeptris **0.6.34 line** (staged pairs made GC-visible); the gemspec floors at `~> 0.6.34`, excluding the crashy 0.6.29.x–0.6.33.x native builds. Env-gated canary: yeptris-ruby#280.
54
+ - The GC-pressure SIGSEGV in the native JSON materializer (yeptris-ruby#279) is fixed in the yeptris **0.6.34 line** (staged pairs made GC-visible); excluding the crashy 0.6.29.x–0.6.33.x native builds. Env-gated canary: yeptris-ruby#280.
55
55
  - The 0.6.34 C **strict-dup pre-scan** was broken (one shared key table, no growth — false duplicates on ordinary schemas, hang on the 17th distinct key); fixed in yeptris v0.6.35 (per-container frame stacks). Lanes without a native materializer (all Windows) ride that marshal route, so engine bugs surface there first.
56
+ - The marshal route's strict-dup scan carried a second latent false-positive — three equal array elements inside an object (`{"a":[1,1,1]}`) raised `duplicate key in object` — present since ~0.6.36 and reachable once json 3 turned the strict flag on; fixed in yeptris **0.6.51** (yeptris-ruby#333). The gemspec floors at `~> 0.6.51` (the 0.6.51 release train also fixed its musl/qemu container legs racing the fresh release tag).
56
57
 
57
58
  ## Frontend: i18n, RTL, a11y
58
59
 
data/LICENSE.md ADDED
@@ -0,0 +1,33 @@
1
+ Licenses & Copyright
2
+ ====================
3
+
4
+ This license file adheres to the formatting guidelines of
5
+ [readable-licenses](https://github.com/nevir/readable-licenses).
6
+
7
+
8
+ Ribose's BSD 2-Clause License
9
+ -----------------------------
10
+
11
+ Copyright (c) 2026, [Ribose Inc](https://www.ribose.com).
12
+ All rights reserved.
13
+
14
+ Redistribution and use in source and binary forms, with or without modification,
15
+ are permitted provided that the following conditions are met:
16
+
17
+ 1. Redistributions of source code must retain the above copyright notice,
18
+ this list of conditions and the following disclaimer.
19
+
20
+ 2. Redistributions in binary form must reproduce the above copyright notice,
21
+ this list of conditions and the following disclaimer in the documentation
22
+ and/or other materials provided with the distribution.
23
+
24
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
25
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
26
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
27
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
28
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
30
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
31
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
32
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
33
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.