Skip to content

v0.2.3

Latest

Choose a tag to compare

@reuvenharrison reuvenharrison released this 25 Nov 16:48
· 2 commits to main since this release
533dbf3

Highlights

Security fix: upgraded to oasdiff v1.41.0

Every action now runs on oasdiff v1.41.0 (#227), which fixes how allow-external-refs: false is applied when the review upload is on. Both are the defaults of the breaking and changelog actions, so workflows that run them on pull requests from people you do not trust should upgrade. Workflows pinned to @v0 get the fix without a change.

With review: true, one form of $ref to a URL was requested from the runner although external refs were disallowed. A URL is now requested only when it is the spec given in base or revision.

Other changes from oasdiff v1.41.0

  • A not schema added to a request or removed from a response is reported as an error. Some pull requests will show new errors.
  • The validate action reports conflicting-paths and duplicate-parameter as errors, so it fails on specs that have either. Both were warnings.
  • exclude-elements: servers leaves server changes out of the diff action's output.

exclude-elements in breaking, changelog and pr-comment

The exclude-elements input of these three actions is ignored, and setting it prints a warning in the job log (#226). The flag it passed is not one that oasdiff breaking and oasdiff changelog accept, so a workflow that set the input failed. To turn a check off, list its id with level none in a severity levels file and point severity-levels in .oasdiff.yaml at it. The input still works in the diff action.

Full Changelog: v0.2.2...v0.2.3