From b43b8f688e0540a0801f0c070093ef196e2b3ff6 Mon Sep 17 00:00:00 2001 From: Lucas Petherbridge Date: Mon, 13 Dec 2021 11:31:08 -0800 Subject: [PATCH] Updated changelog --- CHANGELOG.md | 33 ++++++++++++++++++++++++++++++++- Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 34 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c9f10a8..90d006e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,37 @@ All notable changes to this project will be documented in this file. +## [0.5.1] - 2021-12-13 + +### Added + +- Basic gamepad controller support and a new event: `JoyHatMotion`. +- `PixEngineBuider::with_deadzone` which alters the default gamepad axis + deadzone. +- `AppState::on_controller_pressed`, `AppState::on_controller_released`, + `AppState::on_controller_axis_motion`, `AppState::on_controller_update`. +- More supported events: `AudioDeviceAdded`, `AudioDeviceRemoved`, + `WindowEvent::Exposed`, `Key::Kp*` events for Keypad support. +- Warning logs for unsupported events. + +### Changed + +#### Core + +- `PixEngineBuilder::icon` and `WindowBuilder::icon` now take an + `Into` parameter that can converted into either a `PathBuf` or an + `Image` which allows loading an icon from a file, or a static or dynamic + image. + +#### UI + +- Various UI padding now use frame padding instead of item padding. + +### Breaking + +- Changed `Unknown` event variants to `Unsupported` to better reflect that some + events are known, but are not supported by this library. + ## [0.5.0] - 2021-11-27 ### Added @@ -81,7 +112,7 @@ All notable changes to this project will be documented in this file. ### Breaking -### Core +#### Core - `core` module removed and all included modules moved up a level. - `PixResult` changed to return `anyhow::Error`, which can include a backtrace diff --git a/Cargo.lock b/Cargo.lock index c5b6822..d5e32a5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -379,7 +379,7 @@ checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56" [[package]] name = "pix-engine" -version = "0.5.0" +version = "0.5.1" dependencies = [ "anyhow", "bitflags", diff --git a/Cargo.toml b/Cargo.toml index 6fcd511..174aedd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT OR Apache-2.0" name = "pix-engine" repository = "https://github.com/lukexor/pix-engine.git" resolver = "2" -version = "0.5.0" +version = "0.5.1" exclude = ["/images"] [package.metadata]