Skip to content

Releases: rcardin/assertj-arrow-core

Version 1.2.0

16 Sep 06:19
Compare
Choose a tag to compare

Hooray! We have a new contributor! Ladies and gentlemen, please welcome @farajist 👏

What's Changed 🚀

  • Added the function RaiseAssert.assertThatRaisedBy and 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

29 Aug 07:25
Compare
Choose a tag to compare

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 💯

  • Update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.5.0 by @renovate in #57

Full Changelog: v1.0.1...v1.1.0

Version 1.0.1

27 Aug 07:12
Compare
Choose a tag to compare

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>.() -> A dont 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

11 Jul 08:08
Compare
Choose a tag to compare

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 🍾

  • Added assertions to understand if a Raise<E>.() -> A succeeded of failed by @rcardin in #48

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

27 Oct 09:24
Compare
Choose a tag to compare

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>.() -> A type. Testing functions in the Raise context 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

23 Oct 19:52
Compare
Choose a tag to compare

Here are the changes:

🔥 New Features

  • [#19]: Added the following assertions on the Either<E, A> and the Option<A> types (thanks to @sFreezer and @metalgold for the contribution):
    - hasRightValueSatisfying
    - hasLeftValueSatisfying
    - hasValueSatisfying

Version 0.0.1

20 Sep 07:09
Compare
Choose a tag to compare

First release of the library 🚀

The available assertions are for the types:

  • Either
  • Option