2024-06-07
- Add Episode type attribute by @ZelKami in #96
- TvService: support aggregate credits by @UweTrottmann in #98
- Update retrofit [2.9.0 -> 2.11.0]
- Update okhttp [4.10.0 -> 4.12.0]
- Update gson [2.10.1 -> 2.11.0]
2023-06-14
- Add WikiData IDs. Thanks @Sheigutn! #95
2023-05-25
- Add trending endpoint. Thanks @gabrielsme! #94
- Update gson [2.9.1 -> 2.10.1].
2022-09-01
- Add explicit Gson dependency [2.9.1]: transient dependency on 2.8.5 has a security vulnerability and this library uses the Gson API explicitly.
- Add explicit OkHttp dependency [4.10.0] as this library uses the API directly and to receive latest bug and security fixes.
2022-09-01
- Configuration: add
languages
andprimary_translations
. - Add
runtime
on the episode level. - Bundle R8 rules into library.
2022-03-11
- Add
tagline
toTvShow
. #90
2021-11-18
- Add more discover filters (watch provider, region and monetization type).
2021-09-30
- Added AppendToResponseItem.TRANSLATIONS for episodes #87 Thanks to @mlaggner!
2021-05-20
- Enhanced the method SearchService.tv() by the parameter
includeAdult
#84 Thanks to @mlaggner! - Added an alternative DiscoverFilter constructor to allow 'OR' as an operator choice #85 Thanks to @Ethan-Icet!
2021-03-11
- Add additional Watch Provider lists.
2021-03-11
- Add Watch Providers methods for movies and TV.
- Update retrofit dependency to
2.9.0
, requires Java 8 or Android 5.0. If you need to support older devices, you might have to exclude this transitive dependency.
2019-11-27
- Update retrofit dependency to
2.6.2
. - Add homepage, headquarters, logo_path and origin_country to
Network
. Thanks @chrisbanes! - Changed budget and revenue in
Movie
fromInteger
toLong
. Thanks @ProIcons! - Added origin_country to
Company
. Thanks @ProIcons!
2019-07-25
- ReleaseDate: make types actual non-nullable constants (to allow using
==
in Kotlin).
2019-07-25
- Movies: add region parameter to various lists (popular, top rated, ...). This requires code updates.
- Search: add region, remove search type, reorder params. This requires code updates.
- Kotlin: allow nullable values when using the discover builders.
2019-04-12
- Add
name
property toTranslation
, used for TV shows instead oftitle
. Thanks @myron0815!
2019-03-14
- Add country code and translation data (title, overview, website) to
Translation
. Thanks @myron0815!
2019-02-08
- Do not use
ThreadLocal.withInitial
from Java 8, it's not available on Android.
2019-02-07
- Update
retrofit
dependency to2.5.0
. The previous versions are affected by a path-traversal security vulnerability. https://github.com/square/retrofit/blob/master/CHANGELOG.md - Produce Java 8 bytecode. For Android this requires Android Gradle Plugin 3.2.x or newer.
- Fix crash due to missing
character
property for cast credits. Thanks @JeremyQuagmire! #69 - For the
com.uwetrottmann.tmdb2
package return values and fields are now non-null unless otherwise annotated. For thecom.uwetrottmann.tmdb2.entities
package return values and fields are now annotated nullable. #70 - Simplified session handling: instead of passing an
AuthenticationType
the library will use an available account session, or if not available a guest session. AlsoTmdb
methods regarding sessions have changed. See #71 for details.
2018-09-21
- Do not leak the response body if TMDB asks to retry the request.
- Add
last_episode_to_air
andnext_episode_to_air
toTvShow
. Thanks @serafo27!
2018-09-12
- Clean up some methods, notably those without language param.
- Add language parameter to People summary methods, thanks @JeremyQuagmire!
2018-08-08
- Support getting external IDs for movies. Thanks @JeremyQuagmire!
- Drop
BaseExternalIds
. Properties have moved to their respective subclasses. AddedTvEpisodeExternalIds
. - Add new social media IDs to external IDs.
- Update
retrofit
dependency to2.4.0
.
2018-04-25
- Add
BaseTvSeason.episode_count
which is included in a show summary. Thanks @stavangr! - Allow lists to include shows:
List.items
type changed toMedia
fromBaseMovie
. Thanks @stavangr!
2018-02-22
- Do not crash if response is unsuccessful and error code is not handled.
- Undo throwing on unsuccessful responses with known error codes. To analyze why a response is unsuccessful
use
Tmdb.throwOnKnownError(response)
instead.
2018-02-02
- Undo rename of TvService to TvShowService.
- Removed TmdbInvalidAcceptHeaderException: managed by retrofit. Thanks @ProIcons!
- Move jobs endpoint into
ConfigurationService
, returns list ofJobs
. - Find results should return base media classes. #49 Thanks @ProIcons!
- Add missing fields to TaggedImage entity. #51 Thanks @ProIcons!
- Video type is now an enum (was a String). #52 Thanks @ProIcons!
2017-08-02
- Fix: If multiple responses containing a date are processed at the same time date formatting fails with exceptions. Thanks @chrisbanes!
2017-07-19
- Add missing API methods. Note that this includes breaking changes due to renamed services and entities. Full details in the commit message. Thanks @ProIcons!
- If API calls fail, error details are wrapped in
TmdbException
and subclasses (they are stillIOException
). Thanks @ProIcons! - Support for account and guest sessions. Thanks @ProIcons!
2017-05-20
- Add
original_language
toMovie
. Thanks @ProIcons! - Support appending translations to movie response. Thanks @ProIcons!
- Update retrofit to 2.3.0.
2017-01-18
- Update
discover
methods, add helper builderstmdb.discoverMovie()
andtmdb.discoverTv()
.
2016-12-19
- Add
review/{review_id}
with newReviewsService
. Thanks @MostafaMatar!
2016-11-30
- Add
status
to movie, addStatus
enum. Thanks @cicoub13!
2016-10-15
- Add
still_sizes
toImagesConfiguration
(used by TV episode stills). Thanks @SimonVT!
2016-07-31
- Added movie and TV genre methods. Thanks @jackwakefield!
2016-07-14
- Removed built-in logging support. Simply subclass
Tmdb
and add your own logger by overridingsetOkHttpClientDefaults()
. - Support for TV content ratings. Thanks @davidsben!
- Additional
append_to_response
fields for movies and shows. Thanks @urizev!
2016-05-26
- Update to
retrofit2
. Read about the most notable changes and benefits. You will have to make changes to your app, see the README for an example of the new code flow. - Package name changed to
com.uwetrottmann.tmdb2
. So you can keep using the old version while updating your code.
- Use
ReleaseDatesResults
when usingappend_to_response
to get movie information. Thanks to @urizev.
- Add
/movie/{id}/release_dates
thanks to @urizev. - Deprecate
/movie/{id}/releases
, see update post.
- Add
/person/{id}/tagged_images
thanks to @urizev. - Add some missing fields to
Media
thanks to @urizev.
- Update
okhttp
suggested dependency to 2.7.2. - Fix discover methods.
- Support Collections service. Thanks to @mlaggner!
- Support
/movie/{id}/tranlations
. Thanks to @ssouris! - Using
Images
instead ofTvEpisodeImages
, addsstills
. Thanks to @mlaggner! TvService.tv()
,TvSeasonsService.season()
,TvEpisodesService.episode()
have a new append-to-response parameter. Thanks to @mlaggner!- Add origin_country to TV show search results.
- Support more services (Discover, TV seasons and episodes) and methods, thanks to @migueljteixeira!
- Drop method variants (e.g. movie summary call with just a TMDb id). Use the full parameter variant and supply
null
for non-required query parameters. - Drop any async variants for methods. They only encourage bad programming (e.g. not using proper background threads).
- Renamed
PersonService
toPeopleService
to be consistent with docs. - Switch to JUnit 4 for testing.
- Update
retrofit
to 1.9.0, which allows to drop theokhttp-urlconnection
dependency. - Update
okhttp
suggested dependency to 2.2.0. - Require Java 1.7.
- Easier customization of
RestAdapter
: set your own HTTP client or executor by overridingnewRestAdapterBuilder()
. - Add
okhttp
andokhttp-urlconnection
2.0.0 as optional dependencies.
- Support
/find/{id}
. - Support
/tv/{id}/credits
. - Add language support to Person service credit endpoints.
- Add special API key for testing, no need to fill in your own any longer. Just run the tests.
- Update to retrofit 1.6.0.
- Support
/person/{id}
,/person/{id}/movie_credits
,/person/{id}/tv_credits
and/person/{id}/combined_credits
. Thanks @chrisbanes!
- First Maven Central release! See the README for details.
- Limited fest dependency to test scope.
- Use secure TMDb endpoint (https://api.themoviedb.org/3). If you use tmdb-java on Android with okhttp, you should update okhttp to at least 1.5.0 to avoid SSL context issues.
- Allow
append_to_response
of supported movie endpoints toMoviesService.summary()
. Thanks @chrisbanes! - Add
MoviesService.releases()
. Thanks @chrisbanes! - Add
secure_base_url
andchange_keys
toConfiguration
. - Use retrofit 1.4.1.
- Port to retrofit.
- No longer packaged with dependencies, add them yourself as you see fit (see http://uwetrottmann.github.io/tmdb-java/).
- Releases published on GitHub.
- Do not crash on empty (e.g. "") release dates of movies.
- Switch to a maven powered build.
- New
myjson
branch which uses a custom gson library to work around https://sites.google.com/site/gson/gson-on-android.