Skip to content

chore: prepare major release 5.0.0#770

Merged
phil-davis merged 1 commit into
sabre-io:masterfrom
phil-davis:prepare-5.0.0
Jul 7, 2026
Merged

chore: prepare major release 5.0.0#770
phil-davis merged 1 commit into
sabre-io:masterfrom
phil-davis:prepare-5.0.0

Conversation

@phil-davis

Copy link
Copy Markdown
Contributor

5.0.0 (2026-06-15)

This major release v5 declares function parameter and return types across the
codebase. Users will need to be careful to call functions/methods with the
correct types.

Support for PHP below 8.2 has been dropped.
This release supports PHP 8.2 and up.

@codecov

codecov Bot commented Jun 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.66%. Comparing base (af78936) to head (fb5863d).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #770   +/-   ##
=========================================
  Coverage     98.66%   98.66%           
  Complexity     1759     1759           
=========================================
  Files            71       71           
  Lines          5165     5165           
=========================================
  Hits           5096     5096           
  Misses           69       69           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@phil-davis

Copy link
Copy Markdown
Contributor Author

Notes:
We haven't increased the phpstan level here. There could be lots of changes to do, such as #498 (that has been sitting there for years). Or adding array shape PHPdoc throughout, and so on. But that all requires quite a bit of effort.

We have applied rector to the code, and having all the parameter and return types is "a good thing".

I am proposing to make this major version 5, so that everyone can decide when they want to upgrade.

@phil-davis phil-davis merged commit 2533eb0 into sabre-io:master Jul 7, 2026
6 checks passed
@phil-davis phil-davis deleted the prepare-5.0.0 branch July 7, 2026 03:30
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