From be50aba080d9abd7602052ec159fb7db35b42904 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Mon, 18 May 2020 12:00:04 +0200 Subject: [PATCH] 0.4.0 --- CHANGELOG.md | 12 ++++++++++++ Cargo.toml | 16 ++++++++-------- crates/genie-cpx/Cargo.toml | 4 ++-- crates/genie-dat/Cargo.toml | 2 +- crates/genie-drs/Cargo.toml | 2 +- crates/genie-hki/Cargo.toml | 2 +- crates/genie-lang/Cargo.toml | 4 ++-- crates/genie-rec/Cargo.toml | 9 ++++++--- crates/genie-scx/Cargo.toml | 4 ++-- crates/genie-support/Cargo.toml | 2 +- crates/jascpal/Cargo.toml | 2 +- 11 files changed, 37 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ffc9ba7..5895725 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## 0.4.0 +* **(breaking)** scx: support Age of Empires 2: Definitive Edition scenario files. (#28) +* **(breaking)** scx: change `DataStruct::from(&mut Read)` methods to `DataStruct::read_from(impl Read)`. (#28) +* **(breaking)** cpx: update genie-scx to v3.0.0. +* cpx: support reading and writing AoE1: Definitive Edition campaign files. (#18) +* dat: Add a `.dat` file reader with support for The Conquerors and the HD Edition. It has some writing support but makes no guarantees yet. +* drs: make `ResourceType` act more like a `&str`. (#15) +* lang: disable unused `pelite` features for leaner DLL reading. +* rec: Add a recorded game file reader with support for Age of Kings and The Conquerors. (#8) +* scx: support writing embedded AI information and triggers. (#17, #28) +* Use `thiserror` for custom error types. (#27) + ## 0.3.0 * **(breaking)** genie: Raise minimum language version requirement to Rust 1.34, for the `TryFrom` trait. * **(breaking)** scx: Add descriptive error types. diff --git a/Cargo.toml b/Cargo.toml index 627a167..08018db 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "genie" -version = "0.3.0" +version = "0.4.0" authors = ["Renée Kooi "] edition = "2018" license = "GPL-3.0" @@ -10,14 +10,14 @@ repository = "https://github.com/SiegeEngineers/genie-rs" readme = "README.md" [dependencies] -genie-cpx = { version = "0.3.0", path = "crates/genie-cpx" } +genie-cpx = { version = "0.4.0", path = "crates/genie-cpx" } genie-dat = { version = "0.1.0", path = "crates/genie-dat" } -genie-drs = { version = "0.2.0", path = "crates/genie-drs" } -genie-hki = { version = "0.2.0", path = "crates/genie-hki" } -genie-lang = { version = "0.2.0", path = "crates/genie-lang" } -genie-rec = { version = "0.0.0", path = "crates/genie-rec" } -genie-scx = { version = "2.0.0", path = "crates/genie-scx" } -jascpal = { version = "0.1.0", path = "crates/jascpal" } +genie-drs = { version = "0.2.1", path = "crates/genie-drs" } +genie-hki = { version = "0.2.1", path = "crates/genie-hki" } +genie-lang = { version = "0.2.1", path = "crates/genie-lang" } +genie-rec = { version = "0.1.0", path = "crates/genie-rec" } +genie-scx = { version = "3.0.0", path = "crates/genie-scx" } +jascpal = { version = "0.1.1", path = "crates/jascpal" } [dev-dependencies] structopt = "^0.3.11" diff --git a/crates/genie-cpx/Cargo.toml b/crates/genie-cpx/Cargo.toml index de640b1..4c64e53 100644 --- a/crates/genie-cpx/Cargo.toml +++ b/crates/genie-cpx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "genie-cpx" -version = "0.3.0" +version = "0.4.0" authors = ["Renée Kooi "] edition = "2018" license = "GPL-3.0" @@ -13,7 +13,7 @@ exclude = ["test/campaigns"] byteorder = "^1.3.1" chardet = "^0.2.4" encoding_rs = "^0.8.17" -genie-scx = { version = "2.0.0", path = "../genie-scx" } +genie-scx = { version = "3.0.0", path = "../genie-scx" } thiserror = "1.0.13" [dev-dependencies] diff --git a/crates/genie-dat/Cargo.toml b/crates/genie-dat/Cargo.toml index 8d8370c..45e74f9 100644 --- a/crates/genie-dat/Cargo.toml +++ b/crates/genie-dat/Cargo.toml @@ -13,7 +13,7 @@ arrayvec = "^0.5.1" byteorder = "^1.3.1" encoding_rs = "^0.8.17" flate2 = { version = "^1.0.0", features = ["rust_backend"], default-features = false } -genie-support = { version = "^0.0.0", path = "../genie-support" } +genie-support = { version = "^1.0.0", path = "../genie-support" } jascpal = { version = "^0.1.0", path = "../jascpal" } thiserror = "1.0.13" diff --git a/crates/genie-drs/Cargo.toml b/crates/genie-drs/Cargo.toml index 8c2c3da..61306cd 100644 --- a/crates/genie-drs/Cargo.toml +++ b/crates/genie-drs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "genie-drs" -version = "0.2.0" +version = "0.2.1" authors = ["Renée Kooi "] edition = "2018" license = "GPL-3.0" diff --git a/crates/genie-hki/Cargo.toml b/crates/genie-hki/Cargo.toml index ee5f7ce..517baee 100644 --- a/crates/genie-hki/Cargo.toml +++ b/crates/genie-hki/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "genie-hki" -version = "0.2.0" +version = "0.2.1" authors = ["Renée Kooi "] edition = "2018" license = "GPL-3.0" diff --git a/crates/genie-lang/Cargo.toml b/crates/genie-lang/Cargo.toml index 7e2aac5..e437e6e 100644 --- a/crates/genie-lang/Cargo.toml +++ b/crates/genie-lang/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "genie-lang" -version = "0.2.0" +version = "0.2.1" authors = ["Renée Kooi "] edition = "2018" license = "GPL-3.0" @@ -13,7 +13,7 @@ exclude = ["test/dlls"] byteorder = "^1.3.1" encoding_rs = "^0.8.17" encoding_rs_io = "^0.1.5" -genie-support = { version = "0.0.0", path = "../genie-support" } +genie-support = { version = "1.0.0", path = "../genie-support" } pelite = { version = "^0.8.0", default-features = false, features = ["mmap"] } thiserror = "1.0.13" diff --git a/crates/genie-rec/Cargo.toml b/crates/genie-rec/Cargo.toml index 130a1e8..c7c406a 100644 --- a/crates/genie-rec/Cargo.toml +++ b/crates/genie-rec/Cargo.toml @@ -1,17 +1,20 @@ [package] name = "genie-rec" -version = "0.0.0" +version = "0.1.0" authors = ["Renée Kooi "] edition = "2018" license = "GPL-3.0" +description = "Read Age of Empires I/II recorded game files." +homepage = "https://github.com/SiegeEngineers/genie-rs" +repository = "https://github.com/SiegeEngineers/genie-rs" [dependencies] arrayvec = "0.5" byteorder = "^1.3.1" flate2 = { version = "^1.0.0", features = ["rust_backend"], default-features = false } genie-dat = { version = "0.1.0", path = "../genie-dat" } -genie-scx = { version = "2.0.0", path = "../genie-scx" } -genie-support = { version = "0.0.0", path = "../genie-support", features = ["strings"] } +genie-scx = { version = "3.0.0", path = "../genie-scx" } +genie-support = { version = "1.0.0", path = "../genie-support", features = ["strings"] } thiserror = "1.0.13" [dev-dependencies] diff --git a/crates/genie-scx/Cargo.toml b/crates/genie-scx/Cargo.toml index 6db28aa..8e74d65 100644 --- a/crates/genie-scx/Cargo.toml +++ b/crates/genie-scx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "genie-scx" -version = "2.0.0" +version = "3.0.0" authors = ["Renée Kooi "] edition = "2018" license = "GPL-3.0" @@ -12,7 +12,7 @@ exclude = ["test/scenarios"] [dependencies] byteorder = "^1.3.1" flate2 = "^1.0.0" -genie-support = { version = "^0.0.0", path = "../genie-support", features = ["strings"] } +genie-support = { version = "^1.0.0", path = "../genie-support", features = ["strings"] } log = "0.4.8" nohash-hasher = "^0.2.0" rgb = "^0.8.13" diff --git a/crates/genie-support/Cargo.toml b/crates/genie-support/Cargo.toml index fa88f77..811f0d8 100644 --- a/crates/genie-support/Cargo.toml +++ b/crates/genie-support/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "genie-support" -version = "0.0.0" +version = "1.0.0" authors = ["Renée Kooi "] edition = "2018" license = "GPL-3.0" diff --git a/crates/jascpal/Cargo.toml b/crates/jascpal/Cargo.toml index b5d0ecc..de5d2fb 100644 --- a/crates/jascpal/Cargo.toml +++ b/crates/jascpal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "jascpal" -version = "0.1.0" +version = "0.1.1" authors = ["Renée Kooi "] edition = "2018" license = "GPL-3.0"