Skip to content

Commit

Permalink
Prepare mpd_client v0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
elomatreb committed Dec 9, 2021
1 parent 56d713f commit 35adbcf
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions mpd_client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# 0.7.0 (2021-12-09)

- Response types for typed commands are now marked as `#[non_exhaustive]` where reasonable.

This will allow future fields added to MPD to be added to the responses without breaking compatibility. As a result, the `Password` command and the `Client` method have been removed.
- Rework connection password handling.

Passwords are now specified on the initial connect and sent immediately after. This avoids issues where the `idle` command of the background task is sent before the password, resulting in spurious "permission denied" errors with restrictively configured MPD servers ([#10](https://github.com/elomatreb/mpd_client/issues/10)).
- Added new features introduced in version 0.23 of MPD:
- New tags (`ComposerSort`, `Ensemble`, `Location`, `Movement`, `MovementNumber`)
- New position options for certain commands (`Add`, `AddToPlaylist`, `RemoveFromPlaylist`)
- Rework `Move` command to use a builder
- Command types are no longer `Copy` if they have private fields (to aid in forward compatibility).
- The `Tag` enum now has forward-compatible equality based on the string representation. If a new variant is added, it will be equal to the `Other(_)` variant containing the same string.
- Updated `mpd_protocol` dependency.

# 0.6.1 (2021-08-21)

- Add a limited degree of backwards compatibility for protocol versions older than 0.20 ([#9](https://github.com/elomatreb/mpd_client/pull/9), thanks to D3fus).
Expand Down
2 changes: 1 addition & 1 deletion mpd_client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mpd_client"
version = "0.6.1"
version = "0.7.0"
edition = "2021"
description = "Asynchronous user-friendly MPD client"
repository = "https://github.com/elomatreb/mpd_client"
Expand Down

0 comments on commit 35adbcf

Please sign in to comment.