Skip to content

Comments

HOTFIX: update on 3.3.7#90

Merged
sifex merged 8 commits intoPlatformCommunity:masterfrom
chrispage1:feature/temporary-urls
Jan 23, 2026
Merged

HOTFIX: update on 3.3.7#90
sifex merged 8 commits intoPlatformCommunity:masterfrom
chrispage1:feature/temporary-urls

Conversation

@chrispage1
Copy link
Contributor

@chrispage1 chrispage1 commented Jan 23, 2026

@sifex

I noticed this introduced a breaking change whereby it was accepting three constructor parameters.

This fix rolls back on that slightly and instead accepts a method to set the signing key

sifex and others added 3 commits January 23, 2026 14:08
Rolled back on adding an additional constructor to ensure backwards compatibility
# Conflicts:
#	src/BunnyCDNAdapter.php
#	tests/FlysystemAdapterTest.php
#	tests/PrefixTest.php
@chrispage1 chrispage1 force-pushed the feature/temporary-urls branch from bddbbad to a8d09af Compare January 23, 2026 14:14
@chrispage1 chrispage1 changed the title FIX: rollback on 3.3.7 HOTFIX: update on 3.3.7 Jan 23, 2026
@chrispage1
Copy link
Contributor Author

@sifex

Not sure what is going on with the tests as passing locally. It seems like the tests are retaining some old tests which are no longer present?

./vendor/bin/phpunit
PHPUnit 12.5.6 by Sebastian Bergmann and contributors.

Runtime:       PHP 8.4.16 with PCOV 1.0.12
Configuration: /Users/motocom/Sites/packages/flysystem-bunnycdn/phpunit.xml

.....................                                             21 / 21 (100%)

Time: 00:00.062, Memory: 20.00 MB

OK (21 tests, 60 assertions)

Generating code coverage report in Clover XML format ... done [00:00.001]

Generating code coverage report in HTML format ... done [00:00.022]

@sifex
Copy link
Collaborator

sifex commented Jan 23, 2026

No problems, thanks for the hotfix, I yanked 3.3.7, so feel free to have time to get all tests passing and I'll merge in and publish a 3.3.8 😊

@sifex
Copy link
Collaborator

sifex commented Jan 23, 2026

Hmm, let me check the tests

Copy link
Collaborator

@sifex sifex left a comment

Choose a reason for hiding this comment

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

I've added the fix for the CI failures:

Changes:

  • Updated PHPUnit from @stable to ^10.0 for consistency (Comment annotations got removed in PHP Unit 12)
  • Added conditional skip for generating_a_temporary_url() test in mock environments
  • Updated the PHP version's to match 2026 compat: https://www.php.net/supported-versions.php

@sifex
Copy link
Collaborator

sifex commented Jan 23, 2026

Lmk if you're happy with the PR and I'll merge 😊

@chrispage1
Copy link
Contributor Author

chrispage1 commented Jan 23, 2026

Ah great stuff! I'm happy now. I wrote a new test suite for temporary just to avoid any confusion! Sorry for the bad PR initially!

@sifex
Copy link
Collaborator

sifex commented Jan 23, 2026

Hang on, sorry, one more, can probably bring your tests back now.

@sifex sifex merged commit 021865c into PlatformCommunity:master Jan 23, 2026
4 checks 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.

2 participants