Releases: jellyfin/jellyfin-sdk-kotlin
v1.0.0-beta.7
After almost a year of development the new apiclient SDK is ready for testing! This release is a complete rewrite of the 0.6.x version with some changes already released in the 0.7.x version. The API part is now automatically generated with a custom written code generator and updates the API to 10.7.0!
This is the seventh beta to fix a major issue where enums where not serialized properly in query parameters.
Changelog
- Fix enums not serialized in query parameters #262, by @nielsvanvelzen
Compatibility
Info | Jellyfin version |
---|---|
Minimum API Version | 10.7.0 |
Recommended API Version | 10.7.5 |
v1.0.0-beta.6
After almost a year of development the new apiclient SDK is ready for testing! This release is a complete rewrite of the 0.6.x version with some changes already released in the 0.7.x version. The API part is now automatically generated with a custom written code generator and updates the API to 10.7.0!
This is the sixth beta update with some fixes for timeouts and exceptions. There also is a new set of functions to help converting between Pair-like api models and the actual Pair class.
Changelog
- Add information about desugaring and update sample code in README #252, by @nielsvanvelzen
- Replace GH_TOKEN with JF_BOT_TOKEN #254, by @ferferga
- Rename MissingPathVariableError to MissingPathVariableException and extend ApiClientException #256, by @nielsvanvelzen
- Add pair extensions to easily convert SDK pairs to and from Kotlin pairs #255, by @nielsvanvelzen
- Update kotlinx.coroutines and fix warnings in WebSocketApi #257, by @nielsvanvelzen
- Update Gradle Wrapper from 7.0.1 to 7.0.2 #258, by @jellyfin-bot
- Catch all types of timeouts and rethrow as ApiClientException #259, by @Maxr1998
- Add requestTimeout and socketTimeout to HttpClientOptions #261, by @nielsvanvelzen
Compatibility
Info | Jellyfin version |
---|---|
Minimum API Version | 10.7.0 |
Recommended API Version | 10.7.5 |
v1.0.0-beta.5
After almost a year of development the new apiclient SDK is ready for testing! This release is a complete rewrite of the 0.6.x version with some changes already released in the 0.7.x version. The API part is now automatically generated with a custom written code generator and updates the API to 10.7.0!
This is the fifth beta updating introducing new discovery code with stricter rules, a new HttpClientOptions class to change timeout/redirection behavior, exceptions for the KtorClient and a fix in the generator changing the nullability of a lot of properties. Updating to this version might require changes, see the relevant pull requests for more details.
Changelog
- Update all dependencies to latest version #242, by @nielsvanvelzen
- Add workflow to maintain an openapi-unstable branch #244, by @nielsvanvelzen
- Set nullability for query parameters based on the required attribute instead #245, by @nielsvanvelzen
- Add HttpClientOptions and exceptions in KtorClient #246, by @nielsvanvelzen
- Refactor discovery code with better rules #243, by @nielsvanvelzen
- Run test workflow on openapi-unstable branch #247, by @nielsvanvelzen
- Replace commit action with git commands in unstable branch workflow #249, by @nielsvanvelzen
Compatibility
Info | Jellyfin version |
---|---|
Minimum API Version | 10.7.0 |
Recommended API Version | 10.7.5 |
v1.0.0-beta.4
After almost a year of development the new apiclient SDK is ready for testing! This release is a complete rewrite of the 0.6.x version with some changes already released in the 0.7.x version. The API part is now automatically generated with a custom written code generator and updates the API to 10.7.0!
This is the fourth beta updating the API to Jellyfin 10.7.5 together with some other changes. The most important change is #234 which fixes an issue with the generation of urls in the VideoApi.
Changelog
- Update Dokka to version 1.4.32 #241, by @nielsvanvelzen
- Update Kotlin to version 1.5.0 #240, by @nielsvanvelzen
- Sort generated operations alphabetically #239, by @nielsvanvelzen
- Update Android Gradle plugin to 4.2 #237, by @nielsvanvelzen
- Remove jcenter repository #238, by @nielsvanvelzen
- Update OpenAPI to 10.7.5 #236, by @jellyfin-bot
- Use eps1lon/actions-label-merge-conflict #235, by @nielsvanvelzen
- Fix path variable replacement #234, by @Maxr1998
- Rename recommendedVersion to minimumVersion #233, by @nielsvanvelzen
- Add deviceInfo and clientInfo getters in Jellyfin class #232, by @nielsvanvelzen
- Fix, suppress or modify all Detekt linter issues #231, by @nielsvanvelzen
- Add linting in CI using Detekt with SARIF output #229, by @nielsvanvelzen
- Use the Jellyfin Bot for all tasks using GitHub tokens #227, by @nielsvanvelzen
Compatibility
Info | Jellyfin version |
---|---|
Minimum API Version | 10.7.0 |
Recommended API Version | 10.7.5 |
v1.0.0-beta.3
After almost a year of development the new apiclient SDK is ready for testing! This release is a complete rewrite of the 0.6.x version with some changes already released in the 0.7.x version. The API part is now automatically generated with a custom written code generator and updates the API to 10.7.0!
This is the third beta updating the API to Jellyfin 10.7.2 together with some other changes.
Changelog
- Model updates #224, by @nielsvanvelzen
- add missed dependencies label for dependabot PRs #225, by @h1dden-da3m0n
- Update OpenAPI to 10.7.2 #223, by @jellyfin-bot
- fix generated PR body overflow #221, by @h1dden-da3m0n
- (deps): bump actions/cache from v2 to v2.1.4 #215, by @dependabot
- Add GitHub workflow to automatically update OpenAPI spec and generated sources #219, by @h1dden-da3m0n
- Use experimental centralized dependency versions and type-safe project dependencies #218, by @nielsvanvelzen
- Use Java 16 in tests #217, by @nielsvanvelzen
- Update Gradle Wrapper from 6.8.3 to 7.0 #216, by @github-actions
- (deps): update used actions #214, by @h1dden-da3m0n
- Add binary compatibility validation #213, by @nielsvanvelzen
- Add default repositories to all projects #212, by @nielsvanvelzen
- Use SessionMessageType enum in WebSocketApi #204, by @nielsvanvelzen
- Remove server version from constants #205, by @nielsvanvelzen
- Update OpenAPI to 10.7.1 #203, by @nielsvanvelzen
- Automatically release on Sonatype #201, by @nielsvanvelzen
- Fix broken badge in README #202, by @nielsvanvelzen
Compatibility
Info | Jellyfin version |
---|---|
Minimum API Version | 10.7.0 |
Recommended API Version | 10.7.2 |
v1.0.0-beta.2
After almost a year of development the new apiclient SDK is ready for testing! This release is a complete rewrite of the 0.6.x version with some changes already released in the 0.7.x version. The API part is now automatically generated with a custom written code generator and updates the API to 10.7.0!
This is the second beta and aims to fix publishing of the library (See #176).
Changelog
- Publish javadoc using Dokka #199, by @nielsvanvelzen
- Fix missing pom in android module #198, by @nielsvanvelzen
Compatibility
Info | Jellyfin version |
---|---|
Minimum API Version | 10.7.0 |
Recommended API Version | 10.7.0 |
v1.0.0-beta.1
After almost a year of development the new apiclient SDK is ready for testing! This release is a complete rewrite of the 0.6.x version with some changes already released in the 0.7.x version. The API part is now automatically generated with a custom written code generator and updates the API to 10.7.0!
This is the first beta.
Changelog
- Create new README for 1.0.0 version #193, by @nielsvanvelzen
- Rename apiclient to SDK (after repository rename) #197, by @nielsvanvelzen
- Rename apiclient to SDK #196, by @nielsvanvelzen
- Add CODEOWNERS file #194, by @nielsvanvelzen
- Publish release assets #192, by @nielsvanvelzen
- Move publishing CI to GitHub actions #191, by @nielsvanvelzen
- Move build and testing CI to GitHub Actions #190, by @nielsvanvelzen
- Publish to Sonatype OSS #189, by @nielsvanvelzen
- Update generated sources (10.7.0 stable) #188, by @nielsvanvelzen
- Use OperationBuilder as parent class in OperationUrlBuilder and remove duplicate code #186, by @nielsvanvelzen
- Update openapi.json and generated sources to 10.7.0-RC4 #185, by @nielsvanvelzen
- Support OpenAPI composition #172, by @nielsvanvelzen
- Generate apiVersion and serverVersion constants #180, by @nielsvanvelzen
- Update Gradle Wrapper from 6.8.2 to 6.8.3 #184, by @github-actions
- Update Gradle Wrapper from 6.7 to 6.8.2 #182, by @github-actions
- Rename gradle wrapper workflows #183, by @nielsvanvelzen
- Add more properties to apiclient interface #178, by @nielsvanvelzen
- Add "observe" command to CLI sample to listen for WebSocket messages #177, by @nielsvanvelzen
- Remove versionName and versionCode from android module #179, by @nielsvanvelzen
- Update dependencies #175, by @nielsvanvelzen
- Support nullable POST bodies #173, by @nielsvanvelzen
- Add service name hook #170, by @nielsvanvelzen
- Add String.toUUID and String.toUUIDOrNull functions #171, by @nielsvanvelzen
- Update OpenAPI specification to 10.7~RC3 #169, by @nielsvanvelzen
- Discovery fixes #168, by @nielsvanvelzen
- Update OpenAPI specification to 10.7~RC2 #166, by @nielsvanvelzen
- Fix uuid parser sometimes failing #165, by @nielsvanvelzen
- Fix server discovery not ignoring unknown keys #164, by @nielsvanvelzen
- Update OpenAPI spec #160, by @nielsvanvelzen
- Encode device name in authorization header #159, by @nielsvanvelzen
- Fix lists incorrectly encoded in urls #157, by @nielsvanvelzen
- Set default value for requireAuthentication #155, by @nielsvanvelzen
- Expose ktor-http library #158, by @nielsvanvelzen
- Add option to generate URLs with access token added #154, by @nielsvanvelzen
- Update OpenAPI version to 10.7.0-rc1 (feature freeze) #151, by @nielsvanvelzen
- Support nullable parameters in path #150, by @nielsvanvelzen
- Add download and update tasks for OpenAPI spec #149, by @nielsvanvelzen
- Enable explicit API mode in jellyfin-core #153, by @nielsvanvelzen
- Enable explicit API mode in jellyfin-platform-android #152, by @nielsvanvelzen
- Add warning for path-parameters not specified in the operation path #144, by @nielsvanvelzen
- Support font files as binary content in OpenAPI generator #148, by @nielsvanvelzen
- Enable explicit API mode in jellyfin-api #146, by @nielsvanvelzen
- Enable explicit API mode in jellyfin-model #145, by @nielsvanvelzen
- Update all dependencies (November edition) #147, by @nielsvanvelzen
- Update gitattributes to mark generated code as such #143, by @nielsvanvelzen
- Update Kotlinpoet to 1.7.2 #138, by @nielsvanvelzen
- Refactor CLI sample #139, by @nielsvanvelzen
- Add recommended server discovery #134, by @nielsvanvelzen
- Add default values to API operations #135, by @nielsvanvelzen
- Normalize the Android device name #136, by @nielsvanvelzen
- Update OpenAPI spec (version 2020-10-16) #129, by @nielsvanvelzen
- Add openapi.json to git lfs #128, by @nielsvanvelzen
- Use coroutine based ByteReadChannel instead of synchronous InputStream #122, by @nielsvanvelzen
- update(ci): change ci publish steps ... again #127, by @h1dden-da3m0n
- Add more information to the Response class #123, by @nielsvanvelzen
- fix(ci): update search path for release assets #125, by @h1dden-da3m0n
- Enable Android core library desugaring #121, by @nielsvanvelzen
- Module name refactor #120, by @nielsvanvelzen
- Add WebSockets #111, by @nielsvanvelzen
- Catch IO exceptions when sending discovery messages #119, by @nielsvanvelzen
- Use kasechange in openapi-generator #116, by @nielsvanvelzen
- Fix all markdown linter issues #117, by @nielsvanvelzen
- Remove old logger (replaced with slf4j) #118, by @nielsvanvelzen
- Add SyncPlayGroupUpdateHook hook #115, by @nielsvanvelzen
- Improve discovery code #113, by @nielsvanvelzen
- Add operation url function to API services #112, by @nielsvanvelzen
- Nullable references #110, by @nielsvanvelzen
- Openapi api implementation #109, by @nielsvanvelzen
- Add SerialName to enum constants in openapi-generator #108, by @nielsvanvelzen
- Switch to kotlinx.serialization #104, by @nielsvanvelzen
- Update license to LGPL 3.0 #105, by @nielsvanvelzen
- Rewrite loggers from scratch while keeping their API compatible #106, by @nielsvanvelzen
- Change generated models package to org.jellyfin.apiclient.model.api #102, by @nielsvanvelzen
- Remove old API code #100, by @nielsvanvelzen
- Openapi generated sources #98, by @nielsvanvelzen
- Use buildSrc in new modules #97, by @nielsvanvelzen
- Add UserApi.authenticateUserByName extension #96, by @nielsvanvelzen
- Add Java compatibility to api module #95, by @nielsvanvelzen
- Add minimal API module with hardcoded Authorization header #94, by @nielsvanvelzen
- Update model module to support generated sources #93, by @nielsvanvelzen
- Add openapi-generator module #92, by @nielsvanvelzen
- Add info on how to include in projects #89, by @Maxr1998
Compatibility
Info | Jellyfin version |
---|---|
Minimum API Version | 10.7.0 |
Recommended API Version | 10.7.0 |
v0.7.9
v0.7.8
This release adds a new method to the BaseApiClient to change the device information.
Changelog
✨ New features
- Add setDevice method #174, by @nielsvanvelzen
v0.7.7
And again, another maintenance release to fix an issue for the Android app. This time it fixes an issue where some devices use special characters in their device name causing the app to fail..
Changelog
🔥 Crash fixes
- Normalize the Android device name (backport) #137, by @nielsvanvelzen