Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): update rspotify requirement from 0.11 to 0.12 #3

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 28, 2023

Updates the requirements on rspotify to permit the latest version.

Release notes

Sourced from rspotify's releases.

v0.12.0

What's Changed

New features

  • (#390) The scopes! macro supports to split the scope by whitespace.
  • (#418) Add a user-settable callback function whenever token is updated.

Breaking changes

  • (#409) Change type of position parameter in playlist_add_items endpoint from Opinion<Duration> to Opinion<u32>
  • (#421) Change type of AudioFeaturesPayload.audio_features from Vec<AudioFeatures> to Vec<Option<AudioFeatures>>
  • (#429) Enable Token refreshing by default.
  • (#432) Add optional market field to track, album, albums, and album_track[_manual]. Make market field in artist_top_tracks optional.

Bugfixes

  • (#419) Base64url encode instead of plain base64 encode for PKCE challenge code.
  • (#421) Filter nulls on tracks_features requests
  • (#424) Fix PKCE refresh token invalid error
  • (#428) Fix PKCE url in doc

Full changelog

ramsayleung/rspotify@v0.11.7...v0.12.0

Changelog

Sourced from rspotify's changelog.

0.12.0 (2023.08.26)

New features

  • (#390) The scopes! macro supports to split the scope by whitespace.
  • (#418) Add a user-settable callback function whenever token is updated.

Breaking changes

  • (#409) Change type of position parameter in playlist_add_items endpoint from Opinion<Duration> to Opinion<u32>
  • (#421) Change type of AudioFeaturesPayload.audio_features from Vec<AudioFeatures> to Vec<Option<AudioFeatures>>
  • (#429) Enable Token refreshing by default.
  • (#432) Add optional market field to track, album, albums, and album_track[_manual]. Make market field in artist_top_tracks optional.

Bugfixes

  • (#419) Base64url encode instead of plain base64 encode for PKCE challenge code.
  • (#421) Filter nulls on tracks_features requests
  • (#424) Fix PKCE refresh token invalid error
  • (#428) Fix PKCE url in doc

0.11.7 (2023.04.26)

  • (#399) Add a new variant Collectionyourepisodes for Type enum.
  • (#375) We now use chrono::Duration in more places for consistency and usability: start_uris_playback, start_context_playback, rspotify_model::Offset, resume_playback, seek_track. Some of these fields have been renamed from position_ms to position.
  • ((#356)[https://github.com/Add custom auth URLs and simplify get/etc methods ramsayleung/rspotify#356]) We now support custom authentication base URLs. Config::prefix has been renamed to Config::api_base_url, and we've introduced Config::auth_base_url.
  • (#384) Add STB alias for Stb device type, fix for json parse error: unknown variant STB.
  • (#386) Support BaseClient::artist_albums with zero or more AlbumType.
  • (#393) Add ureq-rustls-tls-native-certs feature flag.
  • (#402) Add ureq-native-tls feature flag.

Bugfixes

  • (#394) Set a common 10 second timeout for both http clients.

0.11.6 (2022.12.14)

  • (#331) Market is now Copy
  • (#366) Replace all std::time::Duration with chrono::Duration to support negative duration.

Bugfixes:

  • (#332) Fix typo in RestrictionReason enum values

Breaking changes:

  • (#336) Offset::for_position and Offset::for_uri have been removed, as they were unnecessary. Use Offset::Position and Offset::Uri instead, respectively.

  • (#305) The Id types have been refactored to maximize usability. Instead of focusing on having an object-safe trait and using dyn Id, we now have enums to group up the IDs. This is based on how enum_dispatch works, and it's not only easier to use, but also more efficient. It makes it possible to have borrowed IDs again, so we've chosen to use Cow internally for flexibility. Check out the docs for more information!

    Please let us know if there is anything that could be improved. Unfortunately, this breaks many methods in BaseClient and OAuthClient, but the errors should occur at compile-time only.

  • (#325) The auth_code, auth_code_pkce, client_creds, clients::base and clients::oauth modules have been removed from the public API; you should access the same types from their parent modules instead

  • (#326) The rspotify::clients::mutex module has been renamed to rspotify::sync

  • (#330) search now accepts Option<IncludeExternal> instead of Option<&IncludeExternal>

  • (#330) featured_playlists now accepts Option<chrono::DateTime<chrono::Utc>> instead of Option<&chrono::DateTime<chrono::Utc>>

  • (#330) current_user_top_artists[_manual] and current_user_top_tracks[_manual] now accept Option<TimeRange> instead of Option<&TimeRange>

  • (#331) All enums now implement Into<&'static str> instead of AsRef<str>

  • (#331) Option<&Market> parameters have been changed to Option<Market>

... (truncated)

Commits
  • 7f16397 Upgrade to 0.12.0
  • a3078fc Upgrade package to 0.12
  • 17ef3cc Upgrade to v0.12.
  • a94aa44 Add logo for rspotify.
  • f37772c Merge pull request #434 from JoeyEamigh/master
  • 1cb8a87 set refresh token to token before callback_fn
  • 3681c1c Merge pull request #429 from ramsayleung/ramsay/enable_token_refreshing_by_de...
  • 8d60e3b Merge branch 'master' into ramsay/enable_token_refreshing_by_default
  • 2907e2f Merge pull request #432 from aome510/master
  • bfdfe80 remove redundant mut
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [rspotify](https://github.com/ramsayleung/rspotify) to permit the latest version.
- [Release notes](https://github.com/ramsayleung/rspotify/releases)
- [Changelog](https://github.com/ramsayleung/rspotify/blob/master/CHANGELOG.md)
- [Commits](ramsayleung/rspotify@v0.11.0...v0.12.0)

---
updated-dependencies:
- dependency-name: rspotify
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 28, 2023
@borisfaure borisfaure merged commit b76d85d into main Aug 30, 2023
12 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/rspotify-0.12 branch August 30, 2023 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant