From 2ab92bfcd33389268f6b50e270332d0568c17c78 Mon Sep 17 00:00:00 2001 From: Andrei <8067229+andrei-ng@users.noreply.github.com> Date: Sat, 29 Jun 2024 10:24:30 +0200 Subject: [PATCH] update Cargo.toml version for release (#214) Signed-off-by: Andrei Gherghescu <8067229+andrei-ng@users.noreply.github.com> --- CHANGELOG.md | 22 +++++++++++----------- README.md | 6 +++--- docs/book/src/getting_started.md | 4 ++-- plotly/Cargo.toml | 8 ++++---- plotly_derive/Cargo.toml | 2 +- plotly_kaleido/Cargo.toml | 2 +- 6 files changed, 22 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 44f210e8..0ecb4ecb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,19 +3,19 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.9.0] - 2024-xx-xx +## [0.9.0] - 2024-06-29 ### Added -- [[#207](https://github.com/plotly/plotly,rs/pull/207)] Add `Table` trace. -- [[#181](https://github.com/plotly/plotly,rs/pull/181)] Fix compilation error when mixing the crate with `askama/with-axum` by adding `with-axum` feature. -- [[#180](https://github.com/plotly/plotly.rs/pull/180)] Add setter for `Mapbox::domain`. -- [[#178](https://github.com/plotly/plotly.rs/pull/178)] Fix setter for `Axis::matches` to take string arg. -- [[#166](https://github.com/plotly/plotly.rs/pull/166)] Added subplot example with multiple titles. -- [[#163](https://github.com/plotly/plotly.rs/pull/163)] Added `DensityMapbox`. -- [[#161](https://github.com/plotly/plotly.rs/pull/161)] Added `Axis` `scaleanchor` settter. -- [[#159](https://github.com/plotly/plotly.rs/pull/159)] Make `heat_map` module public to expose `Smoothing enum`. -- [[#157](https://github.com/plotly/plotly.rs/pull/157)] Fix `HeatMap`'s setters for correctly setting `zmin`, `zmax` and `zmin` independent of `Z` input type. -- [[#154](https://github.com/plotly/plotly.rs/pull/154)] Improve ergonomics of `Title` and `LegendGroupTitle` structs: `new` method now takes no arguments as per other structs, whilst a new `with_text()` constructor is added for convenience. Where other structs contain a `Title` (and `LegendGroupTitle`), users can now call the `title()` (and `legend_group_title()`) method with anything that `impl`s `Into`, viz. `String`, `&String`, `&str` and `Title`. - [[#153](https://github.com/plotly/plotly.rs/pull/153)] Added `LayoutScene`. +- [[#154](https://github.com/plotly/plotly.rs/pull/154)] Improve ergonomics of `Title` and `LegendGroupTitle` structs: `new` method now takes no arguments as per other structs, whilst a new `with_text()` constructor is added for convenience. Where other structs contain a `Title` (and `LegendGroupTitle`), users can now call the `title()` (and `legend_group_title()`) method with anything that `impl`s `Into<Title>`, viz. `String`, `&String`, `&str` and `Title`. +- [[#157](https://github.com/plotly/plotly.rs/pull/157)] Fix `HeatMap`'s setters for correctly setting `zmin`, `zmax` and `zmin` independent of `Z` input type. +- [[#159](https://github.com/plotly/plotly.rs/pull/159)] Make `heat_map` module public to expose `Smoothing enum`. +- [[#161](https://github.com/plotly/plotly.rs/pull/161)] Added `Axis` `scaleanchor` settter. +- [[#163](https://github.com/plotly/plotly.rs/pull/163)] Added `DensityMapbox`. +- [[#166](https://github.com/plotly/plotly.rs/pull/166)] Added subplot example with multiple titles. +- [[#178](https://github.com/plotly/plotly.rs/pull/178)] Fix setter for `Axis::matches` to take string arg. +- [[#180](https://github.com/plotly/plotly.rs/pull/180)] Add setter for `Mapbox::domain`. +- [[#181](https://github.com/plotly/plotly,rs/pull/181)] Fix compilation error when mixing the crate with `askama/with-axum` by adding `with-axum` feature. +- [[#207](https://github.com/plotly/plotly,rs/pull/207)] Add `Table` trace. - [[#212](https://github.com/plotly/plotly.rs/pull/212)] Update LICENSE ## [0.8.4] - 2023-07-09 diff --git a/README.md b/README.md index 1909419e..8407d6ba 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ Add this to your `Cargo.toml`: ```toml [dependencies] -plotly = "0.8.4" +plotly = "0.9.0" ``` ## Exporting an Interactive Plot @@ -103,7 +103,7 @@ To save a plot as a static image, the `kaleido` feature is required: # Cargo.toml [dependencies] -plotly = { version = "0.8.4", features = ["kaleido"] } +plotly = { version = "0.9.0", features = ["kaleido"] } ``` With this feature enabled, plots can be saved as any of `png`, `jpeg`, `webp`, `svg`, `pdf` and `eps`. Note that the plot will be a static image, i.e. they will be non-interactive. @@ -130,7 +130,7 @@ Using `Plotly.rs` in a Wasm-based frontend framework is possible by enabling the # Cargo.toml [dependencies] -plotly = { version = "0.8.4", features = ["wasm"] } +plotly = { version = "0.9.0", features = ["wasm"] } ``` First, make sure that you have the Plotly JavaScript library in your base HTML template: diff --git a/docs/book/src/getting_started.md b/docs/book/src/getting_started.md index e0a83086..ee3acc79 100644 --- a/docs/book/src/getting_started.md +++ b/docs/book/src/getting_started.md @@ -22,7 +22,7 @@ To start using [plotly.rs](https://github.com/plotly/plotly.rs) in your project ```toml [dependencies] -plotly = "0.8.4" +plotly = "0.9.0" ``` [Plotly.rs](https://github.com/plotly/plotly.rs) is ultimately a thin wrapper around the `plotly.js` library. The main job of this library is to provide `structs` and `enums` which get serialized to `json` and passed to the `plotly.js` library to actually do the heavy lifting. As such, if you are familiar with `plotly.js` or its derivatives (e.g. the equivalent Python library), then you should find [`plotly.rs`](https://github.com/plotly/plotly.rs) intuitive to use. @@ -97,7 +97,7 @@ To add the ability to save plots in the following formats: png, jpeg, webp, svg, ```toml [dependencies] -plotly = { version = "0.8.4", features = ["kaleido"] } +plotly = { version = "0.9.0", features = ["kaleido"] } ``` ## WebAssembly Support diff --git a/plotly/Cargo.toml b/plotly/Cargo.toml index 55df4e53..ff9b07aa 100644 --- a/plotly/Cargo.toml +++ b/plotly/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "plotly" -version = "0.8.4" +version = "0.9.0" description = "A plotting library powered by Plotly.js" authors = ["Ioannis Giagkiozis <i.giagkiozis@gmail.com>"] license = "MIT" @@ -28,8 +28,8 @@ erased-serde = "0.4" getrandom = { version = "0.2", features = ["js"], optional = true } image = { version = "0.25", optional = true } js-sys = { version = "0.3", optional = true } -plotly_derive = { version = "0.8.4", path = "../plotly_derive" } -plotly_kaleido = { version = "0.8.4", path = "../plotly_kaleido", optional = true } +plotly_derive = { version = "0.9.0", path = "../plotly_derive" } +plotly_kaleido = { version = "0.9.0", path = "../plotly_kaleido", optional = true } ndarray = { version = "0.15.4", optional = true } once_cell = "1" serde = { version = "1.0.132", features = ["derive"] } @@ -46,5 +46,5 @@ image = "0.25" itertools = ">=0.10, <0.14" itertools-num = "0.1.3" ndarray = "0.15.4" -plotly_kaleido = { version = "0.8.4", path = "../plotly_kaleido" } +plotly_kaleido = { version = "0.9.0", path = "../plotly_kaleido" } rand_distr = "0.4" diff --git a/plotly_derive/Cargo.toml b/plotly_derive/Cargo.toml index 5cd66285..b818e8de 100644 --- a/plotly_derive/Cargo.toml +++ b/plotly_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "plotly_derive" -version = "0.8.4" +version = "0.9.0" description = "Internal proc macro crate for Plotly-rs." authors = ["Ioannis Giagkiozis <i.giagkiozis@gmail.com>"] license = "MIT" diff --git a/plotly_kaleido/Cargo.toml b/plotly_kaleido/Cargo.toml index 73b873cb..ed7403a8 100644 --- a/plotly_kaleido/Cargo.toml +++ b/plotly_kaleido/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "plotly_kaleido" -version = "0.8.4" +version = "0.9.0" description = "Additional output format support for plotly using Kaleido" authors = ["Ioannis Giagkiozis <i.giagkiozis@gmail.com>"] license = "MIT"