Skip to content

Commit 7ce05e5

Browse files
committed
Prepare for 0.13.0 release
1 parent 2e58cfb commit 7ce05e5

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
## Changelog
22

3+
### 0.13.0 (2024-04-15)
4+
5+
- BREAKING: Change the signature of `ContourBuilder::new` to take a `usize` instead of an `u32` for the dimensions of the grid.
6+
This is more idiomatic and consistent with the rest of the Rust ecosystem and enables the use of larger grids
7+
(thanks to @netthier, see #12 and #13 for details).
8+
9+
- Fix artifacts in the contours obtained when using the `f32` feature and large grids (thanks to @netthier, see #12 and #13 for details).
10+
311
### 0.12.1 (2024-03-11)
412

513
- 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.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "contour"
3-
version = "0.12.1"
3+
version = "0.13.0"
44
authors = ["Matthieu Viry <[email protected]>"]
55
edition = "2021"
66

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Add this to your `Cargo.toml`:
1919

2020
```toml
2121
[dependencies]
22-
contour = "0.12.1"
22+
contour = "0.13.0"
2323
```
2424

2525
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
9090

9191
```toml
9292
[dependencies]
93-
contour = { version = "0.12.1", features = ["geojson"] }
93+
contour = { version = "0.13.0", features = ["geojson"] }
9494
```
9595

9696
```rust
@@ -150,7 +150,7 @@ If you want to use `f32` values instead, you need to specify the `f32` feature i
150150

151151
```toml
152152
[dependencies]
153-
contour = { version = "0.12.1", features = ["f32"] }
153+
contour = { version = "0.13.0", features = ["f32"] }
154154
```
155155

156156
## WASM demo

0 commit comments

Comments
 (0)