Releases: cyruzin/golang-tmdb
Releases · cyruzin/golang-tmdb
v1.8.1
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
What's Changed
Feat/ctx improvements by @cyruzin in #75
- improvements in the context of the
get
andrequest
functions. these functions now usecontext.withtimeout
to ensure that http requests have a timeout, preventing them from hanging indefinitely. a default timeout of 10 seconds is applied ifc.http.timeout
is not configured. - the
interface{}
type has been replaced withany
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 forinterface{}
. 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
v1.7.0
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
v1.6.8
v1.6.7
What's Changed
- fix typo in tv and movie external IDs by @djeddi-yacine in #70
Full Changelog: v1.6.6...v1.6.7
v1.6.6
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
- @djeddi-yacine made their first contribution in #69
Full Changelog: v1.6.5...v1.6.6
v1.6.5
What's Changed
- MovieDetails add OriginCountry by @labulakalia in #67
Full Changelog: v1.6.4...v1.6.5
v1.6.4
What's Changed
- feat: adding display_priorities by @scafarella in #64
- feature #65: custom base url implemented by @cyruzin in #66
New Contributors
- @scafarella made their first contribution in #64
Full Changelog: v1.6.3...v1.6.4