Skip to content

Require the stable setono/quickpay-php-sdk 1.0.0 - #56

Merged
loevgaard merged 1 commit into
2.xfrom
chore/sdk-stable
Aug 10, 2026
Merged

Require the stable setono/quickpay-php-sdk 1.0.0#56
loevgaard merged 1 commit into
2.xfrom
chore/sdk-stable

Conversation

@loevgaard

Copy link
Copy Markdown
Member

setono/quickpay-php-sdk went stable, so the constraint drops from ^1.0@beta to a plain ^1.0.

What this actually unblocks

The version bump is the small part. "minimum-stability": "beta" is no longer needed at all — that
requirement has been in the installation instructions since the SDK adoption and was the one piece of
friction a consuming project could not avoid.

Verified rather than assumed, with a clean install in an empty project:

require: {"setono/quickpay-php-sdk": "^1.0"}
→ resolved with default (stable) settings: v1.0.0
  • The README note is removed outright.
  • docs/UPGRADE-2.0.md now says the flag can be dropped again if it was only ever added for the SDK.
  • CLAUDE.md keeps only the part of the pre-release history that still explains something — namely why
    the constraint used to be so specific (the gateway cannot run on alpha.1 and breaks on alpha.1–2), and
    notes that ^1.0 excludes pre-releases outright so that concern is retired.

No code change

1.0.0 is beta.2 plus packaging: a lean dist (CLAUDE.md, examples/ and .env.local.example are
now export-ignored, so composer require ships only LICENSE, composer.json and src/), a docblock
correction, and CI tidying. No API change.

Confirmed with the full suite and a live e2e:smoke against the real API on 1.0.0.

Note on --prefer-lowest

^1.0 excludes pre-releases, so the lowest-resolution CI jobs now install 1.0.0 rather than a beta.
That ends the both-betas coverage from #51, which is the correct trade — there is no longer any reason
for a consumer to be on a pre-release.

Verified

226 tests, PHPStan level 8, ECS, composer normalize, dependency-analyser, mutation testing at
82% MSI / 83% covered, plus the live smoke run.

The SDK went stable today, so the constraint drops from ^1.0@beta to a plain ^1.0.

The change that matters to consumers is not the version — it is that
"minimum-stability": "beta" is no longer needed at all. That requirement has been
in the installation instructions since the SDK adoption, and it was the one piece
of friction a project could not avoid. Verified with a clean install in an empty
project: `composer require setono/quickpay-php-sdk: ^1.0` resolves v1.0.0 with
default settings and no stability flags. The note is removed from the README, the
upgrade guide now says the flag can be dropped again, and CLAUDE.md keeps only the
part of the pre-release history that explains anything.

1.0.0 itself is beta.2 plus packaging fixes — a lean dist (export-ignored CLAUDE.md
and examples/), a docblock correction and CI tidying. No API change, so no gateway
code changed. Verified with the suite and a live smoke run against the real API.

^1.0 also excludes pre-releases outright, so --prefer-lowest now resolves 1.0.0
rather than a beta.
@codecov

codecov Bot commented Aug 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.43%. Comparing base (994de38) to head (4d2dc03).

Additional details and impacted files
@@            Coverage Diff            @@
##                2.x      #56   +/-   ##
=========================================
  Coverage     97.43%   97.43%           
  Complexity      126      126           
=========================================
  Files            14       14           
  Lines           351      351           
=========================================
  Hits            342      342           
  Misses            9        9           

☔ 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.

@loevgaard
loevgaard merged commit 6122f5f into 2.x Aug 10, 2026
21 checks passed
@loevgaard
loevgaard deleted the chore/sdk-stable branch August 10, 2026 13:24
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