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