Releases: lavary/crunz
v1.12.1
v2.0.0
First v2
release 🎉
This release basically removes BC layer from v1.12
, removes some old code and add some strict typing.
There is no new features, it will land in v2.1
.
Minimum required PHP version is 7.2
and required Symfony components version are ^3.4 || ^4.2
, it may seems to be "aggresive" today, but i hope they won't change until Crunz v3
release (around 2021-04).
To ease migration to v2
there is UPGRADE.md file.
Changes:
Changed
- [#101] Throw exception on empty timezone
- [#204] More than five parts cron expressions will throw exception
- [#221] Throw
Crunz\Task\WrongTaskInstanceException
when task is notSchedule
instance - [#222] Make
\Crunz\Event::setProcess
private - [#225] Bump dependencies
Removed
- [#103] Removed
Crunz\Output\VerbosityAwareOutput
class - [#206] Remove legacy paths recognition
- [#224] Remove
mail
transport
PRs:
- [#95] Added timezone option (#94)
- [#100] Upgrade dependencies in v2
- [#101] Throw exception on empty timezone
- [#102] PHP7 migration
- [#107] Do not run tests in unsupported PHP versions
- [#141] Add GitHub issue templates
- [#142] Update issue templates
- [#202] Cleanup dead code
- [#203] Move symfony/debug to dev dependencies
- [#204] More than five parts cron expressions will throw exception
- [#206] Remove legacy paths recognition
- [#221] Throw "Crunz\Task\WrongTaskInstanceException" when task is not "Schedule" instance
- [#222] Make "\Crunz\Event::setProcess" private
- [#223] Remove PHP 5.6 development environment
- [#224] Remove 'mail' transport
- [#225] Bump dependencies
- [#226] Readme improvements
v1.12.0
This is the last minor release of v1.x
branch, from now all new features will go to v2.x
branch.
Bug support for v1.x
will be provided until april 2020.
Upgrade guide is available here: https://github.com/lavary/crunz/blob/1.12.x/UPGRADE.md
Changes:
Added
- [#178], [#217]
timezone_log
configuration option to decide whether
configuredtimezone
should be used for logs, thanks to [@SadeghPM]
Deprecated
- Using
\Crunz\Event::setProcess
is deprecated, this method was intended to beprivate
,
but for some reason ispublic
.
Inv2.0
this method will became private and result in exception if you call it. - [#199] Not returning
\Crunz\Schedule
instance from your task is deprecated.
Inv2
this will result in exception.
PRs:
- [#178] fix incorrect timezone in log files
- [#188] Add
humbug/box
to dev tools - [#189] Introduce
Crunz\Process\Process
- [#184] Make "container debug" configurable
- [#194] Add missing upgrade guides
- [#199] Deprecate task files which do not return Schedule instance
- [#212] Introduce PHPStan
- [#217] Fallback to system's timezone instead of 'UTC'
v1.11.2
v1.11.1
v1.11.0
First release in 2019 🎉
In the past Crunz tries to look for tasks/config in paths related to bin, this behavior is deprecated, now you should cd
to the directory with crunz.yml
and then run command. The same way as in PHPUnit, Composer and other PHP tools.
PHAR fixes - PR #146.
Date of v2 release was moved to April 2019 (PR - #147) to give more time to stabilize Crunz API and fix bugs.
DI config was converted from XML to plain PHP (PR #148) to remove hidden dependency on DOMDocument class.
Legacy Helpers/Utils code was removed, PR #150.
Recently PHP nightly on Travis CI was changed to 7.4-dev, so there is need to define tests on 7.3 explicitly - PR #157.
Long awaited serious locking landed in this release, thanks to the @digilist. Now custom LockStore can be passed to preventOverlapping method - PR #153.
First RC of v1.11 fixes bug with new lock mechanism (#171), also Symfony 4.2 deprecations were fixed (#173).
Along with PHAR fixes, and to reduce PHAR size, some not necessary needed dependencies was removed, and replaced with own code if needed:
v1.11.0-rc.1
v1.11.0-beta.2
v1.11.0-beta.1
This is maintenance/clean-up release, marked as beta because this is first release with PHAR included - it will definitely needs some tests in the wild. PHAR fixes - PR #146.
Date of v2
release was moved to April 2019 (PR - #147) to give more time to stabilize Crunz API and fix bugs.
DI config was converted from XML to plain PHP (PR #148) to remove hidden dependency on DOMDocument
class.
Legacy Helpers/Utils
code was removed, PR #150.
Recently PHP nightly
on Travis CI was changed to 7.4-dev
, so there is need to define tests on 7.3
explicitly - PR #157.
Long awaited serious locking landed in this release, thanks to the @digilist. Now custom LockStore
can be passed to preventOverlapping
method - PR #153.
Along with PHAR fixes, and to reduce PHAR size, some not necessary needed dependencies was removed, and replaced with own code if needed:
v1.10.1
This release fixes possible incompatibility on system without ext-curl
installed/enabled. cURL
is no longer required and if ping
is used \Crunz\HttpClient\FallbackHttpClient
will try to fallback to fopen
(requires enabled allow_url_fopen
).
Changelog:
Fixed
- Incompatibility for users without cURL extension but with enabled
allow_url_fopen
- PR #139 by @PabloKowalczyk