IMPORTANT NOTES
- Important: Due to a bug in ffmpeg, PeerTube is not compatible with ffmpeg 4.4. See #3990
- Debian Bullseye admins: Debian Bullseye removed
python
binary/link in favour of explicitpython2
/python3
binaries. Butyoutube-dl
used by PeerTube needs it so you'll have to install python-is-python2 or python-is-python3 before upgrading PeerTube - PeerTube now supports NodeJS 16
Plugins/Themes/Embed API
Documentation: https://docs.joinpeertube.org/api-plugins
- Server helpers
- Deprecate
videoLanguageManager.addLanguage
andvideoLanguageManager.deleteLanguage
: usevideoLanguageManager.addConstant
andvideoLanguageManager.deleteConstant
instead - Deprecate
videoCategoryManager.addCategory
andvideoCategoryManager.deleteCategory
: usevideoCategoryManager.addConstant
andvideoCategoryManager.deleteConstant
instead - Deprecate
videoLicenceManager.addLicence
andvideoLicenceManager.deleteLicence
: usevideoLicenceManager.addConstant
andvideoLicenceManager.deleteConstant
instead - Deprecate
videoPrivacyManager.deletePrivacy
:videoPrivacyManager.deleteConstant
instead - Deprecate
playlistPrivacyManager.deletePlaylistPrivacy
:playlistPrivacyManager.deleteConstant
instead - Introduce
.getConstantValue()
,.getConstants()
and.resetConstants()
forvideoLanguageManager
,videoCategoryManager
,videoLicenceManager
,videoPrivacyManager
andplaylistPrivacyManager
- Deprecate
- Add server plugin hooks:
filter:api.overviews.videos.list.params
andfilter:api.overviews.videos.list.result
Custom markup API
Documentation: https://docs.joinpeertube.org/api-custom-client-markup
- Add ability to only display VOD or live videos in
<peertube-videos-list>
element <peertube-container>
fills all available width. Can be changed usingdata-justify-content
attribute
Maintenance
- Remove
StandardOutput
andStandardError
settings from systemd service template #4300 - Use random UUIDs for video, torrent and streaming playlist files
- Filename is regenerated when the file content changes: allows admins to use aggressive caching
CLI tools
- Remove unmaintened
optimize-old-videos.js
script - Add short UUID support in video scripts
Features
- 🎉 Add video filters to common video pages (account videos, channel videos, recently added/local/trending videos...)
- Change video sort (recently added, hot, views...)
- Only display live/VOD videos
- Filter by languages/categories
- Hide or display sensitive content
- Choose to display all videos or only local videos
- 🎉 Beta: Add support for saving video files in object storage #4290
- Check the documentation: https://docs.joinpeertube.org/admin-remote-storage
- 🎉 Add ability for instances to follow any actor (so specific accounts and channels)
- Updated HLS.js (library to play HLS playlists in PeerTube player) to V1:
- Remember last bandwidth to prevent resolution change at the beginning of the video
- Automatically downgrade resolution if bandwidth is too low
- Add latency metric for live videos in stats for nerd card
- Immediate quality change when the user clicks on a specific resolution
- Add ability to search by PeerTube host in search filters
- Disallow search engine indexation of remote channels/accounts
- Transcoding:
- Improve bitrate calculation using "bit per pixel" method
- Limit live bitrate to input bitrate
- Accessibility/UI:
- Alert user for low quota and video auto-block on upload page #4336
- Display a modal when logged in to explain why and where set up the account profile #4352
- Display messages to inform why and where set up channels in My library pages #4352
- Display a warning when using capitalized letter for the email/username in the login form
- Support out proxy using env variables (
HTTP_PROXY
andHTTPS_PROXY
) #4346
Bug fixes
- Fix PeerTube button link in embed
- Don't remove existing redundancies on host redundancy update
- Remove thumbnail flash when autoplay is enabled in embed
- Fetch data in bulk for the homepage, fixing API rate limit errors
- Fix channel name validator consistency between client and server
- Fix resumable upload without preview file in the body
- Fix redundancy of big HLS files
- Fix stats for nerd card label width
- Fix stats for nerd card resolution
- Fix uploading videos with empty tags in CLI tools
- Fix HLS player on non HTTPS instances
- Hide schedule privacy if private was removed by a plugin
- Fix moderation embeds
- Fix description timestamp click
- Fix privacy descriptions