[go: up one dir, main page]

Skip to content

Releases: jolicode/castor

Release v0.20.0

13 Nov 14:24
002d395
Compare
Choose a tag to compare

What's Changed

Features

  • When guard min is used force fetching the last version to display more information for user by @joelwurtz in #558
  • Add support for PHP 8.4 by @lyrixx in #560
  • Allow to define a default task by @joelwurtz in #559

Fixes

  • Revert "Do not boot the kernel when using composer command" by @lyrixx in #564

Documentation

  • Add some documentation about stubs and phpstan by @pyrech in #557

Internal

Full Changelog: v0.19.1...v0.20.0

Release v0.19.1

04 Nov 10:05
158b785
Compare
Choose a tag to compare

What's Changed

  • Fix broken stubs because of the missing GetRawTokenTrait definition by @iNem0o in #551
  • Fix stubs to better support templates phpdoc and clean stubs file by @pyrech in #552
  • Fix deprecated run() usage in SshRunner by @iNem0o in #554

New Contributors

Full Changelog: v0.19.0...v0.19.1

Release v0.19.0

29 Oct 14:04
18e6ba0
Compare
Choose a tag to compare

What's Changed

Features

  • Add Context::withVerboseArguments() method to pass verbose arguments to the underlying process when needed by @joelwurtz in #507
  • Add support for custom php.ini in compile command by @lyrixx in #526
  • Do not validate commande options/args as soon as `#[AsRawTokens] is used by @lyrixx in #528
  • Update all PHP vendor by @pyrech in #529
  • Add partial support for PHP 8.4 (ssh_() functions are not supported yet) by @lyrixx in #542

Fixes

  • Re-active static-darwin-arm64 binary build by @ptondereau in #531
  • Fix stubs generation to use fully qualified class names even in phpdoc by @pyrech in #536

Vendor

  • Update SPC version to v2.3.5

New Contributors

Full Changelog: v0.18.2...v0.19.0

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