Skip to content

Releases: zenstruck/callback

v1.5.0

31 Aug 14:56
eed9a53
Compare
Choose a tag to compare

eed9a53 [minor] remove scrutinizer badge by @kbond
6bd1c49 [minor] remove scrutinizer (#8) by @kbond
68747ed [feature] add Callback::function() (#8) by @kbond
d8b7878 [feature] support intersection type support (#8) by @kbond
319fb96 [minor] improve output of Callback::__toString() (#8) by @kbond
68e8468 [minor] small perf optimizations (#8) by @kbond

Full Change List

v1.4.2

26 Mar 21:36
b65a8d6
Compare
Choose a tag to compare

3eb5356 [bug] support arguments with "self" typehint (#6) by @kbond
a3ff9ac [bug] fix Argument::supports() for Stringable object (#6) by @kbond
dfb961b [minor] use supported php-cs-fixer version (#5) by @kbond
b9fdbc2 [ci] add php 8.1 to test matrix by @kbond

Full Change List

v1.4.1

18 Oct 17:15
8961f8d
Compare
Choose a tag to compare

8961f8d [minor] add $options argument to Parameter::typed() by @kbond
29d8277 [bug] fix using UnionParameter on parameters with default values by @kbond
a4fb33d [ci] use reusable actions (#4) by @kbond

Full Change List

v1.4.0

20 Jul 13:39
d72eaba
Compare
Choose a tag to compare
  • 3eae5eb [minor] ensure works with declare(strict_types=1) (Kevin Bond)
  • fef4acf [bug] allow default parameter values (Kevin Bond)
  • c9f7823 [minor] add Argument::EXACT (Kevin Bond)
  • e238a8c [minor] make TypedParameter options configurable (Kevin Bond)
  • 40b56af [minor] add non-parameter invoke tests (Kevin Bond)
  • 4b84bef [feature] add "strict" supports/allowed modes (Kevin Bond)
  • 1d0031f [feature] add Argument::allows() (Kevin Bond)
  • 9fd65e3 [feature] improve Argument::supports() (Kevin Bond)

v1.3.0

16 Jul 15:29
d5d19c1
Compare
Choose a tag to compare
  • d5d19c1 [feature] access callback arguments, support PHP 8 union types (#2) (Kevin Bond)
  • 10ae748 [minor] update php-cs-fixer to v3 (Kevin Bond)
  • 9a20734 [minor] disable codecov pr annotations (Kevin Bond)
  • 01f812f [minor] lock php-cs-fixer version in ci (bug in latest release) (Kevin Bond)

v1.2.0

11 Jan 21:51
b759cfc
Compare
Choose a tag to compare
  • b759cfc [feature] add callback as string to exceptions (Kevin Bond)
  • 8f6d7ab [feature] make callback stringable (Kevin Bond)

v1.1.0

09 Jan 17:29
82cd9ac
Compare
Choose a tag to compare
  • 82cd9ac [bug] fix optional parameter issue (Kevin Bond)
  • 6934887 [feature] allow invoke parameters to be optional (Kevin Bond)
  • eed6f12 [bug] fix deprecation (Kevin Bond)
  • 0d084b2 [minor] add Parameter::factory() helper method (Kevin Bond)
  • f6a7190 [BC BREAK] major refactor (Kevin Bond)

v1.0.0

08 Jan 23:10
44281e5
Compare
Choose a tag to compare

Initial release.