Repository navigation
v0..41.7
v0.41.7
This one stings a bit. With quick hash on (openapi-changes turns it on), a single circular reference made libopenapi treat every schema in the document as circular. Changes just vanished. I ran stripe.yaml against a copy with 300 breaking edits and got back zero. Zero.
Fixed. All 300 show up now. Big thanks to the contributors who chased down this one and three more. You lot are the best.
- Circular refs only flag schemas on a loop (#667, fixes #662). Quick-hash diffs on documents with cycles report what they were missing.
- No race when building from YAML merges (#658, fixes #657). Model building reads merged copies and leaves shared nodes alone. New public helper:
utils.ResolveMergeNodes. - Float-tagged int64 keywords read correctly (#666, fixes #665).
maxLength: 2.0stops turning into0. Huge values clamp, fractions stay unset. - Parameter
$reffound at any key position (#660, fixes #659). No more bogus "has nonamevalue" errors in OpenAPI 3.1. - Less hashing work (#664). Fewer redundant hashes, plus a new
NodeMap.GetNodeLines(). - Dependency bump.
golang.org/x/syncgoes to 0.24.0.
Upgrade, especially if you diff specs with cycles. Much more to come.