Skip to content

V3: Saloon - #14

Merged
mbardelmeijer merged 6 commits into
masterfrom
v3
Aug 15, 2026
Merged

mbardelmeijer merged 6 commits into
masterfrom
v3

Conversation

@mbardelmeijer

@mbardelmeijer mbardelmeijer commented Aug 14, 2026 •

Copy link
Copy Markdown
Member

Note

High Risk
This is a breaking major release that rewrites HTTP, error handling, and consumer-facing types/APIs; downstream apps must follow UPGRADE.md and retest integrations.

Overview
Major v3 release: replaces the Guzzle-based client with a Saloon v4 connector, per-endpoint request classes, and plain DTOs under Dto\ instead of mutable Resources\* models.

Public API changes: list methods (redirects, domains, emailForwards, users, analytics dimensions/raw hits) now return paginated iterables (page-based or cursor-based for raw hits). Updates/deletes and DNS checks move to RedirectPizza client methods (no $model->update() / delete()). Adds coverage for analytics, team/users, redirect pause/resume, domain updates/automatic DNS, and utils (redirect tester, QR). Constructor drops injectable Guzzle client; supports baseUrl and timeoutInSeconds. Errors consolidate to ValidationException and RedirectPizzaException.

Tooling/docs: PHPUnit → Pest, PHP CS Fixer → Pint, adds PHPStan; new GitHub workflows for format fix, static analysis, and updated test matrix. UPGRADE.md documents 2.x → 3.x migration (including Saloon MockClient for tests).

Reviewed by Cursor Bugbot for commit e0889be. Bugbot is set up for automated code reviews on this repo. Configure here.

@mbardelmeijer
mbardelmeijer marked this pull request as ready for review August 14, 2026 16:28

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 010ad20. Configure here.

Comment thread src/RedirectPizza.php
Comment thread .php-cs-fixer.cache Outdated
@mbardelmeijer
mbardelmeijer merged commit a560b05 into master Aug 15, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant