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