Bump version to 1.0.0 and update CHANGELOG

\o/ First stable release for nom \o/
This commit is contained in:
Geoffroy Couprie 2015-11-16 13:08:29 +01:00
parent 84bbc90930
commit 0aa495f9e8
3 changed files with 37 additions and 3 deletions

View File

@ -4,6 +4,40 @@
### Changed
## 1.0.0 - 2015-11-16
Stable release for nom. A lot of new features, a few breaking changes
### Thanks
- @ahenry for macro fixes
- @bluss for fixing documentation
- @sourrust for cleaning code and debugging the new streaming utilities
- @meh for inline optimizations
- @ccmtaylor for fixing function imports
- @soro for improvements to the streaming utilities
- @breard-r for catching my typos
- @nelsonjchen for catching my typos too
- @divarvel for hex string parsers
- @mrordinaire for the `length_bytes!` combinator
### Breaking changes
- `IResult::Error` can now use custom error types, and is generic over the input type
- Producers and consumers have been replaced. The new implementation uses less memory and integrates more with parsers
- `nom::ErrorCode` is now `nom::ErrorKind`
- `filter!` has been renamed to `take_while!`
- `chain!` will count how much data is consumed and use that number to calculate how much data is needed if a parser returned `Incomplete`
- `alt!` returns `Incomplete` if a child parser returned `Incomplete`, instead of skipping to the next parser
- `IResult` does not require a lifetime tag anymore, yay!
### Added
- `complete!` will return an error if the child parser returned `Incomplete`
- `add_error!` will wrap an error, but allow backtracking
- `hex_u32` parser
### Fixed
- the behaviour around `Incomplete` is better for most parsers now
## 0.5.0 - 2015-10-16
This release fixes a few issues and stabilizes the code.

View File

@ -1,7 +1,7 @@
[package]
name = "nom"
version = "1.0.0-beta2"
version = "1.0.0"
authors = [ "contact@geoffroycouprie.com" ]
description = "A byte-oriented, zero-copy, parser combinators library"
license = "MIT"

View File

@ -38,7 +38,7 @@ nom is available on [crates.io](https://crates.io/crates/nom) and can be include
```toml
[dependencies]
nom = "~0.5.0"
nom = "~1.0.0"
```
Then include it in your code like this:
@ -58,7 +58,7 @@ You can activate those features like this:
```toml
[dependencies.nom]
version = "~0.5.0"
version = "~1.0.0"
features = [regexp]
```