Releases: traPtitech/traQ
v3.8.0
新機能
機能改善
- 1.0 API (
/api/1.0
) の大半を削除 #1270- /public と file の取得のみ引き続き利用できますが、v3への移行を推奨します
- 1年以上前のBOTのイベントログを保持しないように #1281
バグ修正
- セッション(
r_session
)が空だったときにエラーになっていたのを修正 #1272
開発/運用
Changelog
662756f Merge pull request #1285 from traPtitech/dependabot/go_modules/cloud.google.com/go-0.93.3
60d1d8f Merge pull request #1288 from traPtitech/update-mariadb-10.6.4
bdb7c6a 🆙 Use MariaDB 10.6.4
14d90fd Merge pull request #1287 from traPtitech/update/golang-jwt-v4
e158b47 Bump cloud.google.com/go from 0.92.1 to 0.93.3
757222e 🆙 Bump github.com/golang-jwt/jwt/v4
5530f5f Merge pull request #1283 from traPtitech/dependabot/docker/golang-1.17.0-alpine
69a16d3 ⚙️ run test in random order
13bcf9f ⚡ go mod tidy -go=1.17
bcabd2f 🆙 bump go from 1.16.6 to 1.17.0
9156e73 Bump golang from 1.16.7-alpine to 1.17.0-alpine
c1eae74 Merge pull request #1282 from traPtitech/dependabot/go_modules/cloud.google.com/go-0.92.1
51ef81a Bump cloud.google.com/go from 0.91.1 to 0.92.1
10e2346 update github.com/lthibault/jitterbug
e7bf8df Merge pull request #1281 from traPtitech/bot-event-log-purger
f1b03c5 ✨ purge bot event logs every 24h
91887d4 Merge pull request #1278 from traPtitech/dependabot/go_modules/gorm.io/gorm-1.21.13
c115102 Bump gorm.io/gorm from 1.21.12 to 1.21.13
983100c Merge pull request #1279 from traPtitech/dependabot/go_modules/cloud.google.com/go-0.91.1
a13645d Merge pull request #1274 from traPtitech/dependabot/docker/alpine-3.14.1
fd7fed8 Bump cloud.google.com/go from 0.90.0 to 0.91.1
285d501 Bump alpine from 3.14.0 to 3.14.1
4209c18 Merge pull request #1275 from traPtitech/dependabot/go_modules/go.uber.org/zap-1.19.0
3c4b9e3 Merge pull request #1277 from traPtitech/dependabot/go_modules/google.golang.org/api-0.53.0
08ca130 Merge pull request #1276 from traPtitech/dependabot/go_modules/gorm.io/driver/mysql-1.1.2
f9702b8 Merge pull request #1273 from traPtitech/dependabot/docker/golang-1.16.7-alpine
74e9b27 Bump google.golang.org/api from 0.52.0 to 0.53.0
3dad240 Bump gorm.io/driver/mysql from 1.1.1 to 1.1.2
d1135d8 Bump go.uber.org/zap from 1.18.1 to 1.19.0
f0b08a5 Bump golang from 1.16.6-alpine to 1.16.7-alpine
9f9ccbb 📚 rm 1.0 POST /webhooks/:wid
f6e5dcf Merge pull request #1271 from traPtitech/dependabot/go_modules/cloud.google.com/go-0.90.0
953dbd0 Merge pull request #1272 from traPtitech/fix-empty-session
f619720 🐛 fix error on empty r_session
309956e Merge pull request #1270 from traPtitech/depr-v1.0
ce407b0 📚 clarify gone message
57235ec 🗑️ rm 1.0 webhook endpoint
743aba7 🗑️ cleanup unused code
5c4d313 Bump cloud.google.com/go from 0.89.0 to 0.90.0
b5ee51d 🗑️ rm most of /api/1.0 endpoints
9d77927 Fix typo in deployment.md
4ee5cf1 Merge pull request #1269 from traPtitech/update-deps
e65c248 Bump cloud.google.com/go from 0.87.0 to 0.89.0
17345a6 Bump github.com/olivere/elastic/v7 from 7.0.26 to 7.0.27
c734dfa Bump google.golang.org/api from 0.50.0 to 0.52.0
253c649 Merge pull request #1268 from traPtitech/fix/jwt-vul
5aa482f 👮 rm CVE-2020-26160 from allowed list
b2a21d8 🆙 bump echo and use golang-jwt/jwt
d9ddb99 Merge pull request #1259 from traPtitech/pin-limit-api
88cde47 Exceededのタイポミス修正
88d214d ピン留めにおいてエラーが返される可能性のある理由について、APIに全て記述
6e0a922 ピン上限に達するとBadRequestを返す仕様をv3-api.yamlに記述
v3.7.8
機能改善
その他
Changelog
45149ae Merge pull request #1261 from traPtitech/fix/private-channel-event
8a06eb3 📚 clarify ws event doc
1d220eb ⚡ fix private channel event
4ed1bca ♻️ cleanup: sort imports
c29fbe1 Merge pull request #1260 from traPtitech/update-deps
56e96f6 🆙 update all packages
ee87fb1 Merge pull request #1256 from traPtitech/pin-limit
25080f9 ピン留め上限のエラーをErrPinLimitReached(Bad Request)として返すように
7fe8112 Merge pull request #1257 from traPtitech/dependabot/go_modules/github.com/motoki317/go-waveform-0.0.3
ffb4f4a Bump github.com/motoki317/go-waveform from 0.0.2 to 0.0.3
16e850d レビューの反映(途中) ・ピン止め上限数をconstに ・GetPinnedMessageByChannelIDのキャスト(型変換)を削除
6056e2e Merge branch 'master' of https://github.com/traPtitech/traQ into pin-limit
6deb892 Merge pull request #1255 from traPtitech/fix/ws-private-chans
f22adf3 ⚡ send channel private members on ws event
5f973e9 ピン留め上限数の表現を「100個以上」 → 「上限数以上」に
92ea99c ピン留め上限の設定 ・ピン留めの際、チャンネルに100個以上のメッセージがピン留めされていたらエラーを吐くように
46fed72 Merge pull request #1254 from traPtitech/update
0b53663 🆙 use go 1.16.6
4930bce Bump golang from 1.16-alpine to 1.16.6-alpine
5a0c389 Bump gorm.io/gorm from 1.21.11 to 1.21.12
8390ac1 Bump cloud.google.com/go from 0.84.0 to 0.87.0
d6beb6c Bump github.com/labstack/echo/v4 from 4.3.0 to 4.4.0
945a92b Bump github.com/olivere/elastic/v7 from 7.0.25 to 7.0.26
314186a Bump google.golang.org/api from 0.49.0 to 0.50.0
f1a3147 Merge pull request #1253 from traPtitech/image/resampling
58c396c ⚡ use CatmullRom resampling filter for image thumbnails
v3.7.7
v3.7.6
バグのためスキップ
Changelog
87190b5 Merge pull request #1245 from traPtitech/gen-missing-thumbs
a6ecdce ⚡ add gen-missing-thumbs cmd
be5f610 ⚙️ show available platforms on build
cbcfe43 ⚙️ fix: set up qemu
bb1161e ⚙️ build/release for arm64
0481d5d Merge pull request #1239 from traPtitech/chores/update
0ec6fd3 💚 fix test req media type
856213c Bump go.uber.org/zap from 1.17.0 to 1.18.1
06e7f0d Bump github.com/gavv/httpexpect/v2 from 2.2.0 to 2.3.1
b17ae5e Bump github.com/spf13/viper from 1.8.0 to 1.8.1
49fa593 Bump google.golang.org/api from 0.48.0 to 0.49.0
646fd70 Bump gorm.io/driver/mysql from 1.1.0 to 1.1.1
3b590fc Bump github.com/olivere/elastic/v7 from 7.0.24 to 7.0.25
264b8e4 Merge pull request #1232 from traPtitech/update-packages
7ab4c76 Bump alpine from 3.13.5 to 3.14.0
542036f Bump gorm.io/gorm from 1.21.10 to 1.21.11
acfb550 Bump github.com/spf13/viper from 1.7.1 to 1.8.0
ae001bc Bump github.com/golang/mock from 1.5.0 to 1.6.0
0699de7 Merge pull request #1227 from traPtitech/feat/user-group-icon
b9dd39f 📚 fix comment
862010e ✨ add command to gen missing group images
309f7ab ⚡ check for user group icon in file prune cmd
3f7a967 ♻️ outdent else return block
fcbb76d 📚 regen db docs
3f7416f ✨ add icon to user groups
0a051ec Merge pull request #1226 from traPtitech/fix/user-group-member-updated
bd8d97f ⚡ send user group updated event on member update
d4612b2 Merge pull request #1224 from traPtitech/dependabot/go_modules/cloud.google.com/go-0.84.0
16e5380 Bump cloud.google.com/go from 0.83.0 to 0.84.0
3959c2d Bump google.golang.org/api from 0.47.0 to 0.48.0
47c94b6 Merge pull request #1220 from traPtitech/dependabot/go_modules/github.com/prometheus/client_golang-1.11.0
3b05428 Merge pull request #1222 from traPtitech/fix/rbac-init
0944755 🐛 reload rbac on role init
83b5cb1 Bump github.com/prometheus/client_golang from 1.10.0 to 1.11.0
64f02f0 📚 fix user group api summary
9911d01 Merge pull request #1219 from traPtitech/dependabot/go_modules/cloud.google.com/go-0.83.0
3d0058d Bump cloud.google.com/go from 0.82.0 to 0.83.0
270badc Merge pull request #1207 from traPtitech/v3-test
fbc4cfc 💚 add partial webrtc test
4aa999f 📚 fix editWebhook to actual response
0e01b7d 💚 add webhook tests
7fb47b5 💚 tweak router test logger
987b4cd 💚 add users test
aa5f2c2 ♻️ rm user settings unreachable codes
5a35dd7 💚 add user settings test
d650aa6 🐛 optional field could have been valid and empty
b05f004 📚 fix removeUserGroupMember comment
341e0da 💚 add user groups test
1853541 💚 add already removed tags test case
fb76b42 📚 fix editUserTag res
2e816c1 🐛 fix add[My]UserTag response
9fd58d4 💚 add tags test
cc6e8d5 💚 add stars test
e192dd7 💚 add stamps test
48748c3 💚 add stamp palettes test
4bec65c 💚 add sessions test
d869634 💚 add public test
7d0e6e5 💚 fix ineffective assignment
df5c447 📚 fix removePin response
963b7b1 💚 add messages test
56462da 📚 fix createPin response
355d602 💚 add more messages test
0127905 💥 fix editMessage to actual response
b1a4763 💚 add more exhaustive edit/delete messages test
9924a0d 💚 add partial messages test
051ff35 💚 add files test
9a72c04 💚 add clip folder tests
fa1532e 💚 add clients tests
caa355f 💚 add channel tests
b22cdd6 💚 add channel tests
912081c 💚 fix bots test cases
7f02e0c 💚 add more bots test
6bd84af 💥 fix /bots/{botId}/actions/reissue field name
c01bd46 💚 add more bots test
32412c9 💥 fix GET /channels/{chId}/bots field name
69300b3 💚 add more bots test
b934955 💚 fix edit bot test case
31f5a9f 💥 fix /bot/{botId}/logs datetime field casing
a772f71 💚 add more bots test
27ce723 💚 add activity, bots test
4f6bcd3 Merge pull request #1214 from traPtitech/fix/ogp-api
22176d0 OGPのレスポンスの修正
v3.7.5
新機能
- 統計API (QSoC) #1188
- チャンネル / ユーザー / スタンプの統計情報を充実させました
機能改善
- スタンプ履歴の取得速度を少し改善 #1210
その他
- チャンネル一覧のキャッシュ改善 #1209
Changelog
5da2a30 Merge pull request #1212 from traPtitech/dependabot/go_modules/go.uber.org/zap-1.17.0
abf800c 🆙 go mod tidy
acad774 Bump go.uber.org/zap from 1.16.0 to 1.17.0
9898cbf Merge pull request #1211 from traPtitech/fix/sort-dm-channels
96324b5 DMChannelsをソートして返すように
7ca4d08 Merge pull request #1192 from traPtitech/dependabot/go_modules/gorm.io/gorm-1.21.10
0df4571 Bump gorm.io/gorm from 1.21.9 to 1.21.10
8f53a6d Merge pull request #1210 from traPtitech/impr/stamp-history
dd9c35e use random name
27325d8 Merge pull request #1208 from traPtitech/dependabot/go_modules/github.com/sapphi-red/midec-0.5.2
72dcade GET /users/me/stamp-history
のパフォーマンス改善
78c1d70 Merge pull request #1209 from traPtitech/impr/channels-etag
9c9d692 200 => http.StatusOK
da7b98f GET /api/v3/channels
でE-Tagを付与するように
a77c135 Bump github.com/sapphi-red/midec from 0.5.1 to 0.5.2
fae8253 Merge pull request #1206 from traPtitech/chores
b934f57 📚 clarify include-suspended param of GET /users
6f67f35 🐛 fix datetime field casing
b47cb12 Merge pull request #1188 from magico3/master
969d27d 修正
1517bde ネストを抽出しました。
a5197e0 stamp_statsのgroupを削除
4d4e071 宣言と代入をまとめた。messageを複数形に
bdbf1a1 fmt修正
407cffd stamp-statsのtestも追加 配列のLenassertも追加
f229681 userstatsのtestを書きました。
0084d92 channel_statsテストを修正&format修正
c60d9e8 testを書きました。エラー有、
34807ee 修正
e8f4adb 修正
c16dabd ユーザ、スタンプの統計情報APIもswaggerに追加
98b788d ネストのrequireも追加
0e029ef swaggerのChannelStatsのrequiredの部分を修正
53a7379 ChannelStatsのswaggerを書きました。
90fadad userstatsの実装を配列に
4d84983 ChannelStatsの実装をmapから配列に
c7325c7 stampのSQL文、Findの引数、書き込みを修正
8fbf22b 修正
005cfc1 stamps.goのコメント修正
2f48abc router.goを変更しアクセスできるようにしました。
c71a1a5 fmt 修正
5bb322f fmt修正
bb26c88 fmt修正
6fd3d9d fmtを修正
4112e59 fmt修正
2424285 fmt修正
fd40f98 フォーマットを修正
039f236 GetChannelStatsのSelect文にAs を追加
9e271a1 データベース返値に用いる構造体の頭文字を大文字に
08ab348 不要なGroupを削除
2e37517 CamelCase,コメントを追加、長いメソッドチェーンを改行
e44e8fb ユーザー統計、スタンプ統計も書きました。
e6ad639 Join 文 on 以下の = を ==にしていた。修正。
3d716a1 チャンネル部分を書き直しました。
20e2ba5 余計なcountを削除
97a824e json名を追加
0cc8c09 GetChannelStatsを書いた
v3.7.4
v3.7.3
新機能
機能改善
バグ修正
その他
- Gormをv2に #1173
- (開発環境)Dockerfileビルド時のキャッシュを追加 #1174
- (開発環境)volumeを使うように #1183
- (開発環境)Armアーキテクチャのサポート #1187
- (外部インスタンス向け)traQ OAuth2のエンドポイントをv1からv3に
- (API: ws)
USERS_TAGS_UPDATED
にtag_id
を含める #1186 - (API: ws)ユーザーグループの管理者が変わった際にも
USER_GROUP_UPDATED
を飛ばす #1197
Changelog
78abf38 Merge pull request #1200 from traPtitech/dependabot/go_modules/google.golang.org/api-0.47.0
5f08efb Bump google.golang.org/api from 0.46.0 to 0.47.0
557e990 Merge pull request #1191 from traPtitech/dependabot/go_modules/cloud.google.com/go-0.82.0
d94c33f Merge pull request #1202 from traPtitech/webhook-user-group
4467d8c 👕 lint if that ends with return
1312ad9 ⚡ disallow adding webhook to user group
8516293 Merge pull request #1201 from traPtitech/channel-latest-query
2b438bc ⚡ Limit all activity queries to last 7 days
078c745 Add edit_others_user_group
to OpenAPI
22e8362 Merge pull request #1198 from traPtitech/group-admin-changed-events
b1eb6c7 ✨ send USER_GROUP_UPDATED on admin changed
8cfd112 Merge pull request #1197 from traPtitech/fix-groups
0673603 ⚡ fix semantic nil err
6aee4e3 🐛 fix group repo bugs
f727c1b Bump cloud.google.com/go from 0.81.0 to 0.82.0
76d8d34 Merge pull request #1190 from traPtitech/rbac-test
934cc3b 💚 add rbac_impl test
c6d412c ♻️ insert system roles on init instead of on migration
76ff5a8 Merge pull request #1189 from traPtitech/dependabot/go_modules/gorm.io/driver/mysql-1.1.0
5504bde Bump gorm.io/driver/mysql from 1.0.6 to 1.1.0
ef6c0fb Merge pull request #1186 from traPtitech/fix/1045
6f6aa7e fix lint
5e34b76 update v3-api.yaml
c667a92 Merge pull request #1187 from traPtitech/dockerize
10d876c 🐳 Install dockerize via go install For arm support
8bfdd1a add tag_id
on USER_TAGS_UPDATED
6a4232a Merge pull request #1184 from MotoyaAsahina/webp_thumbnail
5fbd005 go.mod go.sum changed
9534362 アニメーションでないwebPのサムネイルに対応
098a49d ⚡ Change traQ OAuth provider endpoint to v3
85d4273 Merge pull request #1183 from traPtitech/use-volume
6ed4f9e add newline
6676268 use volume
0b606e7 Merge pull request #1179 from traPtitech/fix/1178
0306239 🚑 add recover to mp3.NewDecoder close #1178
7112e98 Merge pull request #1177 from traPtitech/dependabot/go_modules/github.com/labstack/echo/v4-4.3.0
a6c3405 Bump github.com/labstack/echo/v4 from 4.2.2 to 4.3.0
d86b78c 🚑 fix raw with limit
3b65f00 Merge pull request #1176 from traPtitech/activity-perf
4fcbf48 💚 add test case for activity limit
f36d45e 💚 add test for activity query
d7e86ab 🚀 Improve activity query performance
f534b61 Merge pull request #1175 from traPtitech/init-logic
1bf790e ✨ Init user traq, channel general on first up
e0dac45 Merge pull request #1173 from traPtitech/gorm-v2
870f6f3 🐳 fix mount cache
58e2e57 ♻️ refactor return patterns
13646b8 🐛 fix v27 migration
4a2492d ♻️ Bump gorm from v1 to v2
f0ce482 Merge pull request #1174 from traPtitech/build-cache
eba15b3 🐳 add cache mount
06d0bee Update frontend config
v3.7.2
v3.7.1
機能改善
- 古いファイルに対して波形画像を生成するコマンドを追加(
./traQ file gen-waveform
) #1168
Changelog
09dde65 🚑 fix vul scan allowedlist loading
ef99705 Merge pull request #1170 from traPtitech/vul-allowed-list
966fa75 👮 add CVE-2020-26160 to allowed list not affected as traQ is only signing jwt keys (without aud claim)
7c7c021 🚑 fix gen-waveform cmd
bd32bc8 Merge pull request #1169 from traPtitech/bump-go-waveform
080f3ae 🆙 Bump github.com/motoki317/go-waveform from v0.0.0 to v0.0.1
8d7e428 Merge pull request #1168 from traPtitech/cmd-gen-waveform
0fb065d 🐳 change entrypoint / cmd
8cf1481 ✨ add file gen-waveform cmd
06112a2 📚 add / fix docs
a07e8c1 Merge pull request #1160 from traPtitech/dependabot/go_modules/google.golang.org/api-0.46.0
316f76d Bump google.golang.org/api from 0.45.0 to 0.46.0
v3.7.0
新機能
- mp3とwavのアップロードファイルに対して波形画像を生成 #1153
機能改善
- Slack外部認証を追加(外部インスタンス用) #1161
バグ修正
その他
README.mdを改善 #1162
Changelog
49014df Fix deployment.md
5a34a25 Merge pull request #1162 from traPtitech/feat/frontend-config
fe22387 fix frontend config docs
eb974fe Merge pull request #1161 from ex-trap/auth/slack
2c9dbd9 docs更新
207f9c0 設定初期値追加
dd5043a ログ出力を削除
fc08cb5 特定のTeamのみログインを許可するように
1d4a01f replace values
f5958f7 add THEME_COLOR docs
e73b563 add docs for frontend config
97dfd18 Update router/auth/provider.go
67af4d9 gofmt
3f6184d implement slack external auth
4dc47d3 Merge pull request #1156 from traPtitech/dependabot/go_modules/github.com/json-iterator/go-1.1.11
a6a2a91 Bump github.com/json-iterator/go from 1.1.10 to 1.1.11
fb1c659 Merge pull request #1152 from traPtitech/dependabot/go_modules/google.golang.org/api-0.45.0
1ca56ec Bump google.golang.org/api from 0.44.0 to 0.45.0
edf4019 Merge pull request #1153 from traPtitech/gen-audio-waveform
89e0cc1 add waveform router test
ab87e36 update go-waveform
cd85215 add file router tests
9e4d2f2 add files test
871272a add waveform manager_impl test cases
6326c0c update thumbnail docs
35e5b5f update go-waveform
0e2507a add docs / edit response
309a072 note down gorm's specific behavior
ad5a343 gen db docs
be71f1c support multiple thumbnail types
63d9d6f specify svg size
99ea4f5 generate image/svg+xml
bd45aaf generate thumbnail for audio/mp3, wav
939e606 Merge pull request #1149 from traPtitech/ci-lint
4f1a38f rm outdated yml option
31f2dae use golangci/golangci-lint-action