Skip to content

[4.x] Remove toStringFormat handling for Carbon 2#201

Merged
duncanmcclean merged 2 commits intomasterfrom
drop-carbon-2-support
May 1, 2025
Merged

[4.x] Remove toStringFormat handling for Carbon 2#201
duncanmcclean merged 2 commits intomasterfrom
drop-carbon-2-support

Conversation

@duncanmcclean
Copy link
Copy Markdown
Member

This pull request removes the toStringFormat handling for Carbon 2, which is no longer supported in Statamic 6.

Related: statamic/cms#11500

@duncanmcclean duncanmcclean merged commit 08e44b1 into master May 1, 2025
29 checks passed
@duncanmcclean duncanmcclean deleted the drop-carbon-2-support branch May 1, 2025 09:51
jesseleite added a commit that referenced this pull request Jul 18, 2025
* Require statamic/cms dev-master for now

We can change this to `^6.0` when an alpha/beta is tagged.

* [4.x] Drop Laravel 10 Support (#200)

* Remove Testbench 8 from composer.json

* Remove PHPUnit 10

* Remove Laravel 10 and PHP 8.1 from testing matrix

* Remove toStringFormat handling for Carbon 2 (#201)

* [4.x] Improved Timezone Handling (#197)

* Take the "display timezone" into account when setting Carbon string format

* Use `Statamic::displayTimezone()`

* Add config to enforce trailing slashes during generation.

* Fix for 404 not generating.

* Assemble absolute URL instead.

* Fix `is404()` logic for hardcoded 404.html destination.

* Handle config (tests still wip).

* Add basic test coverage for generated URLs.

* Add test coverage for our 404 fix.

* Remove experimental note. We can just fix bugs as they're reported.

* Temporary composer constraint until we tag Statamic v6.

---------

Co-authored-by: Duncan McClean <duncan@duncanmcclean.com>
duncanmcclean added a commit that referenced this pull request Sep 22, 2025
* Require statamic/cms dev-master for now

We can change this to `^6.0` when an alpha/beta is tagged.

* [4.x] Drop Laravel 10 Support (#200)

* Remove Testbench 8 from composer.json

* Remove PHPUnit 10

* Remove Laravel 10 and PHP 8.1 from testing matrix

* Remove toStringFormat handling for Carbon 2 (#201)

* [4.x] Improved Timezone Handling (#197)

* Take the "display timezone" into account when setting Carbon string format

* Use `Statamic::displayTimezone()`

* Add config to enforce trailing slashes during generation.

* Fix for 404 not generating.

* Assemble absolute URL instead.

* Fix `is404()` logic for hardcoded 404.html destination.

* Handle config (tests still wip).

* Add basic test coverage for generated URLs.

* Add test coverage for our 404 fix.

* Remove experimental note. We can just fix bugs as they're reported.

* Temporary composer constraint until we tag Statamic v6.

---------

Co-authored-by: Duncan McClean <duncan@duncanmcclean.com>
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