Skip to content

Releases: jolicode/castor

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

v0.9.0

09 Oct 13:30
c9f7d37
Compare
Choose a tag to compare

What's Changed

Features

  • Add files fingerprint for tasks execution flow by @TheoD02 in #162
  • Add -c option to castor command to specify a context by @lyrixx in #187
  • Better handle default Symfony commands when no castor file by @pyrech in #175

Minor

Documentation

New Contributors

Full Changelog: v0.8.0...v0.9.0

v0.8.0

16 Aug 12:52
0d3f005
Compare
Choose a tag to compare

What's Changed

  • Add request() and http_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 each run 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 using CASTOR_USE_SECTION=true castor [task]
  • Display more information when running a process
  • Rename get_exit_code() to exit_code()
  • Rename get_context() to context()
  • Rename get_input() to input()
  • Rename get_output() to output()
  • Rename get_application() to app()
  • Rename get_command() to task()
  • 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

v0.7.1

11 Jul 10:47
2568c29
Compare
Choose a tag to compare

What's Changed

  • Fix the castor --version command when there is no .castor.php file by @lyrixx in #152

Full Changelog: v0.7.0...v0.7.1

v0.7.0

11 Jul 10:21
bd6d6d4
Compare
Choose a tag to compare

What's Changed

  • Add support for re-packing a castor application into a new phar file by @lyrixx in #147
  • fix(update-command-message): follow redirects with curl by @qboot in #150

New Contributors

Full Changelog: v0.6.0...v0.7.0