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