Releases: jolicode/castor
Releases · jolicode/castor
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
v0.9.0
What's Changed
Features
- Add files fingerprint for tasks execution flow by @TheoD02 in #162
- Add
-c
option tocastor
command to specify a context by @lyrixx in #187 - Better handle default Symfony commands when no castor file by @pyrech in #175
Minor
- use $HOME/.cache/castor directory as default cache directory by @joelwurtz in #182
- Add some color in the section output by @lyrixx in #170
- fix phar releasing by @lyrixx in #173
Documentation
- Add install examples for macos/windows in the documentation by @pyrech in #180
- Fix typo on timeout documentation by @pyrech in #172
- Add run timeout documentation by @Korbeil in #171
- Fix CHANGELOG.md by @pyrech in #176
- Fix installation instruction by @pyrech in #181
- Tweak fingerprint documentation by @pyrech in #185
- Update 06-helper.md by @tacman in #186
New Contributors
Full Changelog: v0.8.0...v0.9.0
v0.8.0
What's Changed
- Add
request()
andhttp_client()
functions to make HTTP requests - Add support for disabling task dynamically
- Add a
with
function to run logic with a specific context or parameters
without passing them to eachrun
or other functions - Allow to get a context by its name using
$fooContext = context('foo')
- Experimental display with sections, allow better output when using parallel
function, enable it by by usingCASTOR_USE_SECTION=true castor [task]
- Display more information when running a process
- Rename
get_exit_code()
toexit_code()
- Rename
get_context()
tocontext()
- Rename
get_input()
toinput()
- Rename
get_output()
tooutput()
- Rename
get_application()
toapp()
- Rename
get_command()
totask()
- Fix parallel when one of the callback fails, wait for the others to finish to
throw exception
Full Changelog: v0.7.1...v0.8.0