Skip to content

Releases: jolicode/castor

Release v0.18.2

03 Sep 12:27
Compare
Choose a tag to compare

What's Changed

  • Do not build static-darwin-arm64 binary anymore (may be temporary) by @lyrixx in #515
  • Fix buildchain by @lyrixx in #516

Full Changelog: v0.18.1...v0.18.2

Release v0.18.1

03 Sep 08:57
2fd7484
Compare
Choose a tag to compare

What's Changed

Fixes

  • Fix BC layer for fingerprint() function by @lyrixx in #514
  • Fix repack command work without .castor folder by @arnolem in #513

Full Changelog: v0.18.0...v0.18.1

Release v0.18.0

27 Aug 09:30
8dc9ad1
Compare
Choose a tag to compare

What's Changed

Features

Fixes

  • Fix completion when update is available (issues/475) by @arnolem in #476
  • Force including .castor directory in repack by @joelwurtz in #485

Deprecations

  • Deprecate parameters in run function that are in context by @joelwurtz in #483
  • Deprecate suggestedValues property in favor of autocomplete by @pyrech in #508

Internal

Documentation

New Contributors

Full Changelog: v0.17.1...v0.18.0

Release v0.17.1

31 May 08:42
feb5423
Compare
Choose a tag to compare

What's Changed

  • Better 404 in the documentation website by @pyrech in #469
  • Display more info about failed process with -v flag by @lyrixx in #462
  • Fix update instruction by @lyrixx in #471

Full Changelog: v0.17.0...v0.17.1

Release v0.17.0

27 May 15:34
21e83f6
Compare
Choose a tag to compare

What's Changed

Features

  • Add SplFileInfo to the stubs by @lyrixx in #466
  • Add Castor\Event\AfterBootEvent to perform action when the application is ready by @lyrixx in #468

Fixes

  • Map console verbosity level to default context, even when no context is defined by @lyrixx in #465

Full Changelog: v0.16.0...v0.17.0

Release v0.16.0

22 May 16:11
1f6646d
Compare
Choose a tag to compare

What's Changed

Features

  • SSH

    • Internal refacto of SSH functions by @pyrech in #380
    • Allow SSH connection without specifing user and mark SSH features as stable by @pyrech in #381
    • Add ?callable $callback = null param to ssh_* functions by @tigitz in #418
  • Add context() function in expression language to enable a task by @lyrixx in #389

  • Notification

    • Better handle notification errors by @pyrech in #414
    • Change the behavior of notify parameter in context to default to null by default by @TheoD02 in #449
    • Add possibility to use custom title for notification by @TheoD02 in #443
  • Display downloader progress when running list command in txt format by @pyrech in #435

  • Enable 'filter' extension by default when compiling by @lyrixx in #420

  • Display an ASCII logo by @pyrech in #447

  • Make -vvv a bit less verbose by @pyrech in #448

  • Better log output in debug mode (-vvv) by @lyrixx in #453

  • Add http_download function to simplify downloading files by @tigitz in #433

  • Generate stubs in same location where castor.php is located by default by @TheoD02 in #457

  • Totally reworked the import feature. Castor now use special castor.composer.json file to handle imports. This fixes many bugs and issues with the previous:

    • Import and load task from remote import automatically by @lyrixx in #383
    • Allow to use imported class in task from remote import by @lyrixx in #403
    • Use composer as deps instead of looking for the phar by @joelwurtz in #406
    • Use a composer file directly by @joelwurtz in #419
    • Fix castor composer init by @lyrixx in #425
    • Require autoload after composer install and before import by @joelwurtz in #426
    • Use composer.lock hash to know if we should install packages or not by @lyrixx in #427
    • Fixed import of remote packages when a file is specified by @lyrixx in #455
    • Fix import of task when remote import used by @TheoD02 in #394
    • Fix(composer): remove self update command from composer when added by @joelwurtz in #429
    • Add --no-interaction flag to composer run method by @TheoD02 in #411

Fixes

Deprecations

  • Deprecate Castor\GlobalHelper class. There are no replacements. Use raw functions instead
  • Deprecate AfterApplicationInitializationEvent event. Use FunctionsResolvedEvent instead
  • Deprecate request() in favor of http_request() for consistency with newly introduced http_* function

Internal

Documentation

  • Fix typo in context doc by @pyrech in #391
  • Tweak real-world examples in documentation by @pyrech in #415
  • Group installation instructions in tabs by @pyrech in #417
  • Rework the changework by @lyrixx in #431
  • Fix typo in documentation by @pyrech in #434
  • Highlight io() function from the documentation beggining by @pyrech in #436
  • Highlight fs() function from the documentation beggining by @pyrech in #437
  • Add monsieurbiz/SyliusPluginMaker to the examples by @pyrech in #439
  • Add jolitypo demo build tasks to the examples by @pyrech in #440
  • Ensure reference documentation is up to date by @pyrech in #452
  • Update real-world examples by @pyrech in #460

Full Changelog: v0.15.0...v0.16.0

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