Skip to content

Releases: jolicode/castor

v0.15.0

03 Apr 15:06
9145740
Compare
Choose a tag to compare

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 on AsTask 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 by castor: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 of Context::withWorkingDirectory() by @lyrixx in #316
  • Deprecate path argument in capture(), exit_code(), run(), with() in favor of workingDirectory by @lyrixx in #316
  • Deprecate Castor\TaskDescriptorCollection in favor of Castor\Descriptor\TaskDescriptorCollection
  • Deprecate Castor\HasherHelper in favor of Castor\Castor\HasherHelper
  • Deprecate Castor\PathHelper in favor of Castor\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

Full Changelog: v0.14.0...v0.15.0

v0.14.0

08 Mar 09:43
a3f8467
Compare
Choose a tag to compare

What's Changed

Features

Documentation

  • Add a new open source project using Castor in the documentation by @pyrech in #312

New Contributors

Full Changelog: v0.13.1...v0.14.0

v0.13.1

27 Feb 10:18
0f4549c
Compare
Choose a tag to compare

What's Changed

  • Avoid internal deprecation when calling with() without a context by @lyrixx in #296
  • Fix instruction for downloading new castor version as a phar by @lyrixx in #298

Full Changelog: v0.13.0...v0.13.1

Release v0.13.0

23 Feb 09:59
bc667be
Compare
Choose a tag to compare

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

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

06 Feb 11:08
84fbf7e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.12.0...v0.12.1

v0.12.0

06 Feb 10:07
e07a221
Compare
Choose a tag to compare

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 to 24 hours
  • Revise the usage of the terms command and task for consistency through code and docs.
  • [BC Break] Remove callable $responseChecker parameter from wait_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

11 Jan 16:17
1ff3f1a
Compare
Choose a tag to compare

What's Changed

  • Tweak run documentation because it mention others functions too by @pyrech in #229
  • Add example links in documentation by @Korbeil in #228
  • Fix issue when using ContextRegistry::getCurrentContext() without setting first a context by @lyrixx in #232

Full Changelog: v0.11.0...v0.11.1

v0.11.0

11 Jan 14:54
Compare
Choose a tag to compare

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 and AsContext attributes by @lyrixx in #220
  • Allow usage of force in fingerprint() + fix cache with new path for fingerprint tests by @TheoD02 in #215

Documentation

Internal

New Contributors

Full Changelog: v0.10.0...v0.11.0

v0.10.0

14 Nov 10:09
02bc880
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.9.1...v0.10.0

v0.9.1

09 Oct 20:55
2a0bb31
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.9.0...v0.9.1