All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Recursively replace config hooks. This means you can add hooks to a server config without needing to replicate common hooks.
- Laravel 11 support
- Dropped PHP 8.1 support
Removed the spatie/laravel-data
package as we don't actually use it.
Fixed a bug in the PHP flags config.
- Added a
extra.php-flag
config option. - The
-dallow_url_fopen=1
flag is now included by default every time the PHP binary is used. No need to modify your composer flags or PHP flags. - Some documentation updates.
- Fixes to composer dependency install.
- A small update to fix an irritating Composer install problem.
- Dependency update.
- Pass
-dallow_url_open=1
to the PHP cli when installing composer.
Simple one: Laravel 10 support.
This release fixes a number of small bugs that crept into the v1.0 release, mainly around the placement of the composer.phar
executable.
- The composer install location will now correctly default to the project root.
- The base directory config should be "root" and not "path". There were some basic config changes that didn't make it into the previous release.
- Added test support for PHP 8.2.
This is just a quick fix for the config validation. Hooks arrays should be nullable.
First beta release for version 1.
- There are some config changes (the most important being the renaming of
path
asroot
). - A
@release
tag has been added for use in hook scripts. - There's also been some refactoring.
- Documentation has been updated with the changes.
- Includes a new
extra
target settings which can be used to pass additional information to the target. For now, onlycomposer-flag
is supported. - Documentation has been updated.
See the Extra options documentation here.
- Fixed a bug in the
deploy.blade.php
script introduced with the target server name change.
- Updated
composer.json
script to place config correctly. - Updated
publish
command to support the Envoy script. - Renamed the
live
server totarget
in the Envoy script. - A few updates to the documentation
Just a small release is update the version of spatie/laravel-data
.
- Added a
releases:list
command - Added a
releases:set
command - Added a
releases:rollback
command - Fixed a bug in the text expander for hooks.
This version brings basic tag expansion to the hooks system. You can now use things like @php
or @artisan
. The hooks have also been updated a little to ensure that remote hooks run from the project root by default.
The dedicated documentation page is now live at https://tpg.github.io/platoon.
Removed the 60 second timeout for the deploy
and cleanup
commands.
Fixed a bug in the Envoy script that was causing problems with the Install hook.
There's plenty of changes with this version.
- Added a new "hooks" system. Hooks are run AFTER any of the default stuff. If you need more control than what the hooks provide, then public the Envoy script and modify that.
- There's a few tests now using PestPHP 🤸🏼♀️
- The
platoon:finish
command has been removed as it's no longer needed. There is a "finish" hook if you need anything complex. - Use the "build" hook to add a build task without needing to publish the Envoy script.
First official release!
There's plenty of stuff to come and we'll eventually replicate most of the features that Attaché provided. For now, you can use Platoon to get your deployments going. And since it's based on Laravel Envoy, it's easy to customise as needed.
- Multiple target server support
- Common deployment command
- Release clean up command