Skip to content

v0.1.19

Choose a tag to compare

@reuvenharrison reuvenharrison released this 18 Oct 22:14
· 46 commits to main since this release
514e22e

oasdiff v1.34.0: security checks and one finding per shared-schema change

Every action now runs oasdiff v1.34.0.

  • Security changes are judged by who can call the endpoint. Securing an operation that had no security requirement, directly or through a top-level security it inherits, now fails breaking. Replacing or narrowing the top-level security list is reported on each operation that inherits it, at the operation's levels, instead of once at info. Changing how a security scheme sends credentials (its type, an API key's name or location, the HTTP scheme, the OpenID Connect URL) is breaking too.
  • A change in a shared schema is reported once per check, naming the schema, listing the first three properties it applies to and counting all of them, so large specs produce far fewer annotations.
  • More accurate verdicts for removing a whole enum, date or time to date-time, and readOnly / writeOnly flips, and faster comparisons of large specs.

When you upgrade, expect some findings to change once: shared-schema findings carry the schema detail in their text, and top-level security findings move to the operations that inherit the list. Review decisions or err-ignore lines tied to the old findings may need updating.

No changes to the actions themselves. oasdiff/oasdiff-action/*@v0 now points at this release.