diff --git a/CHANGELOG.md b/CHANGELOG.md index 34005e0..391192b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,29 @@ As of v1.0.4, version numbers are shared between esplugin and esplugin-ffi. +## [3.0.0] - 2019-07-21 + +### Changed + +- The `Error::DecodeError` variant no longer has any fields. +- The `Error::ParsingError` variant is now + `Error::ParsingError(Vec, ParsingErrorKind)` to provide more detail about + why parsing failed. +- Replaced the encoding dependency with encoding_rs, as the former is + unmaintained. +- Updated to nom v5.0.0. + +### Removed + +- The byteorder dependency, as Rust standard library additions have + made it unnecessary. +- The unicase dependency as Unicode-aware case-insensitive string + comparison was not strictly required. +- The memmap dependency. Its use was unsafe, but this was not exposed + correctly. The performance gained from reading memory-mapped files was + outweighed by the negative impact on usability that exposing the unsafety + correctly would have. There is now no use of `unsafe` in esplugin itself. + ## [2.1.2] - 2019-04-24 ### Fixed diff --git a/Cargo.toml b/Cargo.toml index dc11034..5938f1e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "esplugin" -version = "2.1.2" +version = "3.0.0" authors = ["Oliver Hamlet "] description = "A free software library for reading Elder Scrolls plugin (.esp/.esm/.esl) files." documentation = "https://docs.rs/esplugin" diff --git a/ffi/CHANGELOG.md b/ffi/CHANGELOG.md index c75ee77..f3d58ff 100644 --- a/ffi/CHANGELOG.md +++ b/ffi/CHANGELOG.md @@ -2,6 +2,22 @@ After v1.0.3, version numbers are shared between esplugin and esplugin-ffi. +## [3.0.0] - 2019-07-21 + +### Changed + +- `u8` and `u32` are now used in place of the deprecated `libc::uint8_t` and + `libc::uint32_t` types. The latter were aliases of the former, so this should + have no impact on usage. +- Updated to cbindgen v0.9. +- Updated to esplugin v2.2.0. + +### Removed + +- The included cbindgen config and `ffi-headers` feature no longer generate an + `esplugin.hpp`. Instead, the `esplugin.h` header can now be used by C and + C++ projects. + ## [2.1.2] - 2019-04-24 ### Changed diff --git a/ffi/Cargo.toml b/ffi/Cargo.toml index ff45bbc..67c52db 100644 --- a/ffi/Cargo.toml +++ b/ffi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "esplugin-ffi" -version = "2.1.2" +version = "3.0.0" authors = ["Oliver Hamlet "] build = "build.rs" description = "A wrapper library providing a C FFI for esplugin." @@ -16,7 +16,7 @@ exclude = [ ] [dependencies] -esplugin = { version = "2.1.2", path = ".." } +esplugin = { version = "3.0.0", path = ".." } libc = "0.2" [lib]