Skip to content

Commit 7b21251

Browse files
authored
Prepare 0.15.3 release (#856)
1 parent 4502781 commit 7b21251

File tree

2 files changed

+27
-12
lines changed

2 files changed

+27
-12
lines changed

CHANGELOG.md

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
# Unreleased
22

3-
- Update `windows` dependency to v0.48
3+
# Version 0.15.3 (2024-03-04)
4+
5+
- Add `try_with_sample_rate`, a non-panicking variant of `with_sample_rate`.
6+
- struct `platform::Stream` is now #[must_use].
7+
- enum `SupportedBufferSize` and struct `SupportedStreamConfigRange` are now `Copy`.
8+
- `platform::Device` is now `Clone`.
9+
- Remove `parking_lot` dependency in favor of the std library.
10+
- Fix crash on web/wasm when `atomics` flag is enabled.
11+
- Improve Examples: Migrate wasm example to `trunk`, Improve syth-thones example.
12+
- Improve CI: Update actions, Use Android 30 API level in CI, Remove `asmjs-unknown-emscripten` target.
13+
- Update `windows` dependency to v0.54
14+
- Update `jni` dependency to 0.21
15+
- Update `alsa` dependency to 0.9
16+
- Update `oboe` dependency to 0.6
17+
- Update `ndk` dependency to 0.8 and disable `default-features`.
18+
- Update `wasm-bindgen` to 0.2.89
419

520
# Version 0.15.2 (2023-03-30)
621

@@ -73,16 +88,16 @@
7388

7489
- Large refactor removing the blocking EventLoop API.
7590
- Rename many `Format` types to `StreamConfig`:
76-
- `Format` type's `data_type` field renamed to `sample_format`.
77-
- `Shape` -> `StreamConfig` - The configuration input required to build a stream.
78-
- `Format` -> `SupportedStreamConfig` - Describes a single supported stream configuration.
79-
- `SupportedFormat` -> `SupportedStreamConfigRange` - Describes a range of supported configurations.
80-
- `Device::default_input/output_format` -> `Device::default_input/output_config`.
81-
- `Device::supported_input/output_formats` -> `Device::supported_input/output_configs`.
82-
- `Device::SupportedInput/OutputFormats` -> `Device::SupportedInput/OutputConfigs`.
83-
- `SupportedFormatsError` -> `SupportedStreamConfigsError`
84-
- `DefaultFormatError` -> `DefaultStreamConfigError`
85-
- `BuildStreamError::FormatNotSupported` -> `BuildStreamError::StreamConfigNotSupported`
91+
- `Format` type's `data_type` field renamed to `sample_format`.
92+
- `Shape` -> `StreamConfig` - The configuration input required to build a stream.
93+
- `Format` -> `SupportedStreamConfig` - Describes a single supported stream configuration.
94+
- `SupportedFormat` -> `SupportedStreamConfigRange` - Describes a range of supported configurations.
95+
- `Device::default_input/output_format` -> `Device::default_input/output_config`.
96+
- `Device::supported_input/output_formats` -> `Device::supported_input/output_configs`.
97+
- `Device::SupportedInput/OutputFormats` -> `Device::SupportedInput/OutputConfigs`.
98+
- `SupportedFormatsError` -> `SupportedStreamConfigsError`
99+
- `DefaultFormatError` -> `DefaultStreamConfigError`
100+
- `BuildStreamError::FormatNotSupported` -> `BuildStreamError::StreamConfigNotSupported`
86101
- Address deprecated use of `mem::uninitialized` in WASAPI.
87102
- Removed `UnknownTypeBuffer` in favour of specifying sample type.
88103
- Added `build_input/output_stream_raw` methods allowing for dynamically

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cpal"
3-
version = "0.15.2"
3+
version = "0.15.3"
44
description = "Low-level cross-platform audio I/O library in pure Rust."
55
repository = "https://github.com/rustaudio/cpal"
66
documentation = "https://docs.rs/cpal"

0 commit comments

Comments
 (0)