Skip to content

Commit

Permalink
Updated changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
lukexor committed Dec 13, 2021
1 parent 9f267b1 commit b43b8f6
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 3 deletions.
33 changes: 32 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<Icon>` 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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit b43b8f6

Please sign in to comment.