Skip to content

Commit

Permalink
RELEASE: 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Gtker committed Oct 25, 2022
1 parent aac5da7 commit ac8303f
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 11 deletions.
23 changes: 15 additions & 8 deletions wow_dbc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<Self::PrimaryKey>`.
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
Expand All @@ -27,10 +19,25 @@ 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<Self::PrimaryKey>`.
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

* 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
2 changes: 1 addition & 1 deletion wow_dbc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion wow_dbc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion wow_dbc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit ac8303f

Please sign in to comment.