Skip to content

Commit e8518de

Browse files
Merge pull request misskey-dev#14924 from misskey-dev/develop
Release: 2024.11.0
2 parents b99e13e + 551040e commit e8518de

File tree

269 files changed

+7241
-4873
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

269 files changed

+7241
-4873
lines changed

.devcontainer/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"workspaceFolder": "/workspace",
66
"features": {
77
"ghcr.io/devcontainers/features/node:1": {
8-
"version": "20.16.0"
8+
"version": "22.11.0"
99
},
1010
"ghcr.io/devcontainers-contrib/features/corepack:1": {}
1111
},

.github/workflows/get-api-diff.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
strategy:
1919
matrix:
20-
node-version: [20.16.0]
20+
node-version: [22.11.0]
2121
api-json-name: [api-base.json, api-head.json]
2222
include:
2323
- api-json-name: api-base.json

.github/workflows/on-release-created.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
strategy:
1919
matrix:
20-
node-version: [20.16.0]
20+
node-version: [22.11.0]
2121

2222
steps:
2323
- uses: actions/[email protected]

.github/workflows/release-with-dispatch.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ jobs:
6060
6161
### General
6262
-
63-
63+
6464
### Client
6565
-
66-
66+
6767
### Server
6868
-
69-
69+
7070
use_external_app_to_release: ${{ vars.USE_RELEASE_APP == 'true' }}
7171
indent: ${{ vars.INDENT }}
7272
secrets:
@@ -86,6 +86,7 @@ jobs:
8686
draft_prerelease_channel: alpha
8787
ready_start_prerelease_channel: beta
8888
prerelease_channel: ${{ inputs.start-rc && 'rc' || '' }}
89+
reset_number_on_channel_change: true
8990
secrets:
9091
RELEASE_APP_ID: ${{ secrets.RELEASE_APP_ID }}
9192
RELEASE_APP_PRIVATE_KEY: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}

.github/workflows/release-with-ready.yml

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
indent: ${{ vars.INDENT }}
4242
draft_prerelease_channel: alpha
4343
ready_start_prerelease_channel: beta
44+
reset_number_on_channel_change: true
4445
secrets:
4546
RELEASE_APP_ID: ${{ secrets.RELEASE_APP_ID }}
4647
RELEASE_APP_PRIVATE_KEY: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}

.github/workflows/test-backend.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
strategy:
2424
matrix:
25-
node-version: [20.16.0]
25+
node-version: [22.11.0]
2626

2727
services:
2828
postgres:
@@ -61,7 +61,7 @@ jobs:
6161
- name: Test
6262
run: pnpm --filter backend test-and-coverage
6363
- name: Upload to Codecov
64-
uses: codecov/codecov-action@v4
64+
uses: codecov/codecov-action@v5
6565
with:
6666
token: ${{ secrets.CODECOV_TOKEN }}
6767
files: ./packages/backend/coverage/coverage-final.json
@@ -71,7 +71,7 @@ jobs:
7171

7272
strategy:
7373
matrix:
74-
node-version: [20.16.0]
74+
node-version: [22.11.0]
7575

7676
services:
7777
postgres:
@@ -108,7 +108,7 @@ jobs:
108108
- name: Test
109109
run: pnpm --filter backend test-and-coverage:e2e
110110
- name: Upload to Codecov
111-
uses: codecov/codecov-action@v4
111+
uses: codecov/codecov-action@v5
112112
with:
113113
token: ${{ secrets.CODECOV_TOKEN }}
114114
files: ./packages/backend/coverage/coverage-final.json

.github/workflows/test-federation.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
strategy:
2222
matrix:
23-
node-version: [20.16.0]
23+
node-version: [22.11.0]
2424
steps:
2525
- uses: actions/checkout@v4
2626
with:

.github/workflows/test-frontend.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
strategy:
2828
matrix:
29-
node-version: [20.16.0]
29+
node-version: [22.11.0]
3030

3131
steps:
3232
- uses: actions/[email protected]
@@ -50,7 +50,7 @@ jobs:
5050
- name: Test
5151
run: pnpm --filter frontend test-and-coverage
5252
- name: Upload Coverage
53-
uses: codecov/codecov-action@v4
53+
uses: codecov/codecov-action@v5
5454
with:
5555
token: ${{ secrets.CODECOV_TOKEN }}
5656
files: ./packages/frontend/coverage/coverage-final.json
@@ -61,7 +61,7 @@ jobs:
6161
strategy:
6262
fail-fast: false
6363
matrix:
64-
node-version: [20.16.0]
64+
node-version: [22.11.0]
6565
browser: [chrome]
6666

6767
services:

.github/workflows/test-misskey-js.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
strategy:
2323
matrix:
24-
node-version: [20.16.0]
24+
node-version: [22.11.0]
2525
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2626

2727
steps:
@@ -51,7 +51,7 @@ jobs:
5151
CI: true
5252

5353
- name: Upload Coverage
54-
uses: codecov/codecov-action@v4
54+
uses: codecov/codecov-action@v5
5555
with:
5656
token: ${{ secrets.CODECOV_TOKEN }}
5757
files: ./packages/misskey-js/coverage/coverage-final.json

.github/workflows/test-production.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [20.16.0]
19+
node-version: [22.11.0]
2020

2121
steps:
2222
- uses: actions/[email protected]

.github/workflows/validate-api-json.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
strategy:
2020
matrix:
21-
node-version: [20.16.0]
21+
node-version: [22.11.0]
2222

2323
steps:
2424
- uses: actions/[email protected]

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ misskey-assets
6868
# Vite temporary files
6969
vite.config.js.timestamp-*
7070
vite.config.ts.timestamp-*
71+
vite.config.local-dev.js.timestamp-*
72+
vite.config.local-dev.ts.timestamp-*
7173

7274
# blender backups
7375
*.blend1

.node-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20.16.0
1+
22.11.0

CHANGELOG.md

+76
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,79 @@
1+
## 2024.11.0
2+
3+
### Note
4+
- Node.js 20.xは非推奨になりました。Node.js 22.x (LTS)の利用を推奨します。
5+
- なお、Node.js 23.xは対応していません。
6+
- DockerのNode.jsが22.11.0に更新されました
7+
8+
### General
9+
- Feat: コンテンツの表示にログインを必須にできるように
10+
- Feat: 過去のノートを非公開化/フォロワーのみ表示可能にできるように
11+
- Enhance: 依存関係の更新
12+
- Enhance: l10nの更新
13+
- Fix: お知らせ作成時に画像URL入力欄を空欄に変更できないのを修正 ( #14976 )
14+
15+
### Client
16+
- Enhance: Bull DashboardでRelationship Queueの状態も確認できるように
17+
(Cherry-picked from https://github.com/MisskeyIO/misskey/pull/751)
18+
- Enhance: ドライブでソートができるように
19+
- Enhance: アイコンデコレーション管理画面の改善
20+
- Enhance: 「単なるラッキー」の取得条件を変更
21+
- Enhance: 投稿フォームでEscキーを押したときIME入力中ならフォームを閉じないように( #10866
22+
- Enhance: MiAuth, OAuthの認可画面の改善
23+
- どのアカウントで認証しようとしているのかがわかるように
24+
- 認証するアカウントを切り替えられるように
25+
- Enhance: Self-XSS防止用の警告を追加
26+
- Enhance: カタルーニャ語 (ca-ES) に対応
27+
- Enhance: 個別お知らせページではMetaタグを出力するように
28+
- Enhance: ノート詳細画面にロールのバッジを表示
29+
- Enhance: 過去に送信したフォローリクエストを確認できるように
30+
(Based on https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/663)
31+
- Enhance: サイドバーを簡単に展開・折りたたみできるように ( #14981 )
32+
- Enhance: リノートメニューに「リノートの詳細」を追加
33+
- Enhance: 非ログイン状態でMisskeyを開いた際のパフォーマンスを向上
34+
- Fix: 通知の範囲指定の設定項目が必要ない通知設定でも範囲指定の設定がでている問題を修正
35+
- Fix: Turnstileが失敗・期限切れした際にも成功扱いとなってしまう問題を修正
36+
(Cherry-picked from https://github.com/MisskeyIO/misskey/pull/768)
37+
- Fix: デッキのタイムラインカラムで「センシティブなファイルを含むノートを表示」設定が使用できなかった問題を修正
38+
- Fix: Encode RSS urls with escape sequences before fetching allowing query parameters to be used
39+
- Fix: リンク切れを修正
40+
= Fix: ノート投稿ボタンにホバー時のスタイルが適用されていないのを修正
41+
(Cherry-picked from https://github.com/taiyme/misskey/pull/305)
42+
- Fix: メールアドレス登録有効化時の「完了」ダイアログボックスの表示条件を修正
43+
- Fix: 画面幅が狭い環境でデザインが崩れる問題を修正
44+
(Cherry-picked from https://github.com/MisskeyIO/misskey/pull/815)
45+
- Fix: TypeScriptの型チェック対象ファイルを限定してビルドを高速化するように
46+
(Cherry-picked from https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/725)
47+
48+
### Server
49+
- Enhance: DockerのNode.jsを22.11.0に更新
50+
- Enhance: 起動前の疎通チェックで、DBとメイン以外のRedisの疎通確認も行うように
51+
(Based on https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/588)
52+
(Cherry-picked from https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/715)
53+
- Enhance: リモートユーザーの照会をオリジナルにリダイレクトするように
54+
- Fix: sharedInboxが無いActorに紐づくリモートユーザーを照会できない
55+
- Fix: Aproving request from GtS appears with some delay
56+
- Fix: フォロワーへのメッセージの絵文字をemojisに含めるように
57+
- Fix: Nested proxy requestsを検出した際にブロックするように
58+
[ghsa-gq5q-c77c-v236](https://github.com/misskey-dev/misskey/security/advisories/ghsa-gq5q-c77c-v236)
59+
- Fix: 招待コードの発行可能な残り数算出に使用すべきロールポリシーの値が違う問題を修正
60+
(Cherry-picked from https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/706)
61+
- Fix: 連合への配信時に、acctの大小文字が区別されてしまい正しくメンションが処理されないことがある問題を修正
62+
(Cherry-picked from https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/711)
63+
- Fix: ローカルユーザーへのメンションを含むノートが連合される際に正しいURLに変換されないことがある問題を修正
64+
(Cherry-picked from https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/712)
65+
- Fix: FTT無効時にユーザーリストタイムラインが使用できない問題を修正
66+
(Cherry-picked from https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/709)
67+
- Fix: User Webhookテスト機能のMock Payloadを修正
68+
- Fix: アカウント削除のモデレーションログが動作していないのを修正 (#14996)
69+
- Fix: リノートミュートが新規投稿通知に対して作用していなかった問題を修正
70+
- Fix: Inboxの処理で生じるエラーを誤ってActivityとして処理することがある問題を修正
71+
(Cherry-picked from https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/730)
72+
- Fix: セキュリティに関する修正
73+
74+
### Misskey.js
75+
- Fix: Stream初期化時、別途WebSocketを指定する場合の型定義を修正
76+
177
## 2024.10.1
278

379
### Note

CONTRIBUTING.md

+38-1
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,29 @@ Thank you for your PR! Before creating a PR, please check the following:
6464

6565
Thanks for your cooperation 🤗
6666

67+
### Additional things for ActivityPub payload changes
68+
*This section is specific to misskey-dev implementation. Other fork or implementation may take different way. A significant difference is that non-"misskey-dev" extension is not described in the misskey-hub's document.*
69+
70+
If PR includes changes to ActivityPub payload, please reflect it in [misskey-hub's document](https://github.com/misskey-dev/misskey-hub-next/blob/master/content/ns.md) by sending PR.
71+
72+
The name of purporsed extension property (referred as "extended property" in later) to ActivityPub shall be prefixed by `_misskey_`. (i.e. `_misskey_quote`)
73+
74+
The extended property in `packages/backend/src/core/activitypub/type.ts` **must** be declared as optional because ActivityPub payloads that comes from older Misskey or other implementation may not contain it.
75+
76+
The extended property must be included in the context definition. Context is defined in `packages/backend/src/core/activitypub/misc/contexts.ts`.
77+
The key shall be same as the name of extended property, and the value shall be same as "short IRI".
78+
79+
"Short IRI" is defined in misskey-hub's document, but usually takes form of `misskey:<name of extended property>`. (i.e. `misskey:_misskey_quote`)
80+
81+
One should not add property that has defined before by other implementation, or add custom variant value to "well-known" property.
82+
6783
## Reviewers guide
6884
Be willing to comment on the good points and not just the things you want fixed 💯
6985

86+
読んでおくといいやつ
87+
- https://blog.lacolaco.net/posts/1e2cf439b3c2/
88+
- https://konifar-zatsu.hatenadiary.jp/entry/2024/11/05/192421
89+
7090
### Review perspective
7191
- Scope
7292
- Are the goals of the PR clear?
@@ -81,6 +101,22 @@ Be willing to comment on the good points and not just the things you want fixed
81101
- Are there any omissions or gaps?
82102
- Does it check for anomalies?
83103

104+
## Security Advisory
105+
### For reporter
106+
Thank you for your reporting!
107+
108+
If you can also create a patch to fix the vulnerability, please create a PR on the private fork.
109+
110+
> [!note]
111+
> There is a GitHub bug that prevents merging if a PR not following the develop branch of upstream, so please keep follow the develop branch.
112+
113+
### For misskey-dev member
114+
修正PRがdevelopに追従されていないとマージできないので、マージできなかったら
115+
116+
> Could you merge or rebase onto upstream develop branch?
117+
118+
などと伝える。
119+
84120
## Deploy
85121
The `/deploy` command by issue comment can be used to deploy the contents of a PR to the preview environment.
86122
```
@@ -116,7 +152,8 @@ You can improve our translations with your Crowdin account.
116152
Your changes in Crowdin are automatically submitted as a PR (with the title "New Crowdin translations") to the repository.
117153
The owner [@syuilo](https://github.com/syuilo) merges the PR into the develop branch before the next release.
118154

119-
If your language is not listed in Crowdin, please open an issue.
155+
If your language is not listed in Crowdin, please open an issue. We will add it to Crowdin.
156+
For newly added languages, once the translation progress per language exceeds 70%, it will be officially introduced into Misskey and made available to users.
120157

121158
![Crowdin](https://d322cqt584bo4o.cloudfront.net/misskey/localized.svg)
122159

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax = docker/dockerfile:1.4
22

3-
ARG NODE_VERSION=20.16.0-bullseye
3+
ARG NODE_VERSION=22.11.0-bullseye
44

55
# build assets & compile TypeScript
66

SECURITY.md

+7
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,10 @@ This will allow us to assess the risk, and make a fix available before we add a
66
bug report to the GitHub repository.
77

88
Thanks for helping make Misskey safe for everyone.
9+
10+
## When create a patch
11+
12+
If you can also create a patch to fix the vulnerability, please create a PR on the private fork.
13+
14+
> [!note]
15+
> There is a GitHub bug that prevents merging if a PR not following the develop branch of upstream, so please keep follow the develop branch.

locales/ar-SA.yml

-1
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,6 @@ enableLocalTimeline: "تفعيل الخيط المحلي"
343343
enableGlobalTimeline: "تفعيل الخيط الزمني الشامل"
344344
disablingTimelinesInfo: "سيتمكن المديرون والمشرفون من الوصول إلى كل الخيوط الزمنية حتى وإن لم تفعّل."
345345
registration: "إنشاء حساب"
346-
enableRegistration: "تفعيل إنشاء الحسابات الجديدة"
347346
invite: "دعوة"
348347
driveCapacityPerLocalAccount: "حصة التخزين لكل مستخدم محلي"
349348
driveCapacityPerRemoteAccount: "حصة التخزين لكل مستخدم بعيد"

locales/bn-BD.yml

-1
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,6 @@ enableLocalTimeline: "স্থানীয় টাইমলাইন চাল
339339
enableGlobalTimeline: "গ্লোবাল টাইমলাইন চালু করুন"
340340
disablingTimelinesInfo: "আপনি এই টাইমলাইনগুলি বন্ধ করলেও প্রশাসক এবং মডারেটররা এই টাইমলাইনগুলি ব্যাবহার করতে পারবে"
341341
registration: "নিবন্ধন"
342-
enableRegistration: "নতুন ব্যাবহারকারী নিবন্ধন চালু করুন"
343342
invite: "আমন্ত্রণ"
344343
driveCapacityPerLocalAccount: "প্রত্যেক স্থানীয় ব্যাবহারকারীর জন্য ড্রাইভের জায়গা"
345344
driveCapacityPerRemoteAccount: "প্রত্যেক রিমোট ব্যাবহারকারীর জন্য ড্রাইভের জায়গা"

0 commit comments

Comments
 (0)