New Release: hamcrest-2.1-rc1

27 views
Skip to first unread message

Joe Schmetzer

unread,
Nov 25, 2018, 8:33:57 PM11/25/18
to Hamcrest Developers
Folks,

I have just published a new pre-release version of Hamcrest: version 2.1-rc1


Although the version has jumped from 1.3 to 2.1-rc1, I don't believe there are any breaking changes at the code level. However, the packaging has changed in ways that *might* break things.

`hamcrest-core` and `hamcrest-library` have been merged into a single library called just plain `hamcrest`. The means that the way that hamcrest is imported into your project will need to change.

For gradle:

dependencies {
    testImplementation 'org.hamcrest:hamcrest:2.1-rc1'
}

For maven:

<dependency>
    <groupId>org.hamcrest</groupId>
    <artifactId>hamcrest</artifactId>
    <version>2.1-rc1</version>
    <scope>test</scope>
</dependency>

I'd appreciate it if people gave this version a test to see if it breaks anything for you. Report any problems on this thread, or the relevant issue at https://github.com/hamcrest/JavaHamcrest/issues/224

Thanks,
Joe

Joe Schmetzer

unread,
Dec 13, 2018, 8:38:09 AM12/13/18
to Hamcrest Developers
I have had some feedback about rc1, and I've made some tweaks for backwards compatibility. I've just released Hamcrest 2.1-rc4. I'd appreciate feedback before I prepare the final release.
Can people please test this out?

Thanks,
Joe
Reply all
Reply to author
Forward
0 new messages