Skip to content

bump version number #236

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ 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.10.0] - 2024-xx-xx
## [0.10.0] - 2024-09-16
### Added
- [[#231](https://github.com/plotly/plotly.rs/pull/231)] Added new `plotly_embed_js` feature to reduce binary sizes by not embedding `plotly.min.js` in the library unless explicitly enabled via the feature flag. Deprecates `use_local_plotly` in favor of explicit opt-in via the feature flag and introduce method `use_cdn_plotly` to allow users to use CDN version even behind the `plotly_embed_js` feature flag.
- [[#230](https://github.com/plotly/plotly.rs/pull/230)] Make Bar chart `width` and `offset` accept `f64` values.

## [0.9.1] - 2024-09-06
### Fixed
- [[#230](https://github.com/plotly/plotly.rs/pull/230)] Make Bar chart `width` and `offset` use `f64` values.

## [0.10.0] - 2024-09-06
### Added
- [[#217](https://github.com/plotly/plotly.rs/pull/217)] Added show_html(filename) method to bypass situations where accessing default `/tmp` is not possible, e.g., with in SNAP Firefox
- [[#227](https://github.com/plotly/plotly.rs/pull/227)] Switch from HTML template render from `askama` to `rinja`
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Add this to your `Cargo.toml`:

```toml
[dependencies]
plotly = "0.9.1"
plotly = "0.10.0"
```

## Exporting an Interactive Plot
Expand Down Expand Up @@ -103,7 +103,7 @@ To save a plot as a static image, the `kaleido` feature is required:
# Cargo.toml

[dependencies]
plotly = { version = "0.9.1", features = ["kaleido"] }
plotly = { version = "0.10.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.
Expand All @@ -130,7 +130,7 @@ Using `Plotly.rs` in a Wasm-based frontend framework is possible by enabling the
# Cargo.toml

[dependencies]
plotly = { version = "0.9.1", features = ["wasm"] }
plotly = { version = "0.10.0", features = ["wasm"] }
```

First, make sure that you have the Plotly JavaScript library in your base HTML template:
Expand Down
4 changes: 2 additions & 2 deletions docs/book/src/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ To start using [plotly.rs](https://github.com/plotly/plotly.rs) in your project

```toml
[dependencies]
plotly = "0.9.1"
plotly = "0.10.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.
Expand Down Expand Up @@ -97,7 +97,7 @@ To add the ability to save plots in the following formats: png, jpeg, webp, svg,

```toml
[dependencies]
plotly = { version = "0.9.1", features = ["kaleido"] }
plotly = { version = "0.10.0", features = ["kaleido"] }
```

## WebAssembly Support
Expand Down
8 changes: 4 additions & 4 deletions plotly/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "plotly"
version = "0.9.1"
version = "0.10.0"
description = "A plotting library powered by Plotly.js"
authors = ["Ioannis Giagkiozis <i.giagkiozis@gmail.com>"]
license = "MIT"
Expand Down Expand Up @@ -29,8 +29,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.9.1", path = "../plotly_derive" }
plotly_kaleido = { version = "0.9.1", path = "../plotly_kaleido", optional = true }
plotly_derive = { version = "0.10.0", path = "../plotly_derive" }
plotly_kaleido = { version = "0.10.0", path = "../plotly_kaleido", optional = true }
ndarray = { version = "0.16.0", optional = true }
once_cell = "1"
serde = { version = "1.0.132", features = ["derive"] }
Expand All @@ -47,5 +47,5 @@ image = "0.25"
itertools = ">=0.10, <0.14"
itertools-num = "0.1.3"
ndarray = "0.16.0"
plotly_kaleido = { version = "0.9.1", path = "../plotly_kaleido" }
plotly_kaleido = { version = "0.10.0", path = "../plotly_kaleido" }
rand_distr = "0.4"
2 changes: 1 addition & 1 deletion plotly_derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "plotly_derive"
version = "0.9.1"
version = "0.10.0"
description = "Internal proc macro crate for Plotly-rs."
authors = ["Ioannis Giagkiozis <i.giagkiozis@gmail.com>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion plotly_kaleido/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "plotly_kaleido"
version = "0.9.1"
version = "0.10.0"
description = "Additional output format support for plotly using Kaleido"
authors = ["Ioannis Giagkiozis <i.giagkiozis@gmail.com>"]
license = "MIT"
Expand Down
Loading