Skip to content

Release 0.8.0 - #115

Merged
rasuvaeff merged 1 commit into
masterfrom
release/0.8.0
Sep 6, 2026
Merged

Release 0.8.0#115
rasuvaeff merged 1 commit into
masterfrom
release/0.8.0

Conversation

@rasuvaeff

Copy link
Copy Markdown
Owner

Three review passes in one day, eighteen findings closed across PRs #90#114.

The public API did not change shape — composer bc-check --from=v0.7.0 reports
no backwards-incompatible changes — but what the package says about a
document or an exchange changed a great deal, which is what makes this a minor
rather than a patch.

What an upgrader should know, in the order it will bite:

Change Effect
A parameter that occurs more than once is request.parameter.duplicate a request that passed can now fail — deliberately: the validator read the first occurrence, PHP reads the last
Declarations are checked all the way down at compile time a document that compiled can now be refused: an unreadable requestBody, parameters, content, encoding, headers or subschema, a boolean written as a string, a schema carrying .nan/.inf, a parameter declared twice in one list, paths that yield no operation
$ref siblings follow the dialect 3.0 ignores them; a 3.1 Schema Object's siblings apply in addition, compiled to allOf
A content map is matched by specificity */* above an exact media type no longer wins
A trailing slash is part of the path /pets and /pets/ are different operations
Accept, Content-Type, Authorization header parameters are ignored, and a 3.0 requestBody on GET/HEAD/DELETE too violations these produced disappear
$ref is resolved only where it is a keyword an example carrying a $ref member is kept as written instead of being substituted or refused
ContractException marks every exception the package raises catch can name one type

Consumers: rasuvaeff/property-testing-openapi is green against this branch
(709 tests) as of rasuvaeff/property-testing-openapi#87, and its constraint is
bumped to ^0.8 in a follow-up once this is tagged.

Verification: composer build green (718 tests, 2 771 assertions), composer rector clean, make audit-package clean, composer bc-check --from=v0.7.0
clean, composer mutation MSI 93% against the gate of 92, corpus current
(bin/record-openapi-corpus --check).

@coderabbitai

coderabbitai Bot commented Sep 6, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: 32f708e9-9f79-43d6-afc6-08d54571ff4a

Warning

Your free Security trial is over. An organization admin can upgrade to Advanced for continuous pull request security review or dismiss this notice.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@rasuvaeff
rasuvaeff merged commit 2c08da7 into master Sep 6, 2026
10 checks passed
@rasuvaeff
rasuvaeff deleted the release/0.8.0 branch September 6, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant