Skip to content

Commit

Permalink
Update version numbers and changelog for v3.0.0
Browse files Browse the repository at this point in the history
Increment the major version because esplugin.hpp is no longer generated.
  • Loading branch information
Ortham committed Jul 21, 2019
1 parent 55d1d21 commit 9d3bec8
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 3 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<u8>, 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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "esplugin"
version = "2.1.2"
version = "3.0.0"
authors = ["Oliver Hamlet <oliver.hamlet@gmail.com>"]
description = "A free software library for reading Elder Scrolls plugin (.esp/.esm/.esl) files."
documentation = "https://docs.rs/esplugin"
Expand Down
16 changes: 16 additions & 0 deletions ffi/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions ffi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "esplugin-ffi"
version = "2.1.2"
version = "3.0.0"
authors = ["Oliver Hamlet <oliver.hamlet@gmail.com>"]
build = "build.rs"
description = "A wrapper library providing a C FFI for esplugin."
Expand All @@ -16,7 +16,7 @@ exclude = [
]

[dependencies]
esplugin = { version = "2.1.2", path = ".." }
esplugin = { version = "3.0.0", path = ".." }
libc = "0.2"

[lib]
Expand Down

0 comments on commit 9d3bec8

Please sign in to comment.