Skip to content

Commit

Permalink
chore: release v0.12.0 (#122)
Browse files Browse the repository at this point in the history
## 🤖 New release
* `stream-download`: 0.11.2 -> 0.12.0 (⚠️ API breaking changes)

### ⚠️ `stream-download` breaking changes

```
--- failure inherent_method_must_use_added: inherent method #[must_use] added ---

Description:
An inherent method is now #[must_use]. Downstream crates that did not use its return value will get a compiler lint.
        ref: https://doc.rust-lang.org/reference/attributes/diagnostics.html#the-must_use-attribute
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/inherent_method_must_use_added.ron

Failed in:
  method stream_download::Settings::on_reconnect in /tmp/.tmpgwJ4GN/stream-download-rs/src/settings.rs:156
  method stream_download::open_dal::OpenDalStreamParams::chunk_size in /tmp/.tmpgwJ4GN/stream-download-rs/src/open_dal.rs:71

--- failure trait_method_added: pub trait method added ---

Description:
A non-sealed public trait added a new method without a default implementation, which breaks downstream implementations of the trait
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-new-item-no-default
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/trait_method_added.ron

Failed in:
  trait method stream_download::source::SourceStream::supports_seek in file /tmp/.tmpgwJ4GN/stream-download-rs/src/source/mod.rs:80
```

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

##
[0.12.0](https://github.com/aschey/stream-download-rs/compare/0.11.2..0.12.0)
- 2024-11-14

### Bug Fixes

- *(examples)* Create decoder and sink on the same thread
([#123](#123)) -
([5065e78](5065e78))
- Fix race condition when reporting stream errors
([#127](#127)) -
([594d41d](594d41d))

### Dependencies

- *(deps)* Allow reqwest-middleware 0.3.-0.4
([#130](#130)) -
([c0bc067](c0bc067))

### Features

- Add setting to cancel stream on drop
([#124](#124)) -
([785d54e](785d54e))
- Add stream handle
([#125](#125)) -
([6ae481b](6ae481b))
- [**breaking**] Add SourceStream implementation for AsyncRead
([#126](#126)) -
([bac8c64](bac8c64))
- [**breaking**] Add SourceStream implementation for processes
([#128](#128)) -
([91f562c](91f562c))
- Add yt-dlp command wrappers
([#129](#129)) -
([4213bf7](4213bf7))

### Refactor

- Separate some large source files
([#121](#121)) -
([aabbab8](aabbab8))

<!-- generated by git-cliff -->
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/MarcoIeni/release-plz/).
  • Loading branch information
aschey authored Nov 14, 2024
1 parent c0bc067 commit dd6903e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,30 @@

All notable changes to this project will be documented in this file.

## [0.12.0](https://github.com/aschey/stream-download-rs/compare/0.11.2..0.12.0) - 2024-11-14

### Bug Fixes

- *(examples)* Create decoder and sink on the same thread ([#123](https://github.com/aschey/stream-download-rs/pull/123)) - ([5065e78](https://github.com/aschey/stream-download-rs/commit/5065e78e69b808c9106dcedd42cb6a86648afa60))
- Fix race condition when reporting stream errors ([#127](https://github.com/aschey/stream-download-rs/pull/127)) - ([594d41d](https://github.com/aschey/stream-download-rs/commit/594d41d019cf839d97773c65a222ea1e728da967))

### Dependencies

- *(deps)* Allow reqwest-middleware 0.3.-0.4 ([#130](https://github.com/aschey/stream-download-rs/pull/130)) - ([c0bc067](https://github.com/aschey/stream-download-rs/commit/c0bc067994963fa285c83edfd78d733b4c4e219a))

### Features

- Add setting to cancel stream on drop ([#124](https://github.com/aschey/stream-download-rs/pull/124)) - ([785d54e](https://github.com/aschey/stream-download-rs/commit/785d54e370e9d81dbadc2c1cf7a0528ba84d4911))
- Add stream handle ([#125](https://github.com/aschey/stream-download-rs/pull/125)) - ([6ae481b](https://github.com/aschey/stream-download-rs/commit/6ae481b7dfeadaff712d4297ce42d5b8883364aa))
- [**breaking**] Add SourceStream implementation for AsyncRead ([#126](https://github.com/aschey/stream-download-rs/pull/126)) - ([bac8c64](https://github.com/aschey/stream-download-rs/commit/bac8c6445439d9086b7bf1ba0130042882df7f3a))
- [**breaking**] Add SourceStream implementation for processes ([#128](https://github.com/aschey/stream-download-rs/pull/128)) - ([91f562c](https://github.com/aschey/stream-download-rs/commit/91f562c314d1500d020b6f95813f36dfc90fb692))
- Add yt-dlp command wrappers ([#129](https://github.com/aschey/stream-download-rs/pull/129)) - ([4213bf7](https://github.com/aschey/stream-download-rs/commit/4213bf70bfc6a640226cdb01b1f4660cda9771a7))

### Refactor

- Separate some large source files ([#121](https://github.com/aschey/stream-download-rs/pull/121)) - ([aabbab8](https://github.com/aschey/stream-download-rs/commit/aabbab8aaae078ef0c5979bebf49bc4f6eae8bf8))

<!-- generated by git-cliff -->
## [0.11.2](https://github.com/aschey/stream-download-rs/compare/0.11.1..0.11.2) - 2024-11-09

### Dependencies
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "stream-download"
version = "0.11.2"
version = "0.12.0"
rust-version = "1.75.0"
authors = ["Austin Schey <[email protected]>"]
license = "MIT OR Apache-2.0"
Expand Down

0 comments on commit dd6903e

Please sign in to comment.