From 2d527b96e54e58af76070dc9f43ecedc667395a7 Mon Sep 17 00:00:00 2001 From: Cameron Hart Date: Tue, 19 Dec 2023 14:22:09 +1300 Subject: [PATCH] Prepare for release 0.25.0 (#451) --- CHANGELOG.md | 8 ++++++-- Cargo.toml | 2 +- README.md | 4 ++-- src/lib.rs | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 099f5f71..e0ff2f2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog], and this project adheres to [Semantic Versioning]. -## [Unreleased] +## [0.25.0] - 2023-12-19 ### Breaking changes @@ -39,6 +39,9 @@ The format is based on [Keep a Changelog], and this project adheres to `DQuat::as_quat()` to be consistent with other types. The old methods have been deprecated. +* Added the `#[must_use]` attribute to all pure functions following the + guidelines for the Rust standard library. + ## [0.24.2] - 2023-09-23 ### Fixed @@ -998,7 +1001,8 @@ The format is based on [Keep a Changelog], and this project adheres to [Keep a Changelog]: https://keepachangelog.com/ [Semantic Versioning]: https://semver.org/spec/v2.0.0.html -[Unreleased]: https://github.com/bitshifter/glam-rs/compare/0.24.2...HEAD +[Unreleased]: https://github.com/bitshifter/glam-rs/compare/0.25.0...HEAD +[0.25.0]: https://github.com/bitshifter/glam-rs/compare/0.24.2...0.25.0 [0.24.2]: https://github.com/bitshifter/glam-rs/compare/0.24.1...0.24.2 [0.24.1]: https://github.com/bitshifter/glam-rs/compare/0.24.0...0.24.1 [0.24.0]: https://github.com/bitshifter/glam-rs/compare/0.23.0...0.24.0 diff --git a/Cargo.toml b/Cargo.toml index 2e83eb1e..9d8a713c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "glam" -version = "0.24.2" # remember to update html_root_url +version = "0.25.0" # remember to update html_root_url edition = "2021" authors = ["Cameron Hart "] description = "A simple and fast 3D math library for games and graphics" diff --git a/README.md b/README.md index 88ea26b3..a6d9613a 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ defined in `std`. For example: ```toml [dependencies] -glam = { version = "0.24", default-features = false, features = ["libm"] } +glam = { version = "0.25", default-features = false, features = ["libm"] } ``` To support both `std` and `no_std` builds in project, you can use the following @@ -92,7 +92,7 @@ std = ["glam/std"] libm = ["glam/libm"] [dependencies] -glam = { version = "0.24", default-features = false } +glam = { version = "0.25", default-features = false } ``` ### Optional features diff --git a/src/lib.rs b/src/lib.rs index 6fea6a8e..1c466dff 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -251,7 +251,7 @@ and benchmarks. The minimum supported Rust version is `1.58.1`. */ -#![doc(html_root_url = "https://docs.rs/glam/0.24.2")] +#![doc(html_root_url = "https://docs.rs/glam/0.25.0")] #![cfg_attr(not(feature = "std"), no_std)] #![cfg_attr(target_arch = "spirv", feature(repr_simd))] #![deny(