24 KiB
CHANGELOG
vX.Y.0 (future)
v2.20250314.0
Wrap-up
This release brings the long awaited feature of supporting multiple audio tracks in a video, some bug fixes and UX improvements, and many other things primarily oriented to self-hosting instances, and developers using the API.
The Community
channel tab has been replaced by Posts
in light of YouTube changes, but the URL remains the same.
Tamil is now available as an interface language
Automatic instance redirects will no longer have the chance to annoyingly redirect to the same instance you're on.
Due to their requirements for video playback, Invidious will log warning messages when either inv-sig-helper, po_token
or visitor_data
is not configured
Invidious is now able to listen through a UNIX socket
User notifications are now batched for each channel
The minimum Crystal version supported by Invidious now 1.12.0
New features & important changes
For users
- Invidious now supports videos with multiple audio tracks allowing you to select which one you want to hear with!
- Channel pages now have a proper previous page button
- RSS feeds for channels will no longer contain the channel's profile picture
- Support for channel
courses
page has been added Community
tabs has been replaced withPosts
to comply with YouTube changes- Tamil is now an available interface language.
For instance owners
- Invidious is now able to listen on a UNIX socket
- User notifications are now batched by channels, significantly reducing database load.
1.12.0
is now the oldest Crystal version that Invidious supports- The example config will no longer force an http proxy to be configured
- Invidious will now warn when any top-level config option must be set to a custom value, instead of just
HMAC_KEY
- Due to their requirements for video playback, Invidious will log warning messages when either inv-sig-helper,
po_token
orvisitor_data
is not configured
For developers
- Invidious is now compliant to Crystal 1.15 formatting rules, which are incompatible with earlier versions.
/api/v1/transcripts/{id}
has been added to the API to allow for fetching the transcripts for a video. The arguments are the same as the captions endpoint.author_thumbnail
field has been added to videos in the various paged api endpointspublished
field has been added to the API response for a video's related videos.- Docker builds now uses the Crystal compiler cache, reducing build times on repeated builds significantly.
- Invidious ajax action handlers has undergone a clean up and may face compatibility issues with code that depends on these endpoints.
- The versions of Crystal that we test in CI/CD are now:
1.12.1
,1.13.2
,1.14.0
,1.15.0
Bugs fixed
User-side
- Local video listen mode is now preserved when clicking on a video in the sidebar playlist widget
- Automatic instance redirects will no longer redirect to the same instance the user is on
- Fix some thumbnails responses returning 404
- Videos: Fix missing host parameter on playback URLs when
local=true
- Fix HLS being used for non-livestream videos
- Fix timeupdate event errors when required elements are missing
- User: Ensure IO is properly closed when importing NewPipe subscriptions
For instance owners
- Fix http proxy configuration being forced by the standard example config
API
/api/v1/videos/{id}
will no longer return an occasional empty JSON response
Full list of pull requests merged since the last release (newest first)
- Make Invidious compliant to Crystal 1.15 formatting rules (https://github.com/iv-org/invidious/pull/5014, by @syeopite)
- Remove formatter check on container workflows (https://github.com/iv-org/invidious/pull/5153, by @syeopite)
- Videos: Fix missing host parameter on playback URLs when
local=true
(https://github.com/iv-org/invidious/pull/4992, by @SamantazFox) - Remove stdlib override for proxy initialization (https://github.com/iv-org/invidious/pull/5065, by @syeopite)
- Add support for author thumbnails in search api for videos (https://github.com/iv-org/invidious/pull/5072, thanks @ChunkyProgrammer)
- Skip route if resp got closed by before handlers (https://github.com/iv-org/invidious/pull/5073, by @syeopite)
- Fix video thumbnails in mixes (https://github.com/iv-org/invidious/pull/5116, thanks @iBicha)
- CI: Drop support for versions prior to 1.12 and add 1.15.0 (https://github.com/iv-org/invidious/pull/5148, by @syeopite)
- [Continuing #5094] Set language info for dash audio streams and sort (https://github.com/iv-org/invidious/pull/5149, thanks @giuliano-macedo)
- Warn when any top-level config is "CHANGE_ME!!" (https://github.com/iv-org/invidious/pull/5150, by @syeopite)
- Comment out http_proxy in example config (https://github.com/iv-org/invidious/pull/5151, by @syeopite)
- API: Add a 'published' video parameter for related videos (https://github.com/iv-org/invidious/pull/4149, thanks @RadoslavL)
- Ensure IO is properly closed when importing NewPipe subscriptions (https://github.com/iv-org/invidious/pull/4346, thanks @ChunkyProgrammer)
- Carry over audio-only mode in playlist links (https://github.com/iv-org/invidious/pull/4784, thanks @krystof1119)
- Routes: Clean ajax actions handlers (https://github.com/iv-org/invidious/pull/5036, by @SamantazFox)
- Frontend: Add a first page and previous page buttons for channel navigation (https://github.com/iv-org/invidious/pull/4123, thanks @RadoslavL)
- RSS: Channel + Playlist improvements (https://github.com/iv-org/invidious/pull/4298, thanks @ChunkyProgrammer)
- Batch user notifications together (https://github.com/iv-org/invidious/pull/4486, thanks @999eagle)
- JS: Update timeupdate event making it more defensive to prevent errors (https://github.com/iv-org/invidious/pull/4782, thanks @PMK)
- Add API endpoint for fetching transcripts from YouTube by (https://github.com/iv-org/invidious/pull/4788, by @syeopite)
- Translations update from Hosted Weblate by (https://github.com/iv-org/invidious/pull/4989, thanks to our many translators)
- Add the ability to listen on UNIX sockets (https://github.com/iv-org/invidious/pull/5112, thanks @Caian)
- Pick a different instance upon redirect (https://github.com/iv-org/invidious/pull/5154, thanks @epicsam123)
- Add Courses to channel page and channel API (https://github.com/iv-org/invidious/pull/5158, thanks @ChunkyProgrammer)
- fix /api/v1/videos/:id returns 200 with no content (https://github.com/iv-org/invidious/pull/5162, thanks @Drikanis)
- Use Crystal compiler cache in docker builds (https://github.com/iv-org/invidious/pull/5163, by @syeopite)
- Channels: Fix community tab by (https://github.com/iv-org/invidious/pull/5183, thanks @Fijxu)
- Fix typo in
src/invidious/routes/images.cr
(https://github.com/iv-org/invidious/pull/5184, by @syeopite) - Fix an issue with the HLS manifest check for livestream videos (https://github.com/iv-org/invidious/pull/5189, thanks @alexmaras)
- Warn when
po_token
,visitor_data
and/orinv-sig-helper
is not configured (https://github.com/iv-org/invidious/pull/5202, by @syeopite)
v2.20241110.0
Wrap-up
This release is most importantly here to fix to the annoying "Youtube API returned error 400" error that prevented all channel pages from loading.
If you're updating from the previous release, it provides no improvements on the ability to play videos. If updating from a commit in-between release, it removes the "Please sign in" error caused by a previous attempt at restoring video playback on large instances.
In the preferences, a new option allows for control of video preload. When enabled, this option tells the browser to load the video as soon as the page is loaded (this used to be the default). When disabled, the video starts loading only when the "play" button is pressed.
New interface languages available: Bulgarian, Welsh and Lombard
New dependency required: tzdata
.
An HTTP proxy can be configured directly in Invidious, if needed.
NOTE: In that case, it is recommended to comment out force_resolve
.
New features & important changes
For users
- Channels: Fix "Youtube API returned error 400" error preventing channel pages from loading
- Channels: Shorts can now be sorted by "newest", "oldest" and "popular"
- Preferences: Addition of the new "preload" option
- New interface languages available: Bulgarian, Welsh and Lombard
- Added "Filipino (auto-generated)" to the list of caption languages available
- Lots of new translations from Weblate
For instance owners
- Allow the configuration of an HTTP proxy to talk to Youtube
- Invidious tries to reconnect to
inv_sig_helper
if the socket is closed - The instance list is downloaded in the background to improve redirection speed
- New
colorize_logs
option makes each log level a different color
For developpers
/api/v1/channels/{id}/shorts
now supports thesort-by
parameter with the following values:newest
,oldest
andpopular
- Older
/api/v1/channels/xyz/{id}
(tab name before UCID) were removed - API/Search: New video metadata available:
isNew
,is4k
,is8k
,isVr180
,isVr360
,is3d
andhasCaptions
Bugs fixed
User-side
- Channels: The second page of shorts now loads as expected
- Channels: Fixed intermittent empty "playlists" tab
- Search: Fixed
youtu.be
URLs not being properly redirected to the watch page - Fixed
DB::MappingException
error on the subscriptions feed (due to missingtzdata
in docker) - Switching to another instance is much faster
- Fixed an "invalid byte sequence" error when subscribing to a playlist
- Videos: Playback URLs were sometimes broken when cached and
inv_sig_helper
was used
For instance owners
- Fix
force_resolve
being ignored in some cases
API
- API/Videos: Fixed
live_now
andpremiere_timestamp
sometimes not having the right values
Full list of pull requests merged since the last release (newest first)
- API: Add "sort_by" parameter to channels/shorts endpoint (#5071, thanks @iBicha)
- Docker: Install tzdata in Dockerfile (#5070, by @SamantazFox)
- Videos: Stop using TVHTML5_SIMPLY_EMBEDDED_PLAYER (#5063, thanks @unixfox)
- Routing: Deprecate old channel API routes (#5045, by @SamantazFox)
- Videos: use WEB client instead of WEB CREATOR (#4984, thanks @unixfox)
- Parsers: Fix parsing live_now and premiere_timestamp (#4934, thanks @absidue)
- Stale bot updates (#5060, thanks @syeopite)
- Channels: Fix "Youtube API returned error 400" (#5059, by @SamantazFox)
- Channels: Fix for live videos (#5027, thanks @iBicha)
- Locales: Add Bulgarian, Welsh and Lombard to the list (#5046, by @SamantazFox)
- Shards: Update database dependencies (#5034, by @SamantazFox)
- Logger: Add color support for different log levels (#4931, thanks @Fijxu)
- Fix named arg syntax when passing force_resolve (#4754, thanks @syeopite)
- Use make_client instead of calling HTTP::Client (#4709, thanks @syeopite)
- Add "Filipino (auto-generated)" to the list of caption languages (#4995, by @SamantazFox)
- Makefile: Add MT option to enable the 'preview_mt' flag (#4993, by @SamantazFox)
- SigHelper: Reconnect to signature helper (#4991, thanks @Fijxu)
- Fix player menus hiding onHover ready (#4750, thanks @giacomocerquone)
- Use connection pools when requesting images from YouTube (#4326, thanks @syeopite)
- Add support for using Invidious through a HTTP Proxy (#4270, thanks @syeopite)
- Search: Fix 'youtu.be' URLs in sanitizer (#4894, by @SamantazFox)
- Ameba: Disable Style/RedundantNext rule (#4888, thanks @syeopite)
- Playlists: Fix 'invalid byte sequence' error when subscribing (#4887, thanks @DmitrySandalov)
- Parse more metadata badges for SearchVideos (#4863, thanks @ChunkyProgrammer)
- Translations update from Hosted Weblate (#4862, thanks to our many translators)
- Videos: Convert URL before putting result into cache (#4850, by @SamantazFox)
- HTML: Add error message to "search issues on GitHub" link (#4652, thanks @tracedgod)
- Preferences: Add option to control preloading of video data (#4122, thanks @Nerdmind)
- Performance: Improve speed of automatic instance redirection (#4193, thanks @syeopite)
- Remove myself from CODEOWNERS on the config file (#4942, by @TheFrenchGhosty)
- Update latest version WEB_CREATOR + fix comment web embed (#4930, thanks @unixfox)
- use WEB_CREATOR when po_token with WEB_EMBED as a fallback (#4928, thanks @unixfox)
- Revert "use web screen embed for fixing potoken functionality"
- use web screen embed for fixing potoken functionality (#4923, thanks @unixfox)
v2.20240825.2 (2024-08-26)
This releases fixes the container tags pushed on quay.io.
Previously, the ARM64 build was released under the latest
tag, instead of latest-arm64
.
Full list of pull requests merged since the last release (newest first)
CI: Fix docker container tags ([#4883], by @SamantazFox)
v2.20240825.1 (2024-08-25)
Add patch component to be semver compliant and make github actions happy.
Full list of pull requests merged since the last release (newest first)
Allow manual trigger of release-container build (#4877, thanks @syeopite)
v2.20240825.0 (2024-08-25)
New features & important changes
For users
- The search bar now has a button that you can click!
- Youtube URLs can be pasted directly in the search bar. Prepend search query with a
backslash (
\
) to disable that feature (useful if you need to search for a video whose title contains some youtube URL). - On the channel page the "streams" tab can be sorted by either: "newest", "oldest" or "popular"
- Lots of translations have been updated (thanks to our contributors on Weblate!)
- Videos embedded in local HTML files (e.g: a webpage saved from a blog) can now be played
For instance owners
- Invidious now has the ability to provide a
po_token
andvisitordata
to Youtube in order to circumvent current Youtube restrictions. - Invidious can use an (optional) external signature server like inv_sig_helper. Please note that some videos can't be played without that signature server.
- The Helm charts were moved to a separate repo: https://github.com/iv-org/invidious-helm-chart
- We have changed how containers are released: the
latest
tag now tracks tagged releases, whereas themaster
tag tracks the most recent commits of themaster
branch ("nightly" builds).
For developpers
- The versions of Crystal that we test in CI/CD are now:
1.9.2
,1.10.1
,1.11.2
,1.12.1
. Please note that due to a bug in thelibxml
bindings (See #4256), versions prior to1.10.0
are not recommended to use. - Thanks to @syeopite, the code is now ameba compliant.
- Ameba is part of our CI/CD pipeline, and its rules will be enforced in future PRs.
- The transcript code has been rewritten to permit transcripts as a feature rather than being only a workaround for captions. Trancripts feature is coming soon!
- Various fixes regarding the logic interacting with Youtube
- The
sort_by
parameter can be used on the/api/v1/channels/{id}/streams
endpoint. Accepted values are: "newest", "oldest" and "popular"
Bugs fixed
User-side
- Channels: fixed broken "subscribers" and "views" counters
- Watch page: playback position is reset at the end of a video, so that the next time this video is watched, it will start from the beginning rather than 15 seconds before the end
- Watch page: the items in the "add to playlist" drop down are now sorted alphabetically
- Videos: the "genre" URL is now always pointing to a valid webpage
- Playlists: Fixed
Could not parse N episodes
error on podcast playlists - All external links should now have the
rel
attibute set tonoreferrer noopener
for increased privacy. - Preferences: Fixed the admin-only "modified source code" input being ignored
- Watch/channel pages: use the full image URL in
og:image
andtwitter:image
meta tags
API
- fixed the
local
parameter not applying toformatStreams
on/api/v1/videos/{id}
- fixed an
Index out of bounds
error hapenning when a playlist had no videos - fixed duplicated query parameters in proxied video URLs
- Return actual video height/width/fps rather than hard coded values
- Fixed the
/api/v1/popular
endpoint not returning a proper error code/message when the popular page/endpoint are disabled.
Full list of pull requests merged since the last release (newest first)
- HTML: Sort playlists alphabetically in watch page drop down (#4853, by @SamantazFox)
- Videos: Fix XSS vulnerability in description/comments (#4852, thanks anonymous)
- YtAPI: Bump client versions (#4849, by @SamantazFox)
- SigHelper: Fix inverted time comparison in 'check_update' (#4845, by @SamantazFox)
- Storyboards: Various fixes and code cleaning (#4153, by SamantazFox)
- Fix lint errors introduced in #4146 and #4295 (#4876, thanks @syeopite)
- Search: Add support for Youtube URLs (#4146, by @SamantazFox)
- Channel: Render age restricted channels (#4295, thanks @ChunkyProgrammer)
- Ameba: Miscellaneous fixes (#4807, thanks @syeopite)
- API: Proxy formatStreams URLs too (#4859, thanks @colinleroy)
- UI: Add search button to search bar (#4706, thanks @thansk)
- Add ability to set po_token and visitordata ID (#4789, thanks @unixfox)
- Add support for an external signature server (#4772, by @SamantazFox)
- Ameba: Fix Naming/VariableNames (#4790, thanks @syeopite)
- Translations update from Hosted Weblate (#4659)
- Ameba: Fix Lint/UselessAssign (#4795, thanks @syeopite)
- HTML: Add rel="noreferrer noopener" to external links (#4667, thanks @ulmemxpoc)
- Remove unused methods in Invidious::LogHandler (#4812, thanks @syeopite)
- Ameba: Fix Lint/NotNilAfterNoBang (#4796, thanks @syeopite)
- Ameba: Fix unused argument Lint warnings (#4805, thanks @syeopite)
- Ameba: i18next.cr fixes (#4806, thanks @syeopite)
- Ameba: Disable rules (#4792, thanks @syeopite)
- Channel: parse subscriber count and channel banner (#4785, thanks @ChunkyProgrammer)
- Player: Fix playback position of already watched videos (#4731, thanks @Fijxu)
- Videos: Fix genre url being unusable (#4717, thanks @meatball133)
- API: Fix out of bound error on empty playlists (#4696, thanks @Fijxu)
- Handle playlists cataloged as Podcast (#4695, thanks @Fijxu)
- API: Fix duplicated query parameters in proxied video URLs (#4587, thanks @absidue)
- API: Return actual stream height, width and fps (#4586, thanks @absidue)
- Preferences: Fix handling of modified source code URL (#4437, thanks @nooptek)
- API: Fix URL for vtt subtitles (#4221, thanks @karelrooted)
- Channels: Add sort options to streams (#4224, thanks @src-tinkerer)
- API: Fix error code for disabled popular endpoint (#4296, thanks @iBicha)
- Allow embedding videos in local HTML files (#4450, thanks @tomasz1986)
- CI: Bump Crystal version matrix (#4654, by @SamantazFox)
- YtAPI: Remove API keys like official clients (#4655, by @SamantazFox)
- HTML: Use full URL in the og:image property (#4675, thanks @Fijxu)
- Rewrite transcript logic to be more generic (#4747, thanks @syeopite)
- CI: Run Ameba (#4753, thanks @syeopite)
- CI: Add release based containers (#4763, thanks @syeopite)
- move helm chart to a dedicated github repository (#4711, thanks @unixfox)
v2.20240427 (2024-04-27)
Major bug fixes:
- Videos: Use android test suite client (#4650, thanks @SamantazFox)
- Trending: Un-nest category if this is the only one (#4600, thanks @ChunkyProgrammer)
- Comments: Add support for new format (#4576, thanks @ChunkyProgrammer)
Minor bug fixes:
- API: Add bitrate to formatStreams too (#4590, thanks @absidue)
- API: Add 'authorVerified' field on recommended videos (#4562, thanks @ChunkyProgrammer)
- Videos: Add support for new likes format (#4462, thanks @ChunkyProgrammer)
- Proxy: Handle non-200 HTTP codes on DASH manifests (#4429, thanks @absidue)
Other improvements:
- Remove legacy proxy code (#4570, thanks @syeopite)
- API: convey info "is post live" from Youtube response (#4569, thanks @ChunkyProgrammer)
- API: Parse channel's tags (#4294, thanks @ChunkyProgrammer)
- Translations update from Hosted Weblate (#4164, thanks to our many translators)