Prepare 2.0.0 release
This commit is contained in:
parent
d77fa15864
commit
6f31d69d7d
18
CHANGELOG.md
18
CHANGELOG.md
@ -2,6 +2,18 @@
|
|||||||
|
|
||||||
## Unreleased
|
## 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
|
### Added
|
||||||
|
|
||||||
* Add the `ContextMut` trait, that is a manipulable configuration/context
|
* 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 `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
|
* Add `eval_number` and `eval_number_with_context` crate methods to evaluate to int or float and silently converting to float
|
||||||
|
|
||||||
### Removed
|
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
* Get rid of some unwraps to improve safety
|
* Get rid of some unwraps to improve safety
|
||||||
@ -22,10 +32,6 @@
|
|||||||
* Rename `HashMapConfiguration` to `HashMapContext` and `EmptyConfiguration` to `EmptyContext`
|
* 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
|
* 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
|
## [1.2.0](https://github.com/ISibboI/evalexpr/compare/1.1.0...1.2.0) - 2019-03-23
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies]
|
//! [dependencies]
|
||||||
//! evalexpr = "1"
|
//! evalexpr = "2"
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! Add the `extern crate` definition to your `main.rs` or `lib.rs`:
|
//! Add the `extern crate` definition to your `main.rs` or `lib.rs`:
|
||||||
@ -238,7 +238,7 @@
|
|||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies]
|
//! [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.
|
//! This crate implements `serde::de::Deserialize` for its type `Node` that represents a parsed expression tree.
|
||||||
|
Loading…
Reference in New Issue
Block a user