2020-09-05 15:15:28 +02:00
|
|
|
|
# Changelog
|
|
|
|
|
|
|
|
|
|
<!-- vim-markdown-toc GFM -->
|
|
|
|
|
|
2020-12-05 16:34:56 +01:00
|
|
|
|
* [3.5.1](#351)
|
2020-11-23 22:26:13 +01:00
|
|
|
|
* [3.5](#35)
|
2020-10-24 23:44:25 +02:00
|
|
|
|
* [3.4.2](#342)
|
2020-09-05 15:15:28 +02:00
|
|
|
|
* [3.4.1](#341)
|
|
|
|
|
* [3.4](#34)
|
|
|
|
|
* [3.3](#33)
|
|
|
|
|
* [3.2](#32)
|
|
|
|
|
* [3.1](#31)
|
|
|
|
|
* [3.0](#30)
|
|
|
|
|
* [Major changes](#major-changes)
|
|
|
|
|
* [Patch changes](#patch-changes)
|
|
|
|
|
* [2.2](#22)
|
|
|
|
|
* [2.1.1](#211)
|
|
|
|
|
* [2.1](#21)
|
|
|
|
|
* [2.0.1](#201)
|
|
|
|
|
* [2.0](#20)
|
|
|
|
|
* [Major changes](#major-changes-1)
|
|
|
|
|
* [Minor changes](#minor-changes)
|
|
|
|
|
* [1.0](#10)
|
|
|
|
|
* [Major changes](#major-changes-2)
|
|
|
|
|
* [Minor changes](#minor-changes-1)
|
|
|
|
|
* [Patch changes](#patch-changes-1)
|
|
|
|
|
* [0.2.3](#023)
|
|
|
|
|
* [0.2.2](#022)
|
|
|
|
|
* [0.2.1](#021)
|
|
|
|
|
* [0.2](#02)
|
|
|
|
|
* [0.1.1](#011)
|
|
|
|
|
* [0.1](#01)
|
|
|
|
|
|
|
|
|
|
<!-- vim-markdown-toc -->
|
|
|
|
|
|
2020-12-05 16:34:56 +01:00
|
|
|
|
# 3.5.1
|
|
|
|
|
|
|
|
|
|
> Dec 5th, 2020
|
|
|
|
|
|
|
|
|
|
- Support of `glam-0.11`.
|
|
|
|
|
|
2020-11-23 22:26:13 +01:00
|
|
|
|
# 3.5
|
|
|
|
|
|
|
|
|
|
> Nov 23rd, 2020
|
|
|
|
|
|
|
|
|
|
- Add support for [glam](https://crates.io/crates/glam) via the `"impl-glam"` feature gate.
|
|
|
|
|
- Support of `nalgebra-0.23`.
|
|
|
|
|
|
2020-10-24 23:44:25 +02:00
|
|
|
|
# 3.4.2
|
|
|
|
|
|
|
|
|
|
> Oct 24th, 2020
|
|
|
|
|
|
|
|
|
|
- Support of `simba-0.3`.
|
|
|
|
|
|
2020-09-05 15:15:28 +02:00
|
|
|
|
# 3.4.1
|
|
|
|
|
|
2020-10-24 23:44:25 +02:00
|
|
|
|
> Sep 5th, 2020
|
2020-09-05 15:15:28 +02:00
|
|
|
|
|
|
|
|
|
- Support of `simba-0.2`.
|
2020-09-05 15:25:16 +02:00
|
|
|
|
- Support of `nalgebra-0.22`.
|
2020-09-05 15:15:28 +02:00
|
|
|
|
|
2020-05-21 20:11:36 +02:00
|
|
|
|
# 3.4
|
|
|
|
|
|
|
|
|
|
> Thu May 21st 2020
|
|
|
|
|
|
|
|
|
|
- Add support for `float-cmp-0.7` and `float-cmp-0.8`. Because this uses a SemVer range, if you
|
|
|
|
|
already have a `Cargo.lock`, don’t forget to update `splines` with `cargo update --aggressive`.
|
|
|
|
|
|
2020-04-09 23:51:07 +02:00
|
|
|
|
# 3.3
|
|
|
|
|
|
2020-05-21 20:11:36 +02:00
|
|
|
|
> Thu Apr 10th 2020
|
2020-04-09 23:51:07 +02:00
|
|
|
|
|
|
|
|
|
- Add support for `nalgebra-0.21`.
|
|
|
|
|
|
2020-03-19 01:36:13 +01:00
|
|
|
|
# 3.2
|
|
|
|
|
|
2020-04-09 23:51:07 +02:00
|
|
|
|
> Thu Mar 19th 2020
|
2020-03-19 01:36:13 +01:00
|
|
|
|
|
|
|
|
|
- Add support for `nalgebra-0.20`.
|
|
|
|
|
- Add support for `float-cmp-0.6`.
|
|
|
|
|
|
2020-04-09 23:51:07 +02:00
|
|
|
|
# 3.1
|
2020-01-26 21:19:25 +01:00
|
|
|
|
|
2020-03-19 01:36:13 +01:00
|
|
|
|
> Sat Jan 26th 2020
|
2020-01-26 21:19:25 +01:00
|
|
|
|
|
|
|
|
|
- Add support for `nalgebra-0.19`.
|
|
|
|
|
|
2020-04-09 23:51:07 +02:00
|
|
|
|
# 3.0
|
2019-10-20 20:52:15 +02:00
|
|
|
|
|
2019-10-22 21:43:50 +02:00
|
|
|
|
> Tue Oct 22th 2019
|
2019-10-20 20:52:15 +02:00
|
|
|
|
|
|
|
|
|
## Major changes
|
|
|
|
|
|
|
|
|
|
- Sampling now requires the value of the key to be `Linear<T>` for `Interpolate<T>`. That is needed
|
|
|
|
|
to ease some interpolation mode (especially Bézier).
|
|
|
|
|
|
|
|
|
|
## Patch changes
|
|
|
|
|
|
|
|
|
|
- Fix Bézier interpolation when the next key is Bézier too.
|
|
|
|
|
|
2020-04-09 23:51:07 +02:00
|
|
|
|
# 2.2
|
2019-10-17 15:31:05 +02:00
|
|
|
|
|
|
|
|
|
> Mon Oct 17th 2019
|
|
|
|
|
|
|
|
|
|
- Add `Interpolation::StrokeBezier`.
|
|
|
|
|
|
|
|
|
|
# 2.1.1
|
|
|
|
|
|
|
|
|
|
> Mon Oct 17th 2019
|
|
|
|
|
|
|
|
|
|
- Licensing support in the crate.
|
|
|
|
|
|
2019-09-30 12:49:36 +02:00
|
|
|
|
# 2.1
|
|
|
|
|
|
|
|
|
|
> Mon Sep 30th 2019
|
|
|
|
|
|
|
|
|
|
- Add `Spline::sample_with_key` and `Spline::clamped_sample_with_key`. Those methods allow one to
|
|
|
|
|
perform the regular `Spline::sample` and `Spline::clamped_sample` but also retreive the base
|
|
|
|
|
key that was used to perform the interpolation. The key can be inspected to get the base time,
|
|
|
|
|
interpolation, etc. The next key is also returned, if present.
|
|
|
|
|
|
2019-09-24 21:31:18 +02:00
|
|
|
|
# 2.0.1
|
|
|
|
|
|
|
|
|
|
> Tue Sep 24th 2019
|
|
|
|
|
|
|
|
|
|
- Fix the cubic Bézier curve interpolation. The “output” tangent is now taken by mirroring the
|
|
|
|
|
next key’s tangent around its control point.
|
|
|
|
|
|
2020-04-09 23:51:07 +02:00
|
|
|
|
# 2.0
|
2019-09-23 19:53:52 +02:00
|
|
|
|
|
2019-09-24 21:31:18 +02:00
|
|
|
|
> Mon Sep 23rd 2019
|
2019-09-24 10:42:03 +02:00
|
|
|
|
|
|
|
|
|
## Major changes
|
|
|
|
|
|
|
|
|
|
- Add support for [Bézier curves](https://en.wikipedia.org/wiki/B%C3%A9zier_curve).
|
|
|
|
|
- Because of Bézier curves, the `Interpolation` type now has one more type variable to know how we
|
|
|
|
|
should interpolate with Bézier.
|
|
|
|
|
|
|
|
|
|
## Minor changes
|
2019-09-23 19:53:52 +02:00
|
|
|
|
|
2019-09-23 20:56:56 +02:00
|
|
|
|
- Add `Spline::get`, `Spline::get_mut` and `Spline::replace`.
|
2019-09-23 19:53:52 +02:00
|
|
|
|
|
2019-09-22 19:15:57 +02:00
|
|
|
|
# 1.0
|
|
|
|
|
|
2019-09-23 19:53:52 +02:00
|
|
|
|
> Sun Sep 22nd 2019
|
2019-09-22 19:15:57 +02:00
|
|
|
|
|
|
|
|
|
## Major changes
|
|
|
|
|
|
|
|
|
|
- Make `Spline::clamped_sample` failible via `Option` instead of panicking.
|
|
|
|
|
- Add support for polymorphic sampling type.
|
|
|
|
|
|
|
|
|
|
## Minor changes
|
|
|
|
|
|
|
|
|
|
- Add the `std` feature (and hence support for `no_std`).
|
|
|
|
|
- Add `impl-nalgebra` feature.
|
|
|
|
|
- Add `impl-cgmath` feature.
|
|
|
|
|
- Add support for adding keys to splines.
|
|
|
|
|
- Add support for removing keys from splines.
|
|
|
|
|
|
|
|
|
|
## Patch changes
|
|
|
|
|
|
|
|
|
|
- Migrate to Rust 2018.
|
|
|
|
|
- Documentation typo fixes.
|
|
|
|
|
|
|
|
|
|
# 0.2.3
|
2018-10-13 03:31:44 +02:00
|
|
|
|
|
|
|
|
|
> Sat 13th October 2018
|
|
|
|
|
|
2019-09-22 19:15:57 +02:00
|
|
|
|
- Add the `"impl-nalgebra"` feature gate. It gives access to some implementors for the `nalgebra`
|
|
|
|
|
crate.
|
|
|
|
|
- Enhance the documentation.
|
2018-10-13 03:31:44 +02:00
|
|
|
|
|
2019-09-22 19:15:57 +02:00
|
|
|
|
# 0.2.2
|
2018-09-30 21:38:49 +02:00
|
|
|
|
|
|
|
|
|
> Sun 30th September 2018
|
|
|
|
|
|
2019-09-22 19:15:57 +02:00
|
|
|
|
- Bump version numbers (`splines-0.2`) in examples.
|
|
|
|
|
- Fix several typos in the documentation.
|
2018-09-30 21:38:49 +02:00
|
|
|
|
|
2019-09-22 19:15:57 +02:00
|
|
|
|
# 0.2.1
|
2018-09-20 11:56:57 +02:00
|
|
|
|
|
|
|
|
|
> Thu 20th September 2018
|
|
|
|
|
|
2019-09-22 19:15:57 +02:00
|
|
|
|
- Enhance the features documentation.
|
2018-09-20 11:56:57 +02:00
|
|
|
|
|
2018-09-06 15:58:10 +02:00
|
|
|
|
# 0.2
|
|
|
|
|
|
|
|
|
|
> Thu 6th September 2018
|
|
|
|
|
|
2019-09-22 19:15:57 +02:00
|
|
|
|
- Add the `"std"` feature gate, that can be used to compile with the standard library.
|
|
|
|
|
- Add the `"impl-cgmath"` feature gate in order to make optional, if wanted, the `cgmath`
|
|
|
|
|
dependency.
|
|
|
|
|
- Enhance the documentation.
|
2018-09-06 15:58:10 +02:00
|
|
|
|
|
2019-09-22 19:15:57 +02:00
|
|
|
|
# 0.1.1
|
2018-08-08 12:10:48 +02:00
|
|
|
|
|
|
|
|
|
> Wed 8th August 2018
|
|
|
|
|
|
2019-09-22 19:15:57 +02:00
|
|
|
|
- Add a feature gate, `"serialization"`, that can be used to automatically derive `Serialize` and
|
|
|
|
|
`Deserialize` from the [serde](https://crates.io/crates/serde) crate.
|
|
|
|
|
- Enhance the documentation.
|
2018-08-08 12:10:48 +02:00
|
|
|
|
|
|
|
|
|
# 0.1
|
|
|
|
|
|
|
|
|
|
> Sunday 5th August 2018
|
|
|
|
|
|
2019-09-22 19:15:57 +02:00
|
|
|
|
- Initial revision.
|