Skip to content

Releases: packstub/partisan

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 17 Sep 10:22
  • README: the AI coding agents section reports the Claude Code benchmark (Partisan 0.4.0, Claude Fable 5.1, five runs per task): a Filament resource in 10 turns / $0.30 with agent mode against 18 / $0.85 by hand, with a link to the write-up on packstub.dev.
  • --fields on make:model, make:migration and make:factory (#19): name:type[(args)][:modifier][=default] with Blueprint column types writes $fillable and casts() on the model, the column lines in the migration and a definition() in the factory, so the three files agree without an edit. Foreign keys (user_id:foreignId, author_id:foreignIdFor(User)) and morphs (commentable:morphs) add the constrained column, a belongsTo / morphTo method and a related factory; User with no package class resolves through config('auth.providers.users.model'), unresolved package classes are reported (unresolved[n] in agent mode). The AGENTS.md recipe for make:model carries the spec.

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 16 Sep 13:02
  • The AGENTS.md section from partisan:install --agents carries recipes, not just a pointer: the exact make:model, make:command --command=<prefix>:… and make:filament-resource --generate --panel=<id> invocations with the files each one writes and which of them to edit, tailored to the package (namespace, command prefix, first Filament panel, Filament recipe only when the generator exists).
  • Agent mode: make:<name> --help prints the generator's own arguments and options only (usage:, arguments[n]:, options[n]:), without the framework-wide options, and an input error (unknown option, missing argument) is followed by that same usage so the retry needs no separate --help run. The help[1] hint after a generator is dropped when the command failed.

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 16 Sep 11:30
  • partisan:check (#10) boots the package and reports, one pass/fail line each, the providers from composer.json, the commands and routes the package registers, Filament panels with their resource and page counts, the migrations applied to an in-memory SQLite, pint --test on src/ and database/, and whether every class under the package paths (plus database/factories and database/seeders) is autoloadable. Exit code 1 when anything fails; agent mode prints help[n] lines with the fix for each failure.
  • Files a generator creates or updates are formatted with the package's own Pint (vendor/bin/pint, with the package's pint.json) before they are reported (#9), so a declare_strict_types rule, import order and docblock class names match the package from the start. Silent when Pint is not installed; PARTISAN_PINT=0 opts out.
  • make:filament-resource --generate (and every other make:filament-* generator run with --generate) works in a package (#8): the package's migrations are applied to an in-memory SQLite connection before the generator runs, so the form schema and table columns come out populated from the model's columns. Nothing is written to disk.
  • Agent mode (#5): when an AI coding agent runs partisan (detected with laravel/agent-detector, forced with PARTISAN_AGENT=1, disabled with PARTISAN_AGENT=0) commands never prompt, drop ANSI, and end with the files they created and updated (created[6]:updated[1]: …, created[0]: no files written when a generator did nothing) plus a help[] hint; partisan with no command shows a package dashboard instead of the command list.
  • partisan:install --agents (#6) appends an "Artisan generators" section to AGENTS.md (or CLAUDE.md when that is the only instructions file) so agents run php artisan make:… instead of writing scaffolding by hand.
  • Dev: laravel/pao for agent-optimized Pest output when working on partisan with an AI agent.

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 07 Sep 08:47
  • Requires PHP 8.3 or newer (was 8.2). Orchestra Testbench 11 and Canvas 11, which Partisan builds on, already need 8.3, and the test suite runs on 8.3, 8.4 and 8.5.

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 04 Sep 12:03