hamcrest/hamcrest.changes

226 lines
8.2 KiB
Plaintext

-------------------------------------------------------------------
Thu Jun 9 16:00:32 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Upgrade to upstream version 2.2
* After a long hiatus without releases, this version simplifies
the packaging of Hamcrest into a single jar. Other big changes
include Java 9 module compatibility, along with numerous other
improvements and bug fixes.
* Breaking Changes
+ Although the class API has not changed since Hamcrest 1.3, the
way that the project is packaged has changed. Refer to the
Hamcrest Distributables documentation for more information,
and in particular the section on Upgrading from Hamcrest 1.x
+ The org.hamcrest.Factory annotation has been removed
(it should not be used in client code)
* Improvements
+ AllOf/AnyOf: Pass the matchers to constructor using varargs
+ Matchers.anyOf: Fix generic bounds compatibility for JDK 11
+ AssertionError message is unhelpful when match fails for byte
type
+ Use platform specific line breaks
+ Build now checks for consistent use of spaces
* Changes
+ Fix compatibility issue for development with Android D8
+ Fix typo in license name
+ 1.3 compatible constructors for string matchers
+ Fix for split packages with Java 9 modules
+ Documentation updates
+ Add implementation for CharSequence length matcher
+ Fix for TypeSafeDiagnosingMatcher can't detect generic types
for subclass
+ Renamed IsCollectionContaining to IsIterableContaining
+ Make Hamcrest an OSGI bundle
+ Add StringRegularExpression matcher
+ Fix StringContainsInOrder to detect if a repeated pattern is
missing
+ Add ArrayAsIterableMatcher
+ Fix description for IsEqualIgnoringCase
+ Fix JavaDoc examples
+ Upgraded to Java 7
+ Build with Gradle
+ Deprecate IsCollectionContaining and IsArrayContainingXXX
+ Removed deprecated methods from previous release
+ Improve mismatch description of hasItem/hasItems
+ General improvements to mismatch descriptions
+ Several JavaDoc improvements and corrections
+ Deprecated several matcher factory methods of the for "isXyz"
+ Fix address doclint errors reported in JDK 1.8
+ Fix Iterable contains in order is null-safe
+ Added equalToObject() (i.e. unchecked) method
+ Fix arrayContaining(null, null) cause NullPointerException
* Fix string matching on regular expressions
* Fix isCloseTo() shows wrong delta in mismatch description
* Fix add untyped version of equalTo, named equalToObject
* Implement IsEmptyMap, IsMapWithSize
* Fix IsArray.describeMismatchSafely() should use
Matcher.describeMismatch
* Add Matcher implementation for files
* Fix NPE in IsIterableContainingInOrder
- Removed patches:
* hamcrest-1.3-build.patch
* hamcrest-1.3-fork-javac.patch
* hamcrest-1.3-javadoc.patch
* hamcrest-1.3-javadoc10.patch
* hamcrest-1.3-javadoc9.patch
* hamcrest-1.3-no-jarjar.patch
* hamcrest-1.3-qdox-2.0.patch
* hamcrest-1.3-random-build-crash.patch
* hamcrest-reproducible-builds.patch
+ not needed with the new version
- Modified patch:
* hamcrest-matchers.patch -> 0001-Fix-build-with-OpenJDK-11.patch
+ adapt to the changed context
-------------------------------------------------------------------
Fri Mar 18 20:25:15 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Modified patch:
* hamcrest-1.3-build.patch
+ Build with source/target levels 8
- Added patch:
* hamcrest-matchers.patch
+ Fix build with jdk17
-------------------------------------------------------------------
Tue Jan 5 13:20:25 UTC 2021 - Pedro Monreal <pmonreal@suse.com>
- Make hamcrest build reproducibly [bsc#1120493]
- Add hamcrest-reproducible-builds.patch
-------------------------------------------------------------------
Tue Jan 5 13:01:10 UTC 2021 - Pedro Monreal <pmonreal@suse.com>
- Fix typo in hamcrest-core description [bsc#1179994]
-------------------------------------------------------------------
Thu Nov 19 12:48:02 UTC 2020 - Pedro Monreal <pmonreal@suse.com>
- Fix RPM Lint complaint: summary-ended-with-dot
-------------------------------------------------------------------
Tue Nov 17 17:39:48 UTC 2020 - Pedro Monreal <pmonreal@suse.com>
- Add obsoletes in core to fix updates. [bsc#1174544]
-------------------------------------------------------------------
Wed Oct 2 20:24:49 UTC 2019 - Fridrich Strba <fstrba@suse.com>
- Remove references to the hamcrest-parent pom and do not
distribute it
* useless since we don't build with maven
* creates problems with gradle connector
-------------------------------------------------------------------
Tue Jan 15 08:52:39 UTC 2019 - Fridrich Strba <fstrba@suse.com>
- Make jmock and easymock integration opt-in (bsc#1121956)
-------------------------------------------------------------------
Fri Jan 4 16:13:17 UTC 2019 - Fridrich Strba <fstrba@suse.com>
- Use sources from github, which are accessible
- Do not build the hamcrest-text empty jar
- Split a core package off the main package
- Added patch:
* hamcrest-1.3-qdox-2.0.patch
+ Fix build against QDox 2.0
- Removed patch:
* hamcrest-1.3-no-integration.patch
+ Not needed any more since integration is buildable
- Modified patches:
* hamcrest-1.3-build.patch
* hamcrest-1.3-fork-javac.patch
* hamcrest-1.3-javadoc.patch
* hamcrest-1.3-javadoc10.patch
* hamcrest-1.3-javadoc9.patch
* hamcrest-1.3-no-jarjar.patch
* hamcrest-1.3-random-build-crash.patch
-------------------------------------------------------------------
Mon Dec 18 06:53:19 UTC 2017 - fstrba@suse.com
- Added patch:
* hamcrest-1.3-javadoc10.patch
+ Fix build with jdk10's javadoc that ends in error when a
link cannot be downloaded
-------------------------------------------------------------------
Fri Sep 8 06:05:24 UTC 2017 - fstrba@suse.com
- Modified patch:
* hamcrest-1.3-fork-javac.patch
+ Specify java target level 1.6 in order to allow building
with jdk9
- Specify java source level 1.6 in order to allow building with
jdk9
- Added patch:
* hamcrest-1.3-javadoc9.patch
+ fix javadoc errors that are fatal in jdk9
-------------------------------------------------------------------
Mon May 29 16:05:25 UTC 2017 - tchvatal@suse.com
- Apply patch from fedora:
* hamcrest-1.3-fork-javac.patch
-------------------------------------------------------------------
Fri May 19 13:11:37 UTC 2017 - tchvatal@suse.com
- Fix homepage
- Update to build with new javapacakges-tools
-------------------------------------------------------------------
Wed Mar 18 09:46:07 UTC 2015 - tchvatal@suse.com
- Fix build with new javapackages-tools
-------------------------------------------------------------------
Mon Jul 7 15:02:47 UTC 2014 - tchvatal@suse.com
- Use junit not junit4
-------------------------------------------------------------------
Mon Jun 16 12:25:07 UTC 2014 - tchvatal@suse.com
- Add patch to fix random build errors by enforcing single thread.
* hamcrest-1.3-random-build-crash.patch
-------------------------------------------------------------------
Tue Oct 29 12:51:11 UTC 2013 - mvyskocil@suse.com
- drop junit from dependencies, it's not needed and cause a build cycle
-------------------------------------------------------------------
Mon Oct 21 11:34:31 UTC 2013 - mvyskocil@suse.com
- Update to 1.3
bugfix and feature update, see CHANGES.txt for details
- Removed patches
* hamcrest-1.1-build.patch
+ renamed to hamcrest-1.3-build.patch
* hamcrest-1.1-no-jarjar.patch
+ renamed to hamcrest-1.3-no-jarjar.patch
* hamcrest-1.1-no-integration.patch
+ renamed to hamcrest-1.3-no-integration.patch
- Added patches
* hamcrest-1.3-javadoc.patch
- Updated poms and added OSGI manifests from Fedora
-------------------------------------------------------------------
Mon Sep 9 11:05:43 UTC 2013 - tchvatal@suse.com
- Move from jpackage-utils to javapackage-tools
-------------------------------------------------------------------
Tue Sep 3 14:23:47 UTC 2013 - mvyskocil@suse.com
- use add_maven_depmap from javapackages-tools
- install non-versioned dirs and jars
-------------------------------------------------------------------
Tue May 5 14:53:21 CEST 2009 - mvyskocil@suse.cz
- Initial packaging of 1.1 in SUSE (from jpp 5.0)