From ac8303fb498c01baf8b0ad4de12e6c144475a446 Mon Sep 17 00:00:00 2001 From: Gtker Date: Tue, 25 Oct 2022 15:12:14 +0200 Subject: [PATCH] RELEASE: 0.2.0 --- wow_dbc/CHANGELOG.md | 23 +++++++++++++++-------- wow_dbc/Cargo.toml | 2 +- wow_dbc/README.md | 2 +- wow_dbc/src/lib.rs | 2 +- 4 files changed, 18 insertions(+), 11 deletions(-) diff --git a/wow_dbc/CHANGELOG.md b/wow_dbc/CHANGELOG.md index 8babf2f..7ba97c0 100644 --- a/wow_dbc/CHANGELOG.md +++ b/wow_dbc/CHANGELOG.md @@ -9,16 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -* `Hash`, `PartialOrd`, `Ord`, `Default` traits for types that support it. -* `From<{native_ty}` and all integer types with a `From<{native_ty}>` for primary keys. - ### Changed -* BREAKING: Changed `Indexable::get` and `Indexable::get_mut` parameters from `&Self::PrimaryKey` to `impl Into`. -This is in order to reduce the boilerplate needed for calling the functions with values that aren't from another `wow_dbc` table. -This makes it possible to do `table.get(value)` instead of `table.get(TableKey::new(value))` -* BREAKING: Removed all default features. This prevents people from mistakenly not disabling the expansions that they do not need and bloating compile times as well as IDE suggestions. - ### Deprecated ### Removed @@ -27,6 +19,20 @@ This makes it possible to do `table.get(value)` instead of `table.get(TableKey:: ### Security +## [0.2.0] - 2022-10-25 + +### Added + +* `Hash`, `PartialOrd`, `Ord`, `Default` traits for types that support it. +* `From<{native_ty}` and all integer types with a `From<{native_ty}>` for primary keys. + +### Changed + +* BREAKING: Changed `Indexable::get` and `Indexable::get_mut` parameters from `&Self::PrimaryKey` to `impl Into`. +This is in order to reduce the boilerplate needed for calling the functions with values that aren't from another `wow_dbc` table. +This makes it possible to do `table.get(value)` instead of `table.get(TableKey::new(value))` +* BREAKING: Removed all default features. This prevents people from mistakenly not disabling the expansions that they do not need and bloating compile times as well as IDE suggestions. + ## [0.1.0] - 2022-09-29 ### Added @@ -34,3 +40,4 @@ This makes it possible to do `table.get(value)` instead of `table.get(TableKey:: * Initial release. [0.1.0]: https://github.com/gtker/wow_dbc/tree/58484817c75947a97c05a0ed1fbf02f0bc6baa74 +[0.2.0]: https://github.com/gtker/wow_dbc/releases/tag/v0.2.0 diff --git a/wow_dbc/Cargo.toml b/wow_dbc/Cargo.toml index ff241b9..69aeb48 100644 --- a/wow_dbc/Cargo.toml +++ b/wow_dbc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wow_dbc" -version = "0.1.0" # Remember to update docs in src/lib.rs and README.md +version = "0.2.0" # Remember to update docs in src/lib.rs and README.md edition = "2021" description = "Library for parsing World of Warcraft DBC files for 1.12, 2.4.3 and 3.3.5." license = "MIT OR Apache-2.0" diff --git a/wow_dbc/README.md b/wow_dbc/README.md index d2c4db5..ac51b93 100644 --- a/wow_dbc/README.md +++ b/wow_dbc/README.md @@ -8,7 +8,7 @@ Add the following to your `Cargo.toml`: ```toml [dependencies] -wow_dbc = { version = "0.1", features = ["vanilla", "tbc", "wrath"] } +wow_dbc = { version = "0.2", features = ["vanilla", "tbc", "wrath"] } ``` Or add it with [cargo edit](https://github.com/killercup/cargo-edit): diff --git a/wow_dbc/src/lib.rs b/wow_dbc/src/lib.rs index 58de1ce..4fc329a 100644 --- a/wow_dbc/src/lib.rs +++ b/wow_dbc/src/lib.rs @@ -24,7 +24,7 @@ //! //! ```toml //! [dependencies] -//! wow_dbc = { version = "0.1", features = ["vanilla", "tbc", "wrath"] } +//! wow_dbc = { version = "0.2", features = ["vanilla", "tbc", "wrath"] } //! ``` //! //! Or add it with [cargo edit](https://github.com/killercup/cargo-edit):