Releases: Chatterino/api
Releases · Chatterino/api
v2.0.5
v2.0.3
- 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
v2.0.1
What's Changed
- Fix release step to not include the macos binary by @pajlada in #454
- feat: Add support for ffz animated emote urls by @brian6932 in #455
- Use 7TV V3 API by @Nerixyz in #456
New Contributors
- @brian6932 made their first contribution in #455
- @Nerixyz made their first contribution in #456
Full Changelog: v2.0.0...v2.0.1
v2.0.0
Changelog
- Breaking: Go version 1.19 is now the minimum required version to build this. (#430)
- Breaking:
enable-lilliput
config renamed toenable-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)
- Cache resolved data in PostgreSQL instead of in-memory by @pajlada in #271
- Fix SevenTV emote resolver by @pajlada in #281
- Improve BetterTTV emote tests by @pajlada in #282
- Improve Twitch.tv clip tests by @pajlada in #283
- Improve YouTube tests by @pajlada in #284
- Bump google.golang.org/api from 0.71.0 to 0.73.0 by @dependabot in #285
- Check now returns a context by @pajlada in #287
- Improve wikipedia tests by @pajlada in #286
- Fix 7tv emote resolving again by @pajlada in #288
- Improve Imgur tests by @pajlada in #289
- Bump github.com/frankban/quicktest from 1.14.2 to 1.14.3 by @dependabot in #291
- Update minimum required Go version to 1.17 by @pajlada in #292
- Add tests to migration running by @pajlada in #290
- Improve Twitter tests by @pajlada in #293
- Improve SevenTV tests by @pajlada in #294
- Improve FrankerFaceZ tests by @pajlada in #295
- Add tests for resolvers without any tests by @pajlada in #296
- Add Livestreamfails tests by @pajlada in #297
- Fix Livestreamfails tests by @pajlada in #301
- Bump codecov/codecov-action from 2 to 3 by @dependabot in #302
- Bump actions/upload-artifact from 2 to 3 by @dependabot in #304
- Bump actions/download-artifact from 2 to 3 by @dependabot in #305
- Bump google.golang.org/api from 0.73.0 to 0.74.0 by @dependabot in #298
- Bump github.com/go-chi/stampede from 0.5.0 to 0.5.1 by @dependabot in #303
- Add youtube shorts URLs by @NotNotQuinn in #299
- Bump github.com/spf13/viper from 1.10.1 to 1.11.0 by @dependabot in #306
- Fix 7tv API URL by @Leppunen in #307
- Bump google.golang.org/api from 0.74.0 to 0.75.0 by @dependabot in #308
- Bump github.com/jackc/pgconn from 1.11.0 to 1.12.0 by @dependabot in #309
- Bump github.com/jackc/pgx/v4 from 4.15.0 to 4.16.0 by @dependabot in #310
- Add default resolver tests by @pajlada in #300
- Fix link resolver crashing when provided url is invalid by @pajlada in #311
- docs: Include mention to fill dsn in config. by @KararTY in #313
- Bump github.com/pashagolub/pgxmock from 1.4.4 to 1.5.0 by @dependabot in #315
- Bump google.golang.org/api from 0.75.0 to 0.77.0 by @dependabot in #316
- Bump google.golang.org/api from 0.77.0 to 0.78.0 by @dependabot in #317
- Bump google.golang.org/api from 0.78.0 to 0.79.0 by @dependabot in #320
- Bump github.com/prometheus/client_golang from 1.12.1 to 1.12.2 by @dependabot in #321
- Bump github.com/jackc/pgx/v4 from 4.16.0 to 4.16.1 by @dependabot in #319
- Bump github.com/pashagolub/pgxmock from 1.5.0 to 1.6.0 by @dependabot in #323
- Bump google.golang.org/api from 0.79.0 to 0.80.0 by @dependabot in #322
- Bump google.golang.org/api from 0.80.0 to 0.81.0 by @dependabot in #324
- Bump github.com/spf13/viper from 1.11.0 to 1.12.0 by @dependabot in #325
- Bump google.golang.org/api from 0.81.0 to 0.82.0 by @dependabot in #327
- Bump google.golang.org/api from 0.82.0 to 0.84.0 by @dependabot in #329
- Bump google.golang.org/api from 0.84.0 to 0.85.0 by @dependabot in #330
- Bump google.golang.org/api from 0.85.0 to 0.86.0 by @dependabot in #331
- Bump google.golang.org/api from 0.86.0 to 0.88.0 by @dependabot in #337
- Bump google.golang.org/api from 0.88.0 to 0.90.0 by @dependabot in #339
- Start working on having status codes settable by resolvers by @pajlada in #334
- Bump google.golang.org/api from 0.90.0 to 0.91.0 by @dependabot in #340
- Bump github.com/pashagolub/pgxmock from 1.6.0 to 1.7.0 by @dependabot in #341
- Update minimum required Go version to 1.18 by @pajlada in #348
- Bump github.com/prometheus/client_golang from 1.12.2 to 1.13.0 by @dependabot in #344
- Bump pgx versions by @pajlada in #349
- Bump go.uber.org/zap from 1.21.0 to 1.22.0 by @dependabot in #343
- Bump google.golang.org/api from 0.91.0 to 0.92.0 by @dependabot in #350
- Bump google.golang.org/api from 0.92.0 to 0.93.0 by @dependabot in #351
- Update dependencies by @pajlada in #352
- Bump go.uber.org/zap from 1.22.0 to 1.23.0 by @dependabot in #354
- Bump google.golang.org/api from 0.93.0 to 0.94.0 by @dependabot in #353
- Bump github.com/jackc/pgx/v4 from 4.17.0 to 4.17.1 by @dependabot in #356
- Bump github.com/jackc/pgx/v4 from 4.17.1 to 4.17.2 by @dependabot in #357
- Bump google.golang.org/api from 0.94.0 to 0.95.0 by @dependabot in #358
- Bump github.com/spf13/viper from 1.12.0 to 1.13.0 by @dependabot in #359
- Bump google.golang.org/api from 0.95.0 to 0.96.0 by @dependabot in #360
- Bump google.golang.org/api from 0.96.0 to 0.97.0 by @dependabot in #362
- Bump google.golang.org/api from 0.97.0 to 0.98.0 by @dependabot in #364
- feat: auto-rotate thumbnails based on metadata by @leon-richardt in #366
- Bump go-imgur to v0.4.0 by @pajlada in #368
- feat: Enable static thumbnail generation on Windows by @KararTY in #369
- Bump golang.org/x/text from 0.3.7 to 0.3.8 by @dependabot in #370
- Bump google.golang.org/api from 0.98.0 to 0.99.0 by @dependabot in #372
- feat: generate multi-image thumbnails for multi-image tweets by @leon-richardt in #373
- feat: add tooltip support for PDF files by @leon-ri...
v1.2.3
v1.2.2
- 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
- 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
- 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
- Made Reddit Score field in Livestreamfails tooltip use humanized value. (#164)
- Added support for customizable oEmbed resolving for websites with the
providers.json
file. Seedata/oembed/providers.json
. Three new environment variables can be set. Seeinternal/resolvers/oembed/README.md
(#139, #152) - Breaking: Environment variable
CHATTERINO_API_CACHE_TWITCH_CLIENT_ID
was renamed toCHATTERINO_API_TWITCH_CLIENT_ID
. (#144) - Dev, Breaking: Replaced
dankeroni/gotwitch
withnicklaw5/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.