diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b4f00f..41d82ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ ## Unreleased +### Added + +### Removed + +### Changed + +### Fixed + +### Deprecated + +## [2.0.0](https://github.com/ISibboI/evalexpr/compare/1.2.0...2.0.0) - 2019-03-27 + ### Added * Add the `ContextMut` trait, that is a manipulable configuration/context @@ -12,8 +24,6 @@ * Add `Node::eval_number` and `Node::eval_number_with_context` to evaluate to int or float and silently converting to float * Add `eval_number` and `eval_number_with_context` crate methods to evaluate to int or float and silently converting to float -### Removed - ### Changed * Get rid of some unwraps to improve safety @@ -22,10 +32,6 @@ * Rename `HashMapConfiguration` to `HashMapContext` and `EmptyConfiguration` to `EmptyContext` * Rename `Value::as_float` to `Value::as_number` and add new `Value::as_float` that fails if value is an integer -### Fixed - -### Deprecated - ## [1.2.0](https://github.com/ISibboI/evalexpr/compare/1.1.0...1.2.0) - 2019-03-23 ### Added diff --git a/src/lib.rs b/src/lib.rs index a0de8b0..061c375 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -5,7 +5,7 @@ //! //! ```toml //! [dependencies] -//! evalexpr = "1" +//! evalexpr = "2" //! ``` //! //! Add the `extern crate` definition to your `main.rs` or `lib.rs`: @@ -238,7 +238,7 @@ //! //! ```toml //! [dependencies] -//! evalexpr = {version = "1", features = ["serde"]} +//! evalexpr = {version = "2", features = ["serde"]} //! ``` //! //! This crate implements `serde::de::Deserialize` for its type `Node` that represents a parsed expression tree.