diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d6e80d..8895c62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ ## Changelog +### 0.13.0 (2024-04-15) + +- BREAKING: Change the signature of `ContourBuilder::new` to take a `usize` instead of an `u32` for the dimensions of the grid. + This is more idiomatic and consistent with the rest of the Rust ecosystem and enables the use of larger grids + (thanks to @netthier, see #12 and #13 for details). + +- Fix artifacts in the contours obtained when using the `f32` feature and large grids (thanks to @netthier, see #12 and #13 for details). + ### 0.12.1 (2024-03-11) - Fix bug in `area` function (fixes #11, thanks to @caspark). Note that given the use made of this function, it probably didn't cause issues with the contours created. diff --git a/Cargo.toml b/Cargo.toml index 23bfdc4..5530322 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contour" -version = "0.12.1" +version = "0.13.0" authors = ["Matthieu Viry "] edition = "2021" diff --git a/README.md b/README.md index 435761c..838bd03 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Add this to your `Cargo.toml`: ```toml [dependencies] -contour = "0.12.1" +contour = "0.13.0" ``` and this to your crate root: @@ -90,7 +90,7 @@ The `geojson` feature is not enabled by default, so you need to specify it in yo ```toml [dependencies] -contour = { version = "0.12.1", features = ["geojson"] } +contour = { version = "0.13.0", features = ["geojson"] } ``` ```rust @@ -150,7 +150,7 @@ If you want to use `f32` values instead, you need to specify the `f32` feature i ```toml [dependencies] -contour = { version = "0.12.1", features = ["f32"] } +contour = { version = "0.13.0", features = ["f32"] } ``` ## WASM demo