Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: 2023.10.2 #12060

Merged
merged 73 commits into from
Oct 21, 2023
Merged
Show file tree
Hide file tree
Changes from 70 commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
04908bc
.js
syuilo Oct 13, 2023
096fa16
enhance(frontend): TLの返信表示オプションを記憶するように
syuilo Oct 13, 2023
061e389
perf(backend): nyaizeを投稿時にやる
syuilo Oct 14, 2023
329830e
perf(backend): tweak populateMyReaction
syuilo Oct 14, 2023
3f4ee98
perf(backend): improve streaming api performance (#12033)
syuilo Oct 15, 2023
5117818
Update CHANGELOG.md
syuilo Oct 15, 2023
15706c8
Update CHANGELOG.md
syuilo Oct 15, 2023
1fa1d31
perf(backend): createdAtをidから取得するように & 無駄なDateインスタンスの生成を避けるように
syuilo Oct 16, 2023
24437a0
fix of 1fa1d31696
syuilo Oct 16, 2023
34d1b46
fix tests
syuilo Oct 16, 2023
6a321ba
fix test
syuilo Oct 16, 2023
3ebed5a
feat: local-only antenna
syuilo Oct 16, 2023
1966876
fix test
syuilo Oct 16, 2023
5efd01b
feat: サーバーサイレンス機能を追加 (#12031)
mattyatea Oct 16, 2023
7e4562d
Update CHANGELOG.md
syuilo Oct 16, 2023
9338ab4
update deps
syuilo Oct 16, 2023
5686e1d
refactor
syuilo Oct 17, 2023
e9db068
update deps
syuilo Oct 17, 2023
5a3c657
新規にフォローした人のwithRepliesをtrueにする機能を追加 (#12048)
anatawa12 Oct 17, 2023
145c5c8
update deps
syuilo Oct 18, 2023
53099ca
fix: `admin/update-meta` が保存できない (#12057)
kakkokari-gtyih Oct 18, 2023
0bddd0c
Remove unnecessary nullish coalescing (#12058)
woxtu Oct 18, 2023
f6e1ee1
users/notesでDBから参照した際にチャンネル投稿のみ取得される問題を修正 (#12056)
tai-cha Oct 18, 2023
d82b3a0
Update ja-JP.yml (#12053)
nryeouo Oct 18, 2023
52a82ac
Update about-misskey.vue
syuilo Oct 18, 2023
2a88d8e
refactor(backend): rename service
syuilo Oct 18, 2023
6cc02fe
enhance(backend): improve fanout tl
syuilo Oct 18, 2023
3c5bcdd
Update CHANGELOG.md
syuilo Oct 18, 2023
6b7efb6
fix(backend): fix admin/get-user-ips error
syuilo Oct 18, 2023
6b5ee43
enhance(backend): improve fanout tl for stl
syuilo Oct 18, 2023
ae1e276
fix of 6cc02fee99
syuilo Oct 18, 2023
5b244cc
update test
syuilo Oct 18, 2023
524b669
2023.10.2-beta.1
syuilo Oct 18, 2023
92b49b6
New Crowdin updates (#12036)
syuilo Oct 18, 2023
01f294b
Update CHANGELOG.md
syuilo Oct 18, 2023
de6e15e
Merge branch 'develop' of https://github.com/misskey-dev/misskey into…
syuilo Oct 18, 2023
fcc4864
perf(backend): reduce needless populateMyReaction calls
syuilo Oct 18, 2023
2dfbf97
refactor
syuilo Oct 18, 2023
4d1d25e
perf(backend): improve my reaction population performance
syuilo Oct 18, 2023
1671575
perf(backend): ノートのリアクション情報をキャッシュすることでDBへのクエリを削減
syuilo Oct 19, 2023
f9549e1
fix(backend): fix of 1671575d5d
syuilo Oct 19, 2023
428d39a
chore: disable debug log of fastify
syuilo Oct 19, 2023
ec45db7
refactor and perf tweak
syuilo Oct 19, 2023
30efd93
enhance: nyaizeはクライアントで表示時に行うように
syuilo Oct 19, 2023
5891adc
Update CHANGELOG.md
syuilo Oct 19, 2023
f85a655
2023.10.2-beta.2
syuilo Oct 19, 2023
431d8c7
fix(backend): Redisがからのときにhybrid-timelineにwithReplies = trueでアクセスするとS…
syuilo Oct 19, 2023
93d3501
fix: replies are included even if withReplies = false in local timeli…
anatawa12 Oct 19, 2023
721cbe0
fix(frontend): fix of 30efd932a5
syuilo Oct 19, 2023
9afcdd1
UserLite.nameにnullが入りうるのを型で明示 (#12073)
na2na-p Oct 19, 2023
991fa05
chore: STLのdb fallbackでwithRepliesがtrueのときにすべてのリプライを除外しないように (#12075)
anatawa12 Oct 19, 2023
3c3d05b
chore(deps): bump actions/checkout from 4.1.0 to 4.1.1 (#12062)
dependabot[bot] Oct 19, 2023
7b36122
fix(frontend): Recieve Unrenote on streaming (#12079)
atsu1125 Oct 19, 2023
84a9e4a
Update CHANGELOG.md
syuilo Oct 19, 2023
d9241df
New Crowdin updates (#12070)
syuilo Oct 19, 2023
cc256f1
update deps
syuilo Oct 19, 2023
e5598da
disable cypress widgets tests
syuilo Oct 19, 2023
4a7c6e2
fix(backend): 管理者権限のロールを持っていても一部のAPIが使用できないことがある問題を修正
syuilo Oct 19, 2023
6ff5bfd
clean up
syuilo Oct 19, 2023
216b20d
fix(backend): 自分のフォロワー限定ノートがWebsoketに乗ってこない
syuilo Oct 19, 2023
683b71f
add timeline tests
syuilo Oct 19, 2023
d962ea3
add timeline tests
syuilo Oct 19, 2023
18af290
chore: tweak MkNotifications
syuilo Oct 20, 2023
21986a2
enhance(frontend): 投稿されてから時間が経過しているノートであることを視覚的に分かりやすく
syuilo Oct 20, 2023
b394328
fix(backend): フォロ限へのリプのリプ元が(非公開)の表示のまま
syuilo Oct 20, 2023
df957f7
update test
syuilo Oct 20, 2023
42a3489
update deps
syuilo Oct 20, 2023
3e5c55c
chore: Pull Request時にapi.jsonの差分を表示するActions workflow (#12090)
tai-cha Oct 20, 2023
6d6ddbc
fix(backend) api/iの未読のお知らせにcreatedAtを追加するように修正 (#12092)
shiosyakeyakini-info Oct 20, 2023
f4970c7
fix(frontend): Use opening quote in notifications (#12082)
siketyan Oct 20, 2023
e6873fb
Switch avatar images that depend on the animation setting (#12097)
woxtu Oct 21, 2023
3b9983c
2023.10.2
syuilo Oct 21, 2023
b397a72
New Crowdin updates (#12094)
syuilo Oct 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"workspaceFolder": "/workspace",
"features": {
"ghcr.io/devcontainers-contrib/features/pnpm:2": {
"version": "8.8.0"
"version": "8.9.2"
},
"ghcr.io/devcontainers/features/node:1": {
"version": "20.5.1"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/api-misskey-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4.1.0
uses: actions/checkout@v4.1.1

- run: corepack enable

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check_copyright_year.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
check_copyright_year:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.0
- uses: actions/checkout@v4.1.1
- run: |
if [ "$(grep Copyright COPYING | sed -e 's/.*2014-\([0-9]*\) .*/\1/g')" -ne "$(date +%Y)" ]; then
echo "Please change copyright year!"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
if: github.repository == 'misskey-dev/misskey'
steps:
- name: Check out the repo
uses: actions/checkout@v4.1.0
uses: actions/checkout@v4.1.1
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3.0.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Check out the repo
uses: actions/checkout@v4.1.0
uses: actions/checkout@v4.1.1
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3.0.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
env:
DOCKER_CONTENT_TRUST: 1
steps:
- uses: actions/checkout@v4.1.0
- uses: actions/checkout@v4.1.1
- run: |
curl -L -o dockle.deb "https://github.com/goodwithtech/dockle/releases/download/v0.4.10/dockle_0.4.10_Linux-64bit.deb"
sudo dpkg -i dockle.deb
Expand Down
225 changes: 225 additions & 0 deletions .github/workflows/get-api-diff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,225 @@
name: Report API Diff

on:
pull_request:
branches:
- master
- develop

jobs:
get-base:
runs-on: ubuntu-latest
permissions:
contents: read

strategy:
matrix:
node-version: [20.5.1]

services:
db:
image: postgres:13
ports:
- 5432:5432
env:
POSTGRES_DB: misskey
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_USER: example-misskey-user
POSTGRESS_PASS: example-misskey-pass
redis:
image: redis:7
ports:
- 6379:6379

steps:
- uses: actions/checkout@v4.1.1
with:
repository: ${{ github.event.pull_request.base.repo.full_name }}
ref: ${{ github.base_ref }}
submodules: true
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.8.1
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- run: corepack enable
- run: pnpm i --frozen-lockfile
- name: Check pnpm-lock.yaml
run: git diff --exit-code pnpm-lock.yaml
- name: Copy Configure
run: cp .config/example.yml .config/default.yml
- name: Build
run: pnpm build
- name : Migrate
run: pnpm migrate
- name: Launch misskey
run: |
screen -S misskey -dm pnpm run dev
sleep 30s
- name: Wait for Misskey to be ready
run: |
MAX_RETRIES=12
RETRY_DELAY=5
count=0
until $(curl --output /dev/null --silent --head --fail http://localhost:3000) || [[ $count -eq $MAX_RETRIES ]]; do
printf '.'
sleep $RETRY_DELAY
count=$((count + 1))
done

if [[ $count -eq $MAX_RETRIES ]]; then
echo "Failed to connect to Misskey after $MAX_RETRIES attempts."
exit 1
fi
- id: fetch
name: Get api.json from Misskey
run: |
RESULT=$(curl --retry 5 --retry-delay 5 --retry-max-time 60 http://localhost:3000/api.json)
echo $RESULT > api-base.json
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: api-artifact
path: api-base.json
- name: Kill Misskey Job
run: screen -S misskey -X quit

get-head:
runs-on: ubuntu-latest
permissions:
contents: read

strategy:
matrix:
node-version: [20.5.1]

services:
db:
image: postgres:13
ports:
- 5432:5432
env:
POSTGRES_DB: misskey
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_USER: example-misskey-user
POSTGRESS_PASS: example-misskey-pass
redis:
image: redis:7
ports:
- 6379:6379

steps:
- uses: actions/checkout@v4.1.1
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.head_ref }}
submodules: true
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.8.1
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- run: corepack enable
- run: pnpm i --frozen-lockfile
- name: Check pnpm-lock.yaml
run: git diff --exit-code pnpm-lock.yaml
- name: Copy Configure
run: cp .config/example.yml .config/default.yml
- name: Build
run: pnpm build
- name : Migrate
run: pnpm migrate
- name: Launch misskey
run: |
screen -S misskey -dm pnpm run dev
sleep 30s
- name: Wait for Misskey to be ready
run: |
MAX_RETRIES=12
RETRY_DELAY=5
count=0
until $(curl --output /dev/null --silent --head --fail http://localhost:3000) || [[ $count -eq $MAX_RETRIES ]]; do
printf '.'
sleep $RETRY_DELAY
count=$((count + 1))
done

if [[ $count -eq $MAX_RETRIES ]]; then
echo "Failed to connect to Misskey after $MAX_RETRIES attempts."
exit 1
fi
- id: fetch
name: Get api.json from Misskey
run: |
RESULT=$(curl --retry 5 --retry-delay 5 --retry-max-time 60 http://localhost:3000/api.json)
echo $RESULT > api-head.json
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: api-artifact
path: api-head.json
- name: Kill Misskey Job
run: screen -S misskey -X quit

compare-diff:
runs-on: ubuntu-latest
if: success()
needs: [get-base, get-head]
permissions:
pull-requests: write

steps:
- name: Download Artifact
uses: actions/download-artifact@v3
with:
name: api-artifact
path: ./artifacts
- name: Output base
run: cat ./artifacts/api-base.json
- name: Output head
run: cat ./artifacts/api-head.json
- name: Arrange json files
run: |
jq '.' ./artifacts/api-base.json > ./api-base.json
jq '.' ./artifacts/api-head.json > ./api-head.json
- name: Get diff of 2 files
run: diff -u --label=base --label=head ./api-base.json ./api-head.json | cat > api.json.diff
- name: Get full diff
run: diff --label=base --label=head --new-line-format='+%L' --old-line-format='-%L' --unchanged-line-format=' %L' ./api-base.json ./api-head.json | cat > api-full.json.diff
- name: Echo full diff
run: cat ./api-full.json.diff
- name: Upload full diff to Artifact
uses: actions/upload-artifact@v3
with:
name: api-artifact
path: api-full.json.diff
- id: out-diff
name: Build diff Comment
run: |
cat <<- EOF > ./output.md
このPRによるapi.jsonの差分
<details>
<summary>差分はこちら</summary>

\`\`\`diff
$(cat ./api.json.diff)
\`\`\`
</details>

[Get diff files from Workflow Page](https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID})
EOF
- name: Write diff comment
uses: thollander/actions-comment-pull-request@v2
with:
comment_tag: show_diff
filePath: ./output.md
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
pnpm_install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.0
- uses: actions/checkout@v4.1.1
with:
fetch-depth: 0
submodules: true
Expand All @@ -38,7 +38,7 @@ jobs:
- sw
- misskey-js
steps:
- uses: actions/checkout@v4.1.0
- uses: actions/checkout@v4.1.1
with:
fetch-depth: 0
submodules: true
Expand All @@ -64,7 +64,7 @@ jobs:
- backend
- misskey-js
steps:
- uses: actions/checkout@v4.1.0
- uses: actions/checkout@v4.1.1
with:
fetch-depth: 0
submodules: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-preview-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:

# Check out merge commit
- name: Fork based /deploy checkout
uses: actions/checkout@v4.1.0
uses: actions/checkout@v4.1.1
with:
ref: 'refs/pull/${{ github.event.client_payload.pull_request.number }}/merge'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- 56312:6379

steps:
- uses: actions/checkout@v4.1.0
- uses: actions/checkout@v4.1.1
with:
submodules: true
- name: Install pnpm
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
node-version: [20.5.1]

steps:
- uses: actions/checkout@v4.1.0
- uses: actions/checkout@v4.1.1
with:
submodules: true
- name: Install pnpm
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
- 56312:6379

steps:
- uses: actions/checkout@v4.1.0
- uses: actions/checkout@v4.1.1
with:
submodules: true
# https://github.com/cypress-io/cypress-docker-images/issues/150
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-misskey-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4.1.0
uses: actions/checkout@v4.1.1

- run: corepack enable

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
node-version: [20.5.1]

steps:
- uses: actions/checkout@v4.1.0
- uses: actions/checkout@v4.1.1
with:
submodules: true
- name: Install pnpm
Expand Down
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,30 @@

-->

## 2023.x.x (unreleased)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

書き換え忘れていませんか?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤯


### General
- Feat: アンテナでローカルの投稿のみ収集できるようになりました
- Feat: サーバーサイレンス機能が追加されました
- Enhance: 新規にフォローした人の返信をデフォルトでTLに追加できるオプションを追加
- Enhance: HTL/LTL/STLを2023.10.0アップデート以前まで遡れるように
- Enhance: フォロー/フォロー解除したときに過去分のHTLにも含まれる投稿が反映されるように
- Enhance: ローカリゼーションの更新
- Enhance: 依存関係の更新

### Client
- Enhance: TLの返信表示オプションを記憶するように
- Enhance: 投稿されてから時間が経過しているノートであることを視覚的に分かりやすく

### Server
- Enhance: タイムライン取得時のパフォーマンスを向上
- Enhance: ストリーミングAPIのパフォーマンスを向上
- Fix: users/notesでDBから参照した際にチャンネル投稿のみ取得される問題を修正
- Fix: コントロールパネルの設定項目が正しく保存できない問題を修正
- Fix: 管理者権限のロールを持っていても一部のAPIが使用できないことがある問題を修正
- Change: ユーザーのisCatがtrueでも、サーバーではnyaizeが行われなくなりました
- isCatな場合、クライアントでnyaize処理を行うことを推奨します

## 2023.10.1
### General
- Enhance: ローカルタイムライン、ソーシャルタイムラインで返信を含むかどうか設定可能に
Expand All @@ -27,6 +51,7 @@
### NOTE
- 2023.9.2で導入されたノート編集機能はクオリティの高い実装が困難であることが判明したため撤回されました
- アップデートを行うと、タイムラインが一時的にリセットされます
- アンテナ内のノートも含む
- ソフトミュート設定はクライアントではなくサーバー側に保存されるようになったため、アップデートを行うとソフトミュートの設定がリセットされます

### Changes
Expand Down
Loading
Loading