Releases: jolicode/castor
Release v0.21.0
What's Changed
Features
- Better search for exception origin by @lyrixx in #570
- Better rendering of run errors by @lyrixx in #571
- Add
check()
function to ensure requirements are met by @lyrixx in #573 - Add official support strings and var-dumper functions by @pyrech in #575
Internal
- Rework the releasing by @lyrixx in #569
- Rework our examples by @lyrixx in #572
- Fix exception handle by @lyrixx in #574
Full Changelog: v0.20.0...v0.21.0
Release v0.20.0
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
Documentation
Internal
Full Changelog: v0.19.1...v0.20.0
Release v0.19.1
Release v0.19.0
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
- @xavierlacot made their first contribution in #545
- @Nek- made their first contribution in #543
Full Changelog: v0.18.2...v0.19.0
Release v0.18.2
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
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
What's Changed
Features
- Introduce CommandBuilderInterface to allow writing a command with a better DX by @joelwurtz in #486
- Add Context::toInteractive() by @lyrixx in #491
- Add context created event by @joelwurtz in #474
- Allow to execute a phar without conflicts by @joelwurtz in #478
- Add id for fingerprint to avoid wrong bad cache hit by @joelwurtz in #494
- Add sane defaults for composer init by @joelwurtz in #502
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
- Update phpstan and remove useless ignore by @joelwurtz in #479
- Update spc by @joelwurtz in #484
- Update SPC version by @lyrixx in #492
- Update PHP Vendor by @lyrixx in #490 and #499
- Update vendor + some fixes by @lyrixx in #504
- Fix building amd64 binary for macos by @joelwurtz in #493
- Fix CS by @lyrixx in #501
- Update qa tools and run them by @joelwurtz in #497
- Prepare release v0.18.0 by @pyrech in #510
Documentation
- Add doc about using setup castor in github action by @joelwurtz in #480
- Document CASTOR_CONTEXT env var by @pyrech in #487
- Add --since 0 to wait_for_docker_container_task example by @YannCharlou-CleverAge in #498
- Fix --since to wait_for_docker_container_task example by @YannCharlou-CleverAge in #500
- Fix return type in example by @dantleech in #505
New Contributors
- @arnolem made their first contribution in #476
- @YannCharlou-CleverAge made their first contribution in #498
- @dantleech made their first contribution in #505
Full Changelog: v0.17.1...v0.18.0
Release v0.17.1
Release v0.17.0
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
Full Changelog: v0.16.0...v0.17.0
Release v0.16.0
What's Changed
Features
-
SSH
-
Add
context()
function in expression language to enable a task by @lyrixx in #389 -
Notification
-
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
-
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
- Fix multiple remote imports with default version by @pyrech in #386
- Fix phar by @lyrixx in #402
- Fix deprecation message about context->path by @pyrech in #401
- Fix imported package on repack by @joelwurtz in #438
- Fix root location when repacking application by @lyrixx in #450
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
- Add symfony/dependency-injection to manage the DI by @lyrixx in #376
- Clean application boot by @lyrixx in #378
- Clean the DI layer by @lyrixx in #379
- Fix our test suite by @lyrixx in #384
- random fix by @lyrixx in #392
- Tests stuff by @pyrech in #393
- Make some tests less sensible to user environment by @joelwurtz in #399
- Refactor the whole application kernel by @lyrixx in #396
- Add a flag to reset vendor for some tests if needed by @joelwurtz in #407
- Use a different cache directory for tests by @pyrech in #408
- Fix macos static builds by @tucksaun in #413
- Upgrade
php-cs-fixer
to3.54.0
for following CI version by @TheoD02 in #423 - Use a fixed version for spc, allow to choose which version to use by @joelwurtz in #421
- Code grooming by @lyrixx in #424
- Do not boot the kernel when using composer command by @lyrixx in #428
- Update JoliNotif and vendors by @pyrech in #451
- Update all the things by @lyrixx in #454
- Update tools (
php-cs-fixer
andphpstan
) and fixes errors by @TheoD02 in #458 - Fix GA static build by @pyrech in #459
- Update spatie/ssh package by @pyrech in #387
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