Skip to content

Releases: cyruzin/golang-tmdb

v1.8.1

21 May 21:35
5cc0ee7
Compare
Choose a tag to compare

What's Changed

feat: migrate from json-iterator/json to goccy/go-json by @cyruzin in #76

  • switched to goccy/go-json for better long-term support, compatibility, performance, and consistency
  • json-iterator is no longer a fully compatible replacement for encoding/json and its updates have slowed down

Full Changelog: v1.8.0...v1.8.1

v1.8.0

05 May 19:36
f1e09a7
Compare
Choose a tag to compare

What's Changed

Feat/ctx improvements by @cyruzin in #75

  • improvements in the context of the get and request functions. these functions now use context.withtimeout to ensure that http requests have a timeout, preventing them from hanging indefinitely. a default timeout of 10 seconds is applied if c.http.timeout is not configured.
  • the interface{} type has been replaced with any in some parts of the code (functions and structs). this change aims to modernize the code and take advantage of the new keyword introduced in go 1.18, which is an alias for interface{}. this improves code readability without altering functionality for go versions >= 1.18. for compatibility with earlier versions, the go code must be compiled with a version prior to 1.18.

Full Changelog: v1.7.1...v1.8.0

v1.7.1

03 May 02:12
12eae83
Compare
Choose a tag to compare

What's Changed

  • add a field named "media_type" to TrendingResults by @ryuyb in #74

New Contributors

  • @ryuyb made their first contribution in #74

Full Changelog: v1.7.0...v1.7.1

v1.7.0

25 Apr 18:10
67f4a85
Compare
Choose a tag to compare

What's Changed

Refactor data structures for improved clarity and consistency by @cyruzin in #73

  • Updated GenreMovieList to use a dedicated Genre type for better structure.
  • Upgraded Go version in go.mod to 1.24 and updated dependencies, including testify to v1.10.0.
  • Upgraded Go version in build.yml to 1.24
  • Removed redundant fields from GuestSessionRatedMovies, GuestSessionRatedTVShows, and GuestSessionRatedTVEpisodes, replacing them with PaginatedResultsMeta.
  • Simplified KeywordMovies by using PaginatedResultsMeta instead of individual pagination fields.
  • Refactored MovieDetails to utilize structured types for genres, production companies, and spoken languages.
  • Introduced new types for MovieResult and TVShowResult to streamline search and discovery results.
  • Consolidated translation structures across various types for consistency.
  • Enhanced TVDetails structure with specific types for created by, last and next episodes, and networks.
  • Updated all search and trending response types to use PaginatedResultsMeta for pagination.
  • Added a new types.go file to centralize common data structures used across the application.

Full Changelog: v1.6.9...v1.7.0

v1.6.9

19 Mar 15:59
704f35d
Compare
Choose a tag to compare

What's Changed

  • Add person translations name and primary by @bunin in #72

New Contributors

  • @bunin made their first contribution in #72

Full Changelog: v1.6.8...v1.6.9

v1.6.8

10 Dec 14:34
9ca65b6
Compare
Choose a tag to compare

What's Changed

  • Extract BelongsToCollection struct by @maddox in #71

Full Changelog: v1.6.7...v1.6.8

v1.6.7

01 Sep 00:25
bf64753
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.6.6...v1.6.7

v1.6.6

19 Aug 14:39
20df84f
Compare
Choose a tag to compare

What's Changed

  • add the optional field in the external ids structs for both the tv and movie by @djeddi-yacine in #69

New Contributors

Full Changelog: v1.6.5...v1.6.6

v1.6.5

24 Jul 20:42
e984d24
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.6.4...v1.6.5

v1.6.4

20 Jun 14:38
059618b
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.6.3...v1.6.4