Skip to content

Releases: lavary/crunz

v1.12.1

01 May 07:33
998fbd0
Compare
Choose a tag to compare

This release fixes regression about recursive tasks' directory scan (#228).

Changes:

Fixed

  • [#229] Fix recursive tasks scan

PRs:

  • [#229] Fix recursive tasks scan
  • [#230] Release v1.12.1

v2.0.0

24 Apr 13:48
37fb2c9
Compare
Choose a tag to compare

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 not Schedule 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

07 Apr 12:12
27d36a6
Compare
Choose a tag to compare

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
    configured timezone should be used for logs, thanks to [@SadeghPM]

Deprecated

  • Using \Crunz\Event::setProcess is deprecated, this method was intended to be private,
    but for some reason is public.
    In v2.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.
    In v2 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

16 Mar 09:43
fe7029c
Compare
Choose a tag to compare

This release fixes #207 - now autoloader will be found even if Crunz's bin is hard copied to vendor/bin.

PRs:

  • [#209] Add Vendor/Bin as source for Autoload discovery
  • [#210] Fix DIR const name

v1.11.1

27 Jan 17:10
d926699
Compare
Choose a tag to compare

This release fixes (PR #190) running closures, broken in v1.11.0. More at #135.

v1.11.0

24 Jan 18:42
98935ac
Compare
Choose a tag to compare

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:

  • symfony/property-access, PR #149
  • symfony/finder, PR #151
  • nesbot/carbon, PR #155

v1.11.0-rc.1

22 Dec 07:13
19369f5
Compare
Choose a tag to compare
v1.11.0-rc.1 Pre-release
Pre-release

First RC of v1.11 fixes bug with new lock mechanism (#171), also Symfony 4.2 deprecations were fixed (#173). Probably this is last release before stable v1.11, i hope so.

Changes:

Fixed

  • [#171] Fix lock storage bug
  • [#173] Remove Symfony 4.2 deprecations
  • [#166] Improve task collection debugging

v1.11.0-beta.2

10 Nov 11:20
599c19e
Compare
Choose a tag to compare
v1.11.0-beta.2 Pre-release
Pre-release

Second beta release fixes handling output from tasks, more here #161.

Changes

Fixed

  • Crunz doesn't provide error log when emailing, issue #161 - PR #162

v1.11.0-beta.1

23 Oct 16:42
3014d6a
Compare
Choose a tag to compare
v1.11.0-beta.1 Pre-release
Pre-release

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:

  • symfony\property-access, PR #149
  • symfony\finder, PR #151
  • nesbot/carbon, PR #155

v1.10.1

22 Sep 12:01
428d025
Compare
Choose a tag to compare

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