]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - CHANGELOG.md
Fix build
[github/Chocobozzz/PeerTube.git] / CHANGELOG.md
CommitLineData
e33b53ab
C
1# Changelog
2
2dd4c93c 3## v5.2.0
50b00de4
C
4
5### IMPORTANT NOTES
6
7 * **Important** Remove NodeJS 14 support
8 * **Important** You must update your nginx configuration to support remote runners: https://github.com/Chocobozzz/PeerTube/blob/develop/support/nginx/peertube#L101
9 * Add `storage.tmp_persistent` directory in configuration file. **You must configure it in your production.yaml**: https://github.com/Chocobozzz/PeerTube/blob/develop/config/production.yaml.example#L128
10 * PeerTube requires **Docker Compose >= v2** for Docker compose installation
11
12### Maintenance
13
14 * Remove `npm run create-transcoding-job` and `npm run print-transcode-command` unmaintained scripts
15 * Add Redis sentinel support [#5593](https://github.com/Chocobozzz/PeerTube/pull/5593)
16 * Improve upgrade script (used when you will upgrade from PeerTube 5.2 to its next version) for classic installation:
17 * 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
18 * Add `ls` option compatibility with FreeBSD [#5785](https://github.com/Chocobozzz/PeerTube/pull/5785)
19
20### Docker
21
22 * Make database name configurable using env variable [#5734](https://github.com/Chocobozzz/PeerTube/pull/5734)
23
24### Plugins/Themes/Embed API
25
26 * Add `filter:html.client.json-ld.result` hook
27
28### Features
29
30 * :tada: Implement remote transcoding for VOD videos, Live streams and Studio editions :tada: [#5769](https://github.com/Chocobozzz/PeerTube/pull/5769)
31 * If enabled, remote PeerTube runners can process these high CPU jobs
32 * Admin documentation: https://docs.joinpeertube.org/admin/remote-runners
33 * PeerTube runner CLI documentation: https://docs.joinpeertube.org/maintain/tools#peertube-runner
34 * Demonstration video: https://peertube2.cpy.re/w/oJwHHYwt4oKjKhLNh2diAY
35 * Architecture documentation: https://docs.joinpeertube.org/contribute/architecture#remote-vod-live-transcoding
36 * Add Podcast RSS feed support: [#5487](https://github.com/Chocobozzz/PeerTube/pull/5487)
37 * Add ability to set custom privacy for live replays [#5692](https://github.com/Chocobozzz/PeerTube/pull/5692)
38 * Render images of markdown fields in *About* page [#5732](https://github.com/Chocobozzz/PeerTube/pull/5732)
39 * Admin can disable user video history by default [#5728](https://github.com/Chocobozzz/PeerTube/pull/5728)
40 * Improve global accessibility
41
42### Bug fixes
43
44 * Fix live stream object storage sync resulting in broken playback on iOS after a few minutes
45 * Correctly proxify HTTP 206 content-range header from object storage [#5703](https://github.com/Chocobozzz/PeerTube/pull/5703)
46 * Filter out already watched videos from recommended videos [#5739](https://github.com/Chocobozzz/PeerTube/pull/5739)
47 * Prevent exception when HTTP headers are already sent
48 * Fix remote instance following/followers links in about page
49 * Prevent error when updating a running live stream if the privacy hasn't changed
50 * Prevent crash on plugin websocket error
51 * Don't call `register`/`unregister` plugin API when installing/uninstalling plugins using `script/plugin` scripts (offline mode)
52 * Fix error on missing plugin CSS file at PeerTube startup [#5746](https://github.com/Chocobozzz/PeerTube/pull/5746)
53 * Prevent "invalid end watch section" server log warnings
54 * Support remote subscribe with a handle starting with a `@` character
55 * Actor preferred username (account/channel handle) is now case insensitive
56 * Fix RTL layout inconsistencies
57 * Prevent user video notification when the subscription is still in *Pending* state
58 * Correctly remove *Pending* subscription
c47430bc 59 * Fix PeerTube subtitles import
2dd4c93c
C
60 * Fix languages alphabetical order
61 * Fix registration notification error
62 * Correctly unload plugin paths
63 * Fix custom default route in instance logo link
64 * Fix video channels quick filter overflow
50b00de4
C
65
66
10fbf3e3 67## v5.1.0
105834b2
C
68
69### IMPORTANT NOTES
70
aa8478f3 71 * If your instance has signup enabled, user registration approval is automatically enabled by the default configuration of this release. You can change this setting in your `production.yaml` or in the configuration page in the web admin
105834b2
C
72 * Update [web browsers support list](https://joinpeertube.org/faq#what-web-browsers-are-supported-by-peertube):
73 * Drop support of Safari 11 on iOS
74 * Drop support of Safari 11 on desktop
75 * Drop support of Firefox 68 on desktop
43ae5745 76 * Minimum recommended Redis version is 6.2. Version 6.0 should still work: see [this comment](https://github.com/Chocobozzz/PeerTube/issues/5659#issuecomment-1449607001) for more information
10fbf3e3 77 * Deprecate NodeJS 14: support will be removed in the next release (PeerTube 5.2)
105834b2
C
78
79### Maintenance
80
81 * [PeerTube OpenTelemetry](https://docs.joinpeertube.org/maintain/observability)
82 * Add BitTorrent tracker metrics
83 * Add ability to disable HTTP request duration metrics (can have a high tag cardinality)
84 * Add `x-powered-by` HTTP header in PeerTube response. Can be disabled in PeerTube configuration
85
10fbf3e3
C
86### Docker
87
88 * Add env variables to configure object storage
89
105834b2
C
90### Documentation
91
92 * PeerTube documentation website now uses VitePress: https://docs.joinpeertube.org
10fbf3e3 93 * Add *Server code* documentation explaining the database model typing and how to add a new feature in PeerTube server: https://docs.joinpeertube.org/support/doc/development/server
105834b2
C
94
95### Plugins/Themes/Embed API
96
97 * Add ability to set `playbackRate` in URL (watch page and embed) [#5486](https://github.com/Chocobozzz/PeerTube/pull/5486)
98 * Auth plugins:
99 * Can set default `adminFlags`, `videoQuota` and `videoQuotaDaily` user attributes
100 * Introduce `userUpdater` hook function so external auth plugins can update the user on user login: https://docs.joinpeertube.org/contribute/plugins#add-external-auth-methods
101 * Automatically redirect to the default external auth on PeerTube refresh token expiration
10fbf3e3
C
102 * Server plugin hooks (https://docs.joinpeertube.org/api/plugins):
103 * Add `filter:api.user.me.subscription-videos.list.params` & `filter:api.user.me.subscription-videos.list.result` [#5648](https://github.com/Chocobozzz/PeerTube/pull/5648)
104 * Add `filter:activity-pub.activity.context.build.result` to update ActivityPub JSON-LD context
105 * Add `filter:activity-pub.video.json-ld.build.result` to update `Video` ActivityPub JSON-LD object
106 * Add `action:activity-pub.remote-video.created` & `action:activity-pub.remote-video.updated` to react on remote video creation/update
107 * Client plugin hooks (https://docs.joinpeertube.org/api/plugins):
108 * Add `action:video-edit.form.updated` fired every time the video upload/import/live/update form values change
109 * Add `filter:video-watch.video-plugin-metadata.result` to add custom video metadata in watch page
110 * Existing `action:video-edit.init` hook now contains a `updateForm` attribute in options that you can use to update video upload/import/live/update form values
105834b2
C
111 * Add server plugin helpers:
112 * `getServerListeningConfig` to get PeerTube listening configuration
113 * Convert some colors to PeerTube CSS variables to improve theme compatibility
114
115### Features
116
117 * :tada: Implement user registration approval (https://docs.joinpeertube.org/admin/managing-users#registration-approval) [#5544](https://github.com/Chocobozzz/PeerTube/pull/5544)
118 * If enabled, the user has to fill a *Registration reason* input
119 * Moderators have to to accept/reject the registration with a *Moderation response* that will be sent by email to the user
120 * If the registration is accepted, the user and its channel are automatically created
121 * Add "back to live" button in player
122 * The *Live* button is red when the player is synced with the live
123 * It becomes grey when behind the live edge
124 * Clicking on the grey button re-sync the player with the live edge
125 * Add Icelandic & Ukrainian locales
126 * Add *Global views* default trending algorithm option in admin configuration [#5471](https://github.com/Chocobozzz/PeerTube/pull/5471)
127 * Performance:
128 * Blocked IPs by the tracker are now stored in NodeJS memory instead of Redis, reducing PeerTube load
129 * Optimize video comments SQL requests
130 * Optimize custom markup live rendering in admin
131 * UI/UX:
10fbf3e3 132 * Add option in video/playlist share modal to create a responsive embed [#5690](https://github.com/Chocobozzz/PeerTube/pull/5690)
105834b2
C
133 * Use `99+` instead of `99` when having more than `99` notifications
134 * Use channel display name instead of channel handle in *My videos* input filter [#5575](https://github.com/Chocobozzz/PeerTube/pull/5575)
135 * Display channel name in playlist element instead of account name
136 * Display channel as author in RSS feeds
10fbf3e3 137 * Improve/fix main pages keyboard navigation
105834b2
C
138 * Custom markup:
139 * Support `mailto` links
140 * Support short UUID to fetch a video
141 * Admins can customize access and refresh tokens lifetime
142
143
144### Bug fixes
145
146 * Fix object storage incompatibility with some S3 providers that don't support ACL
147 * Fix signup limit
148 * Prevent `500` on invalid short UUID parameter
149 * Player:
10fbf3e3 150 * Fix live buffering with small latency setting
105834b2
C
151 * More robust player "stats for nerds" popup if there is not stream available
152 * Don't display playback rate setting for lives
153 * Don't handle playback rate hotkeys for lives
154 * Fix clicking on PeerTube instance button
155 * Fix always resuming the end of the video
10fbf3e3
C
156 * Fix saving last video current time for anonymous users
157 * Fix player keyboard shortcuts for non latin keyboards [#5684](https://github.com/Chocobozzz/PeerTube/pull/5684)
105834b2
C
158 * Process videos list requests in correct order
159 * Correctly fill the *Support* field when updating a video
160 * Fix *Auto play video* setting for anonymous users
161 * UI:
162 * Fix table columns max width
163 * Use *Unknown* instead of *Misc* when the video category is not set
164 * Prevent layout shift when listing videos
165 * Fix instance stats anchor link
166 * Fix menu content overlay on tablets
167 * Fix button overflows
168 * Handle `502` HTTP errors in client notifier
169 * Fix resetting chart zoom in video stats page
170 * Fix search page not loading all available results
10fbf3e3 171 * Fix confirmation modal that contains 2 text inputs
105834b2
C
172 * Display the update button when the stable release of beta/alpha plugin is available
173 * Always list NSFW videos in playlists (the frontend is in charge to blur the video element if the NSFW setting is *Hide* or *Blur*)
174 * Always list NSFW videos in admin
175 * Improve client log report:
176 * Don't send client error on 404
177 * Prevent sending invalid error/warn logs coming from HLS player [#5484](https://github.com/Chocobozzz/PeerTube/pull/5484)
178 * Fix out of sync audio when cutting a video in Studio
179 * Fix "unique viewers" inconsistency with countries
180 * Fix mention detection in comments
10fbf3e3
C
181 * Fix listing all my channels in *My library*
182 * Fix displaying remote avatars
183 * Fix 404 HTTP code in watch page when having `;threadId` param in URL
184 * Correctly re-inject video file token in `.m3u8` resolution playlists to fetch private mp4 video file [#5677](https://github.com/Chocobozzz/PeerTube/pull/5677)
185 * Don't process live when moving videos to external storage
186 * Handle Redis disconnection gracefully [#5599](https://github.com/Chocobozzz/PeerTube/pull/5599)
105834b2
C
187
188
6ea641be
C
189## v5.0.1
190
191### IMPORTANT NOTES
192
193 * If you upgrade from PeerTube **< 5.0.0**, please follow 5.0.0 IMPORTANT NOTES
194
195### Bug fixes
196
197 * Fix HLS player infinite loading when the live stream/video ends
198 * Do not autoplay live without autoplay setting
199 * Fix private/internal video playback from Cloudflare object storage
200 * Fix local channel stats/OpenTelemetry metric
201 * Also display dropdown for videos from the homepage
202 * Fix broken P2P with live stream coming from object storage
203 * Fix responsive of table pagination
204
205
d604e245 206## v5.0.0
a5858c3e
C
207
208### IMPORTANT NOTES
209
210 * **Important** Private and internal video files are now protected. See [#5370](https://github.com/Chocobozzz/PeerTube/pull/5370) for more information, but see below for most important information:
211 * For private/internal videos on filesystem:
212 * These videos are now under a `private/` subdirectory in `videos/` and `streaming-playlists/` directories
213 * Nginx doesn't serve these private files anymore, the requests are forwarded to PeerTube that will check authentication
214 * For private/internal videos in object storage:
215 * These videos have now a private ACL
216 * PeerTube proxifies requests to private object storage (using pre-signed URLs is not possible as explained in [#5370](https://github.com/Chocobozzz/PeerTube/pull/5370))
217 * Torrent files and magnet URIs of private/internal videos don't contain a webseed URL anymore since they require authentication
218 * **Important** You need to manually execute a migration script after your upgrade to migrate private/internal video files:
219 * Classic installation: `cd /var/www/peertube/peertube-latest && sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production node dist/scripts/migrations/peertube-5.0.js`
220 * Docker installation: `cd /var/www/peertube-docker && docker-compose exec -u peertube peertube node dist/scripts/migrations/peertube-5.0.js`
21e73020 221 * Configuration changes (`config/production.yaml`):
5f3505ba
C
222 * There is a new `secrets.peertube` configuration:
223 * Classic install: fill it before running PeerTube v5: https://github.com/Chocobozzz/PeerTube/blob/v5.0.0/config/production.yaml.example#L14
224 * Docker install: fill it using an env variable before running the containers: https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/.env#L27
28a398d6 225 * `object_storage.upload_acl` is now a parent key that you must update: https://github.com/Chocobozzz/PeerTube/blob/v5.0.0/config/production.yaml.example#L153
a5858c3e 226 * You must update your nginx configuration:
28a398d6
C
227 * We introduced a new `location` for plugin websocket routes: https://github.com/Chocobozzz/PeerTube/blob/v5.0.0/support/nginx/peertube#L135
228 * We introduced a new `location` for private videos files: https://github.com/Chocobozzz/PeerTube/blob/v5.0.0/support/nginx/peertube#L217
a5858c3e
C
229
230### Documentation
231
c5c95361 232 * Add [Monitoring/Observability documentation](https://docs.joinpeertube.org/maintain/observability) using PeerTube OpenTelemetry feature
a5858c3e
C
233
234### Maintenance
235
236 * REST API breaking change:
237 * `role` is now `role.id` and `roleLabel` is `role.label` in user response
238 * We now store the complete remote video description:
239 * Deprecate `description` in favour of `truncatedDescription` when listing videos
240 * Complete description is sent by the server in `description` when getting a specific video
241 * Deprecate `/api/v1/videos/:id/description` endpoint
242 * `search.disable_local_search` disables local search in client search bar only and doesn't disable it on server side anymore [#5411](https://github.com/Chocobozzz/PeerTube/pull/5411)
243
244### Plugins/Themes/Embed API
245
c5c95361 246 * Add server plugin hooks (https://docs.joinpeertube.org/api/plugins):
a5858c3e
C
247 * `filter:activity-pub.remote-video-comment.create.accept.result`
248 * Add server plugin helpers
249 * `socket.sendNotification` and `socket.sendVideoLiveNewState` [#5239](https://github.com/Chocobozzz/PeerTube/pull/5239)
250 * Add ability for plugins to register a websocket route using `registerWebSocketRoute`
c5c95361 251 * Add client plugin hooks (https://docs.joinpeertube.org/api/plugins):
a5858c3e
C
252 * `filter:internal.player.p2p-media-loader.options.result` [#5318](https://github.com/Chocobozzz/PeerTube/pull/5318)
253
254### CLI tools
255
256 * Add ability to install alpha/beta/rc plugin versions
257
258### Features
259
260 * :tada: Support object storage for live streams :tada:
261 * :tada: Support Two Factor authentication (OTP) :tada:
262 * UX:
263 * Add explanation on disk space used for user quota admin config [#5305](https://github.com/Chocobozzz/PeerTube/pull/5305)
264 * Display channel in my videos list
265 * Show which playlists videos are added to in my videos list
266 * Add *Channels* link in left menu
267 * Add `...` after the truncated video name in miniature
268 * Add object storage info badge in videos admin overview
269 * Add links to video files in videos admin overview
270 * Better indicate the live ended in embed by displaying a message and the live preview
271 * Force live autoplay by muting the video if necessary when the user was waiting for the live
272 * Handle network issues in video player [#5138](https://github.com/Chocobozzz/PeerTube/pull/5138)
273 * Cache chunks to upload in server to resume upload later [#5224](https://github.com/Chocobozzz/PeerTube/pull/5224)
274 * Add ability to serve custom static files under `/.well-known` URL path [#5214](https://github.com/Chocobozzz/PeerTube/pull/5214)
275 * Use account/channel avatar in account/channel RSS feeds [#5325](https://github.com/Chocobozzz/PeerTube/pull/5325)
276 * Add filter to sort videos by name [#5351](https://github.com/Chocobozzz/PeerTube/pull/5351)
277 * Add ability to configure OpenTelemetry Prometheus exporter listening hostname
278
279### Bug fixes
280
281 * Hide all user email block if we can't change it (remote auth for example)
282 * Display an error if trying to reset password of user configured to use a remote authentication
283 * Fix peers info width in live
284 * Fix video job error when video has been deleted
285 * Fix user channels list with increased max counter
286 * More robust channel/playlist import/sync
287 * Hide useless *Wait Transcoding* input for lives
288 * Fix responsive in account channels list
289 * Fix slow page response when listing many videos
290 * Reload data when deleting a blocked video
291 * Prevent error with metrics in HTTP player if no P2P info is available
292 * Fix playlist overflow in account channels page
293 * Fix invalid date display for jobs
294 * Fix conflict with player hotkeys and `alt + number` web browser hotkey
295 * Fix horizontal overflow on rtl languages
296 * Fix actor follow constraint error on remote videos when *Allow users to do remote URI/handle search* is disabled
297 * Fix running again transcoding on a video that doesn't contain audio or on a video that doesn't contain video
298 * Fix re-transcoding of video with odd resolution
299 * Fix embed API with playlists
300 * Fix not working P2P with permanent live
301 * Fix following/fetching remote Pleroma actor
302 * Prevent high Redis memory usage when having many jobs
303 * Fix overall viewers stats with start/end dates
d604e245 304 * Remove limit of countries displayed in video/live stats
a5858c3e
C
305
306
387ce48e
C
307## v4.3.1
308
309### IMPORTANT NOTES
310
311 * If you upgrade from PeerTube **< 4.3.0**, please follow 4.3.0 IMPORTANT NOTES
312
313### SECURITY
314
315 * Prevent XSS in sort select on pages that list videos. Thanks to Anthony Roth who reported the vulnerability!
316
317### Bug fixes
318
319 * Fix broken embed player on live reload
320 * Fix channel follow when manually approve instance followers is enabled
321 * Fix input with number overflow on small screen
322 * Fix moderation dropdown overflow on mobile
323 * Clearer instance subscription page title in admin
324 * Prevent "Cannot use same state" video error
325 * Correctly handle RTMP streams without audio
326 * Correctly process broadcast parallel job in parallel
327
328
eb0b30a2 329## v4.3.0
5f016383 330
9ef3aeac
C
331### IMPORTANT NOTES
332
333 * Redis **<** 5.x is not supported anymore
aca96f80 334 * FFmpeg **<** 4.3 is not supported anymore
9ef3aeac 335
5f016383
C
336### Maintenance
337
338 * Use `yt-dlp` by default instead of `youtube-dl` for new installations (because of much more dev activity)
339 * Support NodeJS 18
340 * Improved PeerTube logs:
341 * Reduce amount of PeerTube error logs
342 * Introduce `log.log_tracker_unknown_infohash` setting to disable "Unknown infoHash" warnings
343 * Web browsers send their error logs to the server that writes them in its own logs. Can be disabled by `log.accept_client_log` setting
344 * Introduce experimental support of [OpenTelemetry](https://opentelemetry.io/)
345 * Enable metrics export using a Prometheus exporter
346 * Enable tracing export using a Jaeger exporter
347 * Automatically rebuild native plugin modules on NodeJS ABI change
348
349### Docker
350
351 * Add ability to easily use the docker compose stack on localhost
352
353### Plugins/Themes/Embed API
354
355 * Theme:
08d27610 356 * Removed unused `--secondaryColor` CSS variable
c5c95361 357 * Add client plugin hooks (https://docs.joinpeertube.org/api/plugins):
5f016383
C
358 * `filter:api.my-library.video-playlist-elements.list.params` & `filter:api.my-library.video-playlist-elements.list.result` [#5098](https://github.com/Chocobozzz/PeerTube/pull/5098)
359 * `action:video-channel-create.init`
360 * `action:video-channel-update.init` & `action:video-channel-update.video-channel.loaded`
361 * `action:video-channel-videos.init` & `action:video-channel-videos.video-channel.loaded` & `action:video-channel-videos.videos.loaded`
362 * `action:video-channel-playlists.init` & `action:video-channel-playlists.video-channel.loaded` & `action:video-channel-playlists.playlists.loaded`
363 * `filter:share.video-embed-code.build.params` & `filter:share.video-embed-code.build.result` & `filter:share.video-playlist-embed-code.build.params` & `filter:share.video-playlist-embed-code.build.result`
364 * `filter:share.video-embed-url.build.params` & `filter:share.video-embed-url.build.result` & `filter:share.video-playlist-embed-url.build.params` & `filter:share.video-playlist-embed-url.build.result`
365 * `filter:share.video-url.build.params` & `filter:share.video-url.build.result` & `filter:share.video-playlist-url.build.params` & `filter:share.video-playlist-url.build.result`
366 * `action:modal.share.shown`
c5c95361 367 * Add server plugin hooks (https://docs.joinpeertube.org/api/plugins):
5f016383
C
368 * `filter:job-queue.process.params` & `filter:job-queue.process.result`
369 * `filter:transcoding.manual.resolutions-to-transcode.result` & `filter:transcoding.auto.resolutions-to-transcode.result`
370 * `action:api.video-channel.created` & `action:api.video-channel.updated` & `action:api.video-channel.deleted`
371 * `action:notifier.notification.created`
f44cd95c 372 * Add HTML placeholder (https://docs.joinpeertube.org/contribute/plugins#html-placeholder-elements):
5f016383
C
373 * `share-modal-playlist-settings` & `share-modal-video-settings`
374
375### Features
376
08d27610 377 * :tada: Add ability for users to synchronize a remote channel [#5135](https://github.com/Chocobozzz/PeerTube/pull/5135) :tada:
5f016383
C
378 * Automatically import all videos of a remote channel in your PeerTube channel
379 * PeerTube will watch for new publications and automatically import these new videos
380 * UI:
08d27610
C
381 * Redesigned *Create an account* steps
382 * Improved *Login* page
383 * Use a lighter font color
384 * Use a bigger font size
385 * Don't display form errors in red while typing but only when we unfocus the input
5f016383 386 * Display an error message when the user is unauthorized to view a page [#5097](https://github.com/Chocobozzz/PeerTube/pull/5097)
08d27610
C
387 * Display latest upload date for captions
388 * Add an information if the live will be saved as a replay when displaying live sessions
5f016383 389 * Move search bar at the center of the header
08d27610 390 * Add *Toki Pona* and *Croatian* locales in client
5f016383 391 * Embed:
08d27610
C
392 * Display a message and automatically start live streams in embed
393 * Use the instance name instead of "PeerTube" in embed control bar
5f016383
C
394 * Reuse current watch page query parameters for embed when using OEmbed [#5023](https://github.com/Chocobozzz/PeerTube/pull/5023)
395 * Instance follows:
08d27610
C
396 * Introduce a *Rejected* state for follow requests to not reprocess already rejected follow requests
397 * Add bulk actions on instance following/followers ()
5f016383
C
398 * Admins:
399 * Add ability to disable original resolution transcoding of the uploaded video/live stream
400 * Add ability to delete a specific video file in videos overview
08d27610
C
401 * Display *Last Login* column by default in users overview
402 * Remember last selected columns in users overview
403 * Add ability to set a custom video import timeout
404 * Add ability to set the default feed (Atom, RSS...) items count
405 * Admins and moderators now bypass API rate limits
406 * Add ability to list comments on local videos in comments overview
5f016383 407 * Limit video import resolution depending on enabled VOD transcoding resolutions
08d27610
C
408 * Store and display the uploaded video original filename [#4885](https://github.com/Chocobozzz/PeerTube/pull/4885)
409 * Add *Total views* in the my channels list [#5007](https://github.com/Chocobozzz/PeerTube/pull/5007)
410 * Add *Original Publication Date* video sort option [#4959](https://github.com/Chocobozzz/PeerTube/pull/4959)
5f016383
C
411 * Performance:
412 * Optimized view/watching endpoint
08d27610
C
413 * Optimized video feed SQL query
414 * Process images (resize, convert...) in a dedicated worker thread
415 * Optimized emoji markup list rendering in client
cef2306a 416 * Use a worker thread to send ActivityPub Broadcast requests
08d27610 417 * Suffix external auth username/channel name on conflict instead of throwing an exception
5f016383
C
418
419### Bug fixes
420
08d27610
C
421 * Fix users overview *Last login* sort in admin
422 * More robust *move to object storage* job failure
5f016383
C
423 * Fix comment add avatar with a unauthenticated user
424 * Fix fetching unlisted video in client
08d27610 425 * Fix comments/download enabled attributes when importing a video
5f016383
C
426 * Fix total instance views stats
427 * Fix HLS player infinite buffering on seek
428 * Reset table pagination on search
08d27610
C
429 * *Host* search filter can also search into channels and playlists in global search
430 * Fix *My videos* invalid counter
5f016383 431 * Prevent error on highlighted thread
08d27610 432 * Fix *Jobs*, *Account blocklist* and *Server blocklist* hidden columns on Safari
5f016383 433 * Fix live stream max bitrate
08d27610 434 * Fix incompatibility with OpenSSL 3
5f016383
C
435 * Don't crash on redis connection error
436 * Transcoding:
437 * Fix failed transcoding with a mp3 file that contains a cover image
438 * Prevent duplicated HLS playlist when running transcoding
439 * Regenerate video file names when running transcoding manually
440 * Prevent job failures resulting in broken videos on concurrent transcoding
441 * Fix transcoding of videos with quad audio channels
442 * ActivityPub
08d27610
C
443 * Fix random invalid HTTP signature generation
444 * Use unique AP id for *Accept*/*Reject* activities
445 * Correctly handle remote actors that don't have follow counters
5f016383
C
446 * Correctly handle unknown remote actor image size
447 * Add years in graph legend when grouping video views stats by month
448 * Prevent creating multiple lives when clicking multiple times on the "Go Live" button
08d27610 449 * Fix *undefined" resolution in player *Stats for nerds*
cef2306a
C
450 * Fix not displayed error message in administrator web config
451 * More robust S3 upload [#5231](https://github.com/Chocobozzz/PeerTube/pull/5231)
452 * Fix broken saved live stream with only one resolution
453 * Fix `removeEventListener` player embed api
eb0b30a2
C
454 * Progressively cleanup actor images without width from the database
455 * Fix broken dates on localized pages
456 * Prevent job queue to be started before plugins
457 * Fix old database enum names
458 * Don't display remove file icon in admin videos overviews if we can't delete the file
5f016383
C
459
460
4644ad30
C
461## v4.2.2
462
463### IMPORTANT NOTES
464
465 * If you upgrade from PeerTube **< 4.2.0**, please follow 4.2.0 IMPORTANT NOTES
466
467### SECURITY
468
469 * Upgrade vulnerable server dependencies
470
471### Bug fixes
472
473 * Fix fast restream in permanent live
474 * Fix latency mode setting when creating a live
475 * Fix unique constraint tag violation when importing videos
476 * Fix latest live sessions order
477 * Fix server crash feed when accessing feeds that contains a live
478 * Fix `false` boolean attribute (`data-is-live` etc) in custom markup
479
480
d47b1807
C
481## v4.2.1
482
483### IMPORTANT NOTES
484
485 * If you upgrade from PeerTube **< 4.2.0**, please follow 4.2.0 IMPORTANT NOTES
486
487### Bug fixes
488
489 * Fix live ending job that breaks new live session
490 * Fix search filters counter
491 * Fix upload banner icon margin
492 * Fix button icon margin
493 * Fix my import expander icon that should only be displayed on import error
494 * Fix select components styling inconsistency
495 * Increase max watch section to avoid too much warnings in server
496 * Optimize broadcast job creation
497 * Optimize `View` activities delivery using a dedicated broadcast job queue that can be run in parallel
498 * Fix video selection buttons placement
499 * Fix searching into account blocklist
500 * Fix incorrect instance stats
501 * Fix broken player on ICE error
502 * Relax views federation
494081f8
C
503 * Fix peertube user in docker
504 * Fix playlist element federation with a deleted video
d47b1807
C
505
506
cc4efef7 507## v4.2.0
02cae5bd
C
508
509### IMPORTANT NOTES
510
c2b1ffa7 511 * **Important** You need to execute manually a migration script (can be executed after your upgrade, while your PeerTube instance is running) to generate smaller avatar miniatures:
02cae5bd
C
512 * Classic installation: `cd /var/www/peertube/peertube-latest && sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production node dist/scripts/migrations/peertube-4.2.js`
513 * Docker installation: `cd /var/www/peertube-docker && docker-compose exec -u peertube peertube node dist/scripts/migrations/peertube-4.2.js`
c501cdef 514 * **Important** SQL migrations (in particular `0685-multiple-actor-images`) can take several minutes to complete
f44cd95c 515 * **Important** You must update your nginx configuration to support video web editor: https://docs.joinpeertube.org/install/any-os#nginx
02cae5bd 516 * REST API:
18c53ef9 517 * `PUT /api/v1/videos/{id}/watching` is deprecated, use `POST /api/v1/videos/videos/{id}/views` instead: https://docs.joinpeertube.org/api-rest-reference.html#operation/addView
02cae5bd
C
518
519### Maintenance
520
521 * Add `client.videos.resumable_upload.max_chunk_size` config option [#4857](https://github.com/Chocobozzz/PeerTube/pull/4857)
522 * Add `object_storage.upload_acl` config option [#4861](https://github.com/Chocobozzz/PeerTube/pull/4861)
523 * Add ability to set RTMP/RTMPS listening hostname using `rtmp.hostname`/`rtmps.hostname` and public RTMP/RTMPS hostname using `rtmp.public_hostname`/`rtmps.public_hostname`
010382b6 524 * Removed `best` default trending algorithm. It is automatically used if using `hot` algorithm with a logged in user
02cae5bd
C
525
526### Docker
527
528 * Use NodeJS 16 in PeerTube docker image: administrators may have to reinstall PeerTube plugins that use native NodeJS dependencies
529 * Support readonly tmp directory (if you want to use `tmp` directory as a volume)
530
531### Plugins/Themes/Embed API
532
533 * Theme:
534 * Add `--mainBackgroundHoverColor` and `--greySecondaryBackgroundColor` CSS variables
535 * Add server plugin hooks
536 * `filter:api.video-playlist.videos.list.params` and `filter:api.video-playlist.videos.list.result`
537 * Support `getSettings()`, `isLoggedIn()` and `getAuthHeader()` client plugin helpers in embed
c2b1ffa7 538 * Player URL query parameters:
f44cd95c 539 * Support `controlBar=0` to hide player control bar. See [the documentation](https://docs.joinpeertube.org/api/embed-player#url-parameters) for more information
02cae5bd
C
540
541### Features
542
543 * :tada: Add video edition from the PeerTube web interface :tada:
544 * Cut the video (set a new start/new end)
545 * Add an intro at the beginning and/or an outro at the end of the video
546 * Add an icon/watermark in the top right corner of the video
547 * PeerTube will automatically transcode the new video and replace the original one
c2b1ffa7 548 * :sparkles: *Funded by "la Direction du numérique du Ministère de l'Éducation Nationale, de la Jeunesse et des Sports"* :sparkles:
f4120aea 549 * :tada: Add advanced statistics of a specific video :tada:
02cae5bd
C
550 * Provide *Average watch time*, *Total watch time* and *Peak viewers* video statistics
551 * Display total viewers, aggregated watch time and audience retention in interactive time series graphs
f4120aea 552 * Display viewer countries in bar chart if not disabled by admins
c2b1ffa7 553 * :sparkles: *Funded by HowlRound Theatre Commons at Emerson College* :sparkles:
02cae5bd
C
554 * :tada: Add latency setting support for lives (small latency without P2P or high latency to increase P2P ratio) :tada:
555 * :tada: Add ability to save a replay of every streaming session of a permanent live :tada:
c2b1ffa7 556 * :sparkles: *Funded by HowlRound Theatre Commons at Emerson College* :sparkles:
02cae5bd
C
557 * Add simple subtitle edition from video captions tab in video edition form [#4666](https://github.com/Chocobozzz/PeerTube/pull/4666)
558 * Display live streaming sessions details in permanent live information modal
f6b89d8e 559 * Add ability to also mute users when banning them [#4660](https://github.com/Chocobozzz/PeerTube/pull/4660)
02cae5bd
C
560 * UI improvements:
561 * Add ability for admins to display author avatar in video miniatures [#4639](https://github.com/Chocobozzz/PeerTube/pull/4639) [#4823](https://github.com/Chocobozzz/PeerTube/pull/4823)
562 * Display author avatar in embed
563 * Move admin comments list in *Overviews* menu
564 * Add a *Refresh* button to admin comments list
565 * Add ability to sort videos by total views
566 * Add *Persian* locale support
c2b1ffa7
C
567 * Add previous page redirection support on external auth login
568 * Support proxy for object storage [#4973](https://github.com/Chocobozzz/PeerTube/pull/4973)
569 * Add "Only display embed URL" checkbox in share modal
02cae5bd
C
570
571### Bug fixes
572
573 * Video uploads fixes:
574 * Fix invalid token during long uploads
575 * Fix upload on server with a slow disk
576 * Fix upload of some videos with unknown duration (`.m2v` for example)
577 * Fix 2 hours limit on uploads
578 * Fix upload page title [#4904](https://github.com/Chocobozzz/PeerTube/pull/4904)
c2b1ffa7 579 * Fix video upload with some characters in filename
02cae5bd
C
580 * Fix `.ac3` and `.mts` upload on some OS
581 * Fix avatar with account username starting with a number
582 * Fix client html cache on theme update
583 * Disallow unlisted video indexation
584 * Allow oembed to fetch unlisted videos
585 * Stop removing remote Mastodon rates
586 * Fix email links displayed twice in text version
587 * Fix user quota inconsistencies in admin when users use lives
588 * Fix admin instance following list when sorting by *Redundancy allowed*
589 * More reliable object storage upload when using multipart [#4903](https://github.com/Chocobozzz/PeerTube/pull/4903)
590 * Correctly handle HTTP signature draft 11 requests (without `date` header but with `(created)`)
c2b1ffa7 591 * Fix `ctrl + 0-9` player hotkeys conflicting with web browser hotkeys
02cae5bd
C
592
593
ff36d20a
C
594## v4.1.1
595
596### Security
597
a0cc70a4 598 * Strip EXIF data when processing images
ff36d20a
C
599
600### Docker
601
602 * Fix videos import by installing python 3
603 * Install `git` package (may be needed to install some plugins)
604
605### Bug fixes
606
607 * Fix error when updating a live
608 * Fix performance regression when rendering HTML and feeds
609 * Fix player stuck by HTTP request error
610
611
8d8b6510 612## v4.1.0
6e0ee5a5
C
613
614### IMPORTANT NOTES
615
5cad2ca9 616 * PeerTube does not support NodeJS 12 anymore
6e0ee5a5
C
617
618### Plugins/Themes/Embed API
619
f44cd95c
C
620 * Introduce ability for plugins to create client pages: https://docs.joinpeertube.org/contribute/plugins#create-client-page
621 * Plugins that register custom video fields can choose in which tab they want to display them and can report errors: https://docs.joinpeertube.org/contribute/plugins#add-custom-fields-to-video-form
6e0ee5a5
C
622 * Add new client plugin id selectors
623 * Add `#plugin-selector-about-instance-moderation`, `#plugin-selector-about-instance-other-information`, `#plugin-selector-about-instance-features`, `#plugin-selector-about-instance-statistics`, `#plugin-selector-about-menu-instance`, `#plugin-selector-about-menu-peertube`, `#plugin-selector-about-menu-network` in about page [#4597](https://github.com/Chocobozzz/PeerTube/pull/4597)
624 * Add `#plugin-selector-menu-user-dropdown-language-item` in menu [#4597](https://github.com/Chocobozzz/PeerTube/pull/4597)
625 * Add client plugin hooks
626 * `filter:login.instance-about-plugin-panels.create.result` and `filter:signup.instance-about-plugin-panels.create.result` to add custom instance information in login/signup pages
627 * Add server plugin hooks
628 * `filter:api.server.stats.get.result`
629 * `filter:api.video.upload.video-attribute.result`, `filter:api.video.import-url.video-attribute.result`, `filter:api.video.import-torrent.video-attribute.result`, `filter:api.video.live.video-attribute.result` when creating a video object
630 * `action:api.video-caption.created` and `action:api.video-caption.deleted` [#4650](https://github.com/Chocobozzz/PeerTube/pull/4650)
631 * Server helpers
632 * `videos.getFiles(videoId: number)` to list video files (webtorrent, hls and thumbnail files)
633 * `videos.ffprobe(path: string)` to get `ffprobe` JSON result
634 * Publish [@peertube/peertube-type](https://www.npmjs.com/package/@peertube/peertube-types) NPM module that can be used by TypeScript plugins
635 * Add ability to disable P2P in embed using `p2p` query parameter in embed URL
636
637### Maintenance
638
639 * REST API
640 * Deprecate `webTorrentEnabled` in favour of `p2pEnabled` for user model
641 * Add ability to pause/resume the job queue
642 * Also publish stable releases on https://builds.joinpeertube.org/release
643 * Add ability for admins to specify `youtube-dl`/`yt-dlp` python binary path [#4706](https://github.com/Chocobozzz/PeerTube/pull/4706)
644 * PeerTube server startup is faster
645
85e0961c
C
646### Security
647
648 * Check video privacy before listing or accepting captions, comments or rates
649 * Check video import target URL does not resolve to internal IP. This technique has some limits so if you have private HTTP services on your server/network publicly accessible, we recommend to use a proxy or a dedicated interface for PeerTube
650
6e0ee5a5
C
651### CLI tools
652
653 * Also remove HLS files when using `prune-storage` script
654 * Support `--plugin-version` option when installing a plugin [#4599](https://github.com/Chocobozzz/PeerTube/pull/4599)
655
656### Features
657
658 * :tada: Player improvements
659 * Increase control bar size on desktop & mobile
660 * Add overlay on tap to easily play/pause the video on mobile
661 * Automatically move to landscape when full screen a video on mobile
662 * Add fast forward/rewind on double tap on mobile
663 * Cleanup, fix and add player hotkeys
664 * Keep control bar displayed when settings panel is opened
665 * Faster hiding transition for control bar
666 * Stop confusing *peer* indication in control bar when p2p is disabled
667 * Try to fast forward video on HLS decode error
668 * :tada: More admin customizations
669 * Specify default *Publish* video attributes (download enabled, comments enabled, privacy, licence)
670 * Choose to automatically redirect users on the external auth platform on login button click
671 * Set default P2P policy for the player
672 * Search improvements
673 * Add *Result type* filter in search (videos, channels or playlists)
674 * Display only video results when searching on video metadata (tags, categories etc)
675 * Video imports
676 * Users can cancel and delete video imports
677 * Add ability to filter video imports by target URL
678 * Add ability for users to delete individual elements in videos history
679 * Show date and views counter in playlist element miniature [#4396](https://github.com/Chocobozzz/PeerTube/issues/4396)
680 * Add *norsk* locale support
681 * Check mute status and display mute badges in channel and account pages
682 * Add *No linguistic content* video language option [#4631](https://github.com/Chocobozzz/PeerTube/pull/4631)
683 * Don't send notifications to admins/moderators if an admin/moderator reported an abuse
684 * Add ability for moderators/admins to edit any channel [#4608](https://github.com/Chocobozzz/PeerTube/pull/4608)
685 * Add a refresh button to admin videos overview page [#4753](https://github.com/Chocobozzz/PeerTube/pull/4753)
686 * Add *Official* badge to official plugins in admin plugin pages
687 * Automatically clean unavailable remote ActivityPub resources
7c330d60
C
688 * Media RSS feed displays video file as default enclosure instead of torrent
689 * Use white background for PeerTube icons (instead of transparency)
690 * Show private badge for private videos in playlists [#4767](https://github.com/Chocobozzz/PeerTube/pull/4767)
6e0ee5a5
C
691
692### Bug fixes
693
694 * Fix weird `require` bug on plugin upgrade
695 * Fix plugin storage return value when storing a JSON array [#4640](https://github.com/Chocobozzz/PeerTube/pull/4640)
696 * Decrease delay to cleanup resumable uploads (to 1 hour)
697 * Update torrent metadata on video update
698 * Fix HLS player with videos that have stream duration inconsistencies
699 * Fix player crash if the video contains only audio resolution
700 * Fix ffmpeg crash when using a transcoding plugin encoder that doesn't support PeerTube B-frame strategy
701 * Fix transcoding failure for audio only uploads
702 * Don't run HLS transcoding when running manually WebTorrent transcoding from the admin
703 * Don't run audio transcoding with video only file
704 * Correctly send new HLS files after re-transcoding to object storage
705 * Fix stuck state when move transcoding job failed
706 * Correctly display internal videos of internal subscriptions
707 * Correctly display all videos history to users
708 * Fix video upload with big preview file
709 * Fix description/comment timestamp click of external video
710 * Add missing `mediaType` information to AP objects
711 * Fix abuse list crash on deleted reporter account
712 * Convert markdown to HTML/plain text for RSS feeds
713 * Search on tags is now case insensitive
714 * Forbid comments/captions listing of private/internal videos
715 * Prevent video import on non unicast ips
7c330d60
C
716 * Improve markdown to plain text converter, especially when handling lists
717 * Fix scheduled publication on upload
85e0961c
C
718 * Fix youtube-dl max buffer size error
719 * Hide remote subscribe if user is logged in
720 * Fix video file `storage` column inconsistency
6e0ee5a5
C
721
722
41ec03fc 723## v4.0.0
5098098d
C
724
725### IMPORTANT NOTES
726
63e4d84f
C
727 * **Important** You need to execute manually a migration script (can be executed after your upgrade, while your PeerTube instance is running) to migrate HLS files name:
728 * Classic installation: `cd /var/www/peertube/peertube-latest && sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production node dist/scripts/migrations/peertube-4.0.js`
729 * Docker installation: `cd /var/www/peertube-docker && docker-compose exec -u peertube peertube node dist/scripts/migrations/peertube-4.0.js`
5098098d
C
730 * **Important** We fixed configuration inconsistencies and added some keys. **You must change/add them in your production.yaml**
731 * `log.rotation.maxFileSize` becomes `log.rotation.max_file_size`
732 * `log.rotation.maxFiles` becomes `log.rotation.max_files`
733 * `log.anonymizeIP` becomes `log.anonymize_ip`
734 * Removed `import.http.proxy` configuration: use `HTTP_PROXY` and `HTTPS_PROXY` environment variables instead
735 * Added `storage.bin` in configuration file
736 * REST API: Deprecate `filter` videos list query parameter in favour of `isLocal` and `include`
737 * PeerTube **is compatible** with ffmpeg 4.4.1 but **is not compatible** with ffmpeg 4.4.0
738 * Removed deprecated `/static/torrents` route
739 * We changed the live `views` and `viewers` system, that could lead to federation inconsistencies with instances < 4.0.0 for these specific counters
740
741### Maintenance
742
743 * Add ability for sysadmins to disable web configuration edition [#4315](https://github.com/Chocobozzz/PeerTube/pull/4315)
744 * YoutubeDL:
745 * Support [yt-dlp](https://github.com/yt-dlp/yt-dlp/) (recommended due to unmaintained [youtube-dl](https://github.com/ytdl-org/youtube-dl))
746 * Add ability to set release URL in configuration
747 * Add ability to override `default-playlist.png`, `default-avatar-account.png`, `default-avatar-video-channel.png` using `storage.client_overrides` configuration [#4392](https://github.com/Chocobozzz/PeerTube/pull/4392)
748
749### Plugins/Themes/Embed API
750
c5c95361 751*Documentation: https://docs.joinpeertube.org/api/plugins*
5098098d
C
752
753 * Add client plugin hooks:
754 * `filter:api.video-watch.video-playlist-elements.get.params` and `filter:api.video-watch.video-playlist-elements.get.result` [#4387](https://github.com/Chocobozzz/PeerTube/pull/4387)
f44cd95c 755 * Introduce plugin id selectors: https://docs.joinpeertube.org/contribute/plugins#plugin-selector-on-html-elements
1ffb7622 756 * Add `#plugin-selector-login-form` to login form
5098098d
C
757
758### Docker
759
760 * We now use Bullseye for Docker images, so the image name changed:
761 * `production-buster` becomes `production-bullseye`
762 * `v4.x.x-buster` becomes `v4.x.x-bullseye`
763 * Allow configuration to be static/readonly [#4315](https://github.com/Chocobozzz/PeerTube/pull/4315)
764
765### CLI tools
766
f44cd95c 767 * Add [create-move-video-storage-jobs](https://docs.joinpeertube.org/maintain/tools#create-move-video-storage-jobjs) script to move local video files in object storage [#4481](https://github.com/Chocobozzz/PeerTube/pull/4481)
5098098d
C
768 * Removed `peertube-repl` and `peertube-watch` scripts
769 * Apply import interval only when reasonable [#4552](https://github.com/Chocobozzz/PeerTube/pull/4552)
770
771### Features
772
773 * :tada: Add videos overview in admin
774 * List all available videos on the instance
775 * Display video information summary: file type, file size, privacy, state, embed...
776 * Many filters available: videos with/without HLS/WebTorrent, remote/local videos, exclude muted accounts...
777 * Run WebTorrent/HLS transcoding
778 * Remove WebTorrent/HLS video files
779 * Bulk actions: remove, block, run transcoding, delete video files...
780 * Correctly generate thumbnails/previews for portrait videos
781 * Keep input image ratio for banners, avatars, thumbnails...
782 * Support 144p transcoding [#4492](https://github.com/Chocobozzz/PeerTube/pull/4492)
783 * Support RTMPS
784 * UI:
785 * Live:
786 * Specify live type at first step
787 * Improve *Permanent live* label using *Recurring live* expression
788 * Clearer moderation dropdowns using section titles
789 * Improve admin tables responsive
790 * Add warning when trying to share a private playlist/video [#4469](https://github.com/Chocobozzz/PeerTube/pull/4469)
791 * Change *Sort by views* to *Sort by recent views* [#4483](https://github.com/Chocobozzz/PeerTube/pull/4483)
792 * Add *Next video to be played* in watch page if autoplay is enabled [#4497](https://github.com/Chocobozzz/PeerTube/pull/4497)
793 * Add embed preview in share modal
794 * Add user username in modal when deleting a user
795 * Add video name in modal when blocking/removing a video
1ffb7622 796 * Improve notification settings organization
5098098d
C
797 * Video/live views:
798 * Add ability for admins to change local buffer update interval
799 * Add ability for admins to change view expiration for a specific IP
800 * Introduce `viewers` attribute for live videos and reduce delay to see `viewers` update in the interface
801 * Take into accounts `views` created during the live when saving replay
802 * Add markdown support for playlist description [#4489](https://github.com/Chocobozzz/PeerTube/pull/4489)
803 * Improve video playback when having invalid redundancy URLs
804 * Load video resolutions before video starts in player settings menu
805 * Optimize federation:
806 * Correctly set HTTP request timeout
807 * Process slow/bad targets in a dedicated queue
808 * Optimize ActivityPub outbox fetch
1ffb7622 809 * Automatically update `publishedAt` attribute when re-streaming in a permanent live
5098098d
C
810 * Add ability for users to view their followers
811 * Add ability for users to filter their videos per channel
812 * Add ability for admins to show author display name instead of username in video miniatures [#4422](https://github.com/Chocobozzz/PeerTube/pull/4422)
813 * Add ability for admins to filter logs by tags
814 * Add ability for admins to configure per user channels limit [#4491](https://github.com/Chocobozzz/PeerTube/pull/4491)
815 * Add available instance themes and plugins in `/about/peertube` page
816 * Remove contributors list from `/about/peertube` since some contributors don't want their name to be displayed on unknown PeerTube instances
817 * Add *Transcoding failed* video state [#4525](https://github.com/Chocobozzz/PeerTube/pull/4525)
818 * Add ability to make a search using a URL containing query parameters
819 * Optimize *channel with video* component in homepage
820
821### Bug fixes
822
823 * Alert user when aborting video upload
824 * Fix youtube-dl update with proxy
825 * Fix *My videos* search on page refresh
826 * Fix homepage request error when having many elements (channels, videos...)
827 * Prevent multiple post-process triggering of upload-resumable [#4175](https://github.com/Chocobozzz/PeerTube/pull/4175)
828 * Fix remote interaction on remote content
829 * Fix HLS transcoding job when running `create-transcoding-job` CLI
830 * Fix import error log on failed import
831 * Fix transcoding with very low input bitrate
832 * Update `updatedAt` video attribute on thumbnail update
833 * Fix local video concurrent update
834 * Fix redundancy error when PeerTube tries to extend/remove redundancy
835 * Fix account switch in account channels page
836 * Hide job progress information for jobs that don't support it
837 * Fix player settings menu keyboard navigation
1ffb7622
C
838 * Fix player placeholder width
839 * Fix playlist miniature size with big description
55cb8bc7 840 * Correctly escape meta tags
41ec03fc
C
841 * Fix audio upload client bug if not enabled by instance
842 * Add header Vary Accept-Language [#4588](https://github.com/Chocobozzz/PeerTube/pull/4588)
843 * Fix additional extensions admin config description
844 * Fix upload of video with long filename
845 * Fix pending transcoding counter with failed job
846 * Fix client header search on ios
847 * Fix iframe attribute `allow-popups` for oembed
848 * Fix theme update when logged in
849 * Fix homepage title
5098098d
C
850
851
7373e969
C
852## v3.4.1
853
854### Bug fixes
855
856 * Fix broken PeerTube when cookies are disabled or if the embed iframe does not have appropriate options
857 * Fix search by channel's handle with an handle containing the local host
858 * Don't display autoblock message in upload page it is not enabled by the admin
859 * Don't index `/about/peertube` page
860 * Correctly handle OEmbed with an URL containing query parameters
861 * More robust youtube-dl thumbnail import
862 * Don't send a new video notification when using create transcoding CLI script
863
864
c5042955 865## v3.4.0
2a21507a
C
866
867### IMPORTANT NOTES
868
869 * **Important:** Due to a bug in ffmpeg, PeerTube is not compatible with ffmpeg 4.4. See https://github.com/Chocobozzz/PeerTube/issues/3990
4d557df5 870 * **Debian Bullseye admins:** Debian Bullseye removed `python` binary/link in favour of explicit `python2`/`python3` binaries. But `youtube-dl` used by PeerTube needs it so you'll have to install [python-is-python2](https://packages.debian.org/bullseye/python-is-python2) or [python-is-python3](https://packages.debian.org/bullseye/python-is-python3) **before** upgrading PeerTube
2a21507a
C
871 * PeerTube now supports NodeJS 16
872
873### Plugins/Themes/Embed API
874
c5c95361 875*Documentation: https://docs.joinpeertube.org/api/plugins*
2a21507a
C
876
877 * Server helpers
878 * **Deprecate** `videoLanguageManager.addLanguage` and `videoLanguageManager.deleteLanguage`: use `videoLanguageManager.addConstant` and `videoLanguageManager.deleteConstant` instead
fbd2d423 879 * **Deprecate** `videoCategoryManager.addCategory` and `videoCategoryManager.deleteCategory`: use `videoCategoryManager.addConstant` and `videoCategoryManager.deleteConstant` instead
880 * **Deprecate** `videoLicenceManager.addLicence` and `videoLicenceManager.deleteLicence`: use `videoLicenceManager.addConstant` and `videoLicenceManager.deleteConstant` instead
881 * **Deprecate** `videoPrivacyManager.deletePrivacy`: `videoPrivacyManager.deleteConstant` instead
882 * **Deprecate** `playlistPrivacyManager.deletePlaylistPrivacy`: `playlistPrivacyManager.deleteConstant` instead
2a21507a
C
883 * Introduce `.getConstantValue()`, `.getConstants()` and `.resetConstants()` for `videoLanguageManager`, `videoCategoryManager`, `videoLicenceManager`, `videoPrivacyManager` and `playlistPrivacyManager`
884 * Add server plugin hooks:
885 * `filter:api.overviews.videos.list.params` and `filter:api.overviews.videos.list.result`
886
887### Custom markup API
888
c5c95361 889*Documentation: https://docs.joinpeertube.org/api/custom-client-markup*
2a21507a
C
890
891 * Add ability to only display VOD or live videos in `<peertube-videos-list>` element
892 * `<peertube-container>` fills all available width. Can be changed using `data-justify-content` attribute
893
894### Maintenance
895
896 * Remove `StandardOutput` and `StandardError` settings from systemd service template [#4300](https://github.com/Chocobozzz/PeerTube/pull/4300)
897 * Use random UUIDs for video, torrent and streaming playlist files
6d94d866 898 * Filename is regenerated when the file content changes: allows admins to use aggressive caching
2a21507a
C
899
900### CLI tools
901
902 * Remove unmaintened `optimize-old-videos.js` script
903 * Add short UUID support in video scripts
904
905### Features
906
907 * :tada: Add video filters to common video pages (account videos, channel videos, recently added/local/trending videos...)
908 * Change video sort (recently added, hot, views...)
909 * Only display live/VOD videos
910 * Filter by languages/categories
911 * Hide or display sensitive content
912 * Choose to display all videos or only local videos
913 * :tada: **Beta:** Add support for saving video files in object storage [#4290](https://github.com/Chocobozzz/PeerTube/pull/4290)
c5c95361 914 * Check the documentation: https://docs.joinpeertube.org/admin/remote-storage
2a21507a
C
915 * :tada: Add ability for instances to follow any actor (so specific accounts and channels)
916 * Updated HLS.js (library to play HLS playlists in PeerTube player) to V1:
917 * Remember last bandwidth to prevent resolution change at the beginning of the video
918 * Automatically downgrade resolution if bandwidth is too low
919 * Add latency metric for live videos in stats for nerd card
920 * Immediate quality change when the user clicks on a specific resolution
921 * Add ability to search by PeerTube host in search filters
922 * Disallow search engine indexation of remote channels/accounts
923 * Transcoding:
924 * Improve bitrate calculation using "bit per pixel" method
925 * Limit live bitrate to input bitrate
926 * Accessibility/UI:
927 * Alert user for low quota and video auto-block on upload page [#4336](https://github.com/Chocobozzz/PeerTube/pull/4336)
928 * Display a modal when logged in to explain why and where set up the account profile [#4352](https://github.com/Chocobozzz/PeerTube/pull/4352)
929 * Display messages to inform why and where set up channels in *My library* pages [#4352](https://github.com/Chocobozzz/PeerTube/pull/4352)
930 * Display a warning when using capitalized letter for the email/username in the login form
c5042955 931 * Display a message in embed on unsupported web browser
2a21507a 932 * Support out proxy using env variables (`HTTP_PROXY` and `HTTPS_PROXY`) [#4346](https://github.com/Chocobozzz/PeerTube/pull/4346)
c5042955 933 * Support *Latin* language for videos
2a21507a
C
934
935### Bug fixes
936
937 * Fix PeerTube button link in embed
938 * Don't remove existing redundancies on host redundancy update
6d94d866 939 * Remove thumbnail flash when autoplay is enabled in embed
2a21507a
C
940 * Fetch data in bulk for the homepage, fixing API rate limit errors
941 * Fix channel name validator consistency between client and server
942 * Fix resumable upload without preview file in the body
943 * Fix redundancy of big HLS files
944 * Fix stats for nerd card label width
945 * Fix stats for nerd card resolution
946 * Fix uploading videos with empty tags in CLI tools
6d94d866
C
947 * Fix HLS player on non HTTPS instances
948 * Hide schedule privacy if private was removed by a plugin
949 * Fix moderation embeds
950 * Fix description timestamp click
951 * Fix privacy descriptions
c5042955
C
952 * Safer avatar, banner and video preview
953 * Fix broken delete buttons of admin federation lists [#4378](https://github.com/Chocobozzz/PeerTube/pull/4378)
954 * More robust webtorrent redundancy download
955 * Fix hls redundancy in pruning script
956 * Fix compat' with old web browsers (Pale Moon, Safari 11, iOS 11, old webkit...))
6770ae4c
C
957 * Fix silent 500 after resumable upload
958 * Fix HTML config injection with custom HTML/CSS
959 * Fix video upload on iOS
2a21507a
C
960
961
fadfe842 962## v3.3.0
50cebb54
C
963
964### IMPORTANT NOTES
965
966 * **Important:** v3.2.0 introduced a `pg_dump` export bug in the auto upgrade script. v3.2.1 fixed this bug. To upgrade from v3.2.**0**:
f44cd95c 967 * You can upgrade manually https://docs.joinpeertube.org/install/any-os#manually
50cebb54 968 * Or you can apply the changes introduced in this commit: https://github.com/Chocobozzz/PeerTube/commit/86dc0b9cc9374cba7548bb613ff43d92f90570a8 and then use the auto upgrade script
c2082122
C
969 * **Important:** Due to a bug in ffmpeg, PeerTube is not compatible with ffmpeg 4.4. See https://github.com/Chocobozzz/PeerTube/issues/3990
970
50cebb54
C
971
972### Maintenance
973
c2082122 974 * Increase max image/caption/torrent upload size to `4MB`. You need to update your nginx configuration to handle this change
50cebb54
C
975 * Increase fetcher job concurrency to `3`
976
977### Docker
978
979 * Support log level env parameter `PEERTUBE_LOG_LEVEL` [#4149](https://github.com/Chocobozzz/PeerTube/pull/4149)
980
981### Plugins/Themes/Embed API
982
983 * Add client helpers:
984 * `getBaseRouterRoute()` [#4153](https://github.com/Chocobozzz/PeerTube/pull/4153)
c5c95361 985 * Add client plugin hooks (https://docs.joinpeertube.org/api/plugins):
50cebb54
C
986 * `filter:left-menu.links.create.result` to add/remove left menu links
987 * `filter:internal.player.videojs.options.result` to filter options sent to videojs player [#4126](https://github.com/Chocobozzz/PeerTube/pull/4126)
c5c95361 988 * Add server plugin hooks (https://docs.joinpeertube.org/api/plugins):
50cebb54
C
989 * `action:api.video-playlist-element.created`
990
991
992### Features
993
c5c95361 994 * :tada: Add ability to create a custom homepage using HTML, markdown and [custom HTML tags](https://docs.joinpeertube.org/api/custom-client-markup) [#4007](https://github.com/Chocobozzz/PeerTube/pull/4007)
50cebb54
C
995 * :tada: Add ability to search playlists in PeerTube instance and [SepiaSearch](https://sepiasearch.org/)
996 * :tada: Shorter public URLs (old URLs are still supported):
997 * Handle short UUID (`8r4jooaQpHp8tw1E1qpSeYq` instead of `3caf7bea-5ceb-4959-81a0-b44d184e897c`) for playlists and videos
998 * Use `/w/:id` instead of `/videos/watch/:id` and `/w/p/:id` instead of `/videos/watch/playlist/:id`
999 * Use `/a/:accountName` instead of `/accounts/:accountName` and `/c/:channelName` instead of `/video-channels/:channelName` [#4009](https://github.com/Chocobozzz/PeerTube/pull/4009)
1000 * Provide `/@:username` page that automatically redirect to the account or channel page [#4009](https://github.com/Chocobozzz/PeerTube/pull/4009)
1001 * :tada: Add RTL layout support
c5c95361 1002 * Add ability to use HTML, markdown and [custom HTML tags](https://docs.joinpeertube.org/api/custom-client-markup) in instance description
50cebb54 1003 * Default to dark theme (if available) if requested by the web browser
693c6586 1004 * Add ability for admins to configure minimum age required in signup page [#4010](https://github.com/Chocobozzz/PeerTube/pull/4010)
50cebb54
C
1005 * Use a dedicated URL for each tab in publish page
1006 * Add ability to prefill contact form using query parameters in URL [#4161](https://github.com/Chocobozzz/PeerTube/pull/4161)
1007 * Accessibility/UI:
1008 * Show logo in mobile view [#4141](https://github.com/Chocobozzz/PeerTube/pull/4141)
1009 * Improve download modal to download video subtitles
1010 * Better error message when trying to import a torrent containing multiple files
1011 * REST API errors:
1012 * Use [RFC 7807](https://datatracker.ietf.org/doc/html/rfc7807) format to display errors [#4143](https://github.com/Chocobozzz/PeerTube/pull/4143)
1013 * Improve date format error messages
1014 * Improve video name and tag error messages
1015 * Performance:
1016 * Use raw SQL to fetch a video from database (~ latency / 2)
1017 * Inject server config in HTML
1018 * Speed up client plugin loading
1019 * Cache refresh actor promises
1020 * Optimize activity pub video update
1021 * Relax some database transactions
b98f39c4
C
1022 * Use an internal cache for DNS resolution.
1023 This should speed up federation and fix weird acquire timeouts in sequelize pool (causing slowness in the client interface)
50cebb54
C
1024
1025### Bug fixes
1026
1027 * Fix video upload with a capitalized extension
1028 * Fix "height not divisible by 2" ffmpeg error
1029 * Don't count deleted comment for replies
1030 * Fix UI bug when a plugin deleted the public privacy setting [#4163](https://github.com/Chocobozzz/PeerTube/pull/4163)
1031 * Fix `player.getResolutions()` embed API when the video is has not been played yet
1032 * Fix live placeholder image aspect ratio in theatre mode
1033 * Fix plugin modal/notifier
1034 * Fix some 404 errors for remote avatar
1035 * Fix daily quota display
1036 * Fix ownership change with a live video
b98f39c4
C
1037 * Correctly handle broken plugin install
1038 * Fix channel deletion when it has videos
1039 * Force TLS for webfinger in production
fadfe842
C
1040 * Correctly support `wav` mimetype
1041 * Fix default video privacy when plugins deleted private video privacy
1042 * Fix subscribe hotkey
1043 * Fix HTTP fallback with a video that does not have webtorrent files
1044 * Fill video information when importing a peertube video
50cebb54
C
1045
1046
721a6737
C
1047## v3.2.1
1048
1049### IMPORTANT NOTES
1050
9f2d7a78 1051 * **Important:** v3.2.0 introduced a `pg_dump` export bug in the auto upgrade script. To upgrade from v3.2.0:
f44cd95c 1052 * You can upgrade manually https://docs.joinpeertube.org/install/any-os#manually
9f2d7a78 1053 * Or you can apply the changes introduced in this commit: https://github.com/Chocobozzz/PeerTube/commit/86dc0b9cc9374cba7548bb613ff43d92f90570a8 and then use the auto upgrade script
721a6737
C
1054
1055### Bug fixes
1056
1057 * Fix create account button style
1058 * Fix auto upgrade script
1059 * Fix live image aspect ratio in theatre mode
1060
1061
e3b7b054 1062## v3.2.0
16de9ff4
C
1063
1064### IMPORTANT NOTES
1065
b62ce47c 1066 * **Important:** You must update your nginx configuration to add the `upload-resumable` endpoint: https://github.com/Chocobozzz/PeerTube/blob/develop/support/nginx/peertube#L81
4b18c7dc 1067 * **Important:** Due to a bug in ffmpeg, PeerTube is not compatible with ffmpeg 4.4. See https://github.com/Chocobozzz/PeerTube/issues/3990
b62ce47c
C
1068 * **Important:** Drop NodeJS 10 support
1069 * PeerTube is not compatible with NodeJS 16 yet
16de9ff4 1070 * By default, HLS transcoding is now enabled and webtorrent is disabled. We suggest you to reflect this change.
f44cd95c 1071 See [the documentation](https://docs.joinpeertube.org/admin/configuration#webtorrent-transcoding-or-hls-transcoding) for more information
16de9ff4 1072 * PeerTube client now displays bigger video thumbnails.
f44cd95c 1073 To fix old thumbnails quality, run `regenerate-thumbnails` script after your PeerTube upgrade: https://docs.joinpeertube.org/maintain/tools#regenerate-thumbnailsjs
16de9ff4 1074
e3b7b054
C
1075### Docker
1076
1077 * Support SSL database env parameter [#4114](https://github.com/Chocobozzz/PeerTube/pull/4114)
1078
16de9ff4
C
1079### Maintenance
1080
1081 * Support `X-Frame-Options` header, enabled by default in the configuration
1082 * Directly use `node` in [systemd template](https://github.com/Chocobozzz/PeerTube/blob/develop/support/systemd/peertube.service)
1083 * Check ffmpeg version at PeerTube startup
b62ce47c 1084 * Add `upload-resumable` nginx endpoint: https://github.com/Chocobozzz/PeerTube/blob/develop/support/nginx/peertube#L81
16de9ff4
C
1085
1086### CLI tools
1087
1088 * Add `regenerate-thumbnails` script to regenerate thumbnails of local videos
1089
1090### Plugins/Themes/Embed API
1091
1092 * Theme:
1093 * `--submenuColor` becomes `--submenuBackgroundColor`
f44cd95c 1094 * Support HTML placeholders for plugins. See [the documentation](https://docs.joinpeertube.org/contribute/plugins#html-placeholder-elements) for more information
16de9ff4 1095 * `player-next` next to the PeerTube player
f44cd95c 1096 * Support storing files for plugins in a dedicated directory. See [the documentation](https://docs.joinpeertube.org/contribute/plugins#storage) for more information
16de9ff4
C
1097 * Transcoding:
1098 * Add `inputOptions` option support for transcoding profile [#3917](https://github.com/Chocobozzz/PeerTube/pull/3917)
1099 * Add `scaleFilter.name` option support for transcoding profile [#3917](https://github.com/Chocobozzz/PeerTube/pull/3917)
1100 * Plugin settings:
1101 * Add ability to register `html` and `select` setting
1102 * Add ability to hide a plugin setting depending on the form state
1103 * Plugin form fields (to add inputs to video form...):
1104 * Add ability to hide a plugin field depending on the form state using `.hidden` property
1105 * Add client helpers:
1106 * `getServerConfig()`
1107 * `getAuthHeader()`
1108 * Add server helpers:
1109 * `config.getServerConfig()`
1110 * `plugin.getBaseStaticRoute()`
1111 * `plugin.getBaseRouterRoute()`
1112 * `plugin.getDataDirectoryPath()`
1113 * `user.getAuthUser()`
c5c95361 1114 * Add client plugin hooks (https://docs.joinpeertube.org/api/plugins):
16de9ff4
C
1115 * `action:modal.video-download.shown`
1116 * `action:video-upload.init`
1117 * `action:video-url-import.init`
1118 * `action:video-torrent-import.init`
1119 * `action:go-live.init`
1120 * `action:auth-user.logged-in` & `action:auth-user.logged-out`
1121 * `action:auth-user.information-loaded`
1122 * `action:admin-plugin-settings.init`
c5c95361 1123 * Add server plugin hooks (https://docs.joinpeertube.org/api/plugins):
16de9ff4
C
1124 * `filter:api.download.video.allowed.result` & `filter:api.download.torrent.allowed.result` to forbid download
1125 * `filter:html.embed.video-playlist.allowed.result` & `filter:html.embed.video.allowed.result` to forbid embed
1126 * `filter:api.search.videos.local.list.params` & `filter:api.search.videos.local.list.result`
1127 * `filter:api.search.videos.index.list.params` & `filter:api.search.videos.index.list.result`
1128 * `filter:api.search.video-channels.local.list.params` & `filter:api.search.video-channels.local.list.result`
1129 * `filter:api.search.video-channels.index.list.params` & `filter:api.search.video-channels.index.list.result`
1130
1131### Features
1132
5c48aa8c 1133 * :tada: More robust uploads using a resumable upload endpoint [#3933](https://github.com/Chocobozzz/PeerTube/pull/3933)
16de9ff4
C
1134 * Accessibility/UI:
1135 * :tada: Redesign channel and account page
1136 * :tada: Increase video miniature size
1137 * :tada: Add channel banner support
1138 * Use a square avatar for channels and a round avatar for accounts
1139 * Use account initial as default account avatar [#4002](https://github.com/Chocobozzz/PeerTube/pull/4002)
1140 * Prefer channel display in video miniature
1141 * Add *support* button in channel page
1142 * Set direct download as default in video download modal [#3880](https://github.com/Chocobozzz/PeerTube/pull/3880)
1143 * Show less information in video download modal by default [#3890](https://github.com/Chocobozzz/PeerTube/pull/3890)
1144 * Autofocus admin plugin search input
1145 * Add `1.75` playback rate to player [#3888](https://github.com/Chocobozzz/PeerTube/pull/3888)
1146 * Add `title` attribute to embed code [#3901](https://github.com/Chocobozzz/PeerTube/pull/3901)
1147 * Don't pause player when opening a modal [#3909](https://github.com/Chocobozzz/PeerTube/pull/3909)
1148 * Add link below the player to open the video on origin instance [#3624](https://github.com/Chocobozzz/PeerTube/issues/3624)
1149 * Notify admins on new available PeerTube version
1150 * Notify admins on new available plugin version
b62ce47c 1151 * Sort channels by last uploaded videos
16de9ff4 1152 * Video player:
ea868761
C
1153 * Add loop toggle to context menu [#3949](https://github.com/Chocobozzz/PeerTube/pull/3949)
1154 * Add icons to context menu [#3955](https://github.com/Chocobozzz/PeerTube/pull/3955)
1155 * Add a *Previous* button in playlist watch page [#3485](https://github.com/Chocobozzz/PeerTube/pull/3485)
1156 * Automatically close the settings menu when clicking outside the player
1157 * Add "stats for nerds" panel in context menu [#3958](https://github.com/Chocobozzz/PeerTube/pull/3958)
16de9ff4
C
1158 * Add channel and playlist stats to stats endpoint [#3747](https://github.com/Chocobozzz/PeerTube/pull/3747)
1159 * Support `playlistPosition=last` and negative index (`playlistPosition=-2`) URL query parameters for playlists [#3974](https://github.com/Chocobozzz/PeerTube/pull/3974)
1160 * My videos:
1161 * Add ability to sort videos (publication date, most viewed...)
1162 * Add ability to only display live videos
1163 * Automatically resume videos for non logged-in users [#3885](https://github.com/Chocobozzz/PeerTube/pull/3885)
1164 * Admin plugins:
1165 * Show a modal when upgrading a plugin to a major version
1166 * Display a setting button after plugin installation
1167 * Add ability to search live videos
1168 * Use bigger thumbnails for feeds
1169 * Parse video description markdown for Opengraph/Twitter/HTML elements
1170 * Open the remote interaction modal when replying to a comment if we are logged-out
1171 * Handle `.srt` captions with broken durations
1172 * Performance:
1173 * Player now lazy loads video captions
1174 * Faster admin table filters
b62ce47c 1175 * Optimize feed endpoint
16de9ff4
C
1176
1177### Bug fixes
1178
1179 * More robust comments fetcher of remote video
1180 * Fix database ssl connection
1181 * Remove unnecessary black border above and below video in player [#3920](https://github.com/Chocobozzz/PeerTube/pull/3920)
1182 * Reduce tag input excessive padding [#3927](https://github.com/Chocobozzz/PeerTube/pull/3927)
1183 * Fix disappearing hamburger menu for narrow screens [#3929](https://github.com/Chocobozzz/PeerTube/pull/3929)
1184 * Fix Youtube subtitle import with some languages
1185 * Fix transcoding profile update in admin config
1186 * Fix outbox fetch with subtitled videos
1187 * Correctly unload a plugin on update/uninstall [#3940](https://github.com/Chocobozzz/PeerTube/pull/3940)
1188 * Ensure to install plugins that are supported by PeerTube
1189 * Fix welcome/warning modal displaying twice
1190 * Fix h265 video import using CLI
1191 * Fix context menu when watching a playlist
1192 * Fix transcoding job priority preventing video publication when there are many videos to transcode
b62ce47c
C
1193 * Fix remote account/channel "joined at"
1194 * Fix CLI plugins list command options [#4055](https://github.com/Chocobozzz/PeerTube/pull/4055)
e3b7b054
C
1195 * Fix HTTP player defaulting to audio resolution
1196 * Logger warning level is "warn"
1197 * Fix default boolean plugin setting [#4107](https://github.com/Chocobozzz/PeerTube/pull/4107)
1198 * Fix duplicate ffmpeg preset option for live
1199 * Avoid federation error when file has no torrent file
1200 * Fix local user auth select
1201 * Fix live ending banner display
1202 * Fix redundancy max size
1203 * Fix broken lives handling
16de9ff4
C
1204
1205
1206
3cc20a1a 1207## v3.1.0
35fbb418
C
1208
1209### IMPORTANT NOTES
1210
3dd1f61b 1211 * **Important:** Drop PostgreSQL 9.6 support
35fbb418
C
1212 * **Important:** Deprecate NodeJS 10
1213 * Support NodeJS 14 and 15
1214 * Remove ES5 module support (breaks compatibility with web browsers we didn't support)
1215 * PeerTube releases now contain client source maps helping client debugging (for developers and admins).
1216 It's the reason why the release size is bigger (we think it's worth it)
1217 * Remove deprecated static routes (`/static/avatars/`, `/static/previews/` and `/static/video-captions/`)
1218 * PeerTube now uses a unique name for thumbnails, previews and captions allowing to correctly cache these resources.
1219 It could break some third party clients that guessed these filenames depending on the video UUID. We'll continue this work in the future
1220 for video filenames, so admins can easily cache these files (using multiple reverse proxies etc)
1221
919b16ba
C
1222### Maintenance
1223
1224 * Fix nginx max body size configuration
35fbb418
C
1225
1226### CLI tools
1227
1228 * Add script printing command to generate a resolution for a given file [#3507](https://github.com/Chocobozzz/PeerTube/pull/3507)
1229 * Add `--wait-interval <seconds>` option to video-import script to wait between two video imports [#3310](https://github.com/Chocobozzz/PeerTube/pull/3310)
1230
1231### Plugins/Themes/Embed API
1232
c5c95361 1233 * Add server plugin hooks (https://docs.joinpeertube.org/api/plugins):
35fbb418
C
1234 * `filter:api.user.me.videos.list.params` and `filter:api.user.me.videos.list.result`
1235 * Add server helpers:
1236 * `videos.loadByIdOrUUID`
f44cd95c 1237 * Add server transcoding helpers (https://docs.joinpeertube.org/contribute/plugins#add-new-transcoding-profiles):
35fbb418
C
1238 * `transcodingManager.addVODProfile`
1239 * `transcodingManager.addVODEncoderPriority`
1240 * `transcodingManager.addLiveProfile`
1241 * `transcodingManager.addLiveEncoderPriority`
1242
1243### Features
1244
1245 * Transcoding:
1246 * Fair transcoding jobs priority: give an higher priority to `optimize` jobs and decrease priority of transcoding jobs depending on the amount of videos uploaded by the user during the last 7 days [#3637](https://github.com/Chocobozzz/PeerTube/pull/3637)
1247 * Higher niceness priority for live transcoding compared to vod transcoding [#3577](https://github.com/Chocobozzz/PeerTube/pull/3577)
1248 * Allow admins to choose a transcoding profile. New transcoding profiles can be added by PeerTube plugins that can inject custom ffmpeg encoders/parameters
1249 * Add transcoding support for 1440p (Quad HD/QHD/WQHD) videos [#3518](https://github.com/Chocobozzz/PeerTube/pull/3518)
1250 * Add transcoding progress in admin transcoding jobs list
1251 * Use `veryfast` preset for default transcoding profile (same result size but faster)
1252 * Transcode audio uploads to lower configured resolutions
1253 * Transcode HLS playlists in a `tmp` directory (less bugs/inconsistencies)
1254 * Allow admins to choose the transcoding jobs concurrency
3cc20a1a 1255 * Support Albanian locale
35fbb418
C
1256 * Video upload:
1257 * Async torrent creation on video upload. We hope that it should fix some weird upload errors
1258 * Add `.m4a` audio upload support
1259 * Accessibility/UI:
1260 * Move orange admin buttons on the left side
1261 * Hide title to left menu toggle icon
1262 * Add username information in profile settings
1263 * Improve about page layout
1264 * Add refresh button in jobs list
1265 * Add ability to set a custom user quota
1266 * Rewrite prose for JavaScript disabled message [#3684](https://github.com/Chocobozzz/PeerTube/pull/3684)
1267 * Video import:
1268 * Stricter youtube-dl format selectors for import (don't import HDR videos and cap to the max supported resolution) [#3516](https://github.com/Chocobozzz/PeerTube/pull/3516)
1269 * Don't publish imported videos before the user submitted the second step form
1270 * Allow admins to choose the import jobs concurrency
1271 * Implement *hot* and *best* trending algorithms [#3625](https://github.com/Chocobozzz/PeerTube/pull/3625) & [#3681](https://github.com/Chocobozzz/PeerTube/pull/3681)
1272 * Admin config:
1273 * Add URL fragment support in admin config page to go on the appropriate tab
1274 * Improve submit error message
1275 * Allow admins to disable ping requests logging [#3550](https://github.com/Chocobozzz/PeerTube/pull/3550)
1276 * Add a setting so PeerTube periodically cleans up remote AP interactions
1277 * Add ability for admins to update plugin auth field of a particular user
1278 * Support `webp` avatar upload
1279 * Implement remote comment/subscription
1280 * Register a service worker [#3464](https://github.com/Chocobozzz/PeerTube/pull/3464)
1281 * Add ability to remove one's avatar for account and channels [#3467](https://github.com/Chocobozzz/PeerTube/pull/3467)
1282 * Show first decimal for video views above a thousand [#3564](https://github.com/Chocobozzz/PeerTube/pull/3564)
1283 * Allow user to search through their watch history [#3576](https://github.com/Chocobozzz/PeerTube/pull/3576)
1284 * Allow users/visitors to search through an account's videos [#3589](https://github.com/Chocobozzz/PeerTube/pull/3589)
1285 * Use an HTML link to display feed url
1286 * Allow AP resolution for default account/channel pages (`/accounts/:name/video-channels` and `/video-channels/:name/videos`)
1287 * Redirect to login on 401, display 403 variant [#3632](https://github.com/Chocobozzz/PeerTube/pull/3632)
1288 * Performance:
1289 * Optimize videos list API endpoint
1290 * Optimize videos list views sort SQL query
1291 * Avoid as much as possible to process remote thumbnail
1292 * Proxify remote torrent requests from local clients (like we do for captions and previews)
1293 * Optimize rate POST endpoint
1294 * Tighten hotkeys definitions to not conflict with the web browser hotkeys [#3702](https://github.com/Chocobozzz/PeerTube/pull/3702)
1295 * Add more AP stats to stats endpoint
1296 * Increase jobs request timeout to 7 seconds
1297 * Increase broadcast request concurrency to 30
1298
1299### Bug fixes
1300
1301 * Fix remote subscribe input alignment
1302 * Fix loading bar for HTTP requests
1303 * Fix table header overflow
1304 * Disable wait transcoding checkbox instead of hiding it when uploading an incompatible video for the web
1305 * Fix sendmail emailer configuration
1306 * Add missing niceness to ffmpeg thumbnail process
1307 * Videos with only HLS files:
1308 * Fix RSS feed
1309 * Correctly wait transcoding before federating
1310 * Fix redundancy
1311 * Correctly remove torrents
1312 * Localize decimal separator in video miniatures [#3643](https://github.com/Chocobozzz/PeerTube/pull/3643)
1313 * Check banned status on external authentication
1314 * Remove all video redundancies when purging the cache
1315 * Fix URI search admin config update
1316 * Fix broken HLS playback with videos that contain an unknown channel layout
1317 * Fix HLS generation after file import script
1318 * Ensure we don't receive things from local actors
1319 * Try to recover from network errors in HLS player
1320 * Fix comments sorting dropdown z-index
1321 * Fix create transcoding job script depending on the transcoding configuration
1322 * Fix NSFW policy in my videos, account videos and channel videos pages
1323 * Fix complete description loading of a previous video
1324 * Fix video comments display with deleted comments
1325 * Don't override preview image on import
1326 * Fix Accept AP messages sending to previously accepted followers
1327 * Fix import script when using the instance uses the search index
1328 * Fix player freeze on Safari with a video that has many subtitles
1329 * Fix anonymous user settings
1330 * Fix preview upload with capitalized ext
1331 * Fix abuses list crash on deleted video
1332 * More robust channel change federation
1333 * Fix emptying video tags
1334 * Fix broken local actors that do not have a public/private key
919b16ba 1335 * Fix bad PeerTube URL for playlist embed
35fbb418
C
1336 * Live:
1337 * Don't update live attributes if they did not change (allowing to update live metadata even if the live has started)
1338 * Fix live RAM usage when ffmpeg is too slow to transcode the RTMP stream
1339 * Correctly load live information (description and preview) when not started
3cc20a1a
C
1340 * Fix mention notification with deleted comment
1341 * Fix default boolean plugin setting
1342 * Fix long text on modals [#3840](https://github.com/Chocobozzz/PeerTube/pull/3840)
35fbb418 1343
51133b50
C
1344## v3.0.1
1345
1346### SECURITY
1347
35fbb418 1348 * **Important:** Fix retrieving data of another user if the username contains `_` when fetching *my information*
51133b50
C
1349
1350### Docker
1351
f44cd95c 1352 * Fix [upgrade documentation](https://docs.joinpeertube.org/install/docker#upgrade)
51133b50
C
1353 * Add live RTMP port in docker compose
1354
1355### Bug fixes
1356
1357 * Fix account feed URL
1358 * Log RTMP server error (address already in use)
1359 * Fix NPM theme links in admin theme page
1360 * Don't reject AP actors with empty description
1361 * Fix twitter admin config description
1362 * Fix duplicate entry in job list page
1363 * Fix `nl-NL` broken admin config page
1364 * Fix bad tracker client IP when using a reverse proxy
1365
1366
f5ea4dac
C
1367## v3.0.0
1368
1369**Since v2.4.0**
3a735f7d
C
1370
1371### IMPORTANT NOTES
1372
98d68ebd 1373 * Update the default configuration to not federate unlisted videos. We recommend to admins to update [this setting](https://github.com/Chocobozzz/PeerTube/blob/develop/config/production.yaml.example#L196)
3a735f7d
C
1374 * Update the default configuration to remove remote video views to reduce DB size and improve performances. We recommend to admins to update [this setting](https://github.com/Chocobozzz/PeerTube/blob/develop/config/production.yaml.example#L170)
1375 * Remove deprecated video abuse API
1376
1377### Maintenance
1378
1379 * Refresh nginx configuration [#3313](https://github.com/Chocobozzz/PeerTube/pull/3313)
1380
1381### Docker
1382
f5ea4dac
C
1383 * Replace traefik by nginx in our docker-compose template:
1384 * Better consistency with our default setup (we now use the same stack)
1385 * Use our default nginx template enabling many optimizations
c5c95361 1386 * Update the documentation to take into account this change: https://docs.joinpeertube.org/install/docker
3a735f7d
C
1387
1388### Plugins/Themes/Embed API
1389
1390 * Add ability for auth plugins to redirect user on logout [#32](https://framagit.org/framasoft/peertube/PeerTube/-/merge_requests/32) & [#33](https://framagit.org/framasoft/peertube/PeerTube/-/merge_requests/33)
1391 * Add `input-password` setting to plugins [#3375](https://github.com/Chocobozzz/PeerTube/issues/3375)
c5c95361 1392 * Add server plugin hooks (https://docs.joinpeertube.org/api/plugins):
c0481610
C
1393 * `filter:api.accounts.videos.list.params`
1394 * `filter:api.accounts.videos.list.result`
1395 * `filter:api.video-channels.videos.list.params`
1396 * `filter:api.video-channels.videos.list.result`
1397 * Authenticate the user if possible in plugin router [#3400](https://github.com/Chocobozzz/PeerTube/pull/3400)
3a735f7d
C
1398
1399### Features
1400
c0481610 1401 * :tada: :tada: :tada: Support live streaming :tada: :tada: :tada: [#3250](https://github.com/Chocobozzz/PeerTube/pull/3250)
3a735f7d
C
1402 * Create a live video using the PeerTube interface and start streaming using your favorite streaming software (OBS, ffmpeg...)
1403 * If the admin allows it, add ability for users to save a replay of their live
1404 * Support live transcoding in multiple resolutions
1405 * Admins can set a limit of created lives per user/instance and a duration limit
1406 * This is the first step of live streaming, we'll consolidate the feature next year
f5ea4dac 1407 * Support Galician locale
3a735f7d
C
1408 * Update left menu [#3296](https://github.com/Chocobozzz/PeerTube/pull/3296)
1409 * Add *My settings*, *My library*, *Administration* (if admin) below the username
1410 * Rename section titles to *In my account*, and *On instance name* for better block scopes identification
1411 * Removed confusing *Account settings* and *Channel settings* from user dropdown
1412 * Add *My notifications* in user dropdown
1413 * Split account horizontal menu in two [#3296](https://github.com/Chocobozzz/PeerTube/pull/3296)
1414 * *My library* containing *Channels*, *Videos*, *Imports*, *Ownership changes*, *Playlists*, *Subscriptions* and *History*
1415 * *My settings* containing *Account settings*, *Notifications* and *Moderation* tools
1416 * Add page in admin to manage video comments of the instance
1417 * List latest comments
1418 * Delete comments of a specific user
1419 * Delete comments in bulk
1420 * Delete notifications related to muted accounts/instances
1421 * Add ability for moderators to display all videos (not yet published, private...) in channels/accounts pages
1422 * Support GIF avatars upload and federation [#3329](https://github.com/Chocobozzz/PeerTube/pull/3329)
1423 * Automatically enable auto block of new videos if the admin enables signups in the admin interface
1424 * Allow private syndication feed of videos from subscriptions [#3074](https://github.com/Chocobozzz/PeerTube/pull/3074)
1425 * Improve default account and channel avatars [#3326](https://github.com/Chocobozzz/PeerTube/pull/3326)
1426 * Accessibility/UI:
c0481610
C
1427 * More explicit error messages for file uploads [#3347](https://github.com/Chocobozzz/PeerTube/pull/3347)
1428 * Allow to retry a failed video upload [#3347](https://github.com/Chocobozzz/PeerTube/pull/3347)
3a735f7d
C
1429 * Improve jobs and logs view [#3127](https://github.com/Chocobozzz/PeerTube/pull/3127)
1430 * Use badges for *NSFW* and *Unfederated* labels in video block list table
1431 * Improved video rating popover text if the user is not logged-in [#3168](https://github.com/Chocobozzz/PeerTube/pull/3168)
1432 * Improve markdown-it emoji list column display [#3253](https://github.com/Chocobozzz/PeerTube/pull/3253)
1433 * Add help popup for choosing a licence [#3306](https://github.com/Chocobozzz/PeerTube/pull/3306)
1434 * Change *Upload* button to *Publish*
c0481610 1435 * More player download/upload title details [#3394](https://github.com/Chocobozzz/PeerTube/pull/3394)
3a735f7d 1436 * Create a dedicated transcoding tab in admin config
c0481610
C
1437 * Improve 404 page
1438 * Improve login form [#3357](https://github.com/Chocobozzz/PeerTube/pull/3357)
3a735f7d
C
1439 * Add a title attribute on views element to see the view counter [#3365](https://github.com/Chocobozzz/PeerTube/pull/3365)
1440 * Clearer titles for periods in recently added and videos from subscriptions pages
1441 * Select first available channel when accepting ownership change [#3382](https://github.com/Chocobozzz/PeerTube/pull/3382)
c0481610 1442 * Hide channel registration step if default quota is 0 [#3393](https://github.com/Chocobozzz/PeerTube/pull/3393)
3a735f7d
C
1443 * Add possibility to share origin URL to video if it's not local [#3201](https://github.com/Chocobozzz/PeerTube/pull/3201)
1444 * Render markdown in email notifications for new comments [#3255](https://github.com/Chocobozzz/PeerTube/pull/3255)
1445 * Add an admin setting to force ipv4 in youtube-dl [#3311](https://github.com/Chocobozzz/PeerTube/pull/3311)
1446 * Add ability for admins to put markdown in all fields of *About* page [#3371](https://github.com/Chocobozzz/PeerTube/pull/3371)
f5ea4dac 1447 * Support `activeMonth` and `activeHalfyear` in nodeinfo
3a735f7d
C
1448
1449### Bug fixes
1450
1451 * Fix inability to delete a channel due to a bug in the confirm modal
f5ea4dac 1452 * Fix views processing for hour 0
3a735f7d
C
1453 * Fix ownership change modal accept button
1454 * Fix incorrect ActivityPub IDs
1455 * Do not transcode videos to an higher bitrate than the source
1456 * Fix video display of muted accounts on overview page
1457 * Fix transcoding errors in readonly docker containers [#3198](https://github.com/Chocobozzz/PeerTube/pull/3198)
1458 * Fix running another transcoding job using the CLI on a video that was already transcoded
1459 * Fix embed on Brave web browser
1460 * Fix break line display for re-draft comments [#3261](https://github.com/Chocobozzz/PeerTube/pull/3261)
1461 * Fix hidden loading bar
1462 * Fix jobs pagination
1463 * Fix missing player localized strings
1464 * Fix instance file size stats when the admin enabled HLS
1465 * Fix embed of HLS videos on non HTTPS websites
1466 * Hide embed dock when title/description are disabled
1467 * Fix follow notification when the follower has been deleted
1468 * Fix client override endpoint in nginx configuration [#3297](https://github.com/Chocobozzz/PeerTube/pull/3297)
1469 * Fix overflow of some dropdowns
1470 * Fix infinite scrollin in channel's playlists page
1471 * Fix anchors scrolling in About page
c0481610 1472 * Fix canonical URLs of videos and playlists [#3406](https://github.com/Chocobozzz/PeerTube/pull/3406)
3a735f7d
C
1473 * Fix CLI import script when importing Youtube channels
1474 * Fix video tag min length validator
1475 * Fix user notification preferences column width [#3352](https://github.com/Chocobozzz/PeerTube/pull/3352)
1476 * Fix forgotten/reset password UI [#3351](https://github.com/Chocobozzz/PeerTube/pull/3351)
1477 * Fix 00:00 player timecode in video description and comments
1478 * Avoid too large federation cert error messages in logs
1479 * Fix registration form width on mobile [#3274](https://github.com/Chocobozzz/PeerTube/pull/3274)
1480 * Fix "Too many packets buffered for output stream" ffmpeg error with some videos
1481 * Fix 500 error when fetching unknown video thread
1482 * Fix infinite scroll in *Local videos* page when enabling the *Display all videos* checkbox on big screens
1483 * Fix menu theme colors [#3376](https://github.com/Chocobozzz/PeerTube/pull/3376)
1484 * Fix playlist list `name`/`displayName` sort field [#3385](https://github.com/Chocobozzz/PeerTube/pull/3385)
1485 * Fix 401 error display in embeds
c0481610 1486 * Do not crash if SMTP server is down, instead log an error [#3457](https://github.com/Chocobozzz/PeerTube/issues/3457)
f5ea4dac
C
1487 * Fix redundancy federation in specific cases
1488 * Stop CLI auth failure with extra `/` [#3520](https://github.com/Chocobozzz/PeerTube/issues/3520)
1489 * Add missing audit log if the user deletes its account
1490 * Don't crash on youtube-dl update write error
1491 * Fix video auto block notification issue
1492
1493**Since v3.0.0-rc.1**
1494
1495### Features
1496
1497 * Support Galician locale
1498 * Support `activeMonth` and `activeHalfyear` in nodeinfo
1499
1500### Bug fixes
3a735f7d 1501
f5ea4dac
C
1502 * Fix views processing for hour 0
1503 * Fix follows pages (in admin and about)
1504 * Don't display live max duration if disabled by admin
1505 * Correctly display live badge in videos list
1506 * Fix redundancy federation in specific cases
1507 * Fix live miniatures
1508 * Don't update player timestamp when clicking on a timecode in comments/descriptions for a live
1509 * Fix admin table filters
1510 * Fix some accessibility issues
1511 * Stop CLI auth failure with extra `/` [#3520](https://github.com/Chocobozzz/PeerTube/issues/3520)
1512 * Fix login error display
1513 * Don't display log level in audit logs view
1514 * Add missing audit log if the user deletes its account
1515 * Don't crash on youtube-dl update write error
1516 * Fix video auto block notification issue
3a735f7d
C
1517
1518
2af1f9be
C
1519## v2.4.0
1520
1521**Since v2.3.0**
9a0d813e
C
1522
1523### IMPORTANT NOTES
1524
1525 * The minimum ffmpeg version required is now 4.1
20dcfd74
C
1526 * Deprecate static routes that will be removed in 3.0 (you may not have to do anything if you used paths returned by the video REST API):
1527 * `/static/avatars/`: use `/lazy-static/avatars/` instead
1528 * `/static/previews/`: use `/lazy-static/previews/` instead
1529 * `/static/video-captions/`: use `/lazy-static/video-captions/` instead
9a0d813e
C
1530 * Use `playlistPosition` URL parameter for playlists instead of `videoId` to set the current playlist position
1531
1532### Maintenance
1533
1534 * Better error message on PostgreSQL connection error
1535 * Add `ssl` option support for PostgreSQL connection
1536
1537### Official PeerTube plugins
1538
1539 * [Player video annotation (alpha)](https://framagit.org/framasoft/peertube/official-plugins/-/tree/master/peertube-plugin-video-annotation)
1540
1541### Plugins/Themes/Embed API
1542
c5c95361 1543 * Add embed API (https://docs.joinpeertube.org/api/embed-player):
9a0d813e
C
1544 * `playNextVideo` method
1545 * `playPreviousVideo` method
1546 * `getCurrentPosition` method
1547 * Embed URL parameters
1548 * Add ability to disable PeerTube link in embed using an URL param (`peertubeLink=0`)
1549 * Add plugins support in embed
c5c95361 1550 * Add client plugin hooks (https://docs.joinpeertube.org/api/plugins):
9a0d813e 1551 * `action:embed.player.loaded` (for embed)
f44cd95c 1552 * Add custom fields in video update/upload form using `registerVideoField` (https://docs.joinpeertube.org/contribute/plugins#add-custom-fields-to-video-form)
9a0d813e
C
1553
1554### Features
1555
1556 * Moderation:
1557 * :tada: Add ability to report comments and accounts
1558 * :tada: Add messaging system between local reporter of an abuse and moderators so they can easily communicate
1559 * :tada: Users can now see their abuse reports, and have notifications when an abuse state changed (accepted/rejected) or when moderators added a new message
1560 * Add embed to block list details [@rigelk in #2926](https://github.com/Chocobozzz/PeerTube/pull/2926)
1561 * Video playlists:
1562 * :tada: Add ability to embed playlists
1563 * :tada: Add ability to put a video multiple times in a playlist (with different startAt/stopAt parameters or not)
1564 * Video comments:
1565 * Add uni-code emojis native display in comments [@Kimsible in #3046](https://github.com/Chocobozzz/PeerTube/pull/3046)
1566 * Add delete and re-draft action on a comment that doesn't have replies [@Kimsible in #3046](https://github.com/Chocobozzz/PeerTube/pull/3046)
1567 * Hide deleted comments when there aren't replies [@Kimsible in #3046](https://github.com/Chocobozzz/PeerTube/pull/3046)
1568 * Accessibility/UI:
1569 * Disable vertical scroll instead of hide on desktop browsers [@Kimsible in #2962](https://github.com/Chocobozzz/PeerTube/pull/2962)
1570 * Update my-account sub-menus icons [@Kimsible in #2977](https://github.com/Chocobozzz/PeerTube/pull/2977)
1571 * Improve navigation sub-menu and tabs effects [@Kimsible in #2971](https://github.com/Chocobozzz/PeerTube/pull/2971)
1572 * Hide generic channel display name and avatar on watch view [@Kimsible in #2988](https://github.com/Chocobozzz/PeerTube/pull/2988)
1573 * Display user quota progress bars above upload form [@Kimsible in #2981](https://github.com/Chocobozzz/PeerTube/pull/2981)
1574 * Improve mobile accessibility by moving table action cells on the left [@Kimsible in #2980](https://github.com/Chocobozzz/PeerTube/pull/2980)
1575 * Directly display download button in watch page on logged-out users [@rigelk in #2919](https://github.com/Chocobozzz/PeerTube/pull/2919)
1576 * Improve users list table display in admin (add badge, progress bar) [@rigelk in #2991](https://github.com/Chocobozzz/PeerTube/pull/2991)
1577 * Add dynamic column display for users list table in admin [@rigelk in #2991](https://github.com/Chocobozzz/PeerTube/pull/2991)
1578 * Add anchor links to about/instance [@Kimsible in #3064](https://github.com/Chocobozzz/PeerTube/pull/3064)
1579 * Improve select components [@rigelk in #3035](https://github.com/Chocobozzz/PeerTube/pull/3035)
1580 * Add content overlay for opened menu on touchscreens [@Kimsible in #3088](https://github.com/Chocobozzz/PeerTube/pull/3088)
1581 * Add alert and hide upload view when no upload is possible [@Kimsible in #2966](https://github.com/Chocobozzz/PeerTube/pull/2966)
1582 * Allow sorting notifications by unread/newest **@rigelk**
1583 * Add open-graph and twitter-card metas for accounts, video-channels and playlists urls [@Kimsible in #2996](https://github.com/Chocobozzz/PeerTube/pull/2996)
1584 * Add channel name to create-user admin form [@Kimsible in #2984](https://github.com/Chocobozzz/PeerTube/pull/2984)
1585 * Support Kabile for video languages/captions
1586 * Translate page titles
2f161df1 1587 * Add `.ac3`, `.aac`, `.qt`, `.mqv`, `.3gpp`, `.3gpp2`, `.m1v`, `.mpg`, `.mpe`, `.vob` extensions support on upload if transcoding is enabled **@rigelk**
9a0d813e 1588 * Performance:
2f161df1 1589 * Improved front-end performance by reducing localized bundle sizes (~ 2MB instead of 3MB for the homepage)
9a0d813e
C
1590 * Optimize comments RSS feed SQL query
1591 * Optimize default sort SQL query when listing videos
1592
1593
1594### Bug fixes
1595
1596 * Handle webp images from youtube-dl
1597 * Fix embed p2p warning localization
1598 * iOS fixes:
1599 * Fix HLS only videos playback
1600 * Fix fullscreen
1601 * Fix iPad desktop mode playback
1602 * Try to fix autoplay with iOS/Safari
1603 * Fix anonymous user theme
1604 * Fix player hotkeys after mouse interaction
1605 * Fix resolution transcoding for portrait videos
1606 * Do not display videojs poster when video is starting to avoid blinking effect [@Kimsible in #3056](https://github.com/Chocobozzz/PeerTube/pull/3056)
1607 * Correctly scroll to anchors in my-settings [@Kimsible in #3032](https://github.com/Chocobozzz/PeerTube/pull/3032)
1608 * Forbid reset password links reuse
1609 * Fix low default resolution on webtorrent videos
1610 * Fix instance features table responsive in about page [@test2a in #3090](https://github.com/Chocobozzz/PeerTube/pull/3090)
1611 * Fix playlist element deletion/edition in my account
1612 * Fix video playlist playback resuming
1613 * Correctly display error message for Internet Explorer
1614 * Fix videos RSS feed when HLS only is enabled
2af1f9be
C
1615 * Add site_name to opengraph tags
1616
1617
1618**Since v2.4.0-rc.1**
1619
1620### Bug fixes
1621
1622 * Add site_name to opengraph tags
1623 * Fix privacy/channel select on upload
1624
9a0d813e 1625
73f07d38
C
1626## v2.3.0
1627
1628**Since v2.2.0**
b512a845
C
1629
1630### IMPORTANT NOTES
1631
99d031a2 1632 * Add `client_overrides` directory in configuration file. **You must configure it in your production.yaml**
d9b068ca
C
1633 * Deprecate `/videos/abuse` endpoint.
1634A new endpoint to report videos will be created in PeerTube 2.4 and will also allow to report accounts and comments (`/videos/abuse` will be removed in 3.0)
b512a845
C
1635 * Renamed videos blacklist feature to videos blocks/blocklist
1636
1637
1638### Documentation
1639
1640 * Add feeds routes to the openapi spec **@rigelk**
1641 * Add notifications routes to the openapi spec **@rigelk**
1642 * Add redundancy routes to the openapi spec **@rigelk**
1643 * Add plugins routes to the openapi spec **@rigelk**
1644 * Add examples, descriptions and missing filters for abuses routes in the openapi spec **@rigelk**
1645 * Update CentOS insutructions in dependencies.md [@cgarwood82 in 2904](https://github.com/Chocobozzz/PeerTube/pull/2904)
1646
1647### Maintenance
1648
1649 * Switched image processing library from native dependency `sharp` to pure JS implementation `jimp`. Admins don't have to compile `sharp` anymore and `jimp` is lighter
1650 * Provide specific engine boundaries for NodeJS and Yarn [@rigelk in 0c4bacb](https://github.com/Chocobozzz/PeerTube/commit/0c4bacbff53bc732f5a2677d62a6ead7752e2405)
1651 * Add ability to set `database.name` config option [@gramakri in #2898](https://github.com/Chocobozzz/PeerTube/pull/2898)
1652
1653
1654### Docker
1655
1656 * Fix `POSTGRES` env variables in docker-compose ([@kimsible in #2538](https://github.com/Chocobozzz/PeerTube/pull/2538/files))
1657 * Fix OpenDKIM permissions in docker-compose setup [@kimsible in #2868](https://github.com/Chocobozzz/PeerTube/pull/2868)
1658
1659
1660### Official PeerTube plugins
1661
1662 * [Auto block videos (alpha)](https://framagit.org/framasoft/peertube/official-plugins/-/tree/master/peertube-plugin-auto-block-videos)
1663
1664
99d031a2
C
1665### Plugins/Themes/Embed API
1666
1667 * Add ability to override client assets: logo - favicon - PWA icons - PWA manifest name and description [@kimsible in #2897](https://github.com/Chocobozzz/PeerTube/pull/2897)
1668
b512a845
C
1669### Features
1670
1671 * :tada: Add global search support (has to be explicitely enabled by admins)
1672 * :tada: Add ability for admins to display a banner on their instance
1673 * :tada: Support Vietnamese and Kabyle languages. Also re-establish Occitan language locale despite lack of support in Angular
1674 * Federation:
1675 * Make federation of unlisted videos an instance-level server preference [@Tak in #2802](https://github.com/Chocobozzz/PeerTube/pull/2802)
1676 * Sort ActivityPub video object files by resolution in descending order (fix issue with Pleroma)
1677 * Send complete video description in ActivityPub video objects
1678 * Moderation:
1679 * Add ability to bulk delete comments of an account
1680 * Add ability to mute accounts from video miniature
1681 * Improve report modal: [@rigelk in #2842](https://github.com/Chocobozzz/PeerTube/pull/2842)
1682 * Add ability to provide predefined reasons
1683 * Embed of the video in the modal
1684 * Add ability to set a **startAt** parameter
1685 * Accessibility:
1686 * Add lang attribute in languages list menu [@Pandoraaa in #2832](https://github.com/Chocobozzz/PeerTube/pull/2832)
1687 * Add aria-hidden to non-descriptive icons [@Pandoraaa in #2844](https://github.com/Chocobozzz/PeerTube/pull/2844)
1688 * Change focus color instead of opacity of video play button [@Pandoraaa in #2845](https://github.com/Chocobozzz/PeerTube/pull/2845)
1689 * Add explicit step and aria-current attribute in register form [@Pandoraaa in #2861](https://github.com/Chocobozzz/PeerTube/pull/2861)
1690 * Add scope tags and aria-labels in instance features table [@Pandoraaa in #2866](https://github.com/Chocobozzz/PeerTube/pull/2866)
1691 * Add keyboard navigation in video watch page buttons [@Pandoraaa in #2854 with @rigelk](https://github.com/Chocobozzz/PeerTube/pull/2854)
1692 * Replaced softies icons by feather icons **@rigelk**
1693 * Support player hotkeys when it is not focused
1694 * Improve video miniature grids to fill the space as much as possible **@rigelk**
1695 * Add video miniature dropdown in *Discover* page
1696 * Add channel information in *My videos* page
1697 * Add videos count per channel in *My channels* page
1698 * Improve channel deletion warning by explaining how many videos will be deleted
1699 * Simplify navigation within most admin menus **@rigelk**
1700 * Tracker:
1701 * Log IP requesting unknown infoHash [@JohnXLivingston in
1702212e17a ](https://github.com/Chocobozzz/PeerTube/commit/212e17a1892162a69138c0b9c0a1bd88f95209a8)
1703 * Block IP of infohash spammers [db48de8](https://github.com/Chocobozzz/PeerTube/commit/db48de8597897e5024f8e9ed5acb1a8f40748169)
1704 * Allow limiting video-comments rss feeds to an account or video channel [@rigelk in 00494d6](https://github.com/Chocobozzz/PeerTube/commit/00494d6e2ae915741f47869dcd359d9728a0af91)
1705
1706### Bug fixes
1707
73f07d38
C
1708 * Fix default anonymous theme that should use instance default
1709 * Fix configuration form issue when auto follow index URL is empty
1710 * Fix URL import of some videos
1711 * Fix quota representation in profile settings **@rigelk**
1712 * Exclude 0p from auto webtorrent quality
1713 * Fix scroll on some pages with hash in URL
1714 * Fix search filter in video reports
1715 * Fix anonymous user nsfw policy
1716 * Don't cache embed HTML page resulting in broken embed after a PeerTube upgrade
1717 * Accessibility:
b512a845
C
1718 * Add lang in document to match current locale [@rigelk in #2822](https://github.com/Chocobozzz/PeerTube/pull/2822)
1719 * Prevent duplicate id attributes for `.svg` [@rigelk in #2822](https://github.com/Chocobozzz/PeerTube/pull/2822)
1720 * Fix headings order or add missing ones [@Pandoraaa in #2871](https://github.com/Chocobozzz/PeerTube/pull/2871)
1721 * Remove uneccessary details to link titles [@Pandoraaa in #2879](https://github.com/Chocobozzz/PeerTube/pull/2879)
73f07d38
C
1722 * Fix accessibility action buttons and display on imports and followers list [@kimsible in #2986](https://github.com/Chocobozzz/PeerTube/pull/2986)
1723 * Fix iOS player with HLS-only videos
1724 * Fix action buttons selection mode styles [@kimsible in #2983](https://github.com/Chocobozzz/PeerTube/pull/2983)
1725
1726
1727**Since v2.3.0-rc.1**
1728
1729### Bug fixes
1730
1731 * Fix broken locales
1732 * Fix embed URL in share modal
1733 * Handle webp images from youtube-dl
1734 * Fix iOS player with HLS-only videos
1735 * Fix popup issues on video miniature click when searching on the global index
1736 * Fix username in password-reset email [@kimsible in #2960](https://github.com/Chocobozzz/PeerTube/pull/2960)
1737 * Fix maximized icon padding in markdown textarea [@kimsible in #2963](https://github.com/Chocobozzz/PeerTube/pull/2963)
1738 * Fix action buttons selection mode styles [@kimsible in #2983](https://github.com/Chocobozzz/PeerTube/pull/2983)
1739 * Fix user creation in admin [@kimsible in #2985](https://github.com/Chocobozzz/PeerTube/pull/2985)
1740 * Fix accessibility action buttons and display on imports and followers list [@kimsible in #2986](https://github.com/Chocobozzz/PeerTube/pull/2986)
b512a845
C
1741
1742
f3e887e5
C
1743## v2.2.0
1744
1745**Since v2.1.0**
1109826d
C
1746
1747## IMPORTANT NOTES
1748
1749 * **/!\ VERY IMPORTANT /!\\** We added a unique index on actors usernames to fix some federation bugs.
1750 Please check now if you have conflicts:
1751 * Go inside your database using `sudo -u postgres psql peertube_prod` and run `select "preferredUsername" from actor where "serverId" is null group by "preferredUsername" having count(*) > 1;`
1752 * If you have some results, it seems you have duplicate channels/accounts.
1753 For every entry, you'll have to change the preferredUsername of the entry you want (so they are unique).
1754 The updated actors could have some federations issues
1755 * Changed `auto_follow_index` setting configuration: you now have to use the complete URL in `index_url`.
ec401ba0
RK
1756 If you used the default one, you now need to use `https://instances.joinpeertube.org/api/v1/instances/hosts`.
1757 This way, you can also use a direct raw URL (Gitlab, Github, pastebin, etc.) using [a simple text format](https://framagit.org/framasoft/peertube/instances-peertube#peertube-auto-follow) and easily maintain small communities or instance recommendation lists.
1109826d
C
1758 * PeerTube requires NodeJS v10 or v12
1759
1760### CLI tools
1761
f44cd95c 1762 * Add redundancy CLI: https://docs.joinpeertube.org/maintain/tools#peertube-redundancyjs
1109826d
C
1763 * Add ability to pass remaining options to youtube-dl binary in peertube-import script ([@drzraf](https://github.com/drzraf))
1764
1765### Docker
1766
35fbb418 1767 * **Important:** Fix HLS storage configuration ([@xcffl](https://github.com/xcffl)): https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/config/production.yaml#L48
1109826d
C
1768 * Add DKIM support to Docker ([@kimsible](https://github.com/kimsible))
1769
1770### Maintenance
1771
c5c95361 1772 * Add nginx configuration to redirect videos to an S3 bucket ([@rigelk](https://github.com/rigelk)) and update of the [corresponding documentation](https://docs.joinpeertube.org/admin/remote-storage).
1109826d
C
1773
1774### Plugins/Themes/Embed API
1775
c5c95361 1776 * Add embed API (https://docs.joinpeertube.org/api/embed-player):
1109826d
C
1777 * `playbackState` can be `ended`
1778 * `playbackStatusUpdate` has a `duration` field
1779 * `setCaption` and `getCaptions` methods
c5c95361 1780 * Add client plugin hooks (https://docs.joinpeertube.org/api/plugins):
1109826d
C
1781 * `action:login.init`
1782 * `action:video-watch.video-threads.loaded`
1783 * `action:video-watch.video-thread-replies.loaded` ([@ipbc-dev](https://github.com/ipbc-dev))
c5c95361 1784 * Add server plugin hooks (https://docs.joinpeertube.org/api/plugins):
7d47ff90
C
1785 * `filter:api.video.pre-import-url.accept.result`
1786 * `filter:api.video.pre-import-torrent.accept.result`
1787 * `filter:api.video.post-import-url.accept.result`
1788 * `filter:api.video.post-import-torrent.accept.result`
1109826d
C
1789 * Add server helpers:
1790 * `database.query` to do SQL queries
1791 * `videos.removeVideo`
1792 * `config.getWebserverUrl`
1793 * `moderation.blockServer`, `moderation.unblockServer`, `moderation.blockAccount`, `moderation.unblockAccount`, `moderation.blacklistVideo`, `moderation.unblacklistVideo`
1794 * Add client helpers:
1795 * `notifier` to notify users using the toast component ([@kimsible](https://github.com/kimsible))
1796 * `showModal` to show a modal ([@kimsible](https://github.com/kimsible))
1797 * `markdownRenderer` to render markdown ([@kimsible](https://github.com/kimsible))
1798 * Add ability for plugins to define custom routes
1799 * Add ability for plugins to remove video/playlist privacies
1800 * Add ability for plugins to support additional auth methods
1801 * Add `onSettingsChange` support
1802
1803### Official PeerTube plugins
1804
1805 * [OpenID Connect](https://framagit.org/framasoft/peertube/official-plugins/-/tree/master/peertube-plugin-auth-openid-connect)
1806 * [LDAP](https://framagit.org/framasoft/peertube/official-plugins/-/tree/master/peertube-plugin-auth-ldap)
1807 * [SAML2](https://framagit.org/framasoft/peertube/official-plugins/-/tree/master/peertube-plugin-auth-saml2)
1808 * [Auto mute accounts/instances (alpha)](https://framagit.org/framasoft/peertube/official-plugins/-/tree/master/peertube-plugin-auto-mute)
1809
1810## Features
1811
ec401ba0
RK
1812 * :tada: Add HTML support in PeerTube emails, improve text-only version ([@rigelk](https://github.com/rigelk))
1813 * :tada: Add settings panel for anonymous users so they can change NSFW/P2P/autoplay/displayed videos policy ([@rigelk](https://github.com/rigelk))
1109826d
C
1814 * :tada: Improve redundancy management:
1815 * Add quick action on video miniature to mirror a specific video using the web interface
1816 * Add admin dashboard to list remote and local redundancies
1817 * Add ability for admins to define remote redundancies policy (accept/reject)
1818 * :tada: Many responsive & UI improvements:
1819 * Add maximized mode to markdown textarea ([@kimsible](https://github.com/kimsible))
ec401ba0 1820 * Detect and prevent sub menu overflow on small screens using a dropdown or a modal ([@rigelk](https://github.com/rigelk))
1109826d
C
1821 * Use a typeahead component for the search bar ([@rigelk](https://github.com/rigelk))
1822 * Use a modal instead of a dropdown menu in small/mobile views ([@kimsible](https://github.com/kimsible))
ec401ba0 1823 * Improve display of accounts and channel pages on small and medium screens ([@rigelk](https://github.com/rigelk))
1109826d
C
1824 * Improve forms layout ([@rigelk](https://github.com/rigelk))
1825 * Replace helpers icons with descriptions in admin configuration ([@rigelk](https://github.com/rigelk))
ec401ba0 1826 * Improve tables on mobile devices to prevent layout breakage ([@kimsible](https://github.com/kimsible))
1109826d
C
1827 * Fix multiple broken views on small screens ([@kimsible](https://github.com/kimsible))
1828 * Make video add tabs scrollable on small devices ([@kimsible](https://github.com/kimsible))
ec401ba0 1829 * Better use of space and icons in the plugin administration interface ([@rigelk](https://github.com/rigelk))
1109826d 1830 * Restyle toast notifications to tone down colors ([@rigelk](https://github.com/rigelk))
ec401ba0 1831 * Add/move links at the bottom of the left menu ([@rigelk](https://github.com/rigelk))
1109826d
C
1832 * Improve avatar upload UI ([@rigelk](https://github.com/rigelk))
1833 * Use progress bars for quota used in my account ([@rigelk](https://github.com/rigelk))
ec401ba0
RK
1834 * Add variable pagination size to all tables ([@rigelk](https://github.com/rigelk))
1835 * Add empty states to all tables ([@rigelk](https://github.com/rigelk))
1836 * Add generic text filter to all admin tables ([@rigelk](https://github.com/rigelk))
1837 * Fix `z-index` for tooltips, modals and their button to prevent overlaps ([@rigelk](https://github.com/rigelk))
1109826d 1838 * And many others!
94f0aef4 1839 * :tada: Improve video abuses admin table ([@rigelk](https://github.com/rigelk)):
ec401ba0
RK
1840 * Add in-text specific search filters
1841 * Reports can be linked to directly
1109826d 1842 * Rich reporter field
ec401ba0
RK
1843 * Add video thumbnail with abuse count for the video and position of the abuse in that list
1844 * Expand row to see more information about the video, the reporter and the reportee
1109826d
C
1845 * Add many actions (on the video, on the reporter)
1846 * Don't remove a report when a video is deleted
ec401ba0 1847 * Add information on a video abuse within its notification email ([@rigelk](https://github.com/rigelk))
1109826d
C
1848 * Add ability for video owners to delete comments
1849 * Add filter inputs for blacklisted videos and muted accounts/servers ([@rigelk](https://github.com/rigelk))
1850 * Video import improvements:
1851 * Support subtitles when importing a video ([@kimsible](https://github.com/kimsible))
1852 * Generate thumbnail/preview from URL and inject them in the video edit form ([@kimsible](https://github.com/kimsible))
1853 * Support `licence` and `language` fields
1854 * Support audio file imports
1855 * Support WMA and WAV audio files upload
1856 * Support drag and drop for video upload/torrent import ([@rigelk](https://github.com/rigelk))
1857 * Add video file metadata to download modal ([@rigelk](https://github.com/rigelk))
1858 * Add views stats for channels ([@rigelk](https://github.com/rigelk))
1859 * Add more information about the user in the edit form ([@rigelk](https://github.com/rigelk))
1860 * Server optimizations:
1861 * Add cache for some immutable models
1862 * Don't refresh videos when processing a view
1863 * Optimize view endpoint
ec401ba0 1864 * Completely rewritten SQL query to list videos
1109826d
C
1865 * Optimize SQL request when broadcasting an activity
1866 * Support infinite scrolling in the discover page
1867 * Add ability for admins to create a user without a password. PeerTube will send a reset password link to the user ([@JohnXLivingston](https://github.com/JohnXLivingston))
1868 * Improve embed title background opacity
1869 * Add origin instance URL in watch page
1870 * Clearer description of advanced search options
1871 * Always copy full actor handle in video channels view ([@rigelk](https://github.com/rigelk))
1872 * Add `sendmail` support ([@immae](https://github.com/immae)) to `smtp` configuration
1873 * Support `rel="me"` links in markdown
1874 * Use `originallyPublishedAt` from body on import if it exists
1875 * Sort outbox by *DESC createdAt* order
1876 * Increase video comment max length limit
1877
1878### Bug fixes
1879
1880 * Update default user theme to `instance-default` (Jorge Silva)
1881 * Fix user dropdown menu with long texts ([@rigelk](https://github.com/rigelk))
1882 * Fix load more comments on infinite scroll ([@ipbc-dev](https://github.com/ipbc-dev))
1883 * Fix CSP issue on WebFinger service ([@ZanyMonk](https://github.com/ZanyMonk))
1884 * Fix federation with Pleroma
7d47ff90
C
1885 * Fix Safari and iOS video play
1886 * Fix broken HLS player on old Edge
1109826d
C
1887 * Fix running HLS transcoding on existing HLS video
1888 * Fix user role edition
1889 * Fix video duration display
1890 * Fix error when adding a video in a playlist that does not have a thumbnail
1891 * Fix internal video display in playlists
1892 * Fix add comment in threads with deleted comments
1893 * Fix video codec in HLS playlist resulting in a broken video
1894 * Fix torrent import on Windows
1895 * Respect browser autoplay policy: don't autoplay videos in mute mode
1896 * Fix playlist videos autoplay/next play ([@rigelk](https://github.com/rigelk))
1897 * Fix admin table column invalid sort error
1898 * Fix outbox crawling max page/timeout (when an admin follows an instance with many videos)
1899 * Add CORS to ActivityPub routes
1900 * Fix my video imports table display when a video gets deleted ([@rigelk](https://github.com/rigelk))
1901 * Fix peertube/import scripts `comment-enabled`, `wait-transcoding` and `download-enabled` options
1902 * Don't leak unlisted videos in comments feed
1903 * Do not display deleted comments or muted accounts/instances in RSS feed
1904 * Fix HLS audio only transcoding
1905 * Fix playlist creation/update with a long description
1906 * Fix links of same instance in video description
1907 * Fix REPL script
f3e887e5
C
1908 * Fix broken client when cookies are disabled
1909 * Fix upload button color in dark mode
1910 * Explicit theme colors for inputs and textarea
1911 * Fix input/textarea themes
1912 * Fix action button icons theme
1913 * Fix grey color theme
1914 * Fix regression scrollbar bgcolor mdtextarea maximized-mode ([@kimsible](https://github.com/kimsible))
1915
1916
1917**since v2.2.0-rc.1**
1918
1919### Bug fixes
1920
1921 * Fix broken migration introduced in 2.2.0-rc.1 in docker
1922 * Fix sort icons in tables
1923 * Fix action button overflow in tables
1924 * Fix broken client when cookies are disabled
1925 * Fix upload button color in dark mode
1926 * Explicit theme colors for inputs and textarea
1927 * Fix input/textarea themes
1928 * Fix dropdown menu overflow
1929 * Fix notifications with dark theme
1930 * Fix action button icons theme
1931 * Fix grey color theme
1932 * Fix regression scrollbar bgcolor mdtextarea maximized-mode ([@kimsible](https://github.com/kimsible))
1933 * Fix broken emails
1934
1109826d
C
1935
1936
be9bb947
C
1937## v2.1.1
1938
1939### Bug fixes
1940
1941 * Fix youtube-dl in docker image
1942 * Fix playlist creation/update
1943 * Fix fetch of instance config in client
1944 * Manual approves followers only for the instance (and not accounts/channels)
1945 * Fix avatar update
1946 * Fix CSP for embeds
1947 * Fix scroll of the menu on mobile
1948 * Fix CPU usage of PostgreSQL
1949 * Fix embed for iOS
1109826d 1950
be9bb947 1951
2ba7f3d1
C
1952## v2.1.0
1953
1954**Since v2.0.0**
1955
1956### IMPORTANT NOTES
1957
1958 * **/!\ VERY IMPORTANT /!\\** You need to execute manually a script (can be executed after your upgrade, while your PeerTube instance is running) to create HLS video torrents:
1959 * `cd /var/www/peertube/peertube-latest && sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production node dist/scripts/migrations/peertube-2.1.js`
1960 * **/!\ VERY IMPORTANT /!\\** In the next PeerTube release (v2.2.0), we'll add a unique index on actors usernames to fix some federation bugs.
1961 Please check now if you have conflicts using:
1962 * Go inside your database using `sudo -u postgres psql peertube_prod` and run `select "preferredUsername" from actor where "serverId" is null group by "preferredUsername" having count(*) > 1;`
1963 * If you have some results, it seems you have duplicate channels/accounts.
1964 For every entry, you'll have to change the preferredUsername of the entry you want (so they are unique).
1965 The updated actors could have some federations issues
1966 * We now use Buster for the docker image, so the image name changed:
1967 * `production-stretch` becomes `production-buster`
1968 * `v2.x.x-stretch` becomes `v2.x.x-buster`
1969 * Users cannot create more than 20 channels now to avoid UX and actor name squatting issues
1970 * We added a warning if the `videos` directory is the same than the `redundancy` one in your configuration file: it can create some bugs
1109826d 1971
2ba7f3d1
C
1972### Documentation
1973
1974We added some sections in the documentation website:
1975
c5c95361
C
1976 * S3 remote storage: https://docs.joinpeertube.org/admin/remote-storage
1977 * Instances redundancy: https://docs.joinpeertube.org/admin/following-instances
1978 * Moderate your instance: https://docs.joinpeertube.org/admin/moderation
1979 * Customize your instance (install plugins & themes): https://docs.joinpeertube.org/admin/customize-instance
1980 * PeerTube logs (standard log/audit log): https://docs.joinpeertube.org/admin/logs
1981 * Mute accounts/instances: https://docs.joinpeertube.org/use/mute
1982 * Controlled player embed API: https://docs.joinpeertube.org/api/embed-player
2ba7f3d1
C
1983
1984### Docker
1985
1986 * Sticking to one env-var management system ([@Leopere](https://github.com/Leopere)) (See https://github.com/Chocobozzz/PeerTube/pull/2247)
1987 * Simplify Dockerfile and slim Docker image ([@Nutomic](https://github.com/nutomic))
1988 * Add HLS support in Docker container by using the latest Debian stable (Buster) image
1989
1990### Plugins/Themes API
1991
1992 * Add checkbox and textarea as possible input types for settings ([@rigelk](https://github.com/rigelk))
1993 * Add `isLoggedIn` helper to client plugins ([@rigelk](https://github.com/rigelk))
1994 * Add client plugin hooks:
1995 * `action:video-watch.player.loaded` with player instance
1996 * `action:video-watch.video.loaded` with a videojs instance
1997 * `action:signup.register.init` ([@rigelk](https://github.com/rigelk))
1998 * `filter:api.signup.registration.create.params` ([@rigelk](https://github.com/rigelk))
1999 * `filter:internal.video-watch.player.build-options.params`
2000 * `filter:internal.video-watch.player.build-options.result`
2001 * `filter:internal.common.svg-icons.get-content.params`
2002 * `filter:internal.common.svg-icons.get-content.result`
2003 * Add server plugins hooks:
2004 * `action:api.user.blocked`
2005 * `action:api.user.unblocked`
2006 * `action:api.user.registered`
2007 * `action:api.user.created`
2008 * `action:api.user.deleted`
2009 * `action:api.user.updated`
2010 * `action:api.user.oauth2-got-token`
2011 * Accept `.` `_` and `0-9` characters in plugin names
2012
2013### Maintenance
2014
2015 * PeerTube moved translations from Zanata to Weblate. Here is the new translations website URL: https://weblate.framasoft.org/projects/peertube/
2016 * We now provide a JavaScript library to control a PeerTube embed: https://www.npmjs.com/package/@peertube/embed-api
f44cd95c 2017 * Add ability to generate HLS videos using `create-transcoding-job` script (see [the documentation](https://docs.joinpeertube.org/maintain/tools#create-transcoding-jobjs))
2ba7f3d1
C
2018 * Update nginx template: (you need to [update manually](https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/production.md#nginx))
2019 * Add streaming playlists endpoint
2020 * Add `client_body_temp_path` hint
2021 * Relax TLS/SSL ciphers hardening to allow Android 4.4.2 to use the PeerTube instance API
2022 * Add `maxFileSize`, `maxFiles` and `anonymizeIP` log options in configuration file
2023
2024### Features
2025
2026 * :tada: Add *internal* video privacy mode. *Internal* videos are only available to other logged in users of your instance, and are not federated
2027 * :tada: Add hyperlink video timestamps in comments & video descriptions ([@Lesterpig](https://github.com/lesterpig) & [@rigelk](https://github.com/rigelk))
2028 * :tada: Comments improvements:
2029 * Support basic markdown
2030 * Soft delete video comments instead of destroying them ([@alcalyn](https://github.com/alcalyn))
2031 * Add commentator name alongside fid for video comments ([@rigelk](https://github.com/rigelk))
2032 * Add a cancel button in comment form ([@rigelk](https://github.com/rigelk))
2033 * Show number of comments under a video in watch page ([@rigelk](https://github.com/rigelk))
2034 * Add user moderation dropdown ([@rigelk](https://github.com/rigelk))
2035 * Add ability to sort comments by *total replies* or *created date* ([@rigelk](https://github.com/rigelk))
2036 * Add *total replies from video author* indicator ([@rigelk](https://github.com/rigelk))
2037 * Comment name emphasis for video author ([@rigelk](https://github.com/rigelk))
2038 * Add "Watch later" button in video miniature overlay ([@rigelk](https://github.com/rigelk))
2039 * Add ability to transcode videos in an audio only video container ([@Yetangitu](https://github.com/Yetangitu))
2040 * Add playlist search input in *add to playlist* dropdown ([@rigelk](https://github.com/rigelk))
2041 * Add search bars for a user's videos and playlists ([@rigelk](https://github.com/rigelk))
2042 * Support playlists in share modal
2043 * Better UI for a better world:
2044 * Add play/pause bezels to the video player ([@rigelk](https://github.com/rigelk))
2045 * Use icons instead of buttons in watch page (like/dislike, support...) ([@rigelk](https://github.com/rigelk))
2046 * Improve *PeerTube* section in About page and add links to the documentation
2047 * Improve comment tree in Watch page
2048 * Improve dropdown box shadow ([@rigelk](https://github.com/rigelk))
2049 * Add channel avatar to watch view ([@rigelk](https://github.com/rigelk))
2050 * Improve likes-dislikes bar usability
2051 * Alter titles section header style ([@rigelk](https://github.com/rigelk))
2052 * Enhance jobs list display on smaller screens ([@alcalyn](https://github.com/alcalyn))
2053 * Add a button in the videos from subscriptions page to manage subscriptions ([@rigelk](https://github.com/rigelk))
2054 * Add duration to video attributes in watch view ([@rigelk](https://github.com/rigelk))
2055 * Add a message in the login form when signup is disabled for people that are looking for an account ([@rigelk](https://github.com/rigelk))
2056 * Add "Manage" button in owned account and channels pages ([@rigelk](https://github.com/rigelk))
2057 * Improve password input accessibility ([@rigelk](https://github.com/rigelk))
2058 * Add descriptions in moderation dropdown ([@rigelk](https://github.com/rigelk))
2059 * Performances improvements:
2060 * Lazy load categories, licences, languages and video/playlist privacies in the client
2061 * Only update remote actor avatar if the filename changed
2062 * Optimize transcoding by using the lowest resolution as input file
2063 * Speedup embed first paint
2064 * Optimize videos list SQL query
2065 * Optimize local videos list SQL query
2066 * Cache `peertube` instance actor SQL result
2067 * Cache HLS/WebTorrent InfoHash SQL result
2068 * Optimize notification endpoint on specific cases
2069 * Optimize "list my playlists" SQL query
2070 * Improve search filters: ([@rigelk](https://github.com/rigelk))
2071 * Add ability to sort results
2072 * Improve tags filter inputs
2073 * Add a button to reset filters
2074 * Improve autoplay: ([@rigelk](https://github.com/rigelk))
1109826d 2075 * Autoplay next video switch for both user and visitors
2ba7f3d1
C
2076 * Add *up next* screen on autoplay
2077 * Autoplay next video support for playlists
2078 * Add *next* video button to the player
2079 * Add loop setting when watching a playlist
2080 * Add option to download subtitles in download modal ([@rigelk](https://github.com/rigelk))
2081 * Add a button in account page to follow all account channels ([@rigelk](https://github.com/rigelk))
2082 * Add ability to search a video directly by its UUID
2083 * Case insensitive tags search
2084 * Add ability to disable WebTorrent (and only enable HLS) (**experimental and breaks federation with PeerTube instances < 2.1**)
2085 * Don't seed if the client is on a cellular network in the HLS player
2086 * Load HLS player in embed by default if enabled
2087 * Admin panels:
2088 * Add ability to sort by *state*, *score* and *redundancy allowed* columns in following/followers admin table
2089 * Add ability to filter per job type in admin
2090 * Add *Audit logs* section in admin Logs panel
2091 * Improve Media-RSS support ([@rigelk](https://github.com/rigelk))
2092 * Explicit the tag limit in video form ([@bikepunk](https://github.com/bikepunk))
2093 * Add a warning when uploading videos using root
2094 * Clearer video quota label in user settings
2095 * Pause the video when the user opens a modal
2096 * Handle basic HTML in account descriptions
2097 * Support `m4v` videos
2098 * Improve 4k resolution bitrate
2099 * Add missing hotkeys documentation in the watch page
2100 * Add a button to copy the channel handle ([@rigelk](https://github.com/rigelk))
2101 * Add server config to the nodeinfo metadata ([@rigelk](https://github.com/rigelk))
2102 * Improve notification popup interactivity ([@rigelk](https://github.com/rigelk))
2103
2104### Bug fixes
2105
2106 * Don't notify if the account in on a muted instance
2107 * Don't leak other notified addresses in notification emails
2108 * Allow the embed iframe to open links
2109 * Add missing button roles for the language chooser and keyboard shortcut menu items [@MarcoZehe](https://github.com/MarcoZehe)
2110 * Fix overflow when creating a channel
2111 * Fix "copy magnet URI" in player
2112 * Fix text overflow in menu
2113 * Fix player focus
2114 * Only display accepted followers/followings instances in about page
2115 * Fix brackets truncation in video description
2116 * Fix channel playlist miniatures overflow
2117 * Fix background color on some screens
2118 * Fix captions upload issue depending on the caption name
2119 * Fix file download when the video is private
2120 * Fix dropdown on video miniature for unlogged users
2121 * Fix video support field in update form
2122 * Fix video import having a long thumbnail url (Facebook for example)
2123 * Add correct HTTP status on not found video
2124 * Fix bug on login when username has a special character (`_` for example)
2125 * Fix plugin unregistration that did not remove properly its hooks ([@JohnXLivingston](https://github.com/JohnXLivingston))
2126 * Fix wrong audio only resolution label for hls
2127 * Fix AP icon URL for imported videos
2128 * Fix octet stream fallback for video ext
1109826d 2129
2ba7f3d1
C
2130**since v2.1.0-rc.1**
2131
2132### Bug fixes
2133
2134 * Fix wrong audio only resolution label for hls
2135 * Fix AP icon URL for imported videos
2136 * Fix embed on mastodon
2137 * Fix octet stream fallback for video ext
2138
2139
eeaeab4f
C
2140## v2.0.0
2141
2142**Since v1.4.1**
2143
2144### IMPORTANT NOTES
2145
2146 * Removed old JSON LD signature implementation. There will be some **federation incompatibilities** with forwarded activities sent
2147 by PeerTube instances < v2.0.0
2148 * Replaced configuration key `email.object` with `email.subject`: https://github.com/Chocobozzz/PeerTube/commit/916937d7daf386e4e2d37b2ca22db07b644b02df
2149
2150### Plugins/Themes API
2151
2152 * Add plugin hook on registration `filter:api.user.signup.allowed.result`
2153
2154### Docker
2155
2156 * Fix traefik version docker compose (**you need to update your `docker-compose.yml` file**: https://github.com/Chocobozzz/PeerTube/commit/f1b38883922fd59b36f093e44a5091e090d20862)
2157
2158### Maintenance
2159
8b7bd166 2160 * Add `--tmpdir`, `--first`, `--last` and `--verbose [level]` parameters to peertube-import-videos script ([@Yetangitu](https://github.com/Yetangitu))
eeaeab4f
C
2161 * Improve REST API documentation ([@frankstrater](https://github.com/frankstrater))
2162 * Improve plugin management documentation
2163
2164### Features
2165
2166 * Better instance admin responsibility:
2167 * Add ability to set more information about your instance. This will be used in the future on https://joinpeertube.org to help people find
2168 the appropriate PeerTube instance on which they can register:
2169 * Main **Categories**
2170 * **Languages** you/your moderators speak
2171 * **Code of Conduct**
2172 * **Moderation information** (who moderates your instance, NSFW policy etc)
2173 * Who is **behind the instance** (a single person? non-profit?)
2174 * Why did the admin **create this instance**
2175 * How long the admin plan to **maintain the instance**
2176 * How the administrator **will finance** the PeerTube server
2177 * **Hardware** information
2178 * Add these information in the about page and in the signup page
2179 * Add a welcome modal at first admin login with some explanations of PeerTube and some useful links
2180 * Add warning modal when administrators enable or enabled signup but did not fill some important instance information
2181 (for now the instance **name**, **terms**, **administrator** and **maintenance lifetime** information)
2182 * Add ability to automatically follow back other instances
2183 * Add ability to automatically follow [the public registry](https://instances.joinpeertube.org/) instances
2184 * Add *Most liked videos* page ([@alcalyn](https://github.com/alcalyn))
2185 * Add a drag&drop delay on playlist videos to allow user scroll on small screens ([@alcalyn](https://github.com/alcalyn))
2186 * Allow to toggle video publication date to display absolute date ([@alcalyn](https://github.com/alcalyn))
2187 * Add statistics in about page ([@alcalyn](https://github.com/alcalyn))
2188 * Improve the *feature table* in about page
2189 * Add contributors in about page
2190 * Clearer warning of IP address leaking on embedded videos ([@robinkooli](https://github.com/robinkooli))
2191 * Case insensitive search on video tags
2192 * Add video name in "video publish notification"
2193 * Add ability to autoplay next recommended video (opt in) ([@LoveIsGrief](https://github.com/LoveIsGrief))
2194 * Add link behind the subscribe via RSS button ([@frankstrater](https://github.com/frankstrater))
2195 * Support text/plain caption files
2196 * Speedup theme injection
2197 * Add ability to enable HLS in the admin panel
1109826d 2198
eeaeab4f
C
2199### Bug fixes
2200
2201 * Fix audio upload
2202 * Handle video reports from mastodon
2203 * Fix videos redundancy exceeding the limit
2204 * Fix search when user defined video languages in their preferences
2205 * Don't quick transcode with the wrong pixel format
2206 * Hide videos abuses of muted accounts
2207 * Fix account avatar widths
2208 * Fix default `commentsEnabled` and `downloadEnabled` values on video upload/import ([@frankstrater](https://github.com/frankstrater))
2209 * Disable auto complete of email field when editing another user information in admin panel ([@Knackie](https://github.com/Knackie))
2210 * Fix federation issues with some actors (that have long descriptions, or missing optional AP fields)
2211 * Remove down redundancy endpoints in HLS player
2212 * Fix user notifications with multiple opened tabs
2213 * Replace "overview" by "discover" in webpage titles
2214 * Clearer IP debug message in admin panel
2215 * Fix checkbox styles when using a theme
2216 * Don't redirect on verify account page after login
2217 * Fix player captions menu after choosing a subtitle
2218 * Fix CLI scripts with URLs ending with a `/`
2219 * Fix `--since` and `--until` timezone in `peertube-import-videos` script
2220 * Avoid circular error in logger
2221 * Fix start/stop of first element when loading a playlist
1109826d 2222
eeaeab4f
C
2223***Since v2.0.0-rc.1***
2224
2225### Features
1109826d 2226
eeaeab4f
C
2227 * Improve welcome/warning modals
2228 * Add ability to enable HLS in the admin panel
1109826d 2229
eeaeab4f
C
2230### Bug fixes
2231
2232 * Fix auto index follow
2233 * Fix CLI scripts with URLs ending with a `/`
8c8f00e0 2234 * Fix `--since` and `--until` timezone in `peertube-import-videos` script ([@fflorent](https://github.com/fflorent))
eeaeab4f
C
2235 * Avoid circular error in logger
2236 * Fix start/stop of first element when loading a playlist
1109826d 2237
eeaeab4f 2238
e0d8e5d6
C
2239## v1.4.1
2240
2241### Bug fixes
2242
2243 * Fix too fast redundancy eviction
2244 * Fix broken auto blacklist page
2245 * Rename signup steps
2246 * Fix menu x overflow
2247
2248
d8319c63
C
2249## v1.4.0
2250
ee41d06e 2251**Since v1.3.1**
d8319c63
C
2252
2253### IMPORTANT NOTES
2254
35fbb418 2255 * **Important:** Add `plugins` directory in configuration file. **You should configure it in your production.yaml**
d8319c63
C
2256 * **Important:** Deprecate NodeJS 8 (support ends on [December 2019](https://github.com/nodejs/Release#release-schedule)). Please upgrade to NodeJS 10.
2257 * **Important:** Updated nginx template (you need to [update manually](https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/production.md#nginx))
2258 * Fix long server responses on dual stack servers: https://github.com/Chocobozzz/PeerTube/commit/fd2ddcae8ff4eb10bf7168ac3c8801f06b37627f
2259 * Improve images HTTP cache: https://github.com/Chocobozzz/PeerTube/commit/c928e1364fbdff87f27fd982710b95426a250491
2260 * **Important:** With the new theme system, we removed the dark mode button. Your administrator has to install [the dark theme](https://framagit.org/framasoft/peertube/official-plugins/tree/master/peertube-theme-dark)
2261 from their admin panel, and then users can choose this theme in their settings
2262 * Changed the playlist REST API to fix various issues. See https://github.com/Chocobozzz/PeerTube/pull/1998 for more information
2263 * Removed magnet URI support in download modal since most of the BitTorrent clients do not understand the `xs` parameter
2264 * Renamed `Overview` page to `Discover`
2265
2266### Security
2267
2268 * Moderators can only create and update regular users (thanks GGC-Project)
2269
2270### Maintenance
2271
2272 * Create a dedicated `package.json` for CLI tools to reduce server dependencies size
2273 * Add ability to set root password by environment at first start ([@darnuria](https://github.com/darnuria))
2274 * Removed unused `uuid` actor field (we already have a unique identifier that is the `preferredUsername`)
2275 * Add ability to disable PeerTube log rotation ([@NassimBounouas](https://github.com/NassimBounouas))
2276 * Speedup font display ([@BO41](https://github.com/BO41))
2277 * Improve static files HTTP cache
2278 * Add `--since` and `--until` parameters to import videos script to easily sync external channels ([@fflorent](https://github.com/fflorent))
2279 * Optimize `/watch/:uuid` endpoint
2280 * Optimize Sequelize (SQL ORM) queries generation (consumes less CPU)
2281 * Prune script is faster and can prune avatar files
ee41d06e 2282
d8319c63
C
2283### Features
2284
2285 * :tada: Support Finnish, Greek and Scottish Gaelic languages
c5c95361 2286 * :tada: Add basic plugins and themes support (**beta**): https://docs.joinpeertube.org/contribute/plugins
d8319c63
C
2287 * Install plugins or themes from the administration panel
2288 * Choose a default theme for your instance
2289 * Users can choose the theme they want among the list of themes their administrator installed
2290 * :tada: Add ability to upload audio files: PeerTube will merge the audio file and the thumbnail to create a video
2291 * Multi step registration:
2292 * Add ability for new users to create their default channel
2293 * Guess the account username/channel username according to their display name
2294 * Add explanations about what the purpose of a username/channel name is, and what a channel is
2295 * Improve account video channels page:
2296 * Set it as the default page for the account page in order to avoid confusion between the account homepage and the video channel homepage
2297 * Display channels in rows with some of their videos
2298 * Support more URL parameters in embeds: `muted`, `loop`, `peertubeLink`
2299 * Redesign share modal and add customizations:
2300 * Start/stop at a specific timestamp
2301 * Automatically play/mute/loop the video
2302 * Set a specific subtitle by default
2303 * Group subscriptions and recently added videos in chronological order
2304 * Add ability for users to change their email address
2305 * Add ability to update the support field of all channel videos when we update the channel support field
2306 * Add a language filter in user preferences to display only videos in specific languages
2307 * Add instance follows list in a dedicated tab in the "About" page
2308 * Add ability to set to private a public/unlisted video or video playlist
2309 * Transcode in the `tmp` directory for s3fs compatibility ([@libertysoft3](https://github.com/libertysoft3))
2310 * Add a button to copy account username ([@NassimBounouas](https://github.com/NassimBounouas))
2311 * Redirect to "Local videos" page when going to the `peertube` account page
2312 * Rearrange search filter options ([@realityfabric](https://github.com/realityfabric))
2313 * Close modal after clicking on download ([@LeoMouyna](https://github.com/LeoMouyna))
2314 * Add ability for admins to customize emails object prefix and body signature ([@yohanboniface](https://github.com/yohanboniface))
2315 * Support 4K transcoding
2316 * Add link of the follower profile in administration ([@NassimBounouas](https://github.com/NassimBounouas))
2317 * Add subject field in contact form ([@NassimBounouas](https://github.com/NassimBounouas))
2318 * Add rate limit to registration and API endpoints
2319 * Add "video quota used" sortable column in user admin list ([@darnuria](https://github.com/darnuria))
2320 * Automatically update the playlist thumbnail according to the video at the first position (if the user did not set a specific thumbnail)
2321 * Automatically remove dead followings
2322 * Federate comment deletion if the comment was deleted by the video owner
ee41d06e 2323
d8319c63
C
2324### Bug fixes
2325
2326 * Fix transcoding information in features table ([LiPek](https://github.com/LiPeK))
2327 * Fix tools auth with remote instances
2328 * Fix various issues in upload/import scripts
2329 * Fix redundancy exceeded quota
2330 * Fix login with email ([@NassimBounouas](https://github.com/NassimBounouas))
2331 * Fix quota display in features table
2332 * Fix transcoding help placement
2333 * Fix invisible videos in playlists
2334 * Fix HLS transcoding in lower resolutions
2335 * Fix various federation issues
2336 * Fix mute badge labels
2337 * Fix broken follow notification when the actor is deleted
2338 * Fix overflow and playlist block width in the watch page
2339 * Fix search results overflow on mobile
2340 * Fix infinite scroll on big screens
2341 * Fix start time on some HLS videos
2342 * Fix socket notification with multiple user tabs
2343 * Fix redundancy if the instance has already the file on disk
2344 * Fix image and plugin CSP
2345 * Fix video rows overflow
2346 * Dismiss modals on pop state
2347 * Go back when cancel NSFW modal
2348
2349
2350***Since v1.4.0-rc.1***
2351
2352### Features
2353
2354 * Add Finnish language support
2355
2356### Bug fixes
2357
2358 * Fix broken front end on Firefox ESR (60)
2359 * Fix prune storage script when using a same directory for multiple storage keys
2360 * Relax plugin `package.json` validation
2361 * Replace "overview" by "discover" in client titles
2362 * Change configuration: `email.object` becomes `email.subject`
2363 * Fix user creation by moderators
2364 * Fix video playlist element removal
2365 * Fix plugin card background color with dark theme
2366 * Fix lazy static route with unknown avatars (404 instead of 500)
2367 * Fix socket notification with multiple user tabs
2368 * Fix redundancy if the instance has already the file on disk
2369 * Fix image and plugin CSP
2370 * Fix video rows overflow
2371 * Dismiss modals on pop state
2372 * Go back when cancel NSFW modal
2373
2374
ba8d7ee1
C
2375## v1.3.1
2376
2377### Bug fixes
2378
2379 * Fix Mastodon remote interactions
2380 * Fix missing video download button
2381 * Fix error in video upload/update form when scheduling publication
2382 * Fix black theme on some pages
2383 * Fix video import if auto blacklist is enabled
ee41d06e 2384
ba8d7ee1 2385
41dad651
C
2386## v1.3.0
2387
2388**Since v1.2.0**
2389
2390### IMPORTANT NOTES
2391
2392 * **nginx** Remove `text/html` from `gzip_types`: https://github.com/Chocobozzz/PeerTube/commit/7eeb6a0ba4028d0e20847b846332dd0b7747c7f8 [@bnjbvr](https://github.com/bnjbvr)
2393 * Add `streaming_playlists` directory in configuration file. **You should configure it in your production.yaml**
ee41d06e
C
2394 * CSP configuration changed: it's now in a [dedicated section](https://github.com/Chocobozzz/PeerTube/blob/develop/config/production.yaml.example#L110)
2395
21289872 2396### Maintenance
41dad651
C
2397
2398 * Add GitPod support ([@jankeromnes](https://github.com/jankeromnes)) that could help people to contribute on PeerTube: https://github.com/Chocobozzz/PeerTube/blob/develop/.github/CONTRIBUTING.md#online-development
2399 * Add reminder to restart PeerTube in upgrade script ([@ldidry](https://github.com/ldidry))
2400 * Add argument to dockerfile to pass options to npm run build ([@NaPs](https://github.com/NaPs))
2401 * Add `NOCLIENT` env support to only install server dependencies. Example: `NOCLIENT=true yarn install --pure-lockfile` ([@rigelk](https://github.com/rigelk))
2402
2403### Docker
ee41d06e 2404
35fbb418
C
2405 * **Important:**: Add host network mode to the reverse proxy section (without this, it could break videos views and P2P: https://github.com/Chocobozzz/PeerTube/issues/1643#issuecomment-464789666)
2406 * **Important:**: Add a network section to [docker-compose.yml template](https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/docker-compose.yml)
41dad651
C
2407and update your [.env](https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/.env#L8) to fix IP forwarding issue ([@Nutomic](https://github.com/nutomic))
2408 * Fix SMTP default configuration ([@Nutomic](https://github.com/nutomic))
2409
2410### Features
ee41d06e 2411
41dad651
C
2412 * Add video playlist support
2413 * A user has a default `Watch-later` playlist
2414 * A user can create private, unlisted or public playlists
2415 * An element in this playlist can start or stop at specific timestamps (you can create some kind of zapping for example)
2416 * The difference with a channel is that you cannot subscribe to a playlist, but you can add videos from any other user in your playlist.
2417 It's useful to organize your videos, or create a playlist of videos you like and share the link on the web etc
2418 * Add quarantine videos (auto blacklist videos on upload) feature :tada: ([@joshmorel](https://github.com/joshmorel))
2419 * Add Japanese & Nederlands & Português (Portugal) support
2420 * Add experimental HLS support
2421 * Better playback
2422 * Better bandwidth management (for both client & server)
2423 * Needs to store another video file per resolution, so enabling this option multiplies the videos storage by 2 (only new uploaded videos, this is not retroactive)
2424 * Requires ffmpeg >= 4
2425 * Better instance's followers management:
2426 * Add ability to remove an instance's follower
2427 * Add ability to forbid all new instance's followers
2428 * Add ability to manually approve new instance's followers
2429 * Add notification on new instance's follower
2430 * Improve UI:
2431 * Increase player default height
2432 * Reduce big play button border width
2433 * Increase thumbnail sizes
2434 * Add hover effect on video miniature
2435 * Add "my library" section in menu
2436 * Add missing icons in some buttons/dropdown
2437 * 2 rows per overview section
2438 * Increase video thumbnail blur ([@Zig-03](https://github.com/Zig-03))
2439 * Improve video miniatures list on mobile
2440 * Add animation when opening user notifications
2441 * Add ability for admins to disable the tracker (and so the P2P aspect of PeerTube, in order to improve users privacy for example)
2442 * Add original publication date attribute to videos, and add ability to filter on it (Andrés Maldonado)
2443 * Add video miniature dropdown
2444 * Add ability for admins to declare their instance as dedicated to NSFW content
2445 * Improve SEO (there is still work to be done)
2446 * Login is now case insensitive (if using official web client)
2447 * Add NSFW policy & users signup policy & auto blacklist strategy in features table in about page
2448 * Improve comment deletion warning
2449 * Restore videos list component on history back
2450 * Add ability to consult server logs in admin
2451 * Allow administrators to change/reset a user's password ([@rigelk](https://github.com/rigelk))
2452 * Add a debug page to help admins to fix IP configuration issues
2453 * Add ability for admins to limit users videos history size
2454 * Add ability for admins to delete old remote videos views (reduce database size)
2455 * Optimize video update page load
2456 * Less refresh jobs
2457 * Cleanup invalid AP rates/comments/shares
2458 * Better videos redundancy config error handling
2459 * Check emails are enabled if the admin requires email verification ([@joshmorel](https://github.com/joshmorel))
2460 * Add `Add /accounts/:username/ratings endpoint` ([@yohanboniface](https://github.com/yohanboniface))
2461 * Allow to control API rates limit from configuration ([@yohanboniface](https://github.com/yohanboniface))
2462
2463### Bug fixes
2464
2465 * Don't notify prior to scheduled update ([@joshmorel](https://github.com/joshmorel))
2466 * Fix account description database error
2467 * Fix Pleroma follow
2468 * Fix greek label
2469 * Fix email notification for some users
2470 * Fix translation of "Copy magnet URI"
2471 * Fix negative seconds by displaying 0 instead [@zacharystenger](https://github.com/zacharystenger)
2472 * Fix URL in video import notification
2473 * Don't close help popover when clicking on it
2474 * Fix `tmp` directory cleanup
2475 * Fix custom CSS help
2476 * Fix JSONLD context
2477 * Fix privacy label display in upload form
2478 * Fix my account settings responsiveness
2479 * Fix keyboard icon transparency ([@gbip](https://github.com/gbip))
2480 * Fix contact admin button overflow
2481 * Wait config to be loaded before loading login/signup
2482 * Privacy is optional in upload API endpoint
2483 * Fix hotkeys help popup overflow
2484
2485***Since v1.3.0-rc.2***
2486
2487### Bug fixes
2488
2489 * Fix duplicates in playlist add component
2490 * Fix crash in files cache
2491 * Fix playlist view/update 403
2492 * Fix search with bad webfinger handles
1109826d 2493
2ed67a7d 2494
52f659f2
C
2495## v1.2.1
2496
3cc8f8cc 2497### Bug fixes
52f659f2 2498
35fbb418 2499 * **Important:** Fix invalid `From` email header in contact form that could lead to the blacklisting of your SMTP server
52f659f2
C
2500 * Fix too long display name overflow in menu
2501 * Fix mention notification when a remote account mention a local account that has the same username than yours
2502 * Fix access to muted servers table for moderators
2503 * Don't crash notification popup on bug
2504 * Fix reset password script that leaks password on invalid value
2505
2506
a3526828 2507## v1.2.0
b3079978
C
2508
2509### BREAKING CHANGES
2510
2511 * **Docker:** `PEERTUBE_TRUST_PROXY` env variable is now an array ([LecygneNoir](https://github.com/LecygneNoir))
a3526828 2512 * **Docker:** Check you have all the storage fields in your `/config/production.yaml` file: https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/config/production.yaml#L34
4d7d240c 2513 * **nginx:** Add redundancy endpoint in static file. **You should add it in your nginx configuration: https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/production.md#nginx**
a3526828 2514 * **nginx:** Add socket io endpoint. **You should add it in your nginx configuration: https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/production.md#nginx**
b3079978
C
2515 * Moderators can manage users now (add/delete/update/block)
2516 * Add `tmp` and `redundancy` directories in configuration file. **You should configure them in your production.yaml**
2517
2518### Maintenance
2519
2520 * Check free storage before upgrading in upgrade script ([@Nutomic](https://github.com/nutomic))
4d7d240c 2521 * Explain that PeerTube must be stopped in prune storage script
b3079978
C
2522 * Add some security directives in the systemd unit configuration file ([@rigelk](https://github.com/rigelk) & [@mkoppmann](https://github.com/mkoppmann))
2523 * Update FreeBSD startup script ([@gegeweb](https://github.com/gegeweb))
2524
2525### Docker
2526
2527 * Patch docker entrypoint to speed up the chown at startup ([LecygneNoir](https://github.com/LecygneNoir))
2528
2529### Features
2530
4d7d240c 2531 * Add Russian, Polish and Italian languages
b3079978
C
2532 * Add user notifications:
2533 * Notification types:
2534 * Comment on my video
2535 * New video from my subscriptions
2536 * New video abuses (for moderators)
2537 * Blacklist/Unblacklist on my video
2538 * Video import finished (error or success)
2539 * Pending video published (after transcoding or a scheduled update)
2540 * My account or one of my channel has a new follower
2541 * Someone (except muted accounts) mentioned me in comments
2542 * A user registered on the instance (for moderators)
2543 * Notification actions:
2544 * Add a web notification
2545 * Send an english email
2546 * Add contact form in about page (**enabled by default**)
2547 * Add ability to unfederate a local video in blacklist modal (**checkbox checked by default**)
b3079978
C
2548 * Support additional video extensions if transcoding is enabled (**enabled by default**)
2549 * Redirect to the last url on login
2550 * Add ability to automatically set the video caption in URL. Example: https://peertube2.cpy.re/videos/watch/9c9de5e8-0a1e-484a-b099-e80766180a6d?subtitle=ru
4d7d240c 2551 * Automatically enable the last selected caption when watching a video
b3079978 2552 * Add ability to disable, clear and list user videos history
b3079978 2553 * Add a button to help to translate peertube
4d7d240c 2554 * Add text in the report modal to explain to whom the report will be sent
b3079978
C
2555 * Open my account menu entries on hover
2556 * Explain what features are enabled on the instance in the about page
2557 * Add an error message in the forgot password modal if the instance email system is not configured
2558 * Add sitemap
2559 * Add well known url to change password ([@rigelk](https://github.com/rigelk))
2560 * Remove 8GB video upload limit on client side. There may still be such limit depending on the reverse proxy configuration ([@scanlime](https://github.com/scanlime))
2561 * Add CSP ([@rigelk](https://github.com/rigelk) & [@Nutomic](https://github.com/nutomic))
2562 * Update title and description HTML tags when rendering video HTML page
2563 * Add webfinger support for remote follows ([@acid-chicken](https://github.com/acid-chicken))
2564 * Add tooltip to explain how the trending algorithm works ([@auberanger](https://github.com/auberanger))
4d7d240c 2565 * Warn users when they want to delete a channel because they will not be able to create another channel with the same name
b3079978 2566 * Warn users when they leave the video upload/update (on page refresh/tab close)
4d7d240c 2567 * Set max user name, user display name, channel name and channel display name lengths to 50 characters ([@McFlat](https://github.com/mcflat))
b3079978
C
2568 * Increase video abuse length to 3000 characters
2569 * Add totalLocalVideoFilesSize in the stats endpoint
2570
3cc8f8cc 2571### Bug fixes
b3079978
C
2572
2573 * Fix the addition of captions to a video
2574 * Fix federation of some videos
2575 * Fix NSFW blur on search
2576 * Add error message when trying to upload .ass subtitles
2577 * Fix default homepage in the progressive web application
2578 * Don't crash on queue error
4d7d240c
C
2579 * Fix EXDEV errors if you have multiple mount points
2580 * Fix broken audio in transcoding with some videos
b3079978
C
2581 * Fix crash on getVideoFileStream issue
2582 * Fix followers search
2583 * Remove trailing `/` in CLI import script ([@HesioZ](https://github.com/HesioZ/))
2584 * Use origin video url in canonical tag
2585 * Fix captions in HTTP fallback
2586 * Automatically refresh remote actors to fix deleted remote actors that are still displayed on some instances
4d7d240c 2587 * Add missing translations in video embed page
b3079978
C
2588 * Fix some styling issues in dark mode
2589 * Fix transcoding issues with some videos
a3526828
C
2590 * Fix Mac OS mkv/avi upload
2591 * Fix menu overflow on mobile
2592 * Fix ownership button icons ([@joshmorel](https://github.com/joshmorel))
b3079978
C
2593
2594
556ec6d0
C
2595## v1.1.0
2596
ebb675b4 2597***Since v1.0.1***
556ec6d0 2598
8d00889b 2599### BREAKING CHANGES
b3079978 2600
8d00889b
C
2601 * **Docker:** `PEERTUBE_TRUST_PROXY` env variable is now an array ([LecygneNoir](https://github.com/LecygneNoir))
2602
556ec6d0
C
2603### Maintenance
2604
46e9407c
C
2605 * Improve REST API documentation ([@rigelk](https://github.com/rigelk))
2606 * Add basic ActivityPub documentation ([@rigelk](https://github.com/rigelk))
556ec6d0
C
2607 * Add CLI option to run PeerTube without client ([@rigelk](https://github.com/rigelk))
2608 * Add manpage to peertube CLI ([@rigelk](https://github.com/rigelk))
2609 * Make backups of files in optimize-old-videos script ([@Nutomic](https://github.com/nutomic))
2610 * Allow peertube-import-videos.ts CLI script to run concurrently ([@McFlat](https://github.com/mcflat))
2611
2612### Scripts
2613
2614 * Use DB information from config/production.yaml in upgrade script ([@ldidry](https://github.com/ldidry))
2615 * Add REPL script ([@McFlat](https://github.com/mcflat))
2616
2617### Docker
2618
2619 * Add search and import settings env settings env variables ([@kaiyou](https://github.com/kaiyou))
2620 * Add docker dev image ([@am97](https://github.com/am97))
2621 * Improve docker compose template ([@Nutomic](https://github.com/nutomic))
2622 * Add postfix image
2623 * Redirect HTTP -> HTTPS
2624 * Disable Træfik web UI
556ec6d0
C
2625
2626### Features
ee41d06e 2627
556ec6d0
C
2628 * Automatically resume videos if the user is logged in
2629 * Hide automatically the menu when the window is resized ([@BO41](https://github.com/BO41))
2630 * Remove confirm modal for JavaScript/CSS injection ([@scanlime](https://github.com/scanlime))
2631 * Set bitrate limits for transcoding ([@Nutomic](https://github.com/nutomic))
2632 * Add moderation tools in the account page
2633 * Add bulk actions in users table (Delete/Ban for now)
2634 * Add search filter in admin users table
2635 * Add search filter in admin following
2636 * Add search filter in admin followers
2637 * Add ability to list all local videos
2638 * Add ability for users to mute an account or an instance
2639 * Add ability for administrators to mute an account or an instance
2640 * Rename "News" category to "News & Politics" ([@daker](https://github.com/daker))
2641 * Add explicit error message when changing video ownership ([@lucas-dclrcq](https://github.com/lucas-dclrcq))
2642 * Improve description of the HTTP video import feature ([@rigelk](https://github.com/rigelk))
2643 * Set shorter keyframe interval for transcoding (2 seconds) ([@Nutomic](https://github.com/nutomic))
2644 * Add ability to disable webtorrent (as a user) ([@rigelk](https://github.com/rigelk))
2645 * Make abuse-delete clearer ([@barbeque](https://github.com/barbeque))
2646 * Adding minimum signup age conforming to ceiling GPDR age ([@rigelk](https://github.com/rigelk))
2647 * Feature/description support fields length 1000 ([@McFlat](https://github.com/mcflat))
2648 * Add background effect to activated menu entry
2649 * Improve video upload error handling
2650 * Improve message visibility on signup
2651 * Auto login user on signup if email verification is disabled
2652 * Speed up PeerTube startup (in particular the first one)
2653 * Delete invalid or deleted remote videos
2654 * Add ability to admin to set email as verified ([@joshmorel](https://github.com/joshmorel))
2655 * Add separators in user moderation dropdown
2656
2657### Bug fixes
2658
2659 * AP mimeType -> mediaType
2660 * PeerTube is not in beta anymore
2661 * PeerTube is not in alpha anymore :p
2662 * Fix optimize old videos script
2663 * Check follow constraints when getting a video
8b7bd166 2664 * Fix application-config initialization in CLI tools ([@Yetangitu](https://github.com/Yetangitu))
556ec6d0
C
2665 * Fix video pixel format compatibility (using yuv420p) ([@rigelk](https://github.com/rigelk))
2666 * Fix video `state` AP context ([tcitworld](https://github.com/tcitworld))
2667 * Fix Linked Signature compatibility
2668 * Fix AP collections pagination
2669 * Fix too big thumbnails (when using URL import)
2670 * Do not host remote AP objects: use redirection instead
2671 * Fix video miniature with a long name
2672 * Fix video views inconsistencies inside the federation
2673 * Fix video embed in Wordpress Gutenberg
2674 * Fix video channel videos url when scrolling
2675 * Fix player progress bar/seeking when changing resolution
2676 * Fix search tab title with no search
2677 * Fix YouTube video import with some videos
2678
ebb675b4 2679***Since v1.1.0-rc.1***
556ec6d0
C
2680
2681### Bug fixes
2682
2683 * Fix AP infinite redirection
2684 * Fix trending page
2685
2686
1c4e716e
C
2687## v1.0.1
2688
3aa5001e 2689### Security/Maintenance/Federation
ee41d06e 2690
1c4e716e
C
2691 * Add HTTP Signature in addition to Linked Signature:
2692 * It's faster
2693 * Will allow us to use RSA Signature 2018 in the future without too much incompatibilities in the peertube federation
1109826d 2694
26370ce4 2695
a21b1e00
C
2696## v1.0.0
2697
98d9ada2
C
2698### SECURITY
2699
2700 * Add more headers to HTTP signature to avoid actor impersonation by replaying modified signed HTTP requests (thanks Thibaut Girka)
a21b1e00
C
2701
2702### Bug fixes
2703
2704 * Check video exists before extending expiration
2705 * Correctly delete redundancy files
2706 * Fix account URI in remote comment modal ([@rigelk](https://github.com/rigelk))
2707 * Fix avatar update
2708 * Avoid old issue regarding duplicated hosts in database
2709
2710
bbc45810
C
2711## v1.0.0-rc.2
2712
2713### Bug fixes
2714
2715 * Fix config endpoint
2716
2717
e4b9deac
C
2718## v1.0.0-rc.1
2719
2720### Features
2721
2722 * Allow specification of channel ID in `peertube-upload.js` ([@anoadragon453](https://github.com/anoadragon453))
2723 * Show last commit hash alongside server version in footer ([@rigelk](https://github.com/rigelk))
2724 * Add comment feeds in watch page
2725
2726### Bug fixes
2727
2728 * Fix dnt route (yes again, but now we have unit tests for this route :D)
2729 * Check video channel name is unique when creating a new one
2730 * Fix video fps validator (prevent redundancy/refresh of some old videos)
2731 * Allow empty search on client side ([@rigelk](https://github.com/rigelk))
2732 * Correctly forward comment deletion
2733
2734
ba2a95d6
C
2735## v1.0.0-beta.16
2736
2737### BREAKING CHANGES
2738
2739 * Add prompt to upgrade.sh to install pre-release version ([@Nutomic](https://github.com/nutomic))
2740
2741### Features
2742
2743 * Add shortcuts icon in menu
2744 * Improve overview section titles
2745 * Check old password before change ([@BO41](https://github.com/BO41))
2a27c451 2746 * Adding frame-by-frame hotkey support in player ([@rigelk](https://github.com/rigelk))
ba2a95d6
C
2747
2748### Bug fixes
2749
2a27c451
C
2750 * Stop seeding torrents after a failed import
2751 * Fix player crashing the web browser
2752 * Fix player performance with small devices
2753 * Fix some untranslated strings
ba2a95d6
C
2754 * Fix video files duplicated when fps is null ([@rigelk](https://github.com/rigelk))
2755 * Fix video import of some youtube videos
2756 * Fix (long) video description when importing by url
2757 * Fix Mastodon federation with a comment reply
2758 * Correctly delete directories on import
2759 * Remove duplicated videos on unfollow/delete redundancy
2760 * Fix 404 on manifest
2761 * Hide useless error when destroying fake renderer
2762 * Display other videos on big screens on the right of the watch page
2763 * Fix no other videos displayed on some videos
2a27c451
C
2764 * Fix hidden advanced options in upload form
2765 * Fix message space on video upload cancel ([@rigelk](https://github.com/rigelk))
2766 * Fix error when updating many video captions
2767 * Fix "my account" subtitles
2768 * Fix error when clicking on the disabled publish button
2769 * Increase timeout on upload endpoint
2770 * Fix redundancy with videos already duplicated by another instance(s)
2771 * Correctly delete files on failed import
ee41d06e 2772
ba2a95d6 2773
3d446046
C
2774## v1.0.0-beta.15
2775
2776### Features
2777
2778 * Improve subscription button ([@rigelk](https://github.com/rigelk))
2779 * Display it for unlogged users
2780 * Add RSS feed
2781 * Allow remote follow
2782 * Allow remote comment ([@rigelk](https://github.com/rigelk))
2783 * Support Simplified Chinese ([@SerCom-KC](https://github.com/SerCom-KC))
2784
2785### Bug fixes
2786
2787 * Fix redundancy with old PeerTube torrents
2788 * Fix crash with `/static/dnt-policy/dnt-policy-1.0.txt` route
2789 * Fix redundancy totalVideos stats
2790 * Reduce video import TTL to 1 hour
2791 * Only duplicate public videos
ee41d06e 2792
3d446046 2793
00dd6642
C
2794## v1.0.0-beta.14
2795
2796### Features
2797
46e9407c 2798 * Video redundancy system (experimental)
00dd6642
C
2799 * Add peertube script (see [the doc](/support/doc/tools.md#cli-wrapper)) ([@rigelk](https://github.com/rigelk))
2800 * Improve download modal ([@rigelk](https://github.com/rigelk))
2801 * Add redirect after login ([@BO41](https://github.com/BO41))
2802 * Improve message when removing a user
2803 * Improve responsive on small screens
2804 * Improve performance:
16c73bb4
C
2805 * Overview endpoint
2806 * SQL requests of watch page endpoints
2807 * SQL requests of ActivityPub endpoints
2808 * Cache user token
2809 * Videos infinite scroll in the web browser
00dd6642
C
2810 * Add warning if one of the storage directory is in the peertube production directory
2811 * Auto focus first field on login ([@rigelk](https://github.com/rigelk))
2812 * Add chevron hotkeys to change playback rate ([@rigelk](https://github.com/rigelk))
2813
2814### Bug fixes
ee41d06e 2815
00dd6642
C
2816 * Fix 24 hours delay to process views
2817 * Fix tag search on overview page
2818 * Handle actors search beginning with '@'
2819 * Fix "no results" on overview page
2820 * Fix iOS player playback/subtitles menu
2821 * Fix description/comments that break the video watch page
2822 * Don't get recommended videos twice
2823 * Fix admin access to moderators
2824 * Fix nav tab and tag color in dark theme ([@rigelk](https://github.com/rigelk))
2825 * Fix help popover overflow ([@rigelk](https://github.com/rigelk))
2826 * Fix comment deletion with mastodon (only with new comments)
2827
2828
64eb8064
C
2829## v1.0.0-beta.13
2830
2831### Features
2832
2833 * Improve keyboard navigation ([@rigelk](https://github.com/rigelk))
2834 * Remember theme in local storage ([@rigelk](https://github.com/rigelk))
ee41d06e 2835
64eb8064
C
2836### Bug fixes
2837
2838 * Fix upgrade/installation on node 8.12 (bcrypt issue)
2839 * Fix video channel deletion
2840 * Fix video channel RSS
2841 * Fix video views increment
ee41d06e 2842
64eb8064 2843
65cb4bb4
C
2844## v1.0.0-beta.12
2845
2846**If you have not updated to v1.0.0-beta.10, see the v1.0.0-beta.10.pre.1 changelog, in particular how to upgrade**
2847
2848### BREAKING CHANGES
2849
ee41d06e 2850 * Users can now use the name they want for their channel.
65cb4bb4
C
2851 We will therefore favour the display of video channel handles/names instead of account in the future.
2852
2853### Documentation
2854
2855 * Add SECURITY.md document
2856 * Add TCP/IP tuning template to prevent buffer bloat/latency ([@scanlime](https://github.com/scanlime))
2857 * Add `parse-log` admin tool documentation
2858 * Improve README schemas ([@Edznux](https://github.com/edznux))
2859
2860### nginx template
2861
2862 * Add gzip support ([@scanlime](https://github.com/scanlime))
ee41d06e 2863
65cb4bb4 2864### Docker template
ee41d06e 2865
65cb4bb4
C
2866 * Add quota to the docker configuration values ([@kaiyou](https://github.com/kaiyou))
2867
2868### Features
2869
2870 * Add portuguese and swedish languages
2871 * Support user subscriptions
2872 * Add ability to search videos or channels with their URL/handle (can be opt-out by the admin)
2873 * Add "videos overview" page (pick randomly some categories/tags/channels and display their videos)
2874 * Add ability to set a name (left part of the handle) to a channel instead of UUID
2875 * Users can "give" their videos to other local users (WIP, feedback welcome) ([@grizio](https://github.com/grizio))
2876 * Add keyboard shortcuts (press `?` to see them) ([@rigelk](https://github.com/rigelk))
2877 * Add ability to set daily video upload quota to users ([@Nutomic](https://github.com/nutomic))
2878 * Add user email verification (can be opt-in by the admin) ([@joshmorel](https://github.com/joshmorel))
2879 * Improve video watch page style ([@rigelk](https://github.com/rigelk))
2880 * Trending page takes into account views from the last x days (defined by the admin in the configuration file)
2881 * Add "start at" checkbox in the video share modal
2882 * Add instance capabilities table in the signup page ([@rigelk](https://github.com/rigelk))
2883 * Improve video abuses display in admin ([@Nutomic](https://github.com/nutomic))
2884 * Add "my videos" shortcut in menu ([@LeoMouyna](https://github.com/LeoMouyna))
2885 * Support 0.75 and 1.25 playback speeds ([@Glandos](https://github.com/Glandos))
2886 * Improve error message on actor name conflict
2887 * Improve videos list/search SQL query (split it into 2 queries)
2888 * Make left menu show the scrollbar only on hover/focus ([@rigelk](https://github.com/rigelk))
2889 * Other videos column in watch page show related tagged videos if possible ([@jorropo](https://github.com/jorropo))
2890 * Password change errors more friendly ([@jorropo](https://github.com/jorropo))
2891 * Improve labels for video privacies (video upload/update)
2892 * Add theming via CSS custom properties ([@rigelk](https://github.com/rigelk))
2893 * Add dark theme ([@rigelk](https://github.com/rigelk))
2894 * Add input color to cope with browser themes ([@rigelk](https://github.com/rigelk))
2895
2896### Bug fixes
2897
2898 * Fix player video playback (videos never ends or infinite load after seeking)
2899 * Fix video URL import with videos having a small title
2900 * Make HSTS opt-in and leave it to the reverse-proxy ([@rigelk](https://github.com/rigelk))
2901 * Fix search results on mobile
2902 * Do not import live streaming
2903 * Fix NSFW filter when the instance decides to hide them and the user decides to list them
2904 * Delete highlighted comment too if needed
2905 * Fix ffmpeg auto thread admin configuration ([@jorropo](https://github.com/jorropo))
2906 * ActivityPub: use height instead of width to represent the video resolution
2907 * Fix thumbnail/preview in upload.js script
2908 * Fix import-videos.js duplicate detection
2909 * Fix occitan language label
ee41d06e 2910
65cb4bb4 2911
a4829f0f
C
2912## v1.0.0-beta.11
2913
2914**If you have not updated to v1.0.0-beta.10, see the v1.0.0-beta.10.pre.1 changelog, in particular how to upgrade**
2915
2916### Features
2917
3256a4a6 2918 * Add ability to import videos from a URL (YouTube, Dailymotion, Vimeo, raw file etc) or torrent file/magnet.
a4829f0f
C
2919 Should be explicitly enabled by the administrator in the configuration file
2920 * Add german, spanish, taiwan (traditional chinese) and occitan languages
2921 * Add ability to delete our account
2922 * Add ability to ban a user
2923 * Add ability to set a moderation comment to an abuse
2924 * Add state (pending, accepted, rejected) attribute to an abuse
2925 * Add ability to set a reason when blacklisting a video
2926 * Add ability to blacklist local videos
2927 * Improve abuse and blacklist tables
2928 * Add user quota used in users list
2929 * Tracker only accept known infohash (avoid people to use your tracker for files unrelated to PeerTube)
2930 * Add database pool configuration ([@rigelk](https://github.com/rigelk))
2931 * Add audit log ([@Nautigsam](https://github.com/Nautigsam))
3256a4a6 2932 * Add ffmpeg nice and auto thread ([@jorropo](https://github.com/jorropo))
a4829f0f
C
2933 * Upgrade to bootstrap 4
2934 * DNT support
2935
2936### Bug fixes
3256a4a6 2937
a4829f0f
C
2938 * Fix videos FPS federation
2939 * Cleanup request files on bad request
2940 * Handle truncated markdown links
2941 * Fix dropdown position in menu
2942 * Translate subtitle languages in player
2943 * Translate player according the language of the interface
2944 * Fix reset my password button ([@joshmorel](https://github.com/joshmorel))
2945
2946
d3736b8d
C
2947## v1.0.0-beta.10
2948
2949**See the v1.0.0-beta.10.pre.1 changelog, in particular how to upgrade**
2950
2951### Bug fixes (from beta.10.pre.3)
2952
2953 * Fix caption upload on Mac OS
2954
2955
cc6373e6
C
2956## v1.0.0-beta.10.pre.3
2957
2958**See the v1.0.0-beta.10.pre.1 changelog, in particular how to upgrade**
2959
2960### Bug fixes (from beta.10.pre.2)
2961
2962 * Try to fix the infinite creation of Delete actor jobs by deleting kue migration
2963 * Cleanup SQL indexes
2964 * Try to optimize SQL search query
2965 * Try to optimize videos list SQL query
2966 * Add more logs and fix logger when having an error
2967 * Move subscription helper in the account line in video watch page
2968 * Fix responsive on videos search
2969 * Refresh orphan actors
3256a4a6 2970 * Don't send a follow request if the follow was already accepted
cc6373e6
C
2971
2972
2da00d2a
C
2973## v1.0.0-beta.10.pre.2
2974
2975**See the v1.0.0-beta.10.pre.1 changelog, in particular how to upgrade**
2976
cc6373e6 2977### Bug fixes (from beta.10.pre.1)
2da00d2a
C
2978
2979 * Fix captions/subtitles freeze in player
2980 * Fix attribute label width in video watch page
2981 * Fix player playback in Chrome
2982 * Revert SQL optimization when listing videos: it breaks the connection pool of some instances
2983
2984
039fd8bc
C
2985## v1.0.0-beta.10.pre.1
2986
2987This version is a pre release because it contains many important changes, and requires manual steps before upgrading.
2988
6af6cf83 2989**Important:** Before upgrading run the following commands (no need to stop PeerTube) on your PeerTube database (in this example it's *peertube_prod*):
039fd8bc
C
2990
2991```
00ee545c
C
2992sudo -u postgres psql peertube_prod -c 'CREATE EXTENSION IF NOT EXISTS unaccent;'
2993sudo -u postgres psql peertube_prod -c 'CREATE EXTENSION IF NOT EXISTS pg_trgm;'
039fd8bc 2994```
0933bb4a
C
2995
2996You will need [PostgreSQL Contrib](https://www.postgresql.org/docs/9.6/static/contrib.html).
3256a4a6 2997
039fd8bc
C
2998### BREAKING CHANGES
2999
3000 * Require `unaccent` and `pg_trgm` PostgreSQL extension for the PeerTube database
3001 * `category` filter param is replaced by `categoryOneOf`
0933bb4a
C
3002 * Switch job queue to [Bull](https://github.com/OptimalBits/bull). **PeerTube will not migrate your old pending jobs in this new queue manager**
3003 * Update nginx template (you need to [update manually](https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/production.md#nginx))
039fd8bc 3004 * Update default cache size configurations
6104adc3 3005 * Update search API route: `/videos/search` becomes `/search/videos`
47c951b7 3006 * Needs Redis >= 2.8.18
3256a4a6 3007
039fd8bc
C
3008### Features
3009
3010 * Add ability to change the language of the interface (currently available: english, french, basque, catalan, czech and esperanto)
3011 * Subtitles/captions support (.srt and .vtt)
3012 * Add advanced search
3013 * Add ability to click on category/language/licence/tags in watch page
3014 * Improve explanations of P2P & Privacy section in about page
3015 * Avoid design latency when the admin set custom CSS
3016 * Add ability to update video channel avatar
3017 * Limit video resolution depending on the video element size (Nitesh Sawant)
3018 * Show "Other videos" on a <1300px viewport ([@Simounet](https://github.com/simounet))
3019 * Add QR code to share videos URL ([@DeeJayBro](https://github.com/DeeJayBro))
3020 * Add "agree to the terms" checkbox in registration form
3021 * Add tracker rate limiter
3022 * Add author URL in OEmbed response
3023 * Display username instead of email in menu
3024 * Clarifying what extensions are accepted for upload ([@rigelk](https://github.com/rigelk))
3025 * Thumbnail support for RSS feeds ([@rigelk](https://github.com/rigelk))
3026 * Open CORS on API and static resources ([@rezonant](https://github.com/rezonant)
3027 * B-adapt 1 and B-frames 16 on ffmpeg transcoding: ([@Anton-Latukha](https://github.com/Anton-Latukha)). See https://github.com/Chocobozzz/PeerTube/pull/774 for more information
3028 * Support Redis socket ([@rigelk](https://github.com/rigelk))
3029 * Improve video `start` param to support string times (for example: 2m42s))
3030 * Display table next/prev/first/last icons in admin tables
3031 * NodeInfo support ([@rigelk](https://github.com/rigelk))
3032 * Improve HTTP headers security ([@rigelk](https://github.com/rigelk))
3033 * Improve client accessibility (for screen reader users etc)
3034 * Optimize SQL requests (in particular the one to list videos)
3035 * Optimize images ([@jorropo](https://github.com/jorropo))
3036 * Add esperanto, lojban, klingon and kotava (audio/subtitle) languages
3037 * Allow uploads of videos <8GB (*experimental*)
3038 * Handle FPS > 30 (*experimental*)
3039
3040### Bug fixes
3041
3042 * Fix avatars/thumbnails update (cache issue)
3043 * Fix pagination on admin job table when changing the job state
3044 * Fix SQL transaction retryer log
3045 * Correctly handle error when remote instance is down
3046 * Fix account videos URL when scrolling
3047 * Avoid commenting twice by disabling comment submit button when sending the comment
3048 * Reset confirm component input when closing it
3049 * Fix video speed when video resolutions changes ([@grizio](https://github.com/grizio))
3050 * Disable hotkeys modifiers for numbers ([@rigelk](https://github.com/rigelk))
3051 * Reset published date on video publish (scheduled or after a transcoding)
3052 * Avoid 404 title on the first page load
3053 * Fix forgot password message regarding email
3054 * Remove scroll to top when closing the menu ([@ebrehault](https://github.com/ebrehault))
3055 * Use UUID for channel link in watch page
3056
3057### Docker
3058
3059 * Add PEERTUBE_SMTP_DISABLE_STARTTLS config env
3256a4a6 3060
039fd8bc 3061
7ba442d4
C
3062## v1.0.0-beta.9
3063
3064### Features
3065
3066 * Theater/Cinema mode in player
3067 * Add ability to wait transcoding before publishing it
3068 * Add ability for uploaders to schedule video update
3069 * Add time display to see where we seek the video
3070 * Add title in player peers info to show total downloaded/uploaded data
3071 * Provide magnet URI in player and download modal ([@rigelk](https://github.com/rigelk))
11fa7d39 3072 * Add warning if the domain name is different from the one of the first start of Peertube
7ba442d4
C
3073 * Add resolution to create-transcoding-job script ([@fflorent](https://github.com/fflorent))
3074
3075### Bug fixes
3076
3077 * Fix dislikes number in video watch page
3078 * Fix import when the imported file has the same extension than an already existing file
3079 * Fix bad RSS descriptions when filtering videos by account or channel
3080 * Fix RSS results limit
3081 * Fix glitch when updating player volume
3082 * Use local object URLs for feeds
3083 * Automatically jump to the highlighted thread
3084 * Fix account link width on video view ([@sesn](https://github.com/sesn))
3085 * Prevent commenting twice
3086 * Blue links color in comments
3087 * Fix quota precision in users list
3088 * Handle markdown in account/video channel pages
3089 * Fix avatar image in channel page
3090 * Fix slow HTTP fallback on Firefox
3091 * Do not create a user with the same username than another actor name
3092 * Reset search on page change
3093 * Fix images size limit
3094 * Log torrent errors/warnings in the console, instead of disturbing users
3095
3096
f3c65a51
C
3097## v1.0.0-beta.8
3098
3099### Features
3100
3101 * Docker:
3102 * Add disable_starttls and transcoding configuration variables
3103 * `.env` file to define env variables (instead of defining them in `docker-compose.yml`)
3104 * Some improvements that should make the upgrades less painful
3105 * Add ability to manually run transcoding jobs (admin with CLI)
3106 * Add ability to import a video file (admin with CLI)
3107 * Add context menu to the player
3108 * Add number of videos published by an account/video channel
3109 * Improve player progress bar
3110 * Improve Twitter configuration help tooltips
3111 * Pick average video file instead of max quality in "Auto" resolution mode
3112 * Increase access token lifetime to 1 day
3113 * Add video comments RSS
3114
3115### Bug fixes
3116
3117 * Clicking on "Download" correctly opens a popup to download the video
3118 (instead of opening the video in a new tab)
3119 * Fix frequent logout
3120 * Fix `publishedAt` video attribute when following a new instance
3121 * Correctly resumes the video on "PeerTube" link click in embed
3122 * Fix markdown links truncation
3123 * Fix account/channel pages not updated if we only change the account/channel
3124 * Fix player resolution change that plays even if the video was paused
3125 * Fix posting view in embed that contains search params
3126 * Fix video watch tooltips regarding subscriptions by using the account name
3127 instead of the display name
3128 * Rename "my settings" to "my account" in menu
3129
3130
77a87fec
C
3131## v1.0.0-beta.7
3132
3133### BREAKING CHANGES
3134
3135 * Account client URLs are now `/accounts/{username}/` (and not `/accounts/{id}/`)
3136
3137### Documentation
3138
3139 * Better documentation on how to deploy with Docker: https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/docker.md
3140
3141### Features
3142
3143 * Add short description in about page
3144 * Add owner account name in video channel page
3145 * Improve performance in ActivityPub controllers
3146 * Video **support** field inherits video channel **support** field when uploading/updating a video
3147 * Resume video when clicking on "PeerTube" link in embed
3148
3149### Bug fixes
3150
3151 * Fix player on Android
3152 * Fix player when Firefox has cookies disabled
3153 * Reload "my videos" after a delete
3154 * Fix missing key configuration when upgrading with Docker
3155 * Fix CC audience in Activity Pub objects/activities
3156
3157
265fb1bc
C
3158## v1.0.0-beta.6
3159
3160### Features
3161
3162 * Handle concurrent requests in cache middleware
3163 * Add ability to enable registration by IP
3164
3165### Bug fixes
3166
3167 * Fix insane SQL request when loading all video attributes
3168
3169
67477ee4
C
3170## v1.0.0-beta.5
3171
3172### BREAKING CHANGES
3173
3174 * Update Docker Compose (https://github.com/Chocobozzz/PeerTube/commit/fd5e57bbe2accbdb16b6aa65337c5ef44b5bd8fb)
3175 * Rename client routes:
3176 * `/admin/users/add` to `/admin/users/create`
3177 * `/videos/edit/:uuid` to `/videos/update/:uuid`
3178 * `/admin/users/:id/update` to `/admin/users/update/:id`
3179
3180
3181### Features
3182
3183 * Adding basic helpers to guide users for comments/subscribe to accounts
3184 * Add ability to move a video in another channel
3185 * Improve web browser RAM consumption when watching (long) videos
3186 * Support robots.txt in configuration
3187 * Add ability to select the Redis database in configuration
3188
3189
3190### Bug fixes
3191
3192 * Fix error message on token expiration
3193 * Increase menu icon size
3194 * Add timeout and TTL to request jobs to fix stuck job
3195 * Fix responsive account about page
3196 * Fix updating description account
3197 * Account/video channel descriptions are not required anymore
3198 * Fix video channel description and support max length (500 characters now)
3199 * Fix "..." for buttons (delete/edit) in admin tables
3200 * Fix overflow in markdown textarea preview
3201 * Add ability to embed videos in a Twitter card
3202 * Use `publishedAt` attribute when sorting videos
3203 * Fix concurrent requests in videos list
3204 * Fix player on iOS
3205
3206
9309c3df
C
3207## v1.0.0-beta.4
3208
3209### BREAKING CHANGES
3210
3211 * Hide by default NSFW videos. Update the `instance.default_nsfw_policy` configuration to `blur` to keep the old behaviour
48dce1c9 3212 * Move video channels routes:
cc918ac3 3213 * `/videos/channels` routes to `/video-channels`
48dce1c9 3214 * `/videos/accounts/{accountId}/channels` route to `/accounts/{accountId}/video-channels`
82e392f8 3215 * PeerTube now listen on 127.0.0.1 by default
9309c3df 3216 * Use ISO 639 for language (*en*, *es*, *fr*...)
3186046d
C
3217 * Tools (`import-videos`...) need the language ISO639 code instead of a number
3218 * API (`upload`, `update`, `list`...) need/return the language ISO639 code instead of a number
9309c3df
C
3219
3220### Features
3221
3222 * Add `publishedAt` attribute to videos
3223 * Improve player:
3186046d
C
3224 * Smooth progress bar
3225 * Settings menu
3226 * Automatic resolution (depending on the user bandwidth)
3227 * Some animations/effects
3228 * More reactive when clicking on play
3229 * Handle autoplay blocking by some web browsers
3230 * Better responsive
3231 * Add ability to link a specific timestamp. Example: https://peertube2.cpy.re/videos/watch/f78a97f8-a142-4ce1-a5bd-154bf9386504?start=58
9309c3df
C
3232 * Add an id to the body to override current CSS (for custom CSS)
3233 * Add privacy argument to `upload.ts` script
3234 * RSS/Atom/JSON-feed for videos recently-added/trending/account
3235 * Support hostname binding in the configuration
3236 * Add ability to click on an account in the video watch page (link to a search)
3237 * Better responsive on many comment replies
3238 * Move follows in the job queue
3239 * Add ability to choose the NSFW videos policy: hide, blur or display. Could be overrode by the user
3240 * Add video privacy information in *my videos page*
3241 * Use the video name for the torrent file name instead of the UUID
3242 * Handle errors in embed (video not found, server error...)
2297b239
C
3243 * Account view (videos uploaded by this account + video channel owned by this account + about pages)
3244 * Video channel view (videos uploaded in this channel + about pages)
f6dcad4f 3245 * Video channel management (avatar update is still missing)
9309c3df
C
3246
3247### Bug fixes
3248
3249 * Fix "show more" description on video change
3250 * Accept unlisted comments
3251 * Don't start application until all components were initialized
3252 * Fix word-break in video description and video comments
3253 * Don't add a `.` after the URL in the "forgot password" email
3254
3255
3256
8e03c5f4 3257## v1.0.0-beta.3
d8c2e379
C
3258
3259### Features
3260
3261 * Add hover background color in menu
3262 * Add info about the initial user quota in the registration form
3263 * Add link to register in the login form
3264 * Prevent brute force login attack
3265
3266### Bug fixes
3267
3268 * Fix bad federation with videos with special utf characters in description (again)
3269 * Fix views system behind a reverse proxy
3270
3271
05b49c1d
C
3272## v1.0.0-beta.2
3273
3274### Features
3275
3276 * More logging in SMTP module
3277 * Add option to disable starttls in SMTP module
3278 * Update STUN servers (using framasoft.org and stunprotocol.org now)
3279 * Min comment length is 1 now (useful for emoji...)
3280 * Better embed video player in small screens
3281 * Reduce display time of title/description/control bar in embed on inactivity
3282 * Add sign languages for videos attribute
3283 * Add autoplay parameter for embed
3284 * Videos search on account username and host too
3285 * Redirect to homepage on empty search
3286
3287### Bug fixes
3288
3289 * Fix mentions in comment replies
3290 * Logo/Title redirects to the default route
3291 * Fix bad federation with videos with special utf characters in description
3292 * Fix pagination on mobile
3293 * Use instance name for page titles
3294 * Fix bad id for Create activities (ActivityPub)
3295 * Handle inner actors instead of just handling actor ids (ActivityPub)
3296 * Fallback to torrent file if infohash is incorrect
3297 * Fix admin config errors display/validation
3298 * Add public to Announces (ActivityPub)
3299 * Fix inability to run client when cookies are disabled
3300 * Fix words breaking in videos description
3301 * Graceful exit when import videos script fails
3302 * Fix import videos with long names
3303 * Fix login with a password containing special characters
3304 * Fix player error flickering with an unsupported video format
3305 * Fix comment delete federation
3306 * Fix communication of a PeerTube instance and Mastodon
3307 * Fix custom configuration with number values
3308
d8c2e379 3309
164e6c87
C
3310## v1.0.0-beta.1
3311
3256a4a6 3312Nothing new here, but PeerTube is stable enough for being in beta now.
164e6c87
C
3313
3314
09700934
C
3315## v1.0.0-alpha.9
3316
3317### BREAKING CHANGES
3318
a7977280 3319 * Update videos list/search/get API response:
09700934
C
3320 * Removed `resolution` field
3321 * Removed `resolutionLabel` field
3322 * Removed `category` field
3323 * Removed `categoryLabel` field
3324 * Removed `licence` field
3325 * Removed `licenceLabel` field
3326 * Removed `language` field
3327 * Removed `languageLabel` field
3328 * Removed `privacy` field
3329 * Removed `privacyLabel` field
3330 * Added `resolution.id` field
3331 * Added `resolution.label` field
3332 * Added `category.id` field
3333 * Added `category.label` field
3334 * Added `licence.id` field
3335 * Added `licence.label` field
3336 * Added `language.id` field
3337 * Added `language.label` field
3338 * Added `privacy.id` field
3339 * Added `privacy.label` field
3340
a7977280
C
3341### Bug fixes
3342
3343 * Fix video_share_url duplicate key on failed transcoding job
3344
09700934 3345
cd139178
C
3346## v1.0.0-alpha.8
3347
3348### Features
3349
3256a4a6 3350 * Add ability to set a short instance description
cd139178
C
3351
3352
19a3b914
C
3353## v1.0.0-alpha.7
3354
3355### BREAKING CHANGES
3356
3357 * Update videos list/search API response:
3358 * Removed `accountName` field
3359 * Removed `serverHost` field
3360 * Added `account.name` field
3361 * Added `account.displayName` field
3362 * Added `account.host` field
3363 * Added `account.url` field
3364 * Added `account.avatar` field
3365 * Update video abuses API response:
3366 * Removed `reporterUsername` field
3367 * Removed `reporterServerHost` field
3368 * Removed `videoId` field
3369 * Removed `videoUUID` field
3370 * Removed `videoName` field
3371 * Added `reporterAccount` field
3372 * Added `video.id` field
3373 * Added `video.name` field
3374 * Added `video.uuid` field
3375 * Added `video.url` field
3376
066e94c5
C
3377### Features
3378
a7977280 3379 * Add "Local" in menu that lists only local videos
066e94c5 3380
19a3b914 3381
774ec2a9
C
3382## v1.0.0-alpha.4
3383
3384### Features
3385
3386 * Add iOS support
3387
3388
99915ae3 3389## v1.0.0-alpha.1
82828fb4
C
3390
3391### Features
3392
3393 * Add messages about privacy and P2P
3394 * Add stats route
3395 * Add playback setting
3396
3397
20b40b19
C
3398## v0.0.29-alpha
3399
3400### BREAKING CHANGES
3401
3402 * Use only 1 thread for transcoding by default
3403
3404### Features
3405
3406 * Add help to JS/CSS custom configuration inputs
3407 * Keep ratio in video thumbnail generation
3408 * Handle video in portrait mode
3409
3410### Bug fixes
3411
3412 * Fix complete description on some videos
3413 * Fix job sorting in administration
3414
3415
73c69591
C
3416## v0.0.28-alpha
3417
3418### BREAKING CHANGES
3419
3420 * Enable original file transcoding by default in configuration
3421 * Disable transcoding in other definitions in configuration
3422
3423### Features
3424
3425 * Fallback to HTTP if video cannot be loaded
3426 * Limit to 30 FPS in transcoding
3427
3428
86ec3e53
C
3429## v0.0.27-alpha
3430
78967fca
C
3431### Features
3432
3433 * Add ability for admin to inject custom JavaScript/CSS
ab998f7b 3434 * Add help tooltip on some fields
78967fca 3435
86ec3e53
C
3436### Bug fixes
3437
3438 * Fix comment reply highlighting
3439
b6a4fd6b 3440
61b3e146
C
3441## v0.0.26-alpha
3442
3443### BREAKING CHANGES
3444
3445 * Renamed script `import-youtube.js` to `import-videos.js`
3446 * Renamed `import-video.js` argument `youtube-url` to `target-url`
3447
3448### Features
3449
3450 * Add "Support" attribute/button on videos
3451 * Add ability to import from all [supported sites](https://rg3.github.io/youtube-dl/supportedsites.html) of youtube-dl
3452
3453### Bug fixes
3454
3455 * Fix custom instance name overflow
3456
3457
b6a4fd6b
C
3458## v0.0.25-alpha
3459
1263fc4e
C
3460### Features
3461
3256a4a6 3462 * Add ability to link a specific comment
1263fc4e 3463
b6a4fd6b
C
3464### Bug fixes
3465
3466 * Fix avatars on video watch page
3467
3468
e33b53ab
C
3469## v0.0.24-alpha
3470
3471### Features
3472
3473* Publish comments with *ctrl + enter*
3474
3475### Bug fixes
3476
3477* Don't stuck on active jobs
3478* Fix deleting a video with comments
3479* Fix infinite scroll (videos list)