plex-api.rs
plex-api.rs copied to clipboard
chore(main): release 0.1.0
:robot: I have created a release beep boop
0.1.0 (2024-05-18)
⚠ BREAKING CHANGES
- add a few new fields to the Part struct
- bump msrv to 1.70.0
-
Profile#default_subtitle_accessibility
is now anEnum
Profile#default_subtitle_forced
is now anEnum
. - 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
- deny unreachable_pub and rename some exports
- add Unknown variant to few more enums
- 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
- 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 stub for sharing-related stuff (c43c5c3)
- Add a way to retrieve specific items. (34298d9)
- add announcements (01a2137)
- add APIs for setting an item's watched status (3b04bb0)
- add extras and some other new metadata fields (46b6956)
- Add functionality for transcoding media. (2584ed0)
- add has_premium_extras to Metadata (1508142)
- add HttpClient::json_body() convenience method (f1ba0a6)
- add labels to metadata (714fffd)
- add Markers parsing (c901c4b)
- add missing
thumb
property in Chapter (cb3eb90) - add more missed types and fields (d8fe885)
- add MyPlex::server_info() (a8deb24)
- add new fields to make it work with local assets (123c542)
- add new metadata fields (efe828e)
- add sharing and friends management (974ecb1)
- add support for connecting to shared servers (0e3a4db)
- add switching between Plex Home users (536eab4)
- add syntax sugar for checking device types (09f4377)
- add viewing an item by it from Discovery (a496636)
- add X-Plex-Model & X-Plex-Features headers (25dbdec)
- allow creating MyPlex without authentication (1672639)
- Allow resizing item art. (4a5da5e)
- decode start_state as enum instead of String (5fb355a)
- decode updated_at as DateTime (2909443)
- disable timeout when downloading a file (d17bff3)
- expose internal library type (f2957eb)
- expose MyPlex device names (38cfaf5)
- load albums via search (2574ca2)
- make HttpClientBuilder accept more params types (75ac984)
- migrate the code to serde_with v2 (7de8395)
- pass library_section_id to parsed media (cf3c868)
- print received body on deserialization errors (4a54359)
- remove PinManager::default() (5106c37)
- store all the tokens/passwords as SecretString (ca5e513)
Bug Fixes
- a typo in MappingState::Waiting variant (d69a834)
- add a missed field to Friend struct (e886496)
- add missed fields to Device (70f09ae)
- add the appropriate content-type for sharing request (f5782af)
- Allow more unknown data to be deserialized without failing. (8257a46)
- Allow parsing Live TV libraries (d8a9140)
- Chapter.Filter is not always present (49cab2f)
- correct condition for player connection (d18dc96)
- Correctly use a 404 response to indicate an unknown transcode session. (5cd7e27)
- Generic videos should be transcodable (d2e07f2)
- Make a number of already exposed types publicly usable. (97810dc)
- make errors on unknown guids slightly nicer (f6c7121)
- make HttpClient::deletem() use only min headers (94a2d4a)
- make more fields accept strings as numbers (62bd6b0)
- make photo_auto_tag field on the server optional (345effe)
- make Players connectable, even through server proxy (8717cf9)
- migrate to the new sysinfo version (ff70260)
- Move a lot of the boilerplate from trait implementations into macros. (95ddf42)
- Only allocate default client if one is not provided. (bcd9449)
- Profile de-serialization when using new subtitle setting options (45bab7a)
- Report ItemNotFound from lost transcode sessions (0fb6e42)
- return appropriate MetadataType if subtype is missing (6e81477)
- Safer deserialisation for skip_parent and skip_count fields (039db5a)
- Send a unique X-Plex-Session-Identifier with each transcode request (0f8d266)
- Simplify the common case of requesting JSON data. (0007c77)
- webhooks management is now working! (376e5d0)
Miscellaneous Chores
- add a few new fields to the Part struct (032372d)
- add tracing instrumenting for most of the methods (a323dd0)
- bump msrv to 1.70.0 (fc7b85f)
Code Refactoring
- add account info to MyPlex struct (17f03fe)
- add Unknown variant to few more enums (b16c048)
- change MyPlexAccount::id to u64 (05c8c6d)
- deny unreachable_pub and rename some exports (04ecbc0), closes #509
- get rid of Arc over HttpClient (928ed7f)
- 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)
- move transcoding functions from Media to Part (6f9ad71)
- remove
get_
prefix from getters (26ed77c) - remove webhook.url getter (359f7a5)
This PR was generated with Release Please. See documentation.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 65.94%. Comparing base (
40095e0
) to head (543a0a9
).
Additional details and impacted files
@@ Coverage Diff @@
## main #563 +/- ##
=======================================
Coverage 65.94% 65.94%
=======================================
Files 30 30
Lines 1744 1744
=======================================
Hits 1150 1150
Misses 594 594
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.