Skip to content

Releases: Chatterino/api

v2.0.3

13 Feb 09:28
a6fc49f
Compare
Choose a tag to compare
  • Breaking: Go version 1.20 is now the minimum required version to build this project. (#586)
  • Breaking: Remove the /twitchemotes/ endpoints. See issue 332 for more information. (#465)
  • Minor: Block direct requests to private IPs. (#529)
  • Minor: Use Twitter OG tags if no Twitter credentials are configured. (#522)
  • Minor: Support x.com for tweets. (#527)
  • Minor: Increase tweet cache duration for non-credentialed requests to 24h. Currently not configurable. (#528)
  • Fix: We do some more YouTube video ID parsing to ensure broken links (such as youtube.com/watch?v=foobar?feature=share) still return the actual video ID, since this is how the browser operates. (#488, #545)
  • Dev: Document the log-development setting. (#491)
  • Dev: Document the log-level setting. (#490)
  • Dev: Add some pkg/utils/url.go tests. (#525)
  • Dev: Make IsSubdomainOf variadic, making it easier for users of it to support multiple top level domains. (#526)
  • Dev: Use logger for skipping url message instead of fmt. (#554)
  • Dev: Improve YoutTube resolver initialization logging. (#556)
  • Dev: Moved tests & coverage uploads to its own workflow file. (#585)

v2.0.2

07 Apr 08:38
4fe8a81
Compare
Choose a tag to compare
  • Minor: Our User-Agent now properly reflects the version of the API. (#459)

v2.0.1

01 Apr 09:50
af7c14e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.0...v2.0.1

v2.0.0

18 Mar 12:20
6adf48a
Compare
Choose a tag to compare

Changelog

  • Breaking: Go version 1.19 is now the minimum required version to build this. (#430)
  • Breaking: enable-lilliput config renamed to enable-animated-thumbnails. (#312)
  • Breaking: Thumbnail generation now requires libvips. See docs/build.md for prerequisite instructions. (#366, #369, #312)
  • Breaking: Resolver caches are now stored in PostgreSQL. See docs/build.md for prerequisite instructions. (#271)
  • PDF: Generate customized tooltips for PDF files. (#374, #377)
  • Twitter: Generate thumbnails with all images of a tweet. (#373)
  • YouTube: Added support for 'YouTube shorts' URLs. (#299)
  • Media files: Generate tooltips for Video and Audio files. (#427)
  • Minor: Add ability to opt out hostnames from the API. (#405)
  • Fix: SevenTV emotes now resolve correctly. (#281, #288, #307)
  • Fix: YouTube videos are no longer resolved as channels. (#284)
  • Fix: Default resolver no longer crashes when provided url is broken. (#310)
  • Fix: JSON responses now always return the proper content type. (#334)
  • Dev: Improve BetterTTV emote tests. (#282)
  • Minor: BetterTTV cache key changed from plural to singular form. (#282)
  • Dev: Add docker-compose support. (#395)
  • Dev: Improve Twitch.tv clip tests. (#283)
  • Dev: Improve YouTube tests. (#284)
  • Dev: Resolver Check now returns a context. (#287)
  • Dev: Improve Wikipedia tests. (#286)
  • Dev: Improve Imgur tests. (#289)
  • Dev: Improve migration tests. (#290)
  • Dev: Improve Twitter tests. (#293)
  • Dev: Improve SevenTV tests. (#294)
  • Dev: Improve FrankerFaceZ tests. (#295)
  • Dev: Improve Livestreamfails tests. (#297, #301)
  • Dev: Improve default resolver tests. (#300)
  • Dev: Resolve imgur.io links. (#365)
  • Dev: Don't use stampede for link resolver links. (#394)
  • Dev: Update to Twitter's v2 API. (#414)
  • Dev: Add HTTP Caching headers. (#417)
  • Dev: Add custom middleware to strip trailing slashes. (#422)
  • Dev: Make cache timeout durations configurable. (#419)
  • Dev: Add prometheus middleware for chi. (#425)

What's Changed (Commit list)

Read more

v1.2.3

13 Mar 12:44
6af9102
Compare
Choose a tag to compare
  • Dev: Automatically publish docker image to the GitHub Container Registry. (#279)

v1.2.2

12 Mar 14:41
b8b4f57
Compare
Choose a tag to compare
  • YouTube: Added comment count to rich video tooltips. (#252)
  • YouTube: Added a red AGE RESTRICTED label to the YouTube video tooltip. (#251)
  • YouTube: Removed dislike count from rich tooltips since YouTube removed it. (#243)
  • Twitter: Blacklist special pages from being resolved as user pages. (#220)
  • Twitch: Handle Twitch clips from m.twitch.tv domain. (#239)
  • Updated Facebook & Instagram endpoints to oembed v10. (#201)
  • Added a Chatterino API Privacy Policy and Terms of Service to /legal/privacy-policy and /legal/terms-of-service. (#253)
  • Dev: Disable CodeGQL. (#275)
  • Dev: Add CodeCov support. (#276)
  • Dev: Add CodeCov badge to readme. (#277)

v1.2.1

31 Jul 12:56
v1.2.1
30dc016
Compare
Choose a tag to compare
  • MaxThumbnailSize is now configurable using the max-thumbnail-size config value. (#195)
  • Twitch clips under www.twitch.tv domain work again. (#189)
  • Imgur thumbnails are now proxied as well. (#187)
  • Added link preview support for 7tv emote links. (#155)
  • Skip lilliput if image is below maxThumbnailSize. (#184)
  • Dev: Change Emote Set backend from twitchemotes.com to the Twitch Helix API. (#175, #188)

v1.2.0

24 Jun 01:01
v1.2.0
eaa7421
Compare
Choose a tag to compare
  • Breaking: YouTube environment variable has been renamed (CHATTERINO_API_YOUTUBE_API_KEY).
  • Added viper as a configuration manager. This allows to set configuration with config files, environment variables or command line flags. There are also new configurable properties. See docs/config.md for detailed information. (#162)
  • Pass http.Request all the way down the pipeline to custom resolvers. (#167)

v1.1.0

12 Jun 14:28
3c49d03
Compare
Choose a tag to compare
  • Made Reddit Score field in Livestreamfails tooltip use humanized value. (#164)
  • Added support for customizable oEmbed resolving for websites with the providers.json file. See data/oembed/providers.json. Three new environment variables can be set. See internal/resolvers/oembed/README.md (#139, #152)
  • Breaking: Environment variable CHATTERINO_API_CACHE_TWITCH_CLIENT_ID was renamed to CHATTERINO_API_TWITCH_CLIENT_ID. (#144)
  • Dev, Breaking: Replaced dankeroni/gotwitch with nicklaw5/helix. This change requires you to add new environment variable: CHATTERINO_API_TWITCH_CLIENT_SECRET - it's a client secret generated for your Twitch application.

v1.0.2

24 Apr 12:47
5337d36
Compare
Choose a tag to compare
  • Twitter profile pictures are now returned in their original quality. (#131)
  • Youtube thumbnails are now in medium quality instead of standard definition to get a rectangular shaped image. (#127)