Skip to content

fix(init): default compat to console 0.8+ and core-api 2.x - #15

Merged
roncodes merged 1 commit into
release/v2.0.0from
fix/init-default-compat
Nov 19, 2026
Merged

roncodes merged 1 commit into
release/v2.0.0from
fix/init-default-compat

Conversation

@roncodes

Copy link
Copy Markdown
Member

flb init wrote compat as console >=0.7.0 <0.8.0 and api ^1.6. A freshly scaffolded extension was therefore incompatible with every Laravel 12 instance (console 0.8.x, core-api 2.x) that registry v2 serves.

Found while setting up local e2e. The new defaults are console >=0.8.0 <0.10.0 and api ^2.0; --console and --api still override them.

Tests: npx vitest run passes. The e2e script's compat assertion is updated to match.

The scaffold defaulted to console >=0.7.0 <0.8.0 and core-api ^1.6, so a fresh
extension was incompatible with every Laravel 12 instance (console 0.8.x, core-api
2.x) that registry v2 serves.
@roncodes
roncodes merged commit bd0b411 into release/v2.0.0 Nov 19, 2026
5 checks passed
@roncodes
roncodes deleted the fix/init-default-compat branch November 19, 2026 10:38
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