Revert "Delete actor too when deleting account/video channel"
[oweals/peertube.git] / CHANGELOG.md
1 # Changelog
2
3 ## v1.0.0-beta.10.pre.2
4
5 **See the v1.0.0-beta.10.pre.1 changelog, in particular how to upgrade**
6
7 ### Bug fixes
8
9  * Fix captions/subtitles freeze in player
10  * Fix attribute label width in video watch page
11  * Fix player playback in Chrome
12  * Revert SQL optimization when listing videos: it breaks the connection pool of some instances
13
14
15 ## v1.0.0-beta.10.pre.1
16
17 This version is a pre release because it contains many important changes, and requires manual steps before upgrading.
18
19 **Important:** Before upgrading run the following commands (no need to stop PeerTube) on your PeerTube database (in this example it's *peertube_prod*):
20
21 ```
22 $ sudo -u postgres psql peertube_prod -c 'CREATE EXTENSION IF NOT EXISTS unaccent;'
23 $ sudo -u postgres psql peertube_prod -c 'CREATE EXTENSION IF NOT EXISTS pg_trgm;'
24 ```
25   
26 ### BREAKING CHANGES
27
28  * Require `unaccent` and `pg_trgm` PostgreSQL extension for the PeerTube database
29  * `category` filter param is replaced by `categoryOneOf`
30  * Switch job queue to [Bull](https://github.com/OptimalBits/bull). PeerTube should migrate your old pending jobs in this new queue manager
31  * Update nginx template
32  * Update default cache size configurations
33  
34 ### Features
35
36  * Add ability to change the language of the interface (currently available: english, french, basque, catalan, czech and esperanto)
37  * Subtitles/captions support (.srt and .vtt)
38  * Add advanced search
39  * Add ability to click on category/language/licence/tags in watch page
40  * Improve explanations of P2P & Privacy section in about page
41  * Avoid design latency when the admin set custom CSS
42  * Add ability to update video channel avatar
43  * Limit video resolution depending on the video element size (Nitesh Sawant)
44  * Show "Other videos" on a <1300px viewport ([@Simounet](https://github.com/simounet))
45  * Add QR code to share videos URL ([@DeeJayBro](https://github.com/DeeJayBro))
46  * Add "agree to the terms" checkbox in registration form
47  * Add tracker rate limiter
48  * Add author URL in OEmbed response
49  * Display username instead of email in menu
50  * Clarifying what extensions are accepted for upload ([@rigelk](https://github.com/rigelk))
51  * Thumbnail support for RSS feeds ([@rigelk](https://github.com/rigelk))
52  * Open CORS on API and static resources ([@rezonant](https://github.com/rezonant)
53  * 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
54  * Support Redis socket ([@rigelk](https://github.com/rigelk))
55  * Improve video `start` param to support string times (for example: 2m42s))
56  * Display table next/prev/first/last icons in admin tables
57  * NodeInfo support ([@rigelk](https://github.com/rigelk))
58  * Improve HTTP headers security ([@rigelk](https://github.com/rigelk))
59  * Improve client accessibility (for screen reader users etc)
60  * Optimize SQL requests (in particular the one to list videos)
61  * Optimize images ([@jorropo](https://github.com/jorropo))
62  * Add esperanto, lojban, klingon and kotava (audio/subtitle) languages
63  * Allow uploads of videos <8GB (*experimental*)
64  * Handle FPS > 30 (*experimental*)
65
66 ### Bug fixes
67
68  * Fix avatars/thumbnails update (cache issue)
69  * Fix pagination on admin job table when changing the job state
70  * Fix SQL transaction retryer log
71  * Correctly handle error when remote instance is down
72  * Fix account videos URL when scrolling
73  * Avoid commenting twice by disabling comment submit button when sending the comment
74  * Reset confirm component input when closing it
75  * Fix video speed when video resolutions changes ([@grizio](https://github.com/grizio))
76  * Disable hotkeys modifiers for numbers ([@rigelk](https://github.com/rigelk))
77  * Reset published date on video publish (scheduled or after a transcoding)
78  * Avoid 404 title on the first page load
79  * Fix forgot password message regarding email
80  * Remove scroll to top when closing the menu ([@ebrehault](https://github.com/ebrehault))
81  * Use UUID for channel link in watch page
82
83 ### Docker
84
85  * Add PEERTUBE_SMTP_DISABLE_STARTTLS config env
86  
87
88 ## v1.0.0-beta.9
89
90 ### Features
91
92  * Theater/Cinema mode in player
93  * Add ability to wait transcoding before publishing it
94  * Add ability for uploaders to schedule video update
95  * Add time display to see where we seek the video
96  * Add title in player peers info to show total downloaded/uploaded data
97  * Provide magnet URI in player and download modal ([@rigelk](https://github.com/rigelk))
98  * Add warning if the domain name is different from the one of the first start of Peertube
99  * Add resolution to create-transcoding-job script ([@fflorent](https://github.com/fflorent))
100
101 ### Bug fixes
102
103  * Fix dislikes number in video watch page
104  * Fix import when the imported file has the same extension than an already existing file
105  * Fix bad RSS descriptions when filtering videos by account or channel
106  * Fix RSS results limit
107  * Fix glitch when updating player volume
108  * Use local object URLs for feeds
109  * Automatically jump to the highlighted thread
110  * Fix account link width on video view ([@sesn](https://github.com/sesn))
111  * Prevent commenting twice
112  * Blue links color in comments
113  * Fix quota precision in users list
114  * Handle markdown in account/video channel pages
115  * Fix avatar image in channel page
116  * Fix slow HTTP fallback on Firefox
117  * Do not create a user with the same username than another actor name
118  * Reset search on page change
119  * Fix images size limit
120  * Log torrent errors/warnings in the console, instead of disturbing users
121
122
123 ## v1.0.0-beta.8
124
125 ### Features
126
127  * Docker:
128    * Add disable_starttls and transcoding configuration variables
129    * `.env` file to define env variables (instead of defining them in `docker-compose.yml`)
130    * Some improvements that should make the upgrades less painful
131  * Add ability to manually run transcoding jobs (admin with CLI)
132  * Add ability to import a video file (admin with CLI)
133  * Add context menu to the player
134  * Add number of videos published by an account/video channel
135  * Improve player progress bar
136  * Improve Twitter configuration help tooltips
137  * Pick average video file instead of max quality in "Auto" resolution mode
138  * Increase access token lifetime to 1 day
139  * Add video comments RSS
140
141 ### Bug fixes
142
143  * Clicking on "Download" correctly opens a popup to download the video
144  (instead of opening the video in a new tab)
145  * Fix frequent logout
146  * Fix `publishedAt` video attribute when following a new instance
147  * Correctly resumes the video on "PeerTube" link click in embed
148  * Fix markdown links truncation
149  * Fix account/channel pages not updated if we only change the account/channel
150  * Fix player resolution change that plays even if the video was paused
151  * Fix posting view in embed that contains search params
152  * Fix video watch tooltips regarding subscriptions by using the account name
153  instead of the display name
154  * Rename "my settings" to "my account" in menu
155
156
157 ## v1.0.0-beta.7
158
159 ### BREAKING CHANGES
160
161  * Account client URLs are now `/accounts/{username}/` (and not `/accounts/{id}/`)
162
163 ### Documentation
164
165  * Better documentation on how to deploy with Docker: https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/docker.md
166
167 ### Features
168
169  * Add short description in about page
170  * Add owner account name in video channel page
171  * Improve performance in ActivityPub controllers
172  * Video **support** field inherits video channel **support** field when uploading/updating a video
173  * Resume video when clicking on "PeerTube" link in embed
174
175 ### Bug fixes
176
177  * Fix player on Android
178  * Fix player when Firefox has cookies disabled
179  * Reload "my videos" after a delete
180  * Fix missing key configuration when upgrading with Docker
181  * Fix CC audience in Activity Pub objects/activities
182
183
184 ## v1.0.0-beta.6
185
186 ### Features
187
188  * Handle concurrent requests in cache middleware
189  * Add ability to enable registration by IP
190
191 ### Bug fixes
192
193  * Fix insane SQL request when loading all video attributes
194
195
196 ## v1.0.0-beta.5
197
198 ### BREAKING CHANGES
199
200  * Update Docker Compose (https://github.com/Chocobozzz/PeerTube/commit/fd5e57bbe2accbdb16b6aa65337c5ef44b5bd8fb)
201  * Rename client routes:
202    * `/admin/users/add` to `/admin/users/create`
203    * `/videos/edit/:uuid` to `/videos/update/:uuid`
204    * `/admin/users/:id/update` to `/admin/users/update/:id`
205
206
207 ### Features
208
209  * Adding basic helpers to guide users for comments/subscribe to accounts
210  * Add ability to move a video in another channel
211  * Improve web browser RAM consumption when watching (long) videos
212  * Support robots.txt in configuration
213  * Add ability to select the Redis database in configuration
214
215
216 ### Bug fixes
217
218  * Fix error message on token expiration
219  * Increase menu icon size
220  * Add timeout and TTL to request jobs to fix stuck job
221  * Fix responsive account about page
222  * Fix updating description account
223  * Account/video channel descriptions are not required anymore
224  * Fix video channel description and support max length (500 characters now)
225  * Fix "..." for buttons (delete/edit) in admin tables
226  * Fix overflow in markdown textarea preview
227  * Add ability to embed videos in a Twitter card
228  * Use `publishedAt` attribute when sorting videos
229  * Fix concurrent requests in videos list
230  * Fix player on iOS
231
232
233 ## v1.0.0-beta.4
234
235 ### BREAKING CHANGES
236
237  * Hide by default NSFW videos. Update the `instance.default_nsfw_policy` configuration to `blur` to keep the old behaviour
238  * Move video channels routes:
239    * `/videos/channels` routes to `/video-channels`
240    * `/videos/accounts/{accountId}/channels` route to `/accounts/{accountId}/video-channels`
241  * PeerTube now listen on 127.0.0.1 by default
242  * Use ISO 639 for language (*en*, *es*, *fr*...)
243    * Tools (`import-videos`...) need the language ISO639 code instead of a number
244    * API (`upload`, `update`, `list`...) need/return the language ISO639 code instead of a number
245
246 ### Features
247
248  * Add `publishedAt` attribute to videos
249  * Improve player:
250    * Smooth progress bar
251    * Settings menu
252    * Automatic resolution (depending on the user bandwidth)
253    * Some animations/effects
254    * More reactive when clicking on play
255    * Handle autoplay blocking by some web browsers
256    * Better responsive
257    * Add ability to link a specific timestamp. Example: https://peertube2.cpy.re/videos/watch/f78a97f8-a142-4ce1-a5bd-154bf9386504?start=58
258  * Add an id to the body to override current CSS (for custom CSS)
259  * Add privacy argument to `upload.ts` script
260  * RSS/Atom/JSON-feed for videos recently-added/trending/account
261  * Support hostname binding in the configuration
262  * Add ability to click on an account in the video watch page (link to a search)
263  * Better responsive on many comment replies
264  * Move follows in the job queue
265  * Add ability to choose the NSFW videos policy: hide, blur or display. Could be overrode by the user
266  * Add video privacy information in *my videos page*
267  * Use the video name for the torrent file name instead of the UUID
268  * Handle errors in embed (video not found, server error...)
269  * Account view (videos uploaded by this account + video channel owned by this account + about pages)
270  * Video channel view (videos uploaded in this channel + about pages)
271  * Video channel management (avatar update is still missing)
272
273 ### Bug fixes
274
275  * Fix "show more" description on video change
276  * Accept unlisted comments
277  * Don't start application until all components were initialized
278  * Fix word-break in video description and video comments
279  * Don't add a `.` after the URL in the "forgot password" email
280
281
282
283 ## v1.0.0-beta.3
284
285 ### Features
286
287  * Add hover background color in menu
288  * Add info about the initial user quota in the registration form
289  * Add link to register in the login form
290  * Prevent brute force login attack
291
292 ### Bug fixes
293
294  * Fix bad federation with videos with special utf characters in description (again)
295  * Fix views system behind a reverse proxy
296
297
298 ## v1.0.0-beta.2
299
300 ### Features
301
302  * More logging in SMTP module
303  * Add option to disable starttls in SMTP module
304  * Update STUN servers (using framasoft.org and stunprotocol.org now)
305  * Min comment length is 1 now (useful for emoji...)
306  * Better embed video player in small screens
307  * Reduce display time of title/description/control bar in embed on inactivity
308  * Add sign languages for videos attribute
309  * Add autoplay parameter for embed
310  * Videos search on account username and host too
311  * Redirect to homepage on empty search
312
313 ### Bug fixes
314
315  * Fix mentions in comment replies
316  * Logo/Title redirects to the default route
317  * Fix bad federation with videos with special utf characters in description
318  * Fix pagination on mobile
319  * Use instance name for page titles
320  * Fix bad id for Create activities (ActivityPub)
321  * Handle inner actors instead of just handling actor ids (ActivityPub)
322  * Fallback to torrent file if infohash is incorrect
323  * Fix admin config errors display/validation
324  * Add public to Announces (ActivityPub)
325  * Fix inability to run client when cookies are disabled
326  * Fix words breaking in videos description
327  * Graceful exit when import videos script fails
328  * Fix import videos with long names
329  * Fix login with a password containing special characters
330  * Fix player error flickering with an unsupported video format
331  * Fix comment delete federation
332  * Fix communication of a PeerTube instance and Mastodon
333  * Fix custom configuration with number values
334
335
336 ## v1.0.0-beta.1
337
338 Nothing new here, but PeerTube is stable enough for being in beta now. 
339
340
341 ## v1.0.0-alpha.9
342
343 ### BREAKING CHANGES
344
345  * Update videos list/search/get API response:
346    * Removed `resolution` field
347    * Removed `resolutionLabel` field
348    * Removed `category` field
349    * Removed `categoryLabel` field
350    * Removed `licence` field
351    * Removed `licenceLabel` field
352    * Removed `language` field
353    * Removed `languageLabel` field
354    * Removed `privacy` field
355    * Removed `privacyLabel` field
356    * Added `resolution.id` field
357    * Added `resolution.label` field
358    * Added `category.id` field
359    * Added `category.label` field
360    * Added `licence.id` field
361    * Added `licence.label` field
362    * Added `language.id` field
363    * Added `language.label` field
364    * Added `privacy.id` field
365    * Added `privacy.label` field
366
367 ### Bug fixes
368
369  * Fix video_share_url duplicate key on failed transcoding job
370
371
372 ## v1.0.0-alpha.8
373
374 ### Features
375
376  * Add ability to set a short instance description 
377
378
379 ## v1.0.0-alpha.7
380
381 ### BREAKING CHANGES
382
383  * Update videos list/search API response:
384    * Removed `accountName` field
385    * Removed `serverHost` field
386    * Added `account.name` field
387    * Added `account.displayName` field
388    * Added `account.host` field
389    * Added `account.url` field
390    * Added `account.avatar` field
391  * Update video abuses API response:
392    * Removed `reporterUsername` field
393    * Removed `reporterServerHost` field
394    * Removed `videoId` field
395    * Removed `videoUUID` field
396    * Removed `videoName` field
397    * Added `reporterAccount` field
398    * Added `video.id` field
399    * Added `video.name` field
400    * Added `video.uuid` field
401    * Added `video.url` field
402
403 ### Features
404
405  * Add "Local" in menu that lists only local videos
406
407
408 ## v1.0.0-alpha.4
409
410 ### Features
411
412  * Add iOS support
413
414
415 ## v1.0.0-alpha.1
416
417 ### Features
418
419  * Add messages about privacy and P2P
420  * Add stats route
421  * Add playback setting
422
423
424 ## v0.0.29-alpha
425
426 ### BREAKING CHANGES
427
428  * Use only 1 thread for transcoding by default
429
430 ### Features
431
432  * Add help to JS/CSS custom configuration inputs
433  * Keep ratio in video thumbnail generation
434  * Handle video in portrait mode
435
436 ### Bug fixes
437
438  * Fix complete description on some videos
439  * Fix job sorting in administration
440
441
442 ## v0.0.28-alpha
443
444 ### BREAKING CHANGES
445
446  * Enable original file transcoding by default in configuration
447  * Disable transcoding in other definitions in configuration
448
449 ### Features
450
451  * Fallback to HTTP if video cannot be loaded
452  * Limit to 30 FPS in transcoding
453
454
455 ## v0.0.27-alpha
456
457 ### Features
458
459  * Add ability for admin to inject custom JavaScript/CSS
460  * Add help tooltip on some fields
461
462 ### Bug fixes
463
464  * Fix comment reply highlighting
465
466
467 ## v0.0.26-alpha
468
469 ### BREAKING CHANGES
470
471  * Renamed script `import-youtube.js` to `import-videos.js`
472  * Renamed `import-video.js` argument `youtube-url` to `target-url`
473
474 ### Features
475
476  * Add "Support" attribute/button on videos
477  * Add ability to import from all [supported sites](https://rg3.github.io/youtube-dl/supportedsites.html) of youtube-dl
478
479 ### Bug fixes
480
481  * Fix custom instance name overflow
482
483
484 ## v0.0.25-alpha
485
486 ### Features
487
488  * Add ability to link a specific comment 
489
490 ### Bug fixes
491
492  * Fix avatars on video watch page
493
494
495 ## v0.0.24-alpha
496
497 ### Features
498
499 * Publish comments with *ctrl + enter*
500
501 ### Bug fixes
502
503 * Don't stuck on active jobs
504 * Fix deleting a video with comments
505 * Fix infinite scroll (videos list)