• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1== Version 2.0.0.0 ==
2
3A new beginning...
4
5* Upgraded to Java 7
6
7* Build with Gradle
8
9* Publish a single jar java-hamcrest-x.x.x.x.jar
10
11* Removed deprecated methods from previous release
12
13* Improve mismatch description of hasItem/hasItems
14
15* General improvements to mismatch descriptions
16
17* Several JavaDoc improvements and corrections
18
19* Fix gh issue #69 - Iterable contains in order is null-safe
20
21* Fix gh issue #59 - added equalToObject() (i.e. unchecked) method
22
23* Fix gh issue #25 - arrayContaining(null, null) cause NullPointerException
24
25* Fix gh issue #36 - string matching on regular expressions
26
27* Fix gh issue #8 - isCloseTo() shows wrong delta in mismatch description
28
29* Fix issue 131 - Implement IsEmptyMap, IsMapWithSize
30
31* Fix issue 155 - Deprecated several matcher factory methods of the for "isXyz"
32
33* Fix issue 187 - IsArray.describeMismatchSafely() should use Matcher.describeMismatch
34
35* Fix issue 155 - Add Matcher implementation for files
36
37* Fix issue 59 - add untyped version of equalTo, named equalToObject
38
39* Fix issue 69 - fix NPE in IsIterableContainingInOrder
40
41* Fix issue 75 - address doclint errors reported in JDK 1.8
42
43== Version 1.3: Released July 09 2012 ==
44
45* Introduce Condition class to ease the implementation of multi-step matches
46
47* Upgrade qdox (included in the generator) to the latest stable version
48
49* Correct inadvertent deprecation of the Is.isA factory method
50
51* Fix issue 179 - AllOf does not output mismatch description
52
53* Fix issue 177 - Introduced closeTo matcher for BigDecimals
54
55* Fix issue 152 - Factory classes missing from matchers.xml
56
57* Fix issue 144 - OrderingComparison doesn't describe mismatch of comparables that return values other than (-1,0,1)
58
59* Fix issue 134 - DescribedAs does not delegate describeMismatch
60
61* Fix issue 106 - deprecation warning when writing custom matchers
62
63* Fix issue 101 - Added theInstance alias for sameInstance factory method
64
65== Version 1.3 RC2: Released October 22 2010 ==
66
67* Added FeatureMatcher
68
69* distinguish between instanceOf() and any()
70
71== Version 1.2: Released May 16 2009 ==
72
73* Added mismatch reporting
74
75* Added WithSamePropertyValuesAs matcher
76
77* Moved any() from IsAnything to IsInstanceOf. It now checks the type of the matched object
78
79* Moved MatcherAssert from integration to core
80
81* Tightened up generics.
82
83* Added IsMapContainingKey and IsMapContainingValue matchers to resolve a
84  generics bug in hasKey and hasValue static factories previously declared
85  in IsMapContaining (ngd)
86
87* Added IsCollectionOnlyContaining and IsArrayOnlyContaining which matches
88  collections (and arrays) where all match a given matcher. E.g onlyContains(3,4,5)
89  or onlyContains(lessThan(9))
90
91* text module moved to separate project, hamcrest-text-patterns
92
93* added more colection matchers: xContainingInAnyOrder, xContainingInOrder, xWithSize
94
95* new text Matcher: IsEmptyString
96
97* hamcrest generator uses method return type
98
99== Version 1.1: Released Jun 30 2007 ==
100
101* Hamcrest Generator now includes JavaDoc and parameter names in generated code
102  by using QDox to parse the source code.
103
104* Created hamcrest-core.jar (and removed hamcrest-api.jar).
105  Moved core set of matchers (and, eq, not, etc)
106  to this package to make it more practical for external libraries
107  to embed Hamcrest.
108
109* Created CoreMatchers (static import sugar) in hamcrest-core.jar.
110
111* StringBuilder can use any Appendable (not just StringBuffer).
112
113* Added sensible toString() method to BaseMatcher.
114
115* Created StringDescription.asString() alias (because toString() caused issues
116  with static imports).
117
118* Relaxed isInstanceOf() matcher generic type so it can be used on any kind of
119  object. e.g. assertThat(someUnknownObject, isInstanceOf(String.class));
120
121* Added any(Class<T>), null(Class<T>) and notNull(Class<T>) matchers, which returns
122  Matcher<T>. Helpful when the compiler struggles with type inference.
123
124* Modified anyOf() and allOf() to accept mixed-types.
125
126* TypeSafeMatcher.matchesSafely() is now public.
127
128* Generator recognizes @Factory methods that return subclass of Matcher.
129  (Fix by David Saff)
130
131== Version 1.0: Released Dec 15 2006 ==
132
133Initial release.
134* Support for namespaces in HasXPath
135* Bug fix for matching empty elements with HasXPath
136