Skip to content

Commit

Permalink
Release version 0.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
printfn committed Oct 5, 2020
1 parent b81a1b3 commit 127bffd
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 12 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Changelog

## Next release
## v0.1.6 (2020-10-05)

* Support outputting mixed fractions (implicitly or via `to mixed_fraction`)
* Allow numbers that start with a decimal point, such as `.1`
* Support unmatched parentheses (e.g. `2+3)*(1+2` is `15`)
* Support parsing of numbers with recurring digits (e.g. `0.(3)` is equal to `1/3`)
* Allow numbers that start with a decimal point, such as `.1`

## v0.1.5 (2020-09-29)

Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "fend"
# Don't forget to update print_version()
version = "0.1.5"
version = "0.1.6"
authors = ["printfn <[email protected]>"]
description = "Calculator and unit conversion tool"
homepage = "https://github.com/printfn/fend-rs"
Expand All @@ -18,7 +18,7 @@ directories = "3.0.1"
ctrlc = "3.1.6"

[dependencies.fend-core]
version = "0.1.5"
version = "0.1.6"
path = "./core"

[workspace]
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ approx. 0.7071067811 + 0.7071067811i
65535
```

```
> 1 1/2' to cm
45.72 cm
```

```
> 1 lightyear to parsecs
approx. 0.3066013937 parsecs
Expand Down
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "fend-core"
# Don't forget to update html_root_url and get_version()
version = "0.1.5"
version = "0.1.6"
authors = ["printfn <[email protected]>"]
description = "Backend for calculator and unit conversion tool fend"
homepage = "https://github.com/printfn/fend-rs"
Expand Down
6 changes: 3 additions & 3 deletions core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#![allow(clippy::too_many_arguments)] // format_trailing_digits in BigRat
#![deny(clippy::pedantic)]
#![allow(clippy::non_ascii_literal)]
#![doc(html_root_url = "https://docs.rs/fend-core/0.1.5")]
#![doc(html_root_url = "https://docs.rs/fend-core/0.1.6")]

mod ast;
mod err;
Expand Down Expand Up @@ -111,12 +111,12 @@ pub fn evaluate_with_interrupt(
/// Returns the current version of `fend-core`.
#[must_use]
pub fn get_version() -> String {
"0.1.5".to_string()
"0.1.6".to_string()
}

/// Returns the current extended version of `fend-core`, which includes the
/// release date in addition to the semver number
#[must_use]
pub fn get_extended_version() -> String {
"0.1.5 (2020-09-29)".to_string()
"0.1.6 (2020-10-05)".to_string()
}
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ fn print_help(explain_quitting: bool) {
}

fn print_version() {
println!("fend v0.1.5 (2020-09-29)");
println!("fend v0.1.6 (2020-10-05)");
println!("fend-core v{}", fend_core::get_extended_version());
}

Expand Down

0 comments on commit 127bffd

Please sign in to comment.