jdrouet / tmdb-api

Yet another TMDB api client written in rust, working with async
13 stars 8 forks source link

chore: release v0.7.0 #54

Closed github-actions[bot] closed 7 months ago

github-actions[bot] commented 7 months ago

🤖 New release

⚠️ tmdb-api breaking changes

--- failure constructible_struct_adds_field: externally-constructible struct adds field ---

Description:
A pub struct constructible with a struct literal has a new pub field. Existing struct literals must be updated to include the new field.
        ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.27.0/src/lints/constructible_struct_adds_field.ron

Failed in:
  field CollectionBase.overview in /tmp/.tmpLPLMEq/tmdb-api/src/collection/mod.rs:8
  field MovieCredits.language in /tmp/.tmpLPLMEq/tmdb-api/src/movie/credits.rs:28

--- failure enum_missing: pub enum removed or renamed ---

Description:
A publicly-visible enum cannot be imported by its prior path. A `pub use` may have been removed, or the enum itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.27.0/src/lints/enum_missing.ron

Failed in:
  enum tmdb_api::collection::details::MediaType, previously in file /tmp/.tmpiYuDFD/tmdb-api/src/collection/details.rs:32

--- failure inherent_method_missing: pub method removed or renamed ---

Description:
A publicly-visible method or associated fn is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.27.0/src/lints/inherent_method_missing.ron

Failed in:
  MovieCredits::with_country, previously in file /tmp/.tmpiYuDFD/tmdb-api/src/movie/credits.rs:40

--- failure module_missing: pub module removed or renamed ---

Description:
A publicly-visible module cannot be imported by its prior path. A `pub use` may have been removed, or the module may have been renamed, removed, or made non-public.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.27.0/src/lints/module_missing.ron

Failed in:
  mod tmdb_api::common::watch_providers, previously in file /tmp/.tmpiYuDFD/tmdb-api/src/common/watch_providers.rs:1

--- failure struct_missing: pub struct removed or renamed ---

Description:
A publicly-visible struct cannot be imported by its prior path. A `pub use` may have been removed, or the struct itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.27.0/src/lints/struct_missing.ron

Failed in:
  struct tmdb_api::common::watch_providers::WatchProviderResult, previously in file /tmp/.tmpiYuDFD/tmdb-api/src/common/watch_providers.rs:24
  struct tmdb_api::common::watch_providers::WatchProvider, previously in file /tmp/.tmpiYuDFD/tmdb-api/src/common/watch_providers.rs:5
  struct tmdb_api::common::watch_providers::LocatedWatchProvider, previously in file /tmp/.tmpiYuDFD/tmdb-api/src/common/watch_providers.rs:13

--- failure struct_pub_field_missing: pub struct's pub field removed or renamed ---

Description:
A publicly-visible struct has at least one public field that is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.27.0/src/lints/struct_pub_field_missing.ron

Failed in:
  field country of struct MovieCredits, previously in file /tmp/.tmpiYuDFD/tmdb-api/src/movie/credits.rs:29
Changelog

## [0.7.0](https://github.com/jdrouet/tmdb-api/compare/v0.6.0...v0.7.0) - 2024-01-26 ### Added - *(tokio-rate-limit)* add a rate limit feature using the tokio runtime - *(watch-provider)* add watch provider list ### Fixed - *(tokio-rate-limit)* lower default rate limit - *(movies)* deserialize empty string as None - *(collection)* nullable overview field - *(tokio-rate-limit)* missing feature macro - *(collection)* missing overview field - *(movies)* credits `country` url param corrected to `language` - serde global macro use - clippy and forbid unsafe code enforcement ### Other - disable non working endpoint for /tv/latest - lint - empty rustfmt file - *(watch-provider)* typo fix


This PR was generated with release-plz.