Skip to content

Release 1.3.0 - #115

Merged
james-gornell merged 1 commit into
masterfrom
release/1.3.0
Aug 21, 2026
Merged

james-gornell merged 1 commit into
masterfrom
release/1.3.0

Conversation

@alphadp

@alphadp alphadp commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

The Zip Merchant API library now comes from Composer instead of a copy in the tree. MerchantApi/ is gone — 47 files — and composer.json requires zipmoney/merchantapi-php ^1.0.24 instead.

This changes how the module is installed. A checkout now needs composer install before the module will load, which is why the minor moves rather than the patch.

Also in this release

  • The Content Security Policy whitelist allows the hosts the Zip widget actually loads from. The widget is code-split and pulls its chunks from bpi.zip.co, which the old list did not cover, so the banner and "Learn More" died on a blocked chunk. connect-src, style-src and font-src are added too, from violations Magento was already reporting.
  • The manifest no longer carries an autoload rule that resolved nothing (Zip\ZipPayment\Tests\ — the tests declare Test, without the s) or minimum-stability: dev.

Releases

.github/workflows/release.yml builds the Composer package on a tag: composer.json at the root, no vendor/, the library declared as a dependency. That is the shape Adobe Commerce Marketplace requires and the shape composer require understands.

One commit, not the upstream history

This repository is public. The internal GitLab CI definitions and the QA store tooling are not published here — they stay in the private repository — so this arrives as a single commit rather than a replay of that history.

.gitlab-ci.yml, pipelines/ and build.xml are removed for the same reason: the first two describe internal CI and name an internal project, and build.xml names an internal S3 bucket and has been replaced by the release workflow.

Verification

Built the release archive from the tag and installed it from a Composer artifact repository:

- Locking zip/magento2 (1.3.0)
- Locking zipmoney/merchantapi-php (1.0.24)

php -l across the installed module on PHP 8.1: 62 files, no errors. Deployed to the QA store and ran a checkout through to Zip's hosted page.

The Zip Merchant API library now comes from Composer instead of a copy in the tree.
MerchantApi/ is gone — 47 files of it — and composer.json requires
zipmoney/merchantapi-php ^1.0.24 instead. A checkout therefore needs
`composer install` before the module will load, which is why the minor moves rather
than the patch.

Beyond that: the Content Security Policy whitelist now allows the hosts the Zip
widget actually loads from, so the banner and "Learn More" render again instead of
dying on a blocked chunk; the manifest no longer carries an autoload rule that
resolved nothing or minimum-stability: dev; and line endings are pinned so the
release archive comes out identical no matter which machine builds it.

The release workflow builds the Composer package — composer.json at the root, no
vendor/ — which is the shape Adobe Commerce Marketplace requires and the shape
`composer require` understands.

See CHANGELOG.md for what each change means.

One commit rather than the upstream history: this repository is public, and the
internal GitLab CI definitions and QA store tooling are not published here. They
stay in the private repository.
@james-gornell
james-gornell merged commit d15cf0e into master Aug 21, 2026
1 check passed
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.

3 participants