v3.13.0
github-actions
released this
16 May 13:18
·
1034 commits
to master
since this release
[CAUTION]
DBにdisplay_nameが32文字以上のuserがいた場合、アップデートが失敗します
v3.13.0ではなく、v3.13.1に直接アップデートしてください
新機能
GET /users/me/unread
のレスポンスに、チャンネルの未読の中で最も古いメッセージのIDであるoldestMessageIdを追加 #1737- traPtitech/traQ_S-UI#3878 の解決のため
機能改善
GET /users/me/unread
のレスポンス速度を大幅に改善 #1746- 特に未読が多いとき、traQのアプリケーションを開くときの速度が大きく改善されています
- [BREAKING] 凍結されたユーザーの未読を削除するように #1802
- ユーザーを凍結する際、凍結されるユーザーの未読データはすべて削除されるようになります
- バージョンアップの際、今まで凍結されたユーザーの (& Botユーザーに誤ってついていた)未読データが全て削除されます
バグ修正
- アクティビティで「同じチャンネルでは一つしかメッセージを表示しない」をオンにすると、最新メッセージが削除されたチャンネルが表示されないバグを修正 #1745
- IECに正確な単位を使用するように #1771
- ユーザーの表示名最長を32文字に #1780
- クライアントサイドとの不整合が生じていたため
開発/運用
Changelog
- 6203c15 Merge pull request #1807 from traPtitech/remove-dockerize
- b094ef0 Merge pull request #1806 from traPtitech/tbls-actions
- 6fc10c9 waiting es & mysql with healthcheck
- 3a778a0 remove dockerize from Dockerfile
- 7cc3a8a setup hadolint config
- 4a77494 using official actions for tbls setup
- 57996fe Merge pull request #1805 from traPtitech/update-tbls
- 611233c ignoring schema.json
- f675be7 using mermaid er
- c713ec0 update tbls version
- dda8a0b Merge pull request #1746 from traPtitech/add-chan-id-to-unread
- 8646a27 deleted redundant query
- e235a6d don't depend on model package
- 01fbf02 using gorm-like expression
- e29d2b4 not deleting unreads in archived channels
- 1cbe873 Revert "implement unreads deletion in ArchiveChannels"
- 453f74d removing dist folder with tbls option
- abd7787 update comment setting
- 0239225 updated db schema
- 009f2d4 Merge pull request #1802 from traPtitech/delete-redundant-unreads
- ac9f50c using sub query statement in Gorm & fix query
- f89f14c added unreads deletion in migration
- 10a8161 Update es version in doc
- 17850eb Update es version used for dev
- 7bfa212 Merge pull request #1803 from traPtitech/relax-es-version-check
- 7dfedcf log es version
- f30fd9d check only major ver for minor/patch updates
- e32ad9b implemented unreads deletion in user deactivation
- f038c8e implement unreads deletion in ArchiveChannels
- 7c7d6b5 fix MODIFY COLUMN query
- 018c10d fix comment
- f3a097f add comments
- b631c9d v32 -> v33
- fe60d38 added comments
- f5d935a improved query
- 244cb7c fix unread query
- c83a230 register dump file to ignore list
- 8006278 add channelID to Unread model
- 76c759c Merge pull request #1801 from traPtitech/dependabot/go_modules/golang.org/x/oauth2-0.8.0
- e942a98 Merge pull request #1800 from traPtitech/dependabot/go_modules/google.golang.org/api-0.122.0
- 659a1f6 Merge pull request #1796 from traPtitech/dependabot/go_modules/golang.org/x/crypto-0.9.0
- 4f187d0 Merge pull request #1799 from traPtitech/dependabot/go_modules/github.com/aws/aws-sdk-go-v2/feature/s3/manager-1.11.67
- d8a9834 Merge pull request #1795 from traPtitech/dependabot/docker/alpine-3.18.0
- c61a0e8 Bump golang.org/x/oauth2 from 0.7.0 to 0.8.0
- 42e0bcd Bump google.golang.org/api from 0.121.0 to 0.122.0
- e4cad4b Bump github.com/aws/aws-sdk-go-v2/feature/s3/manager
- ace7122 Bump golang.org/x/crypto from 0.8.0 to 0.9.0
- 46d4ce9 Bump alpine from 3.17.3 to 3.18.0
- 85a874e Merge pull request #1792 from traPtitech/dependabot/go_modules/gorm.io/gorm-1.25.1
- 0196e0d Merge pull request #1790 from traPtitech/dependabot/go_modules/github.com/aws/aws-sdk-go-v2/feature/s3/manager-1.11.66
- 72dc62b Merge pull request #1794 from traPtitech/dependabot/go_modules/golang.org/x/net-0.10.0
- fb4561b Bump golang.org/x/net from 0.9.0 to 0.10.0
- fd8a6bb Bump gorm.io/gorm from 1.25.0 to 1.25.1
- d68bf85 Bump github.com/aws/aws-sdk-go-v2/feature/s3/manager
- fcca824 Merge pull request #1785 from traPtitech/dependabot/go_modules/golang.org/x/sync-0.2.0
- 82d03ce Merge pull request #1784 from traPtitech/dependabot/go_modules/github.com/aws/aws-sdk-go-v2/feature/s3/manager-1.11.65
- 7efc0f4 Merge pull request #1789 from traPtitech/fix/s3-path-style
- b4a155d allow path style for some s3-compatible providers
- dd460ff Bump golang.org/x/sync from 0.1.0 to 0.2.0
- b25973d Bump github.com/aws/aws-sdk-go-v2/feature/s3/manager
- d046bf0 Merge pull request #1783 from traPtitech/dependabot/go_modules/google.golang.org/api-0.121.0
- 0f88f22 Merge pull request #1782 from traPtitech/dependabot/go_modules/github.com/prometheus/client_golang-1.15.1
- 2fedaf9 Bump google.golang.org/api from 0.120.0 to 0.121.0
- bf75804 Bump github.com/prometheus/client_golang from 1.15.0 to 1.15.1
- 7243607 Merge pull request #1781 from traPtitech/dependabot/docker/golang-1.20.4-alpine
- cebac0c Bump golang from 1.20.3-alpine to 1.20.4-alpine
- b0b9914 Merge pull request #1780 from traPtitech/shorten_display_name
- 4895fd6 repositoryのテストを修正
- 1979cc2 repositoryでの表示名上限判定を削除
- 9429b41 migrationで33文字以上の表示名を切り取り
- ea7aecb authで表示名の最大を修正
- cbd9885 dbスキーマの表示名上限修正
- 05728d9 migrate
- d11727d modelの表示名上限を修正
- c28c3cd テストケース修正
- 864310b repositoryで表示名上限変更
- eda104f 変更忘れ
- 4140053 routerのテストを追加
- 9538fe4 routerで表示名の長さを32に
- 03f1d97 Merge pull request #1778 from traPtitech/dependabot/go_modules/google.golang.org/api-0.120.0
- e88bb53 Merge pull request #1777 from traPtitech/dependabot/go_modules/github.com/go-sql-driver/mysql-1.7.1
- 1352b3f Bump google.golang.org/api from 0.119.0 to 0.120.0
- dab1be4 Bump github.com/go-sql-driver/mysql from 1.7.0 to 1.7.1
- 1ae3b59 Merge pull request #1772 from traPtitech/dependabot/go_modules/github.com/aws/aws-sdk-go-v2/feature/s3/manager-1.11.64
- 5a985b0 Bump github.com/aws/aws-sdk-go-v2/feature/s3/manager
- a8c7167 Merge pull request #1771 from traPtitech/fix/KB_to_KiB
- 8b93ef0 正確にはKiBのところがKBとなっていたため、修正した
- d786d27 Merge pull request #1767 from traPtitech/dependabot/go_modules/google.golang.org/api-0.119.0
- 2c74c5e Merge pull request #1769 from traPtitech/dependabot/go_modules/github.com/aws/aws-sdk-go-v2/feature/s3/manager-1.11.63
- 4d069d9 Bump github.com/aws/aws-sdk-go-v2/feature/s3/manager
- cfa8952 Bump google.golang.org/api from 0.118.0 to 0.119.0
- eab9c6d Merge pull request #1766 from traPtitech/dependabot/go_modules/github.com/ory/dockertest/v3-3.10.0
- 9af307b Bump github.com/ory/dockertest/v3 from 3.9.1 to 3.10.0
- bde83e6 Merge pull request #1765 from traPtitech/dependabot/go_modules/github.com/prometheus/client_golang-1.15.0
- 7b0664a Bump github.com/prometheus/client_golang from 1.14.0 to 1.15.0
- 8709322 Merge pull request #1763 from traPtitech/dependabot/go_modules/gorm.io/driver/mysql-1.5.0
- 522a276 Bump gorm.io/driver/mysql from 1.4.7 to 1.5.0
- 41e2f83 Merge pull request #1762 from traPtitech/dependabot/go_modules/gorm.io/gorm-1.25.0
- 947c0a7 Bump gorm.io/gorm from 1.24.6 to 1.25.0
- 653f483 Merge pull request #1764 from traPtitech/dependabot/go_modules/google.golang.org/api-0.118.0
- 878285b Bump google.golang.org/api from 0.117.0 to 0.118.0
- 0fed9e8 Merge pull request #1760 from traPtitech/dependabot/go_modules/google.golang.org/api-0.117.0
- 1a30506 Merge pull request #1757 from traPtitech/dependabot/go_modules/github.com/aws/aws-sdk-go-v2/feature/s3/manager-1.11.62
- a6db504 Bump google.golang.org/api from 0.116.0 to 0.117.0
- ae2168d Bump github.com/aws/aws-sdk-go-v2/feature/s3/manager
- 31121a8 Merge pull request #1755 from traPtitech/dependabot/go_modules/golang.org/x/oauth2-0.7.0
- de2124a Merge pull request #1753 from traPtitech/dependabot/go_modules/golang.org/x/crypto-0.8.0
- a10acfc Merge pull request #1752 from traPtitech/dependabot/go_modules/github.com/aws/aws-sdk-go-v2/feature/s3/manager-1.11.61
- dd14ff5 Bump golang.org/x/oauth2 from 0.6.0 to 0.7.0
- b50f9bd Bump golang.org/x/crypto from 0.7.0 to 0.8.0
- addf313 Bump github.com/aws/aws-sdk-go-v2/feature/s3/manager
- a88faf7 Merge pull request #1749 from traPtitech/dependabot/go_modules/golang.org/x/image-0.7.0
- cccf0ec Bump golang.org/x/image from 0.6.0 to 0.7.0
- 1ff96c8 Merge pull request #1748 from traPtitech/dependabot/go_modules/golang.org/x/net-0.9.0
- 05bfd0d Bump golang.org/x/net from 0.8.0 to 0.9.0
- 3ae8d6f Merge pull request #1747 from traPtitech/dependabot/go_modules/google.golang.org/api-0.116.0
- 8f2dbed Bump google.golang.org/api from 0.115.0 to 0.116.0
- 467e494 Merge pull request #1745 from traPtitech/update-latest-message
- 1ed9d09 update latest message when message is deleted
- 1009fc7 delete trailing spaces
- 6758ab2 Merge pull request #1741 from traPtitech/dependabot/docker/golang-1.20.3-alpine
- 4ed32a1 Merge pull request #1744 from traPtitech/dependabot/go_modules/github.com/spf13/cobra-1.7.0
- 55a9fca Merge pull request #1743 from traPtitech/dependabot/go_modules/google.golang.org/api-0.115.0
- 319231f Bump google.golang.org/api from 0.114.0 to 0.115.0
- 30ef0af Merge pull request #1742 from traPtitech/dependabot/go_modules/github.com/gavv/httpexpect/v2-2.15.0
- 7024e1f Merge pull request #1740 from traPtitech/dependabot/go_modules/github.com/docker/docker-20.10.24incompatible
- a0becd7 Bump github.com/spf13/cobra from 1.6.1 to 1.7.0
- b4ce551 Bump github.com/gavv/httpexpect/v2 from 2.14.0 to 2.15.0
- baabca9 Bump golang from 1.20.2-alpine to 1.20.3-alpine
- b6e013f Bump github.com/docker/docker
- 904222c Merge pull request #1739 from traPtitech/enhancement/allowSignUp-True
- 4372d83 Merge pull request #1737 from traPtitech/enhancement/add-oldest-message-id-to-/users/me/unread
- 9d5cdd4 fix
- 2c38b3b allowSignUp: true
- 704d2ed oldestMessageIdが実際に作られたMessageのidと一致してるかをTest
- 832a8af SQL文を改行して可読性を向上
- 1e68636 v3-api.yamlに変更箇所を追加
- 8263080 Merge pull request #1735 from traPtitech/dependabot/go_modules/github.com/aws/aws-sdk-go-v2/feature/s3/manager-1.11.60
- 467f03a 1行にしたら多分test通るようになった??
- 27a55d8 make golangci-lint (OldestMessageId -> OldestMessageID)
- f580335 testにoldestMessageIdを追加
- c90450b 構造体UserUnreadChannelにOldestMessageIdを追加
- 1031835 SQL文をoldest_message_id返すように変更
- 4b7e6ee Bump github.com/aws/aws-sdk-go-v2/feature/s3/manager
- 296fca2 Merge pull request #1732 from traPtitech/dependabot/go_modules/github.com/opencontainers/runc-1.1.5
- ea7770c Bump github.com/opencontainers/runc from 1.1.2 to 1.1.5
- 8ef221f Merge pull request #1733 from traPtitech/dependabot/docker/alpine-3.17.3
- 7b1ba74 Bump alpine from 3.17.2 to 3.17.3