diff options
-rw-r--r-- | CHANGELOG.md | 31 | ||||
-rw-r--r-- | client/package.json | 2 | ||||
-rw-r--r-- | client/src/assets/player/shared/peertube/peertube-plugin.ts | 2 | ||||
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | server/tests/plugins/action-hooks.ts | 2 |
5 files changed, 32 insertions, 7 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 84f9c0aae..0d692f298 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md | |||
@@ -1,6 +1,6 @@ | |||
1 | # Changelog | 1 | # Changelog |
2 | 2 | ||
3 | ## v5.1.0-rc.1 | 3 | ## v5.1.0 |
4 | 4 | ||
5 | ### IMPORTANT NOTES | 5 | ### IMPORTANT NOTES |
6 | 6 | ||
@@ -10,6 +10,7 @@ | |||
10 | * Drop support of Safari 11 on desktop | 10 | * Drop support of Safari 11 on desktop |
11 | * Drop support of Firefox 68 on desktop | 11 | * Drop support of Firefox 68 on desktop |
12 | * Minimum recommended Redis version is 6.2. Version 6.0 should still work: see [this comment](https://github.com/Chocobozzz/PeerTube/issues/5659#issuecomment-1449607001) for more information | 12 | * Minimum recommended Redis version is 6.2. Version 6.0 should still work: see [this comment](https://github.com/Chocobozzz/PeerTube/issues/5659#issuecomment-1449607001) for more information |
13 | * Deprecate NodeJS 14: support will be removed in the next release (PeerTube 5.2) | ||
13 | 14 | ||
14 | ### Maintenance | 15 | ### Maintenance |
15 | 16 | ||
@@ -18,9 +19,14 @@ | |||
18 | * Add ability to disable HTTP request duration metrics (can have a high tag cardinality) | 19 | * Add ability to disable HTTP request duration metrics (can have a high tag cardinality) |
19 | * Add `x-powered-by` HTTP header in PeerTube response. Can be disabled in PeerTube configuration | 20 | * Add `x-powered-by` HTTP header in PeerTube response. Can be disabled in PeerTube configuration |
20 | 21 | ||
22 | ### Docker | ||
23 | |||
24 | * Add env variables to configure object storage | ||
25 | |||
21 | ### Documentation | 26 | ### Documentation |
22 | 27 | ||
23 | * PeerTube documentation website now uses VitePress: https://docs.joinpeertube.org | 28 | * PeerTube documentation website now uses VitePress: https://docs.joinpeertube.org |
29 | * 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 | ||
24 | 30 | ||
25 | ### Plugins/Themes/Embed API | 31 | ### Plugins/Themes/Embed API |
26 | 32 | ||
@@ -29,8 +35,15 @@ | |||
29 | * Can set default `adminFlags`, `videoQuota` and `videoQuotaDaily` user attributes | 35 | * Can set default `adminFlags`, `videoQuota` and `videoQuotaDaily` user attributes |
30 | * Introduce `userUpdater` hook function so external auth plugins can update the user on user login: https://docs.joinpeertube.org/contribute/plugins#add-external-auth-methods | 36 | * Introduce `userUpdater` hook function so external auth plugins can update the user on user login: https://docs.joinpeertube.org/contribute/plugins#add-external-auth-methods |
31 | * Automatically redirect to the default external auth on PeerTube refresh token expiration | 37 | * Automatically redirect to the default external auth on PeerTube refresh token expiration |
32 | * Add server plugin hooks (https://docs.joinpeertube.org/api/plugins): | 38 | * Server plugin hooks (https://docs.joinpeertube.org/api/plugins): |
33 | * `filter:api.user.me.subscription-videos.list.params` & `filter:api.user.me.subscription-videos.list.result` [#5648](https://github.com/Chocobozzz/PeerTube/pull/5648) | 39 | * 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) |
40 | * Add `filter:activity-pub.activity.context.build.result` to update ActivityPub JSON-LD context | ||
41 | * Add `filter:activity-pub.video.json-ld.build.result` to update `Video` ActivityPub JSON-LD object | ||
42 | * Add `action:activity-pub.remote-video.created` & `action:activity-pub.remote-video.updated` to react on remote video creation/update | ||
43 | * Client plugin hooks (https://docs.joinpeertube.org/api/plugins): | ||
44 | * Add `action:video-edit.form.updated` fired every time the video upload/import/live/update form values change | ||
45 | * Add `filter:video-watch.video-plugin-metadata.result` to add custom video metadata in watch page | ||
46 | * 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 | ||
34 | * Add server plugin helpers: | 47 | * Add server plugin helpers: |
35 | * `getServerListeningConfig` to get PeerTube listening configuration | 48 | * `getServerListeningConfig` to get PeerTube listening configuration |
36 | * Convert some colors to PeerTube CSS variables to improve theme compatibility | 49 | * Convert some colors to PeerTube CSS variables to improve theme compatibility |
@@ -52,10 +65,12 @@ | |||
52 | * Optimize video comments SQL requests | 65 | * Optimize video comments SQL requests |
53 | * Optimize custom markup live rendering in admin | 66 | * Optimize custom markup live rendering in admin |
54 | * UI/UX: | 67 | * UI/UX: |
68 | * Add option in video/playlist share modal to create a responsive embed [#5690](https://github.com/Chocobozzz/PeerTube/pull/5690) | ||
55 | * Use `99+` instead of `99` when having more than `99` notifications | 69 | * Use `99+` instead of `99` when having more than `99` notifications |
56 | * Use channel display name instead of channel handle in *My videos* input filter [#5575](https://github.com/Chocobozzz/PeerTube/pull/5575) | 70 | * Use channel display name instead of channel handle in *My videos* input filter [#5575](https://github.com/Chocobozzz/PeerTube/pull/5575) |
57 | * Display channel name in playlist element instead of account name | 71 | * Display channel name in playlist element instead of account name |
58 | * Display channel as author in RSS feeds | 72 | * Display channel as author in RSS feeds |
73 | * Improve/fix main pages keyboard navigation | ||
59 | * Custom markup: | 74 | * Custom markup: |
60 | * Support `mailto` links | 75 | * Support `mailto` links |
61 | * Support short UUID to fetch a video | 76 | * Support short UUID to fetch a video |
@@ -68,11 +83,14 @@ | |||
68 | * Fix signup limit | 83 | * Fix signup limit |
69 | * Prevent `500` on invalid short UUID parameter | 84 | * Prevent `500` on invalid short UUID parameter |
70 | * Player: | 85 | * Player: |
86 | * Fix live buffering with small latency setting | ||
71 | * More robust player "stats for nerds" popup if there is not stream available | 87 | * More robust player "stats for nerds" popup if there is not stream available |
72 | * Don't display playback rate setting for lives | 88 | * Don't display playback rate setting for lives |
73 | * Don't handle playback rate hotkeys for lives | 89 | * Don't handle playback rate hotkeys for lives |
74 | * Fix clicking on PeerTube instance button | 90 | * Fix clicking on PeerTube instance button |
75 | * Fix always resuming the end of the video | 91 | * Fix always resuming the end of the video |
92 | * Fix saving last video current time for anonymous users | ||
93 | * Fix player keyboard shortcuts for non latin keyboards [#5684](https://github.com/Chocobozzz/PeerTube/pull/5684) | ||
76 | * Process videos list requests in correct order | 94 | * Process videos list requests in correct order |
77 | * Correctly fill the *Support* field when updating a video | 95 | * Correctly fill the *Support* field when updating a video |
78 | * Fix *Auto play video* setting for anonymous users | 96 | * Fix *Auto play video* setting for anonymous users |
@@ -86,6 +104,7 @@ | |||
86 | * Handle `502` HTTP errors in client notifier | 104 | * Handle `502` HTTP errors in client notifier |
87 | * Fix resetting chart zoom in video stats page | 105 | * Fix resetting chart zoom in video stats page |
88 | * Fix search page not loading all available results | 106 | * Fix search page not loading all available results |
107 | * Fix confirmation modal that contains 2 text inputs | ||
89 | * Display the update button when the stable release of beta/alpha plugin is available | 108 | * Display the update button when the stable release of beta/alpha plugin is available |
90 | * Always list NSFW videos in playlists (the frontend is in charge to blur the video element if the NSFW setting is *Hide* or *Blur*) | 109 | * Always list NSFW videos in playlists (the frontend is in charge to blur the video element if the NSFW setting is *Hide* or *Blur*) |
91 | * Always list NSFW videos in admin | 110 | * Always list NSFW videos in admin |
@@ -95,6 +114,12 @@ | |||
95 | * Fix out of sync audio when cutting a video in Studio | 114 | * Fix out of sync audio when cutting a video in Studio |
96 | * Fix "unique viewers" inconsistency with countries | 115 | * Fix "unique viewers" inconsistency with countries |
97 | * Fix mention detection in comments | 116 | * Fix mention detection in comments |
117 | * Fix listing all my channels in *My library* | ||
118 | * Fix displaying remote avatars | ||
119 | * Fix 404 HTTP code in watch page when having `;threadId` param in URL | ||
120 | * Correctly re-inject video file token in `.m3u8` resolution playlists to fetch private mp4 video file [#5677](https://github.com/Chocobozzz/PeerTube/pull/5677) | ||
121 | * Don't process live when moving videos to external storage | ||
122 | * Handle Redis disconnection gracefully [#5599](https://github.com/Chocobozzz/PeerTube/pull/5599) | ||
98 | 123 | ||
99 | 124 | ||
100 | ## v5.0.1 | 125 | ## v5.0.1 |
diff --git a/client/package.json b/client/package.json index 998a27f24..b8b3d4107 100644 --- a/client/package.json +++ b/client/package.json | |||
@@ -1,6 +1,6 @@ | |||
1 | { | 1 | { |
2 | "name": "peertube-client", | 2 | "name": "peertube-client", |
3 | "version": "5.1.0-rc.1", | 3 | "version": "5.1.0", |
4 | "private": true, | 4 | "private": true, |
5 | "license": "AGPL-3.0", | 5 | "license": "AGPL-3.0", |
6 | "author": { | 6 | "author": { |
diff --git a/client/src/assets/player/shared/peertube/peertube-plugin.ts b/client/src/assets/player/shared/peertube/peertube-plugin.ts index da9b3bd0e..cf96b33ba 100644 --- a/client/src/assets/player/shared/peertube/peertube-plugin.ts +++ b/client/src/assets/player/shared/peertube/peertube-plugin.ts | |||
@@ -216,7 +216,7 @@ class PeerTubePlugin extends Plugin { | |||
216 | saveVideoWatchHistory(this.videoUUID, currentTime) | 216 | saveVideoWatchHistory(this.videoUUID, currentTime) |
217 | } | 217 | } |
218 | 218 | ||
219 | if (!this.videoViewUrl) return | 219 | if (!this.videoViewUrl) return Promise.resolve(true) |
220 | 220 | ||
221 | const body: VideoView = { currentTime, viewEvent } | 221 | const body: VideoView = { currentTime, viewEvent } |
222 | 222 | ||
diff --git a/package.json b/package.json index 3315a3bee..45ecf953b 100644 --- a/package.json +++ b/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "name": "peertube", | 2 | "name": "peertube", |
3 | "description": "PeerTube, an ActivityPub-federated video streaming platform using P2P directly in your web browser.", | 3 | "description": "PeerTube, an ActivityPub-federated video streaming platform using P2P directly in your web browser.", |
4 | "version": "5.1.0-rc.1", | 4 | "version": "5.1.0", |
5 | "private": true, | 5 | "private": true, |
6 | "licence": "AGPL-3.0", | 6 | "licence": "AGPL-3.0", |
7 | "engines": { | 7 | "engines": { |
diff --git a/server/tests/plugins/action-hooks.ts b/server/tests/plugins/action-hooks.ts index 98228f79d..9158b271d 100644 --- a/server/tests/plugins/action-hooks.ts +++ b/server/tests/plugins/action-hooks.ts | |||
@@ -251,7 +251,7 @@ describe('Test plugin action hooks', function () { | |||
251 | 251 | ||
252 | await servers[1].videos.update({ id: videoUUID, attributes: { name: 'remote video updated' } }) | 252 | await servers[1].videos.update({ id: videoUUID, attributes: { name: 'remote video updated' } }) |
253 | 253 | ||
254 | await servers[0].servers.waitUntilLog('action:activity-pub.remote-video.updated - AP remote video - video remote video') | 254 | await servers[0].servers.waitUntilLog('action:activity-pub.remote-video.updated - AP remote video - video remote video', 1, false) |
255 | }) | 255 | }) |
256 | }) | 256 | }) |
257 | 257 | ||