@@ -6,6 +6,31 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
6
6
7
7
## [ Unreleased] - Unreleased
8
8
9
+ ## [ 0.4.0] - 2018-05-10
10
+ ### Added
11
+ * Define oldest supported version of Rust as 1.22.
12
+ * CI that ensures
13
+ * works on Windows and Linux
14
+ * works on 1.22 to nightly
15
+ * ** float:** ` is_close ` Predicate (see #11 ).
16
+ * ** path:**
17
+ * File type predicates: ` is_file ` , ` is_dir ` , ` is_symlink ` (see #8 ).
18
+ * Existence predicate: ` exists ` , ` missing ` (see #8 ).
19
+ * ** str:**
20
+ * Basic string predicates: ` is_empty ` , ` starts_with ` , ` ends_with ` , and ` contains ` with optional count (see #25 ).
21
+ * Regex predicate (see #12 ).
22
+ * Edit-distance predicate (see #9 ).
23
+
24
+ ### Changed
25
+ * Clearly delineate API from prelude (see #17 ).
26
+ * Switch ` Predicate ` trait from Associated Types to Generics.
27
+ * ** iter:**
28
+ * Renamed ` set ` predicates as ` iter ` predicates to clarify the intent from some implementation.
29
+ * Remove ambiguity of predicate factories (see #24 ):
30
+ * ` contains ` -> ` in_iter `
31
+ * ` contains_hashable ` -> ` in_hash `
32
+ * Turned ` contains_ord ` into a specialization of ` in_iter ` by adding a ` sort ` method.
33
+
9
34
## [ 0.3.0] - 2017-06-26
10
35
### Added
11
36
- ` BoxPredicate ` type that wraps a ` Predicate ` trait object to make it easier
@@ -34,6 +59,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
34
59
- Continuous integration with Travis (Linux) and AppVeyor (Windows)
35
60
- Basic README
36
61
37
- [ Unreleased ] : https://github.com/assert-rs/predicates-rs/compare/v0.3.0...HEAD
62
+ [ Unreleased ] : https://github.com/assert-rs/predicates-rs/compare/v0.4.0...HEAD
63
+ [ 0.4.0 ] : https://github.com/assert-rs/predicates-rs/compare/v0.3.0...v0.4.0
38
64
[ 0.3.0 ] : https://github.com/assert-rs/predicates-rs/compare/v0.2.0...v0.3.0
39
65
[ 0.2.0 ] : https://github.com/assert-rs/predicates-rs/compare/v0.1.0...v0.2.0
0 commit comments