Skip to content

v0.2.1

Latest

Choose a tag to compare

@reuvenharrison reuvenharrison released this 17 Nov 21:26
14ca700

Highlights

Each change in the pull-request comment links to its side-by-side diff

Every row of the changes table in the comment now ends with a view link. It opens the review on that change, with the old and new spec side by side, so a reviewer goes from a line in the comment straight to the lines that changed (#223). It applies with and without an oasdiff-token. The check id and its description are on the review page, one click away.

Upgraded to oasdiff v1.39.0

Every action now runs on oasdiff v1.39.0, which corrects how nullability changes are reported:

  • A change made through a oneOf or anyOf is decided by what the whole schema accepts. Adding null to a second oneOf branch takes null away from the property, and it is now reported as request-property-became-not-nullable at error level.
  • With flatten-allof, nullable: true beside an allOf is kept, so removing it is reported. It reported nothing before.

Some pull requests will show different results than with v0.2.0, including new errors where a breaking change was missed.

Fixes

  • The Pro review comment no longer shows a review state that can go out of date. With an oasdiff-token, the comment said "Review required" and kept saying it after the changes were approved, because the comment is only written when the job runs. It now points to the oasdiff status check, which is updated when a reviewer approves or rejects (#222).

Full Changelog: v0.2.0...v0.2.1