Sourced from org.assertj:assertj-core's releases.
v3.27.0
:no_entry_sign: Deprecated
Core
- Deprecate
ClassBasedNavigableIterableAssert
andClassBasedNavigableListAssert
#3529:sparkles: New Features
Core
- Add
actual()
to access the object under test #3489- Add
isCompletedWithValueMatchingWithin
toCompletableFuture
assertions #3506- Add
completesExceptionallyWithin
toCompletableFuture
assertions #3597- Add
inBinary
toCharSequence
assertions #3600- Support for
Assertions.byLessThan(Duration)
andAssertions.within(Duration)
#3486- Add standard representation for
CharSequence
#3617- Add predicate descriptions overloads to
anyMatch
andnoneMatch
#3639- Add
doesNotMatch(Predicate)
#3684- Add
usingEquals
accepting aBiPredicate
and an optional description to provide a custom comparison in assertions #3678Guava
- Add
isNotEmpty
toTable
assertions #3559:bug: Bug Fixes
Core
- Recursive assertion
hasNoNullFields
throws NPE with fields of anonymous and local types #3534- Fix incorrect mutation of
actualElementsGroupedByHashCode
in recursive comparison- Recursive comparison
ignoringFields
not working properly with maps #2988- Custom representation ignored when describing expected items not in the actual list #3646
hasFieldOrPropertyWithValue
swallows exceptions thrown by getters, and reports non-existent property instead #3563satisfies()
with nested assertions obscures stack trace #2542:zap: Improvements
Core
- Report all failing conditions when using
satisfies(allOf(Condition...))
#3537- Fix Unicode escapes in
inUnicode()
Javadoc- Show error differences if values were compared with
equals
in recursive comparison #3209- Propagate common basetype for extracting(Function...) #3673
- Add throwable stacktrace to
ShouldNotContainCharSequence
- Remove unused code and other minor cleanup #3683
- Simplify comparison strategy
isLessThan
andisLessThanOrEqualTo
inAbstractComparisonStrategy
#3694- Update
AbstractCharSequenceAssert.java
reference #3700- Include stack trace of internal errors in all/any satisfy assertions
... (truncated)
74a8a44
[maven-release-plugin] prepare release assertj-build-3.27.0ba36228
Bump version to prepare 3.27.0 versionf4d9c8f
Bump version to prepare 3.27.0 version6d15943
chore(deps-dev): bump org.hibernate.orm:hibernate-core from 6.6.3.Final
to 6....e1b0a4e
Custom Equality (BiPredicate) Comparator - resolves #3678d92ba37
Quality Improvements (#3697)36e63c3
Add isNotEmpty
to Table
assertions (#3559)de48db6
chore(deps): bump com.google.guava:guava from 33.3.1-jre to 33.4.0-jre
(#3705)b04f8a3
chore(deps): bump byte-buddy.version from 1.15.10 to 1.15.11 (#3703)6500d22
chore(deps): bump junit-jupiter.version from 5.11.3 to 5.11.4 (#3702)