Repository navigation
feat!: move to Laravel 12 and core-api 2.0 - #173
Merged
Merged
Conversation
Pins every diffIn* call as an explicit absolute or signed integer so results read the same on Carbon 2 and 3. Carbon 2 values are unchanged; tests pin direction and type at the priority sites.
Laravel 11+ ships a native Request::array(), which wins over core-api's macro of that name and stops it splitting comma-separated values. Needs core-api with inputArray.
…re-api is on Laravel 12
This was referenced Nov 6, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves the server package to Laravel 12 for the next minor release, v0.5.0, into
release/v0.5.0. It goes with fleetbase/fleetbaserelease/v0.8.0.What changed
fleetbase/core-api^2.0, replacing the old range. Alsofleetbase/fleetops-api^0.7.0.illuminate/*andlaravel/framework^12.69, PHP^8.2, plus the dependency majors that go with core-api 2.0 where this package uses them: fcm^5.1, apn^5.5, twilio channel^4.1, milon/barcode^13, geocoder-laravel^13, cknow/laravel-money^8, Sanctum^4.^3(PHPUnit 11), Testbench^10, collision^8, var-dumper^7, PHPStan^2/ Larastan^3where used.composer auditon this branch reports no advisories, and there is nopolicy.advisoriesoraudit.ignore. The one remaining audit note is the abandonedhammerstone/fast-paginate, which core-api requires.sendNow($notifiables, $notification, ?array $channels = null)(5 fakes).path(),putFile()andputFileAs().pest-bootstrap.phpsets the ISO currency list for cknow/laravel-money 8.policy.advisoriesignore for the illuminate/mail advisory from composer.json.Prep work merged in
inputArrayrename), merged in here; merge them first and this diff shrinksdiffInchanges (carried here)The branch head is the complete Laravel 12 state, ready to link locally.
Depends on, in merge order
release/v0.5.0→main.CI stays red until those are tagged, because Composer can't resolve
fleetbase/core-api ^2.0or the extension versions above from Packagist yet. The fork packages core-api needs are released: laravel-mysql-spatial 2.0.0, twilio 6.0.0 and countries 0.9.0.Tested locally
Against core-api#333 (
feat/laravel-12) through a Composer path repository, with the sibling extension branches linked the same way, on PHP 8.2 and Laravel 12.71.composer audit: no advisories.Not run
Do not merge before core-api v2.0.0 is tagged.