Skip to content

Releases: andrey-yantsen/plex-api.rs

plex-api: v0.0.11

02 Jun 08:42
65ddb1b
Compare
Choose a tag to compare

0.0.11 (2023-06-02)

⚠ BREAKING CHANGES

  • Profile#default_subtitle_accessibility is now an Enum Profile#default_subtitle_forced is now an Enum.

Bug Fixes

  • Profile de-serialization when using new subtitle setting options (45bab7a)

Miscellaneous

plex-cli: v0.0.3

19 May 17:36
1d23735
Compare
Choose a tag to compare

0.0.3 (2023-05-19)

⚠ BREAKING CHANGES

  • make rating key to be string
  • deny unreachable_pub and rename some exports

Features

  • add basic media downloading to plex-cli (6b12426)
  • wait: add an argument for extended waiting (19838c4)
  • wait: add verbose option to display failure details (343eb17)
  • wait: do not wait for certificate for unclaimed servers (9e22783)
  • wait: fix and add more checks for --full waiting (4622166)
  • wait: remove waiting for the certificate in full mode (244b6a5)
  • wait: wait for the server to map with MyPlex in full mode (9c72e26)

Documentation

  • wait: document default timeout (6d6da65)

Code Refactoring

  • deny unreachable_pub and rename some exports (04ecbc0), closes #509
  • make rating key to be string (1748233)

Miscellaneous

  • deps: update plex-api to 0.0.10 (faaa8f5)
  • deps: update plex-api to 0.0.6 (086afba)
  • deps: use looser limits for plex-api dependency inside plex-cli (f46e056)

plex-api: v0.0.10

19 May 17:18
48a20da
Compare
Choose a tag to compare

0.0.10 (2023-05-19)

⚠ BREAKING CHANGES

  • Chapter.Filter is not always present
  • a typo in MappingState::Waiting variant
  • add more missed types and fields
  • add new fields to make it work with local assets
  • make Preferences use own HttpClient
  • Make rating keys consistent
  • make rating key to be string
  • add Markers parsing
  • make HttpClientBuilder::set_x_plex_features accept slices
  • make HttpClientBuilder accept more params types
  • merge metadata type fields into one
  • add extras and some other new metadata fields
  • make Guids to be enum variants

Features

  • add APIs for setting an item's watched status (3b04bb0)
  • add extras and some other new metadata fields (46b6956)
  • add has_premium_extras to Metadata (1508142)
  • add labels to metadata (714fffd)
  • add Markers parsing (c901c4b)
  • add missing thumb property in Chapter (cb3eb90)
  • add more missed types and fields (d8fe885)
  • add new fields to make it work with local assets (123c542)
  • add new metadata fields (efe828e)
  • add syntax sugar for checking device types (09f4377)
  • add viewing an item by it from Discovery (a496636)
  • expose internal library type (f2957eb)
  • load albums via search (2574ca2)
  • make HttpClientBuilder accept more params types (75ac984)
  • pass library_section_id to parsed media (cf3c868)
  • print received body on deserialization errors (4a54359)

Bug Fixes

  • a typo in MappingState::Waiting variant (d69a834)
  • Allow parsing Live TV libraries (d8a9140)
  • Chapter.Filter is not always present (49cab2f)
  • Correctly use a 404 response to indicate an unknown transcode session. (5cd7e27)
  • Generic videos should be transcodable (d2e07f2)
  • make errors on unknown guids slightly nicer (f6c7121)
  • make more fields accept strings as numbers (62bd6b0)
  • Report ItemNotFound from lost transcode sessions (0fb6e42)
  • return appropriate MetadataType if subtype is missing (6e81477)
  • Send a unique X-Plex-Session-Identifier with each transcode request (0f8d266)

Code Refactoring

  • make Guids to be enum variants (332d07d)
  • make HttpClientBuilder::set_x_plex_features accept slices (4402e5b)
  • make Preferences use own HttpClient (10d392e)
  • make rating key to be string (1748233)
  • Make rating keys consistent (8c8df57)
  • merge metadata type fields into one (5a790d9)

Documentation

  • add an example that loads all the items (e35d4e3)

Miscellaneous

  • add a script for transcoding DoS (1afc908), closes #541
  • add an example for debugging items (5c9dc6d)
  • allow println! in http_client when testing (33753c2)
  • deps: update dash-mpd requirement from ^0.7.0 to ^0.8.0 (360b627)
  • deps: update dash-mpd requirement from ^0.8.0 to ^0.9.0 (977e26d)
  • deps: update serde_with requirement from ^2.1 to ^3.0 (d5effb2)
  • forbid printing debug output (9f4f496)
  • remove forgotten dbg!() (f1fc7c5)
  • update Feature enum (1f1a7a0)
  • update Feature enum (d415390)
  • update msrv to 1.65 (0785ade)

plex-api: v0.0.9

30 Mar 20:11
853c8e9
Compare
Choose a tag to compare

0.0.9 (2023-03-29)

⚠ BREAKING CHANGES

  • deny unreachable_pub and rename some exports

Features

  • expose MyPlex device names (38cfaf5)

Bug Fixes

  • Make a number of already exposed types publicly usable. (97810dc)

Code Refactoring

  • deny unreachable_pub and rename some exports (04ecbc0), closes #509

plex-api: v0.0.8

24 Mar 08:08
a0219f4
Compare
Choose a tag to compare

0.0.8 (2023-03-24)

⚠ BREAKING CHANGES

  • add Unknown variant to few more enums

Code Refactoring

  • add Unknown variant to few more enums (b16c048)

plex-api: v0.0.7

20 Mar 23:17
178963b
Compare
Choose a tag to compare

0.0.7 (2023-03-20)

⚠ BREAKING CHANGES

  • move transcoding functions from Media to Part
  • remove webhook.url getter
  • remove get_ prefix from getters
  • allow creating MyPlex without authentication
  • add tracing instrumenting for most of the methods
  • remove PinManager::default()
  • get rid of Arc over HttpClient
  • add account info to MyPlex struct
  • change MyPlexAccount::id to u64

Features

  • add a stub for sharing-related stuff (c43c5c3)
  • add announcements (01a2137)
  • add HttpClient::json_body() convenience method (f1ba0a6)
  • add MyPlex::server_info() (a8deb24)
  • add sharing and friends management (974ecb1)
  • add support for connecting to shared servers (0e3a4db)
  • add switching between Plex Home users (536eab4)
  • add X-Plex-Model & X-Plex-Features headers (25dbdec)
  • allow creating MyPlex without authentication (1672639)
  • disable timeout when downloading a file (d17bff3)
  • remove PinManager::default() (5106c37)

Bug Fixes

  • add a missed field to Friend struct (e886496)
  • add missed fields to Device (70f09ae)
  • add the appropriate content-type for sharing request (f5782af)
  • correct condition for player connection (d18dc96)
  • make Players connectable, even through server proxy (8717cf9)
  • webhooks management is now working! (376e5d0)

Documentation

  • add summary to some methods (8c4cc08)

Miscellaneous

  • add a few missed plexpass entities (4005e0d)
  • add some missed tests_deny_unknown_fields fallbacks (666f439)
  • add tracing instrumenting for most of the methods (a323dd0)
  • deps: update quick-xml requirement from ^0.27 to ^0.28 (d54753d)
  • deps: update rstest requirement from ^0.16.0 to ^0.17.0 (b6d2959)
  • fix lint warnings (acbcb06)
  • mark feature.rs as autogenerated (2ce714c)

Code Refactoring

  • add account info to MyPlex struct (17f03fe)
  • change MyPlexAccount::id to u64 (05c8c6d)
  • get rid of Arc over HttpClient (928ed7f)
  • move transcoding functions from Media to Part (6f9ad71)
  • remove get_ prefix from getters (26ed77c)
  • remove webhook.url getter (359f7a5)

plex-api: v0.0.6

05 Mar 20:36
3e18813
Compare
Choose a tag to compare

0.0.6 (2023-03-05)

⚠ BREAKING CHANGES

  • store all the tokens/passwords as SecretString
  • decode start_state as enum instead of String
  • decode updated_at as DateTime
  • Add a way to retrieve specific items.
  • Move a lot of the boilerplate from trait implementations into macros.

Features

  • Add a method for downloading media parts. (72266cf)
  • Add a way to retrieve specific items. (34298d9)
  • Add functionality for transcoding media. (2584ed0)
  • Allow resizing item art. (4a5da5e)
  • decode start_state as enum instead of String (5fb355a)
  • decode updated_at as DateTime (2909443)
  • store all the tokens/passwords as SecretString (ca5e513)

Bug Fixes

  • Allow more unknown data to be deserialized without failing. (8257a46)
  • make HttpClient::deletem() use only min headers (94a2d4a)
  • Move a lot of the boilerplate from trait implementations into macros. (95ddf42)
  • Only allocate default client if one is not provided. (bcd9449)
  • Simplify the common case of requesting JSON data. (0007c77)

Documentation

  • Add some API documentation. (0364392)

Miscellaneous

plex-cli: v0.0.2

07 Jan 00:00
Compare
Choose a tag to compare

0.0.2 (2023-01-06)

Features

  • add wait command for plex-cli (89332b5)
  • add subcommand for controling settings (dfdef7a)

Bug Fixes

  • plex-cli/preferences: fix typo in the argument name (787df7a)

Miscellaneous

  • change MSRV to 1.56 and edition to 2021 (7cb77b0)
  • deps: adapt the code for the new xflags (c980ae8)
  • deps: bump tokio from 1.22.0 to 1.23.0 (1f06ffd)
  • deps: bump xflags from 0.2.4 to 0.3.0 (d700794)
  • plex-cli 0.0.1 (5e163d7)

plex-api: v0.0.5

06 Jan 23:49
8c40fe5
Compare
Choose a tag to compare

0.0.5 (2023-01-06)

⚠ BREAKING CHANGES

  • rename Client to HttpClient

Features

  • add a method for linking new players (33d811f)
  • add a stub for Players (aka Clients) (769d963)
  • add joined_at field to MyPlexAccount (4b8f4a7)
  • add structs for receiving webhooks (cc314e0)
  • api: Add a high-level API for browsing libraries on a server. (a315fcd)
  • improve working with pins (bcb9fd0)
  • migrate the code to serde_with v2 (7de8395)
  • srv: add method for getting all settings (fafb427)
  • srv: add new uuid to the Feature enum (3cd2bae)
  • srv: add preferences management (7454bc5)
  • update Feature enum (48f679f)
  • webhooks: make most of the fields optional (a23fd30)

Bug Fixes

  • certificateVersion is not returned from the myplex API (8d2d8e4)
  • get rid of the deprecated method usage (452f7e3)
  • srv: older PMS can send numbers as strings (96bb0bf)

Code Refactoring

  • rename Client to HttpClient (bb4e05e)

Miscellaneous

  • add examples for signin & signout (dbc7086)
  • change MSRV to 1.56 and edition to 2021 (7cb77b0)
  • change MSRV to 1.61.0 (d757b27)
  • deps: bump async-std from 1.10.0 to 1.11.0 (4aa9016)
  • deps: bump async-std from 1.11.0 to 1.12.0 (7ca1b43)
  • deps: bump futures from 0.3.21 to 0.3.23 (ef4c726)
  • deps: bump futures from 0.3.23 to 0.3.24 (7d06e1e)
  • deps: bump futures from 0.3.24 to 0.3.25 (356b230)
  • deps: bump http from 0.2.6 to 0.2.7 (25eb8cd)
  • deps: bump http from 0.2.7 to 0.2.8 (2bf3813)
  • deps: bump isahc from 1.6.0 to 1.7.0 (51d0c84)
  • deps: bump isahc from 1.7.0 to 1.7.1 (473bbc6)
  • deps: bump isahc from 1.7.1 to 1.7.2 (6480b7b)
  • deps: bump monostate from 0.1.1 to 0.1.2 (d43ded7)
  • deps: bump quick-xml from 0.22.0 to 0.23.0 (3242b93)
  • deps: bump quick-xml from 0.23.0 to 0.24.0 (235b116)
  • deps: bump quick-xml from 0.24.0 to 0.25.0 (7a848eb)
  • deps: bump quick-xml from 0.25.0 to 0.26.0 (e1e799f)
  • deps: bump quick-xml from 0.26.0 to 0.27.1 (8be7d4f)
  • deps: bump regex from 1.5.6 to 1.6.0 (8c843ea)
  • deps: bump regex from 1.6.0 to 1.7.0 (b2bf01d)
  • deps: bump rpassword from 5.0.1 to 6.0.1 (25c1c3f)
  • deps: bump rpassword from 6.0.1 to 7.0.0 (20db373)
  • deps: bump rpassword from 7.0.0 to 7.1.0 (be47b33)
  • deps: bump rpassword from 7.1.0 to 7.2.0 (cf0fc1b)
  • deps: bump rstest from 0.12.0 to 0.13.0 (f01f31a)
  • deps: bump rstest from 0.13.0 to 0.14.0 (a117993)
  • deps: bump rstest from 0.14.0 to 0.15.0 (2381b64)
  • deps: bump rstest from 0.15.0 to 0.16.0 (a044057)
  • deps: bump serde_plain from 1.0.0 to 1.0.1 (a365424)
  • deps: bump serde_with from 1.11.0 to 1.12.0 (f25394a)
  • deps: bump serde_with from 1.12.1 to 1.13.0 (ea86bfc)
  • deps: bump serde_with from 1.13.0 to 1.14.0 (54b514f)
  • deps: bump serde_with from 1.14.0 to 2.1.0 (965149a)
  • deps: bump serde-aux from 4.0.0 to 4.1.0 (c77a9da)
  • deps: bump serde-aux from 4.1.0 to 4.1.2 (a6fe462)
  • deps: bump uuid from 0.8.2 to 1.0.0 (2bece57)
  • deps: bump uuid from 1.0.0 to 1.1.1 (612bff4)
  • deps: bump uuid from 1.1.2 to 1.2.1 (c79804f)
  • examples: fix rpassword usage after upgrade (b5724a0)
  • features: use better check for is_unknown_value (4177ae1)
  • get rid of unused lifetime in build.rs (e925883)
  • main: release plex-api 0.0.4 (59ece83)
  • make clippy happier with expect_err() (1df2b52)
  • make it compile with quick_xml 0.27 (0f621a6)
  • remove needless borrow (thanks, clippy!) (abcfdf0)
  • update Feature enum (b28ac67)
  • update Feature enum (7d318fd)
  • update Feature enum (0e62035)
    ...
Read more

plex-api: v0.0.4

11 Feb 10:32
d12010b
Compare
Choose a tag to compare

0.0.4 (2022-02-11)

Features

  • srv: add preferences management (7454bc5)

Bug Fixes

  • srv: older PMS can send numbers as strings (96bb0bf)

Miscellaneous

  • deps: bump serde_with from 1.11.0 to 1.12.0 (f25394a)