Releases: jolicode/castor
Releases · jolicode/castor
v0.15.0
What's Changed
Features
- Add support for importing remote functions and tasks by @pyrech in #297
- Add a bash installer to ease installation by @tucksaun in #352
- Distribute static binaries
castor.darwin-arm64
automatically with the release by @tucksaun in #355 - Add support for running Castor on Linux arm64 and distribute the binary
castor.linux-arm64.phar
automatically with the release by @tucksaun in #353 - Add support for mounting another castor app by @lyrixx in #367
- Add an option
ignoreValidationErrors
onAsTask
attribute to ignore parameters & options validation errors by @lyrixx in #322 - Add support for dynamic autocomplete task arguments/options by @pyrech in #343
- Add support for merging an application
box.json
config file used bycastor:repack
command by @SebLours in #318 - Find root directory by looking for a
.castor/castor.php
file by @lyrixx in #361 - Allow stub file to be in
.castor/.castor.stub.php
by @lyrixx in #362
Fixes
- Fix issue on SymfonyTask creation by @lyrixx in #374
- Fix issue when finding root dir on windows by @lyrixx in #370
- Fix issue with PTY on windows, it's now always disabled by @lyrixx in #374
Deprecations
- Deprecate loading all PHP files from
[ROOT_DIR]/castor
- Deprecate
Context::withPath()
in favor ofContext::withWorkingDirectory()
by @lyrixx in #316 - Deprecate
path
argument incapture()
,exit_code()
,run()
,with()
in favor ofworkingDirectory
by @lyrixx in #316 - Deprecate
Castor\TaskDescriptorCollection
in favor ofCastor\Descriptor\TaskDescriptorCollection
- Deprecate
Castor\HasherHelper
in favor ofCastor\Castor\HasherHelper
- Deprecate
Castor\PathHelper
in favor ofCastor\Castor\PathHelper
Documentation
- Add note on installation inside WSL by @pyrech in #334
- Avoid suggesting echo in documentation and examples by @pyrech in #324
- Fix fingerprint documentation by @pyrech in #333
- Fix remote import documentation by @pyrech in #365 and #368
- Replace path argument occurrences in run() documentation by @pyrech in #325
- Reword install documentation and mention static binaries by @pyrech in #323
- Tweak the autocomplete documentation by @pyrech in #350
- Fix dotenv doc by @pyrech in #329
New Contributors
- @SebLours made their first contribution in #318
- @drupol made their first contribution in #320
- @tucksaun made their first contribution in #353
Full Changelog: v0.14.0...v0.15.0
v0.14.0
What's Changed
Features
- Add a
yaml_parse()
+yaml_dump()
functions by @joelwurtz in #299 - Add an
open()
function by @JorickPepin in #310 - Allow
fingerprint()
function to return execution status by @TheoD02 in #303 - Add possibility to recursive merge data in Context by @TheoD02 in #307
- Remove the default timeout of 60s by @damienalexandre in #300
Documentation
New Contributors
- @JorickPepin made their first contribution in #310
Full Changelog: v0.13.1...v0.14.0
v0.13.1
Release v0.13.0
What's Changed
- Add command to build standalone binary by @tigitz in #260
- Rework how the compile command works by @lyrixx in #281
- Build watcher for AMD64 + ARM64 on macOS by @ruudk in #284
- Add console events and new events for processes by @joelwurtz in #290
- Set the process title according to the current application name and task name by @lyrixx in #274
- Rework the way one can programatically add more context generator by @lyrixx in #286
- Fix section output to work on Windows by @pyrech in #275
- Ignore argc & argv env vars in log runnable commands by @pyrech in #271
- Fix
wait_for_http_status
helper throw exception on first response check by @TheoD02 in #272
Documentation changes
- Add a website documentation by @pyrech in #287 - https://castor.jolicode.com/
- Some more documentation stuff by @pyrech in #289
- Update PHP attribute syntax in the documentation by @pyrech in #277
- Sort functions by @lyrixx in #280
- Update watch.md by @ruudk in #285
- Reformulate index note by @Nispeon in #288
- Tweak documentation by @pyrech in #273
- Remove support for installing castor with docker by @lyrixx in #282
- Fix MD link in console-and-io.md by @welcoMattic in #279
- Fix installation link for latest version by @pyrech in #294
Tooling changes
- Do not use pty for more stability in tests by @lyrixx in #276
- Simplify github action cache for compile command by @lyrixx in #278
- Refactor GHA workflow by @lyrixx in #292
- Add support for static binary in GHA by @lyrixx in #291
New Contributors
Full Changelog: v0.12.1...v0.13.0
v0.12.1
v0.12.0
What's Changed
- Add a
debug
command - Add
guard_min_version()
function to ensure a minimum version of Castor is used - Add
wait_for_http_response()
function for a more generic response check - Add
wait_for_docker_container()
function to wait for a docker container to be ready - Add
AsSymfonyTask
attribute to map Symfony Command - Add
Context->name
property (automatically set by the application) - Add an error handler, and wire the logger to it so display deprecation notices
- Edited the duration of update check from
60 days
to24 hours
- Revise the usage of the terms
command
andtask
for consistency through code and docs. - [BC Break] Remove
callable $responseChecker
parameter fromwait_for_http_status()
- [BC Break] The event
AfterApplicationInitializationEvent
second arguments is now a
TaskDescriptorCollection
, and the event is emitted after the context configuration
New Contributors
Full Changelog: v0.11.1...v0.12.0
v0.11.1
v0.11.0
Features
- Add
AsListener
attribute to register an event listener + dispatch important events by @TheoD02 in #221 - Add
wait_for_*
functions for performing check on port, host, http_code by @TheoD02 in #216 and @lyrixx in #223 - Allow to override
AsTask
andAsContext
attributes by @lyrixx in #220 - Allow usage of
force
infingerprint()
+ fix cache with new path for fingerprint tests by @TheoD02 in #215
Documentation
Internal
- [BC Break]Refactor how the application is wired by @lyrixx in #227
- Update to symfony 6.4.* by @lyrixx in #224
- Update dev tools and fix CS by @pyrech in #213 and @lyrixx in #222
- Use OsHelper from jolicode/php-os-helper by @pyrech in #208
- Fix PHAR build by @pyrech in #225
New Contributors
- @jeckel made their first contribution in #203
- @ceciledelmon made their first contribution in #212
- @thedomeffm made their first contribution in #211
Full Changelog: v0.10.0...v0.11.0
v0.10.0
What's Changed
- Add SSH upload and download functions by @pyrech in #191
- Rename
ssh()
tossh_run()
by @pyrech in #191 and #197 - Allow to set default context with an env variable by @joelwurtz in #193
- Update all the things + fix CS fixer config by @lyrixx in #198
Full Changelog: v0.9.1...v0.10.0
v0.9.1
What's Changed
- typo : fix typo on error message in functions.php by @MarionLeHerisson in #189
- Fix application version by @pyrech in #190
New Contributors
- @MarionLeHerisson made their first contribution in #189
Full Changelog: v0.9.0...v0.9.1