Skip to content

Releases: traPtitech/traQ

v3.10.0

01 May 16:47
56372c3
Compare
Choose a tag to compare

新機能

機能改善

  • ユーザー一覧などの読み込み時のリソースにキャッシュをかけるように #1438

バグ修正

開発/運用

  • スタンプ全取得でtypeを指定するように #1426 #1431
    • include-unicodeは非推奨となりました
  • その他依存パッケージのアップデート

Changelog

  • 56372c3 Merge pull request #1438 from traPtitech/refactor/etag
  • 9c5d093 use etag for clips, stamp-palettes, stars, subscriptions
  • 506999d use etag for GET /api/v3/groups
  • d0d2fb0 update makefile tools
  • aa88392 use etag for /1.0/public/emoji.json, emoji.css
  • 8e7ae0b use etag for GET /users
  • 44ce487 refactor: lazy load stamps, remove Repository.Sync method
  • 8412d34 Merge pull request #1436 from traPtitech/compose-to-v2
  • a447857 using docker compose v2
  • ba7abc0 Merge pull request #1434 from traPtitech/dependabot/go_modules/gorm.io/gorm-1.23.5
  • 0b44566 Bump gorm.io/gorm from 1.23.4 to 1.23.5
  • 6bc44ae Merge pull request #1435 from traPtitech/dependabot/go_modules/google.golang.org/api-0.76.0
  • 310138f Merge pull request #1431 from traPtitech/feat/get-stamps-validate
  • d7e7aae Bump google.golang.org/api from 0.75.0 to 0.76.0
  • 57d04d6 fixed test fail
  • 43d0913 renamed field
  • 8c932a9 using bindAndValidate
  • b75fe3d defined query struct
  • 9eb784e Merge pull request #1426 from traPtitech/feat/stamp-type-query
  • 3f2b217 fixed stamp scope
  • dc423dc enriched successful test cases
  • 9018bbb added test cases
  • 8eccb29 validating invalid query param
  • e0e5881 responding bad request in unexpected case
  • aa1f851 fixed typo
  • d6e2444 added .vscode to gitignore
  • 162488d deleted redundant comments
  • fdecffd defined StampType type
  • bb2aecb fix
  • cbd7d77 fixed typo
  • aba118f added duprecated field
  • e5d819b fixed open api query definition
  • a694969 implemented type query in GET /stamps
  • d23e277 modified stamp repository

v3.9.6

24 Apr 17:12
907698f
Compare
Choose a tag to compare

新機能

機能改善

  • 一部ユーザーのアクティビティの読み込み速度が非常に遅い問題を改善 #1430

バグ修正

  • OAuth認可でprompt=noneが指定されていてかつログインしていない時、エラーを返すように #1424

開発/運用

  • 内部キャッシュ構造のリファクタ
  • その他依存パッケージのアップデート

Changelog

  • 907698f Merge pull request #1430 from traPtitech/hotfix/timeline-performance
  • 669fe9a Hotfix: truncate get messages datetime MariaDB optimizer does not use temporal index if nanosecond is included in query, for some reason: this lead to almost full scan of the message table in timeline queries
  • 2087cb6 Merge pull request #1429 from traPtitech/dependabot/go_modules/google.golang.org/api-0.75.0
  • c0d106b Merge pull request #1428 from traPtitech/dependabot/go_modules/github.com/motoki317/sc-1.3.0
  • 4e0750a Bump google.golang.org/api from 0.74.0 to 0.75.0
  • c9a3308 Bump github.com/motoki317/sc from 1.2.6 to 1.3.0
  • b230fcd Merge pull request #1425 from traPtitech/dependabot/go_modules/github.com/motoki317/sc-1.2.6
  • ce21ffe Use sc.NewMust
  • 5cdf728 Bump github.com/motoki317/sc from 1.2.4 to 1.2.6
  • bc6732a Merge pull request #1424 from traPtitech/fix/oauth2-prompt-none
  • 89b4788 return error login_required if prompt=none

v3.9.5

16 Apr 01:58
7f32196
Compare
Choose a tag to compare

新機能

機能改善

バグ修正

  • 未ログイン時にリダイレクトでのログイン後OAuth画面で認可をするとbad sessionになっていた #1413

開発/運用

  • 内部キャッシュ構造のリファクタ #1423
  • その他依存パッケージのアップデート

Changelog

  • 7f32196 Merge pull request #1423 from traPtitech/refactor/cache
  • 6b41fa0 fix message manager test: cache is now no write allocate
  • c3db4b4 fix nil pointer dereference at gorm.go#88 (*session)(nil) returned by getSessionByToken is assigned to Session interface in GetSessionByToken. This causes the expression s != nil in L130 to evaluate to true, triggering nil pointer dereference at L88. Note that (*session)(nil) implements Session. Therefore assigning (*session)(nil) to variable s of type Session will cause s == nil to be evaluated to false. https://go.dev/ref/spec#Comparison_operators
  • 29c5e03 session cache: data is always loaded
  • 254db6a Replace session cache with generic cache
  • 32d3781 use ogp in-memory cache
  • f28eea8 Replace message manager with generic cache
  • 4860e81 Merge pull request #1421 from traPtitech/dependabot/docker/golang-1.18.1-alpine
  • f2bca8e Merge pull request #1422 from traPtitech/dependabot/go_modules/github.com/spf13/viper-1.11.0
  • 2304d74 Bump golang from 1.18.0 to 1.18.1 in workflows
  • 3f77de1 Bump github.com/spf13/viper from 1.10.1 to 1.11.0
  • ee83383 Bump golang from 1.18.0-alpine to 1.18.1-alpine
  • b0568ee Merge pull request #1419 from traPtitech/refactor/session
  • 753f4dc session: remove createIfNotExists flag
  • f3bf354 Merge pull request #1418 from traPtitech/update-packages
  • 5a9b2cc Bump gorm.io/gorm from 1.23.3 to 1.23.4
  • b5637ba Bump gorm.io/driver/mysql from 1.3.2 to 1.3.3
  • 88a1e53 Bump google.golang.org/api from 0.73.0 to 0.74.0
  • 9f68966 Bump github.com/golang-jwt/jwt/v4 from 4.4.0 to 4.4.1
  • 231bec1 Merge pull request #1417 from traPtitech/dependabot/go_modules/github.com/hajimehoshi/go-mp3-0.3.3
  • 44ae55a Merge pull request #1413 from traPtitech/fix/oauth2-not-logged-in-redirect
  • 5a7d8e2 Bump github.com/hajimehoshi/go-mp3 from 0.3.2 to 0.3.3
  • 10bd6c9 add test case of GET
  • 30b200f 未ログイン時に/authorizeを叩いた場合は/loginにリダイレクトするように
  • 5b45cf0 Merge pull request #1411 from traPtitech/dependabot/docker/alpine-3.15.4
  • b4aa00e Bump alpine from 3.15.2 to 3.15.4

v3.9.4

26 Mar 12:23
a30a86a
Compare
Choose a tag to compare

新機能

機能改善

  • OGPの特殊ドメイン処理にhttps://vrchat.com/home/world/wrld_...を追加 #1405

バグ修正

開発/運用

Changelog

  • a30a86a Merge pull request #1405 from traPtitech/ogp/vrchat
  • b8ae054 Add vrchat.com/home/world to ogp special domain handling

v3.9.3

24 Mar 14:29
1f7f6ac
Compare
Choose a tag to compare

新機能

機能改善

バグ修正

  • 一部内部サービスのリファクタ/安全性修正 #1404

開発/運用

Changelog

  • 1f7f6ac Merge pull request #1404 from traPtitech/fix/ogp-cache-safety
  • 0578029 Fix revive lint error
  • f0bb50a Fix bot service shutdown thread safety
  • f12119c Fix ogp service shutdown thread safety
  • 29a48b7 Fix OGP cache update thread safety
  • ae1c740 Merge pull request #1403 from traPtitech/dependabot/docker/alpine-3.15.2
  • 33bc6d2 Bump alpine from 3.15.1 to 3.15.2
  • 42ba365 Set goreleaser fetch depth 0 (fetch all)

v3.9.2

23 Mar 13:44
9f8c7c5
Compare
Choose a tag to compare

新機能

機能改善

  • DBを圧迫しないため古いOGPキャッシュを自動削除 #1382

バグ修正

開発/運用

Changelog

  • 9f8c7c5 Merge pull request #1402 from traPtitech/update-packages

v3.9.1

05 Feb 12:57
2948ad9
Compare
Choose a tag to compare

機能改善

  • 画像リサイズのフィルタをmks2013に #1365
    • フロントエンドのフィルタと合わせるため

バグ修正

  • /api/metrics のBOTイベントのラベルが間違っていた a840d61

Changelog

  • 2948ad9 Merge pull request #1366 from traPtitech/update-packages
  • ea49c03 Bump google.golang.org/api from 0.64.0 to 0.67.0
  • 8ffa44f Bump github.com/prometheus/client_golang from 1.11.0 to 1.12.1
  • ece4d59 Bump github.com/labstack/echo-contrib from 0.11.0 to 0.12.0
  • 8ed8197 Bump gorm.io/gorm from 1.22.4 to 1.22.5
  • bf5b96c Bump github.com/labstack/echo/v4 from 4.6.2 to 4.6.3
  • b6e7163 Merge pull request #1365 from traPtitech/impr/mks2013-filter
  • 370c353 📚 Add reason for the use of mks2013 ; to be consistent with frontend resize filter
  • 9edd118 Add ProcessorDefault Thumbnail/Fit test
  • c2ef8f7 Use mks2013 filter for resize
  • 4efde92 Merge pull request #1352 from traPtitech/dependabot/docker/golang-1.17.6-alpine
  • dccf3ea Merge pull request #1355 from traPtitech/dependabot/go_modules/github.com/olivere/elastic/v7-7.0.31
  • 921fb2a Merge pull request #1354 from traPtitech/dependabot/go_modules/google.golang.org/api-0.64.0
  • bdcb333 Merge pull request #1353 from traPtitech/dependabot/go_modules/gorm.io/driver/mysql-1.2.3
  • 0212714 Bump golang from 1.17.5 to 1.17.6 in workflows
  • a6b1d1b Merge pull request #1351 from traPtitech/dependabot/go_modules/go.uber.org/zap-1.20.0
  • 695a2cd Merge pull request #1350 from traPtitech/dependabot/go_modules/cloud.google.com/go/profiler-0.1.2
  • 7a1e1ac Merge pull request #1356 from traPtitech/dependabot/go_modules/github.com/labstack/echo/v4-4.6.2
  • 81d2050 Bump github.com/labstack/echo/v4 from 4.6.1 to 4.6.2
  • ba298cf Bump github.com/olivere/elastic/v7 from 7.0.30 to 7.0.31
  • cce6ab3 Bump google.golang.org/api from 0.63.0 to 0.64.0
  • 9ed374f Bump gorm.io/driver/mysql from 1.2.2 to 1.2.3
  • 1fe292b Bump golang from 1.17.5-alpine to 1.17.6-alpine
  • 67a8006 Bump go.uber.org/zap from 1.19.1 to 1.20.0
  • 3bb3853 Bump cloud.google.com/go/profiler from 0.1.1 to 0.1.2
  • 4a0a127 Merge pull request #1349 from traPtitech/fix/search-sec-round-down
  • 9293042 pass in nanosec precision to es on search
  • 27131c3 Merge pull request #1348 from traPtitech/update-packages
  • 3a2f548 Bump gorm.io/driver/mysql from 1.2.1 to 1.2.2
  • 08bfbf7 Bump github.com/olivere/elastic/v7 from 7.0.29 to 7.0.30
  • b9422a6 Bump github.com/spf13/viper from 1.9.0 to 1.10.1
  • c74433d Bump google.golang.org/api from 0.62.0 to 0.63.0
  • 5040330 Bump github.com/spf13/cobra from 1.2.1 to 1.3.0
  • f8f0ed1 Merge pull request #1339 from traPtitech/dependabot/docker/golang-1.17.5-alpine
  • e3f467f Bump golang from 1.17.4 to 1.17.5 in workflows
  • 8fd9f49 Bump golang from 1.17.4-alpine to 1.17.5-alpine
  • af5c9ed Merge pull request #1332 from traPtitech/dependabot/go_modules/github.com/gofrs/uuid-4.2.0incompatible
  • ee7263d Bump github.com/gofrs/uuid from 4.1.0+incompatible to 4.2.0+incompatible
  • 9839823 Merge pull request #1338 from traPtitech/dependabot/go_modules/google.golang.org/api-0.62.0
  • b9134df Merge pull request #1334 from traPtitech/dependabot/go_modules/gorm.io/driver/mysql-1.2.1
  • af23096 Bump google.golang.org/api from 0.60.0 to 0.62.0
  • c6c173c Bump gorm.io/driver/mysql from 1.1.3 to 1.2.1
  • aaa0545 Merge pull request #1337 from traPtitech/dependabot/go_modules/github.com/golang-jwt/jwt/v4-4.2.0
  • 1e707d0 Merge pull request #1336 from traPtitech/dependabot/docker/golang-1.17.4-alpine
  • 05edafc Merge pull request #1333 from traPtitech/dependabot/go_modules/gorm.io/gorm-1.22.4
  • 2b8e085 Update Go 1.17.3 -> 1.17.4 in workflows
  • e1a3fad Bump github.com/golang-jwt/jwt/v4 from 4.1.0 to 4.2.0
  • 9a9b890 Bump golang from 1.17.3-alpine to 1.17.4-alpine
  • b530c58 Bump gorm.io/gorm from 1.22.2 to 1.22.4
  • 084b64c Merge pull request #1331 from traPtitech/dependabot/docker/alpine-3.15.0
  • 91cfb5a Bump alpine from 3.14.3 to 3.15.0
  • 1b09b20 Merge pull request #1326 from traPtitech/dependabot/docker/golang-1.17.3-alpine
  • 1a67f7f Merge pull request #1327 from traPtitech/dependabot/docker/alpine-3.14.3
  • f580502 Update Go 1.17.2 -> 1.17.3 in workflows
  • d6f5ec7 Bump alpine from 3.14.2 to 3.14.3
  • f1d02db Bump golang from 1.17.2-alpine to 1.17.3-alpine
  • a840d61 🐛 fix prom counter label

v3.9.0

04 Nov 06:00
09fe3a2
Compare
Choose a tag to compare

新機能

Changelog

09fe3a2 Merge pull request #1325 from traPtitech/bot/ws-dropped
169373c ♻️ tidy up code
88ce7d6 ✨ add DP(dropped) result for WebSocket bot events
d772e31 Merge pull request #1324 from traPtitech/fix/patch-bot-validation
4550e61 🐛 fix optional string validation
063e8b3 Merge pull request #1323 from traPtitech/up/spectral
a54018f 👕 fix lint default '0' doesn't really make sense when not specifying will be interpreted as '0' in struct unmarshalling (zero-value)
b73187e 🆙 update spectral to v6
e106e7d Merge pull request #1322 from traPtitech/golint-replace
ca35346 Replace golint by revive
61ee244 Merge pull request #1321 from traPtitech/bot/enhance-log
a14c1ce 📚 regen db docs for bot_event_logs result
b07d5e0 ✨ enhance bot log info
ead10cb 👕 rm unnecessary guard
030c82e 🐛 fix unsafe lock
9fcd33f Merge pull request #1319 from traPtitech/dependabot/go_modules/google.golang.org/api-0.60.0
f02ba4b Bump google.golang.org/api from 0.59.0 to 0.60.0
b7286b2 Merge pull request #1318 from traPtitech/dependabot/go_modules/gorm.io/gorm-1.22.2
14fdf8d Merge pull request #1320 from traPtitech/feat/ws-bot
8fefdcf 📚 add notes to bots ws error message
3cca528 Revert "📚 clarify bot ws ping frame"
322ea03 ⚡ tidy up prom gauges
5de7713 ✨ sep online users counter from bots
3e1fd28 ⚡ pause bot only if mode is http on reissue tokens
f30e750 🐛 fix event marshalling
a879eaf ⚡ regen cmd wire
5d67cfe 📚 clarify bot ws ping frame
f9e5a52 📚 regen docs for new bot mode
364d3f9 🎉 impl ws bot to api
bce7b42 🚧 impl ws bot streamer
1f876b5 Bump gorm.io/gorm from 1.22.1 to 1.22.2

v3.8.2

28 Oct 05:56
dee574f
Compare
Choose a tag to compare

開発/運用

  • エンドポイントごとのlatency metricsを追加 #1315

Changelog

dee574f Merge pull request #1317 from traPtitech/dependabot/go_modules/gorm.io/driver/mysql-1.1.3
94b9352 Bump gorm.io/driver/mysql from 1.1.2 to 1.1.3
4d908eb Merge pull request #1316 from traPtitech/dependabot/go_modules/gorm.io/gorm-1.22.1
e0e21eb Merge pull request #1315 from traPtitech/feat/echo-prom-metrics
c4904ec Bump gorm.io/gorm from 1.21.16 to 1.22.1
c51bbdd ⚡ add echo api latency metrics

v3.8.1

24 Oct 12:19
f9f4794
Compare
Choose a tag to compare

バグ修正

  • ファイル名が特定の文字を含むとき、ダウンロードできなかった #1307

Changelog

f9f4794 Merge pull request #1313 from traPtitech/dependabot/go_modules/google.golang.org/api-0.59.0
bb6c114 Bump google.golang.org/api from 0.58.0 to 0.59.0
6657b2b Merge pull request #1312 from traPtitech/dependabot/go_modules/cloud.google.com/go/profiler-0.1.1
a6af6e1 Bump cloud.google.com/go/profiler from 0.1.0 to 0.1.1
3ce16a9 Merge pull request #1311 from traPtitech/dependabot/go_modules/github.com/gofrs/uuid-4.1.0incompatible
faa3bbf Merge pull request #1310 from traPtitech/dependabot/go_modules/gorm.io/gorm-1.21.16
2e0b642 Merge pull request #1304 from traPtitech/dependabot/go_modules/github.com/labstack/echo/v4-4.6.1
431bf4b Merge pull request #1308 from traPtitech/dependabot/docker/golang-1.17.2-alpine
d1cc017 Bump golang from 1.17.1 to 1.17.2 in workflows
9302a56 Bump github.com/gofrs/uuid from 4.0.0+incompatible to 4.1.0+incompatible
d26e53e Bump gorm.io/gorm from 1.21.15 to 1.21.16
190ea5c Merge pull request #1309 from traPtitech/fix/swagger-oauth2-revoke
a0bafd0 Fix POST /api/v3/oauth2/revoke request body
0af8b3c Bump golang from 1.17.1-alpine to 1.17.2-alpine
9f6697c Bump github.com/labstack/echo/v4 from 4.5.0 to 4.6.1
bdf7dbd Merge pull request #1305 from traPtitech/dependabot/go_modules/google.golang.org/api-0.58.0
5bf279b Bump google.golang.org/api from 0.56.0 to 0.58.0
e2d1093 Merge pull request #1303 from traPtitech/dependabot/go_modules/github.com/golang-jwt/jwt/v4-4.1.0
6edd2a5 Merge pull request #1301 from traPtitech/dependabot/go_modules/github.com/spf13/viper-1.9.0
365ce7d Merge pull request #1299 from traPtitech/dependabot/go_modules/github.com/olivere/elastic/v7-7.0.29
7ebb1fd Merge pull request #1307 from traPtitech/fix/1306
ffdd2b1 fix
558188d escape Content-Disposition filename
9c15f42 Bump github.com/golang-jwt/jwt/v4 from 4.0.0 to 4.1.0
0ce8aeb Bump github.com/spf13/viper from 1.8.1 to 1.9.0
08cb6ea Bump github.com/olivere/elastic/v7 from 7.0.28 to 7.0.29
5ae3f37 Merge pull request #1298 from traPtitech/dependabot/go_modules/github.com/json-iterator/go-1.1.12
a3812c1 Merge pull request #1295 from traPtitech/dependabot/go_modules/go.uber.org/zap-1.19.1
39768a7 Merge pull request #1297 from traPtitech/dependabot/go_modules/gorm.io/gorm-1.21.15
e2ff7b2 Bump gorm.io/gorm from 1.21.14 to 1.21.15
5fbbe77 Merge pull request #1294 from traPtitech/dependabot/go_modules/google.golang.org/api-0.56.0
7f27cf8 Merge pull request #1293 from traPtitech/dependabot/go_modules/github.com/olivere/elastic/v7-7.0.28
94142b9 Merge pull request #1296 from traPtitech/dependabot/docker/golang-1.17.1-alpine
d4e0520 🆙 upgrade golang from 1.17.0 to 1.17.1
197114b Bump github.com/json-iterator/go from 1.1.11 to 1.1.12
0b7d77d Bump golang from 1.17.0-alpine to 1.17.1-alpine
5b394a7 Bump go.uber.org/zap from 1.19.0 to 1.19.1
6f1254f Bump google.golang.org/api from 0.54.0 to 0.56.0
ee0ac1c Bump github.com/olivere/elastic/v7 from 7.0.27 to 7.0.28
a6728e6 Merge pull request #1290 from traPtitech/dependabot/go_modules/gorm.io/gorm-1.21.14
d0e336c Bump gorm.io/gorm from 1.21.13 to 1.21.14
97a5c30 Merge pull request #1292 from traPtitech/workflow-use-mariadb
9e02ca9 ⚙️ Use MariaDB 10.6.4 in test for compatibility
bb59fe8 Merge pull request #1291 from traPtitech/docker/alpine-3.14.2
c05e4c5 🐳 Bump alpine from 3.14.1 to 3.14.2
89141fb Fix staging deploy
4cc2b67 Merge pull request #1289 from traPtitech/fix/random-order-test
2c78316 💚 fix race cond test