Skip to content

Releases: zenstruck/assert

v1.5.0

02 Dec 09:08
Compare
Choose a tag to compare

2fc6d06 minor: allow Symfony 7.0 (#26) by @kbond

Full Change List

v1.4.0

17 Apr 15:45
Compare
Choose a tag to compare

d771025 feat: non-strict ContainsAssertion option (#25) by @kbond
ea5e3f0 fix: allow ContainsAssertion "haystack" to be null (#24) by @kbond
3aa3209 feat: add Expectation::isTruthy()/isFalsy() (#24) by @kbond
d5f5ac1 feat: add Expectation::isTrue()/isFalse() (#24) by @kbond

Full Change List

v1.3.0

23 Jan 19:13
Compare
Choose a tag to compare

11efb09 minor: add output to ArraySubset failures (#22) by @nikophil
b346d0c fix(ci): add token by @kbond
bdd44e4 chore(ci): fix by @kbond
58ee470 feat: require PHP 8+ (#21) by @kbond
a8e830a ci: fix (#20) by @kbond

Full Change List

v1.2.0

12 Jul 12:32
a1c6501
Compare
Choose a tag to compare

a1c6501 [feature] ArraySubsetAssertion now handles array-lists (#18) by @nikophil
af570fd [feature] add TypeAssertion and type expectations (#15) by @kbond
ca27cac [feature] add ArraySubsetAssertion (#14) by @nikophil
9cd95b2 [feature] distinguish different array types when normalizing (#17) by @kbond
4d11f5c [minor] adjust phpstan config (#16) by @kbond

Full Change List

v1.1.0

27 Jun 20:26
37bdfb9
Compare
Choose a tag to compare

676e511 [minor] CI adjustments (#13) by @kbond
5a1fdfc [minor] remove scrutinizer (#13) by @kbond
a8971b4 [minor] cs fixes (#13) by @kbond
7a968e1 [feature] Assert::try() now triggers a "pass" if successful (#13) by @kbond

Full Change List

v1.0.1

14 Feb 17:11
45c0a9d
Compare
Choose a tag to compare

45c0a9d [minor] adjust typehints by @kbond
9c3b326 [minor] add static code analysis with phpstan (#11) by @kbond
38cf18f [minor] use supported version of php-cs-fixer (#10) by @kbond
77b9572 [ci] add php 8.1 to test matrix by @kbond
2650a52 [ci] use reusable workflows (#9) by @kbond

Full Change List

v1.0.0

27 Sep 15:32
b339eeb
Compare
Choose a tag to compare

b339eeb [minor] add {message} context to Assert::try() by @kbond
aead630 [feature] add Assert::try() by @kbond
69ce41f [feature] add Expectation::is(Not)InstanceOf() by @kbond
c458feb [feature] add Expectation::is(Not)Null() by @kbond
46c214c [doc] fix typo by @kbond
888cdb1 [minor] add never-return to Assert::fail() by @kbond

Full Change List

v0.2.2

12 Aug 20:32
0b138bc
Compare
Choose a tag to compare
v0.2.2 Pre-release
Pre-release
[minor] adjust deps

v0.2.1

12 Aug 20:00
972fee7
Compare
Choose a tag to compare
v0.2.1 Pre-release
Pre-release
[minor] increase threshold to shorten strings

v0.2.0

12 Aug 19:10
e4ac0dc
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release
[feature] add Expectation::and() (closes #7)