v3.4.0
馃ぉ What's New
Better AI guidelines for Laravel Boost (~55% fewer tokens)
We audited the AI context Spin ships to Laravel Boost users against Anthropic's best practices:
- The always-loaded guideline uses ~55% fewer tokens on every prompt. Detailed content moved into the on-demand
spin-laravel-developmentskill, so you only pay for it when you need it. - Guidance no longer assumes you're using our template defaults. Agents are told to check your compose files for service names, versions, ports, and paths.
- Agents are warned that
spin killaffects all containers on the machine and requires confirmation (which hangs automated sessions), and are pointed tospin stoporspin downinstead. - Each command now documents which official Docker Compose options it accepts (
up,down,stop,build,logs,ps,pull,run,exec).
spin stop is now scoped to your project
Previously, spin stop stopped every container on your machine. It now wraps docker compose stop, so it only stops your project's containers and you can bring them back with spin up. You can also pass service names and any docker compose stop options, like spin stop php. If you want to stop everything on your machine, spin kill still does that.
馃悰 Bug Fixes
spin latest nodenow runs commands in your project directory. The volume mount and working directory didn't match, so node/npm commands silently ran in an empty directory.spin pullnow forwards additional options todocker compose pull, as the docs always said it did. For example,spin pull --ignore-pull-failuresnow works.- Fixed the
spin latestno-arguments error message referring tospin new.
馃摎 Documentation
We audited all 26 command reference pages against the actual source code and fixed what didn't match:
spin deploy: the SSH user defaults to the dedicated non-sudodeployuser created byspin provision, not your host username. The docs now explain why. Also fixedSPIN_BUILD_TAG(defaults to a timestamp), the127.0.0.1registry prefix, and removed a variable that was documented but never implemented.spin kill: documents its machine-wide scope and confirmation prompt.spin downandspin exec: removed an incorrect note claiming they don't work on Composer/npm installs, and documented which Docker Compose options they accept.spin initandspin new: documented the required template argument and all four official templates (laravel,laravel-pro,nuxt,skeleton), plus communityusername/repotemplates.spin provisionandspin maintain: added the missing-h|--hostflag to usage examples.- Smaller fixes to the
base64,latest, andhelppages.
馃Ъ Housekeeping
- Removed the outdated
.cursorrulesfile (superseded byAGENTS.md). - Contributor docs now point to
bin/spinfor the current tooling image versions.
Full Changelog: v3.3.0...v3.4.0