Releases: assertj/assertj-arrow-core
Version 2.0.0
It's time to update to the last major version of Arrow Kt. 🎉 Ladies and gentlemen, please welcome version 2.0.0 of the library. Thanks to @jdsatlin for the effort.
⚙️ Keep the Light on
- Updated kotlin monorepo to v2.2.20 by @renovate[bot] in #73
- Updated junit-framework monorepo to v5.13.4 by @renovate[bot] in #83
- Updated Arrow Core Library to 2.1.2 by @jdsatlin in #85
- Update dependency org.assertj:assertj-core to v3.27.5 by @renovate[bot] in #89
New Contributors
- @Copilot made their first contribution in #90
Full Changelog: v1.2.2...v2.0.0
Version 1.2.2
Here we go! 🚀 A lot of time has passed since the last release. Two of our users contributed and resolved two bugs 🐛 related to nullability.
Bugs 🐞
- Allowed for asserting on Eithers containing null values within them by @jdsatlin in #81
- Made error/value types in RaiseAssert nullable by @david-kubecka in #78
New Contributors
- @jdsatlin made their first contribution in #81
- @david-kubecka made their first contribution in #78
Full Changelog: v1.2.1...v1.2.2
Version 1.2.1
Routine release with some dependency updates...we still love our users ❤️
What's Changed 📝
Dependencies updates 💯
- Updated junit5 monorepo to v5.11.3 by @renovate in #65
- Updated kotlin monorepo to v2.0.21 by @renovate in #67
- Updated dependency org.apache.maven.plugins:maven-surefire-plugin to v3.5.2 by @renovate in #66
- Updated dependency org.jetbrains.dokka:dokka-maven-plugin to v1.9.20 by @renovate in #13
Full Changelog: v1.2.0...v1.2.1
Version 1.2.0
Hooray! We have a new contributor! Ladies and gentlemen, please welcome @farajist 👏
What's Changed 🚀
- Added the function
RaiseAssert.assertThatRaisedByand its tests by @rcardin in #61 - Added examples of available assertions in the README file by @rcardin in #62
- Added assertion for
NonEmptyList<A>type by @farajist in #63
Dependencies updates 💯
- Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-test to v1.9.0 by @renovate in #64
- Update kotlin monorepo to v2.0.20 by @renovate in #51
New Contributors
Full Changelog: v1.1.0...v1.2.0
Version 1.1.0
Productive days here. The second release of the week 🕺
Version 1.1.0 brings enhancements in asserting function of type Raise<E>.() -> A, letting using the full power of AssertJ assertions on objects for the function result and error.
What's Changed 🍺
- Added methods to extract the result and the error of executing a function in the
Raise<E>context. by @rcardin in #59
Dependencies updates 💯
Full Changelog: v1.0.1...v1.1.0
Version 1.0.1
Version 1.0.1 fixes some bugs. Nobody is perfect 🤷♂️
Bug Fixing 🐛
- Removed the use of context receivers by @rcardin in #53
- Assertions on
Raise<E>.() -> Adont work on suspending functions by @rcardin in #56
Dependencies updates 💯
- Update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.4.0 by @renovate in #55
- Update junit5 monorepo to v5.11.0 by @renovate in #54
Full Changelog: v1.0.0...v1.0.1
Version 1.0.0
Woah, version 1.0.0 of the library is out! 🔥
We need to move to a major version since we updated to Kotlin 2.0.0 🚀
What's Changed 🍾
Dependencies updates 💯
- Update actions/checkout action to v4 by @renovate in #10
- Update kotlin monorepo to v1.9.22 by @renovate in #33
- Update junit5 monorepo to v5.10.1 by @renovate in #34
- Update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.2.5 by @renovate in #35
- Update dependency org.assertj:assertj-core to v3.25.1 by @renovate in #36
- Update dependency org.assertj:assertj-core to v3.25.2 by @renovate in #38
- Update junit5 monorepo to v5.10.2 by @renovate in #39
- Update dependency org.assertj:assertj-core to v3.25.3 - autoclosed by @renovate in #40
- Update kotlin monorepo to v2 (major) by @renovate in #43
- Update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.3.0 by @renovate in #45
- Update junit5 monorepo to v5.10.3 by @renovate in #44
- Update dependency io.arrow-kt:arrow-core to v1.2.4 by @renovate in #41
- Update dependency org.assertj:assertj-core to v3.26.3 by @renovate in #47
- Update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.3.1 by @renovate in #46
- Update actions/setup-java action to v4 by @renovate in #37
Full Changelog: v0.2.0...v1.0.0
Version 0.2.0
Inspiring news 🚀 ! Version 0.2.0 has landed, and it brings a lot of new features 🧰 !
🔥 New Features
- [#12] Added assertions for the
Raise<E>.() -> Atype. Testing functions in theRaisecontext becomes easy 🤩 - [#16 ] Now, it's possible to extract the value from an
Option<A>and make assertions directly on the object 💯 - [#17] It's possible to extract values from an
Either<E, A>if right-sided or left-sided. Then, you can make assertions directly on the extracted objects! 👍
🐛 Fixed Bugs
- [#18] Change the scope of assertion constructors. Now, you must use the dedicated factory methods 😠!
- [#26] Unit tests came back 🧪.
- [#22] Removed the use of Arrow deprecated methods 🧹
Happy testing! 🎉
Version 0.1.0
Here are the changes:
🔥 New Features
- [#19]: Added the following assertions on the
Either<E, A>and theOption<A>types (thanks to @sFreezer and @metalgold for the contribution):
-hasRightValueSatisfying
-hasLeftValueSatisfying
-hasValueSatisfying
Version 0.0.1
First release of the library 🚀
The available assertions are for the types:
EitherOption