diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c42bb7ea..ef995c36a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,12 +8,25 @@ ### Fixed -## 4.2.0 - 2018-12-29 +## 4.2.0 - 2019-01-29 + +### Thanks + +- @JoshMcguigan for unit test fixes +- @oza for documentation fixes +- @wackywendell for better error conversion +- @Zebradil for documentation fixes +- @tsraom for new combinators +- @hcpl for minimum Rust version tests +- @KellerFuchs for removing some unsafe uses in float parsing ### Changed - macro import in edition 2018 code should work without importing internal macros now - the regex parsers do not require the calling code to have imported the regex crate anymore +- error conversions are more ergonomic +- method combinators are now deprecated. They might be moved to a separate crate +- nom now specifies Rust 1.24.1 as minimum version. This was already the case before, now it is made explicit ### Added @@ -23,6 +36,7 @@ accumulating its results in a `Vec` ### Fixed - overflow in the byte wrapper for bit level parsers +- `f64` parsing does not use `transmute` anymore ## 4.1.1 - 2018-10-14 @@ -962,7 +976,8 @@ Considering the number of changes since the last release, this version can conta ## Compare code -* [unreleased]: https://github.com/Geal/nom/compare/4.1.1...HEAD +* [unreleased]: https://github.com/Geal/nom/compare/4.2.0...HEAD +* [4.2.0]: https://github.com/Geal/nom/compare/4.1.1...4.2.0 * [4.1.1]: https://github.com/Geal/nom/compare/4.1.0...4.1.1 * [4.1.0]: https://github.com/Geal/nom/compare/4.0.0...4.1.0 * [4.0.0]: https://github.com/Geal/nom/compare/3.2.1...4.0.0 diff --git a/Cargo.toml b/Cargo.toml index b5999a1aa..baee039d0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "nom" -version = "4.1.1" +version = "4.2.0" authors = [ "contact@geoffroycouprie.com" ] description = "A byte-oriented, zero-copy, parser combinators library" license = "MIT" diff --git a/README.md b/README.md index 8b120f554..22b13b392 100644 --- a/README.md +++ b/README.md @@ -190,7 +190,7 @@ nom is available on [crates.io](https://crates.io/crates/nom) and can be include ```toml [dependencies] -nom = "^4.1" +nom = "^4.2" ``` Then include it in your code like this: @@ -215,7 +215,7 @@ You can activate those features like this: ```toml [dependencies.nom] -version = "^4.1" +version = "^4.2" features = ["regexp"] ```