Skip to content

Releases: Chocobozzz/PeerTube

v6.1.0-rc.1

16 Apr 12:54
v6.1.0-rc.1
8e30e1f
Compare
Choose a tag to compare
v6.1.0-rc.1 Pre-release
Pre-release

IMPORTANT NOTES

  • You must update nginx configuration: https://github.com/Chocobozzz/PeerTube/blob/develop/support/nginx/peertube
    • Add location ~ ^/api/v1/users/[^/]+/imports/import-resumable$ { block
  • This release changes the way how PeerTube counts a video view:
    • Views are taken into account after 10 seconds instead of 30 seconds (can be changed in YAML config)
    • Views use a Session ID generated by the web browser instead of using the request IP (former behavior can be restored in YAML config)
    • The goal of this change is to get closer to how other video platforms like Mux, Vimeo, or Instagram work

Admin config (non-exhaustive)

  • Breaking changes:
    • Rename views.videos.ip_view_expiration to views.videos.view_expiration
  • YAML & web admin configs:
    • Add storyboards.enabled config to disable storyboard generation
    • Remove services.twitter.whitelisted: Twitter/X doesn't seem to need this anymore. This means that PeerTube will try to inject the video player in Twitter/X by default instead of using a classic image/description
  • YAML config only:
    • Add open_telemetry.metrics.playback_stats_interval config to customize how often viewers send playback stats to server
    • Add views.videos.watching_interval.{anonymous,users} configs to change how often the web browser sends "is watching" information to the server
    • Add stats.registration_requests.enabled and stats.abuses.enabled configs to hide instance registration/abuse requests public stats (average response time, total registration/abuse requests etc.)
    • Add stats.total_moderators.enabled and stats.total_admins.enabledconfigs to hide total admins/moderators public stats
    • Add object_storage.streaming_playlists.store_live_streams config to not store live stream chunks into object storage (when enabled for streaming playlists)
    • Set open_telemetry.metrics.http_request_duration.enabled to false by default to avoid performance issues on the Prometheus backend due to high metric cardinality

Maintenance

  • Also generate 600x600 and 1500x1500 avatar sizes
  • Also generate 600x100 banner size

Plugins/Themes/Embed API

Features

  • 🎉 Implement user import/export 🎉 #6215
    • This is not a migration tool: data (like channels or videos) is duplicated and not moved from the previous PeerTube instance
    • Export:
      • A ZIP is generated by PeerTube and an email is sent to the user when the archive is ready
      • The archive file contains ActivityPub data for federation compatibility and custom JSON files used by PeerTube import. It also contains video/playlist thumbnail and channel/account avatar/banner files
      • User can include video files in the archive
      • Archive files can be stored in object storage
      • Export can be disabled by the admin. They can also set an expiration time to automatically delete archive files and limit the export file size depending on the user's video quota
    • Import:
      • Update account metadata (display name, description...)
      • Update user settings (video autoplay policy, notification settings...)
      • Create entries in the mute list
      • Add watched videos in user's videos history
        Add likes/dislikes
      • Send a follow request to imported subscriptions
      • Create channels, playlists and videos (if the video files are included in the archive)
      • Admins can disable user import
  • 🎉 Add ability to keep the original video file 🎉 #6157
    • Can be stored in object storage
    • Uploader can download the original file
    • The original file is used in the user export archive (instead of the max quality file)
  • Add Turkish language support in client
  • Add ability for admins to set a banner and an avatar to the instance. The banner is used in About instance/Login/Register an account pages. Both the banner and the avatar can be used on the instance homepage using <peertube-instance-banner>/<peertube-instance-avatar> tag or on external websites/applications like the JoinPeerTube website
  • Add ability for uploaders to download and add a video to a playlist on the My videos page using the dropdown button #6008
  • Video views statistics:
    • Count a view after 10 seconds and use a web browser session id to identify a viewer (see IMPORTANT CHANGES section)
    • Add information about the location of the viewer subdivision/region
    • More accurate retention stats where PeerTube doesn't take into account empty views anymore
  • UI/UX:
    • Automatically filter on Local videos in admin
    • Add ability to sort videos by file size
    • Add total video file size column in admin users list
    • Improve admin runner jobs list by using badges with same colors for type/runner and add processed/finished columns
    • Add Recommended tags to recommended PeerTube plugins/themes
    • Improve plugins/themes default trending sort
    • Trim username on login
    • Warn if "Forgot password" email contains uppercase
    • Use more precise buttons label to save changes in My account settings
    • Add icon to owners/moderators only options
    • Always use short UUIDs instead of full UUIDs in client to prevent URL confusion
    • Add average admins/moderators response time in Request an account page
    • Add color to registration/abuse state icon
  • Player:
    • Add an enable/disable subtitle button to the control bar
    • Faster auto-resizing of the player when the video has a custom aspect ratio (only for videos uploaded on PeerTube >= 6.1)
    • Use video aspect ratio for responsive embeds (only for videos uploaded on PeerTube >= 6.1)
  • Performance:
    • Optimize watching (/api/v1/videos/:videoId/views) endpoint
    • Reduce ffprobe calls when not needed resulting in faster live stream transcoding startup and CPU/IO reduction during video upload/import
  • Federation
    • Introduce a new way to federate Views events in the federation. See the commit details for more information
    • Implements FEP-2677 to identify the Application Actor
    • Add Lemmy postingRestrictedToMods information to channels AP objects
  • Improve generated video thumbnail quality
  • Add notification when a subscribed video channel is live streaming
  • Support itunes:owner in podcast feed

Bug fixes

  • Add stripes to square video thumbnails too (like we do for portrait videos)
  • Prevent channels from being displayed multiple times on the My channels page
  • Stricter video timestamp "linkification"
  • Correctly fix downloading video files from object storage with some video names
  • Fix broken RSS feed in some (rare) cases
  • Fix local jobs count/pagination with Waiting jobs
  • Banned users cannot live stream anymore
  • Correctly escape HTML entities in meta tags #6206
  • Fix broken account channels page with high video_channels.max_per_user config
  • Add ability for moderators to approve/reject user registrations
  • Do not display empty notification settings group
  • Correctly fix WebTorrent video import crash
  • Fix video channel synchronization crash on remote channels/playlists that contain hidden videos (unavailable, deleted etc.)
  • Ensure the filename doesn't contain / character when downloading a video
  • Fix Google Search SEO (with Video is not the main content of the page error)
  • Remove password autocomplete in embed which causes issues when the parent page has a password input and the user uses the web browser's password autofill feature
  • Don't submit the login form on forgot my password keyboard click
  • Fix storyboard generation with some videos
  • Fix ffmpeg encoder after custom plugin transcoding profile deletion
  • Fix navigating from one channel related page (playlist, videos...) to another one
  • More robust live stream transcoded by a remote runner
  • Fix first video in playlist that doesn't start at "starts at"
  • Fix embed HTML code for videos/playlists that have passwords
  • Display external account/channel playlists if user is allowed to escape the federation
  • Fix view endpoint crash on geoip update failure
  • Fix setting video subtitle from URL query
  • Fix selecting "Display all languages/categories/licences" in videos search resulting in an empty search

v6.0.4

04 Apr 12:40
v6.0.4
db69b78
Compare
Choose a tag to compare

IMPORTANT NOTES

  • If you upgrade from PeerTube < v6.0.0, please follow v6.0.0 IMPORTANT NOTES
  • If you upgrade from PeerTube v6.0.0, please follow v6.0.1 IMPORTANT NOTES

SECURITY

v6.0.3

18 Jan 08:43
v6.0.3
01e4fd0
Compare
Choose a tag to compare

IMPORTANT NOTES

  • If you upgrade from PeerTube < v6.0.0, please follow v6.0.0 IMPORTANT NOTES
  • If you upgrade from PeerTube v6.0.0, please follow v6.0.1 IMPORTANT NOTES

SECURITY

  • Prevent nginx from serving private/internal/password protected HLS video static files
    • You must update your nginx configuration like in this commit (line 202 replace location ~ ^(/static/(webseed|web-videos|streaming-playlists)/private/)|^/download { by location ~ ^(/static/(webseed|web-videos|streaming-playlists/hls)/private/)|^/download {)

Bug fixes

  • Fix HTML meta tags with attributes that contain quotes
  • Fix time parsing resulting in broken video start time in some cases
  • Fix WebTorrent video import crash
  • Reload Discover page on logout
  • Fix privacy error when updating a live, even if the privacy has not changed
  • Fix invalid remote live state change notification that causes the player to reload
  • Don't apply big play button skin to settings menu
  • Fix downloading video files from object storage with some video names (that include emojis, quotes etc)
  • Fix thumbnail generation when ffmpeg cannot seek the input
  • Fix theme colors on stats page
  • Fix input mask (used for chapters, playlist timecodes...) with 10h+ videos
  • Fix chapter position width consistency
  • Fix player ratio with audio only videos
  • Also update video playlist URLs when using update-host script
  • Fix upload/import/update of videos that contain multiple chapters with the same timecode

v6.0.2

11 Dec 08:14
v6.0.2
1aab639
Compare
Choose a tag to compare

IMPORTANT NOTES

  • If you upgrade from PeerTube < v6.0.0, please follow v6.0.0 IMPORTANT NOTES
  • If you upgrade from PeerTube v6.0.0, please follow v6.0.1 IMPORTANT NOTES

Bug fixes

  • Fix upgrade.sh when Peertube is installed outside the standard path #6064
  • Fix importing videos with too long chapter name
  • Don't create chapters from description if there is only one
  • Ensure user is owned by the auth plugin before updating its attributes
  • Improve channels and accounts SEO by fixing structured JSON-LD data and canonical URLs
  • Originally published and reupload date format consistency in watch page
  • Fix cpu count when cpu info not available
  • Fix embed when waiting for a live
  • Fix updating already started live if live attributes don't change
  • Fix displaying many countries in video stats

v6.0.1

29 Nov 09:25
v6.0.1
d897a04
Compare
Choose a tag to compare

IMPORTANT NOTES

  • If you upgrade from PeerTube < v6.0.0, please follow v6.0.0 IMPORTANT NOTES
  • We've made some modifications in v6.0.0 IMPORTANT NOTES, so if you upgrade from PeerTube v6.0.0:
    • Ensure location = /api/v1/videos/upload-resumable { has been replaced by location ~ ^/api/v1/videos/(upload-resumable|([^/]+/source/replace-resumable))$ { in your nginx configuration
    • Ensure you updated storage.web_videos configuration value to use web-videos/ directory name
    • Ensure your directory name on filesystem is the same as storage.web_videos configuration value: directory on filesystem must be renamed from videos/ to web-videos/ to represent the value of storage.web_videos

Bug fixes

  • Fix CPU going to 100% on odd cpu count
  • Increase storyboard generation job TTL
  • Add missing generate-video-storyboard job type in admin jobs list
  • Regenerate storyboard after studio job

v6.0.0

28 Nov 07:45
v6.0.0
e3d4259
Compare
Choose a tag to compare

PeerTube is developed by a not-for profit: Framasoft

As such, our main source of fundings are donations, usually from the French-speaking FOSS community.

Dear PeerTube admins, please help us spread the word that Framasoft is raising donations until the end of the year to fund and secure its 2024 budget, on our support page : https://soutenir.framasoft.org

IMPORTANT NOTES

We have many important notes in this release. We know it's a pain for sysadmin, but consider each one as a major step forward for PeerTube quality!

Sysadmins important notes

Developers important notes

  • REST API breaking changes:

    • Removed webtorrentEnabled from user response (deprecated since 4.1 in favour of p2pEnabled)
    • Removed avatar and banner fields from account/channel responses (deprecated since 4.2 in favour of avatars and banners)
    • Removed filter query when listing videos (deprecated since 4.0 in favour of isLocal and include)
    • Deprecate /api/v1/videos/:id/webtorrent video file routes in favour of /api/v1/videos/:id/web-videos routes
    • Deprecate hasWebtorrentFiles body video filter in favour of hasWebVideoFiles when listing videos
    • Deprecate webtorrent transcodingType in favour of web-video in /api/v1/videos/{id}/transcoding route
    • currentTime is now required to notify the user is watching the video using /api/v1/videos/{id}/views (introduced in 4.2)
  • Static server paths breaking changes:

    • /static/webseed/... is deprecated in favour of /static/web-videos/...
    • /object-storage-proxy/webseed/... is deprecated in favour of /object-storage-proxy/web-videos/...
    • /static/thumbnails/... is deprecated in favour of /static/lazy-thumbnails/...
  • Plugin API breaking changes:

    • Deprecated webtorrent key in getFiles() helper result. Use webVideo instead

CLI tools

Features

  • 🎉 Add "Password protected" video privacy #5836 🎉
    • A single password can be set using the web interface at video upload/import/update
    • The REST API can store as many passwords as you want, allowing developers to use this feature to easily give or revoke access to a video on the fly
    • Developers that use PeerTube embeds can set the video password using the embed API
  • 🎉 Add video storyboard support 🎉
    • PeerTube automatically generates a storyboard on video upload/import
    • Viewers can see the image around the targeted timecode when hovering the progress bar
    • Storyboard of videos uploaded/imported before v6 can be generated by the admin using npm run create-generate-storyboard-job command: https://docs.joinpeertube.org/maintain/tools#generate-storyboard
  • 🎉 Add ability for users to replace their video file 🎉
    • Has to be enabled by the PeerTube instance administrator
    • The user can replace the video file in the Update Video page
    • The re-upload date is displayed under the video player
  • 🎉 Add video chapters support 🎉
    • Add chapters in the upload/import/update video page or let PeerTube automatically imports them from the video container/youtube-dl
    • Markers are displayed in the player progress bar to symbolize a chapter
    • Chapter title is displayed when hovering/touching the player progress bar
  • Better video player:
    • More efficient as we don't rebuild the player every time the played video changes
    • The player keeps the current player settings (playback speed, fullscreen...) when the played video changes
    • Automatically adjust the player size to match video ratio
  • Improve SEO and video link sharing:
    • Use short video/channel/account URLs in sitemap and for canonical tags
    • Add JSON-LD tag in embed page
    • Embed page does not forbid indexation anymore: we use a canonical tag instead that targets the watch page
    • Forbid indexation of remote videos, accounts and channels (instead of providing an invalid canonical tag)
    • Truncate OpenGraph/Twitter card link description
  • Fix client accessibility and keyboard navigation:
    • Fix links in bootstrap alerts color
    • Better input placeholder contrast
    • Fix video miniature link label
    • Add ability to disable hotkeys
    • Improve table overall accessibility
    • Wrap icons that can lead to an action inside buttons
    • Fix left menu admin/my-library menu accessibility
    • And many more improvements!
  • Improve remote runner management:
    • Add ability to remove runner jobs
    • Add runner job state quick filter
    • Merge registration tokens and runners tables in same page
    • Add copy button to copy registration token
  • Add ability for admins to force transcoding on a specific video even if it's in broken state (stuck in To Transcode for example)
  • Add an option to sign federated fetches (ActivityPub based software such as Mastodon may require it to access content)
  • Download video file directly from S3 using pre signed URLs
  • Lazy download remote video thumbnails to reduce storage
  • Improve recommended videos when the watched video doesn't have tags set
  • Add more rate limits in configuration (`...
Read more

v6.0.0-rc.2

20 Nov 09:56
v6.0.0-rc.2
76fc448
Compare
Choose a tag to compare
v6.0.0-rc.2 Pre-release
Pre-release

Since v6.0.0-rc.1

Bug fixes

  • Correctly generate production.yaml.new that should merge your current production.yaml with new keys defined by PeerTube
  • Don't break scripts/upgrade.sh path. If you upgraded to v6.0.0-rc.1 you can find the upgrade script in dist/scripts/upgrade.sh
  • Fix notification scrolling
  • Add ability to customize frames to analyze in configuration (fix too long upload on low-power hardware)
  • Fix player ratio on mobile with portrait videos
  • Update page title and description on video change
  • Adapt storyboard sprite ratio
  • Fix card font color theme
  • Optimize homepage videos query
  • Respect "transcode original resolution" setting when using remote runners
  • Prevent player mobile buttons flickering

v6.0.0-rc.1

07 Nov 07:54
v6.0.0-rc.1
5dd39c0
Compare
Choose a tag to compare
v6.0.0-rc.1 Pre-release
Pre-release

IMPORTANT NOTES

We have many important notes in this release. We know it's a pain for sysadmin, but consider each one as a major step forward for PeerTube quality!

Sysadmins important notes

Developers important notes

  • REST API breaking changes:

    • Removed webtorrentEnabled from user response (deprecated since 4.1 in favour of p2pEnabled)
    • Removed avatar and banner fields from account/channel responses (deprecated since 4.2 in favour of avatars and banners)
    • Removed filter query when listing videos (deprecated since 4.0 in favour of isLocal and include)
    • Deprecate /api/v1/videos/:id/webtorrent video file routes in favour of /api/v1/videos/:id/web-videos routes
    • Deprecate hasWebtorrentFiles body video filter in favour of hasWebVideoFiles when listing videos
    • Deprecate webtorrent transcodingType in favour of web-video in /api/v1/videos/{id}/transcoding route
    • currentTime is now required to notify the user is watching the video using /api/v1/videos/{id}/views (introduced in 4.2)
  • Static server paths breaking changes:

    • /static/webseed/... is deprecated in favour of /static/web-videos/...
    • /object-storage-proxy/webseed/... is deprecated in favour of /object-storage-proxy/web-videos/...
    • /static/thumbnails/... is deprecated in favour of /static/lazy-thumbnails/...
  • Plugin API breaking changes:

    • Deprecated webtorrent key in getFiles() helper result. Use webVideo instead

CLI tools

Features

  • 🎉 Add "Password protected" video privacy #5836 🎉
    • A single password can be set using the web interface at video upload/import/update
    • The REST API can store as many passwords as you want, allowing developers to use this feature to easily give or revoke access to a video on the fly
  • 🎉 Add video storyboard support 🎉
    • PeerTube automatically generates a storyboard on video upload/import
    • Viewers can see the image around the targeted timecode when hovering the progress bar
    • Storyboard of videos uploaded/imported before v6 can be generated by the admin using npm run create-generate-storyboard-job command
  • 🎉 Add ability for users to replace their video file 🎉
    • Has to be enabled by the PeerTube instance administrator
    • The user can replace the video file in the Update Video page
    • The re-upload date is displayed under the video player
  • 🎉 Add video chapters support 🎉
    • Add chapters in the upload/import/update video page or let PeerTube automatically imports them from the video container/youtube-dl
    • Markers are displayed in the player progress bar to symbolize a chapter
    • Chapter title is displayed when hovering/touching the player progress bar
  • Better video player:
    • More efficient as we don't rebuild the player every time the played video changes
    • The player keeps the current player settings (playback speed, fullscreen...) when the played video changes
    • Automatically adjust the player size to match video ratio
  • Improve SEO and video link sharing:
    • Use short video/channel/account URLs in sitemap and for canonical tags
    • Add JSON-LD tag in embed page
    • Embed page does not forbid indexation anymore: we use a canonical tag instead that targets the watch page
    • Forbid indexation of remote videos, accounts and channels (instead of providing an invalid canonical tag)
    • Truncate OpenGraph/Twitter card link description
  • Fix client accessibility and keyboard navigation:
    • Fix links in bootstrap alerts color
    • Better input placeholder contrast
    • Fix video miniature link label
    • Add ability to disable hotkeys
    • Improve table overall accessibility
    • Wrap icons that can lead to an action inside buttons
    • Fix left menu admin/my-library menu accessibility
    • And many more improvements!
  • Improve remote runner management:
    • Add ability to remove runner jobs
    • Add runner job state quick filter
    • Merge registration tokens and runners tables in same page
    • Add copy button to copy registration token
  • Add ability for admins to force transcoding on a specific video even if it's in broken state (stuck in To Transcode for example)
  • Add an option to sign federated fetches (ActivityPub based software such as Mastodon may require it to access content)
  • Download video file directly from S3 using pre signed URLs
  • Lazy download remote video thumbnails to reduce storage
  • Improve recommended videos when the watched video doesn't have tags set
  • Add more rate limits in configuration (plugins, well-known, feeds, activity_pub and client endpoints)
  • Add ability to reset video Originally published at attribute
  • Add ability for admins to set the default user channel name #6000
  • Server now uses ESM modules
  • Add worker threads Prometheus metrics
  • Performance:
    • Process unicast HTTP job in worker threads
    • Sign ActivityPub requests in worker threads
    • Optimize recommended videos HTTP request
    • Optimize videos SQL queries when filtering on lives or tags
    • Optimize /videos/{id}/views endpoint with many viewers
    • Add ability to disable PeerTube HTTP logs

Bug fixes

  • Don't cache upload response if the video has been deleted
  • Fix broken upgrade script when using custom database port
  • Prevent duplicate runner names
  • Avoid runner job update error
  • Notify remote runners there are available jobs when a job is aborted/errored
  • Fix updating P2P settings in left menu
  • Fix 500 HTTP error on invalid short UUID conversion
  • Don't display admin email in security.txt well-known endpoint
  • Optimize update-host script to fix out of memory error
  • Fix error log when using an unconventional distribution of FFmpeg with a non-standard version string #5917
  • Fix live replay REST API breaking change: replaySettings.privacy is not required anymore
  • Fix broken live replay when updating replay privacy
  • More ...
Read more

v5.2.1

30 Aug 16:40
v5.2.1
0c302ac
Compare
Choose a tag to compare

Bug fixes

  • Fix loading spinner displayed forever on Chrome
  • Fix broken replay with long live name
  • Fix fps transcoding on remote runners
  • Fix terms/code of conduct link toggle

v5.2.0

21 Jun 07:11
v5.2.0
b4516ab
Compare
Choose a tag to compare

IMPORTANT NOTES

Maintenance

  • Remove npm run create-transcoding-job and npm run print-transcode-command unmaintained scripts
  • Add Redis sentinel support #5593
  • Improve upgrade script (used when you will upgrade from PeerTube 5.2 to its next version) for classic installation:
    • Automatically generate a config/production.yaml.new file after the upgrade, which is the fusion between the new PeerTube configuration keys and your current production.yaml. After a review you can replace your old config/production.yaml with this new file so you don't have to add new keys manually
    • Add ls option compatibility with FreeBSD #5785

Docker

  • Make database name configurable using env variable #5734

Plugins/Themes/Embed API

  • Add filter:html.client.json-ld.result hook

Features

Bug fixes

  • Fix live stream object storage sync resulting in broken playback on iOS after a few minutes
  • Correctly proxify HTTP 206 content-range header from object storage #5703
  • Filter out already watched videos from recommended videos #5739
  • Prevent exception when HTTP headers are already sent
  • Fix remote instance following/followers links in about page
  • Prevent error when updating a running live stream if the privacy hasn't changed
  • Prevent crash on plugin websocket error
  • Don't call register/unregister plugin API when installing/uninstalling plugins using script/plugin scripts (offline mode)
  • Fix error on missing plugin CSS file at PeerTube startup #5746
  • Prevent "invalid end watch section" server log warnings
  • Support remote subscribe with a handle starting with a @ character
  • Actor preferred username (account/channel handle) is now case insensitive
  • Fix RTL layout inconsistencies
  • Prevent user video notification when the subscription is still in Pending state
  • Correctly remove Pending subscription
  • Fix PeerTube subtitles import
  • Fix languages alphabetical order
  • Fix registration notification error
  • Correctly unload plugin paths
  • Fix custom default route in instance logo link
  • Fix video channels quick filter overflow