Skip to content

Commit

Permalink
Prepare for 0.13.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mthh committed Apr 15, 2024
1 parent 2e58cfb commit 7ce05e5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "contour"
version = "0.12.1"
version = "0.13.0"
authors = ["Matthieu Viry <[email protected]>"]
edition = "2021"

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7ce05e5

Please sign in to comment.