Skip to content

v3.9.5

Choose a tag to compare

@github-actions github-actions released this 16 Apr 01:58
· 2952 commits to master since this release
7f32196

新機能

機能改善

バグ修正

  • 未ログイン時にリダイレクトでのログイン後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