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