Skip to content

Releases: pb33f/libopenapi

v0.13.21

08 Dec 11:49
Compare
Choose a tag to compare

Multiple glitch fixes found whilst testing in the wild.

v0.13.19

03 Dec 16:08
Compare
Choose a tag to compare

Builds on v0.13.18 by adding the issues to both resolving errors and circular errors available on the resolver. This will allow vacuum and other apps to report on the problem effectively.

no new features or fixes.

v0.13.18

03 Dec 14:27
Compare
Choose a tag to compare

Added a safety check to the resolver, it prevents a runaway stack overflow from occurring when nodes are caught in loops do to circular references. No new features, just a more stable library.

v0.13.17

01 Dec 23:14
Compare
Choose a tag to compare

Fixes an issue with the resolver not mapping every reference that is a duplicate. It's an obscure bug, but was picked up by vacuum. No new features, just guaranteed reference resolving.

v0.13.16

30 Nov 18:02
Compare
Choose a tag to compare

Fix for stack overflow issue with resolving, when using a basepath and no actual files. No new features.

v0.13.15

30 Nov 12:21
Compare
Choose a tag to compare

Bugfixes to local file loader, resolver and mock renderer. No new features.

v0.13.14

26 Nov 02:22
Compare
Choose a tag to compare

Same as v0.13.13, but with an updated readme. Really just needed to kick sum.golang.org for being slow.

v0.13.13

26 Nov 02:11
Compare
Choose a tag to compare

Fixes the local and remote file system glitches and a regression added in v0.13.12

Also adds in some convenience methods for calculating size of the rolodex.

v0.13.12

25 Nov 15:12
Compare
Choose a tag to compare

Added the ability to locate where a reference comes from

A new method GetReferenceOrigin() exists on SchemaProxy that returns *index.NodeOrigin

type NodeOrigin struct {
  // Node is the node in question 
  Node *yaml.Node

  // Line is yhe original line of where the node was found in the original file
  Line int

  // Column is the original column of where the node was found in the original file 
  Column int

  // AbsoluteLocation is the absolute path to the reference was extracted from.
  // This can either be an absolute path to a file, or a URL.
  AbsoluteLocation string

  // Index is the index that contains the node that was located in.
  Index *SpecIndex
}

Also a new switch method features on the renderer.SchemaRenderer struct called DisableRequiredCheck() This will render all properties, regardless of the 'required` property values.

This release also tunes behavior of the local file system implementation used by the rolodex,

v0.13.11

17 Nov 21:45
Compare
Choose a tag to compare

A few bugfixes and tuneups for edge cases. No new features, no breaking changes