Skip to content

Commit

Permalink
Update changelog. Build with Go 1.21.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
zyro committed Feb 3, 2024
1 parent 7a78e47 commit 5a5ef9b
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 10 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@ All notable changes to this project are documented below.
The format is based on [keep a changelog](http://keepachangelog.com) and this project uses [semantic versioning](http://semver.org).

## [Unreleased]
### Changed
- Improve handling of messages being sent while session is closing.
- Build with Go 1.21.6.

### Fixed
- Skip Google refund handling for deleted users.
- Fix storage engine version check regression.
- Fix JS runtime tournament records list owner ids param.
- Fix JavaScript runtime tournament records list owner identifier parameter handling.
- Fix regression in tournament end active time calculation when it coincides with reset schedule.
- Better handling of concurrent wallet update operations for the same user.

## [3.20.0] - 2023-12-15
### Changed
Expand Down
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# docker build "$PWD" --build-arg commit="$(git rev-parse --short HEAD)" --build-arg version=v2.1.1 -t heroiclabs/nakama:2.1.1
# docker build "$PWD" --build-arg commit="$(git rev-parse --short HEAD)" --build-arg version="$(git rev-parse --short HEAD)" -t heroiclabs/nakama-prerelease:"$(git rev-parse --short HEAD)"

FROM golang:1.21.5-bookworm as builder
FROM golang:1.21.6-bookworm as builder

ARG commit
ARG version
Expand Down
2 changes: 1 addition & 1 deletion build/Dockerfile.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# docker build "$PWD" --build-arg commit="$(git rev-parse --short HEAD)" --build-arg version=v2.1.1 -t heroiclabs/nakama:2.1.1
# docker build "$PWD" --build-arg commit="$(git rev-parse --short HEAD)" --build-arg version="$(git rev-parse --short HEAD)" -t heroiclabs/nakama-prerelease:"$(git rev-parse --short HEAD)"

FROM arm64v8/golang:1.21.5-bookworm as builder
FROM arm64v8/golang:1.21.6-bookworm as builder

ARG commit
ARG version
Expand Down
2 changes: 1 addition & 1 deletion build/Dockerfile.dsym
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# docker build "$PWD" --build-arg commit="$(git rev-parse --short HEAD)" --build-arg version=v3.19.0 -t heroiclabs/nakama:3.19.0
# docker build "$PWD" --build-arg commit="$(git rev-parse --short HEAD)" --build-arg version="v3.19.0-$(git rev-parse --short HEAD)" -t heroiclabs/nakama-prerelease:"3.19.0-$(git rev-parse --short HEAD)"

FROM golang:1.21.5-bookworm as builder
FROM golang:1.21.6-bookworm as builder

ARG commit
ARG version
Expand Down
2 changes: 1 addition & 1 deletion build/Dockerfile.dsym.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# docker build "$PWD" --build-arg commit="$(git rev-parse --short HEAD)" --build-arg version=v3.19.0 -t heroiclabs/nakama:3.19.0
# docker build "$PWD" --build-arg commit="$(git rev-parse --short HEAD)" --build-arg version="v3.19.0-$(git rev-parse --short HEAD)" -t heroiclabs/nakama-prerelease:"3.19.0-$(git rev-parse --short HEAD)"

FROM arm64v8/golang:1.21.5-bookworm as builder
FROM arm64v8/golang:1.21.6-bookworm as builder

ARG commit
ARG version
Expand Down
2 changes: 1 addition & 1 deletion build/Dockerfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# docker build .. -f Dockerfile.local -t nakama:dev

FROM golang:1.21.5-bookworm as builder
FROM golang:1.21.6-bookworm as builder

ENV GOOS linux
ENV CGO_ENABLED 1
Expand Down
2 changes: 1 addition & 1 deletion build/pluginbuilder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# docker build . --file ./Dockerfile --build-arg version=v2.1.1 -t heroiclabs/nakama-pluginbuilder:2.1.1
# docker build . --file ./Dockerfile --build-arg version="v2.1.1-$(git rev-parse --short HEAD)" -t heroiclabs/nakama-pluginbuilder:"2.1.1-$(git rev-parse --short HEAD)"

FROM golang:1.21.5-bookworm as builder
FROM golang:1.21.6-bookworm as builder

MAINTAINER Heroic Labs <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion build/pluginbuilder/Dockerfile.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# docker build "$PWD" --file ./Dockerfile.pluginbuilder --build-arg commit="$(git rev-parse --short HEAD)" --build-arg version=v2.1.1 -t heroiclabs/nakama-pluginbuilder:2.1.1
# docker build "$PWD" --file ./Dockerfile.pluginbuilder --build-arg commit="$(git rev-parse --short HEAD)" --build-arg version="v2.1.1-$(git rev-parse --short HEAD)" -t heroiclabs/nakama-prerelease:"2.1.1-$(git rev-parse --short HEAD)"

FROM arm64v8/golang:1.21.5-bookworm as builder
FROM arm64v8/golang:1.21.6-bookworm as builder

MAINTAINER Heroic Labs <[email protected]>

Expand Down
12 changes: 10 additions & 2 deletions server/leaderboard_rank_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ type RankAsc struct {
}

func (r RankAsc) Less(other interface{}) bool {
ro := other.(RankAsc)
ro, ok := other.(RankAsc)
if !ok {
return true
}

if r.Score < ro.Score {
return true
}
Expand All @@ -76,7 +80,11 @@ type RankDesc struct {
}

func (r RankDesc) Less(other interface{}) bool {
ro := other.(RankDesc)
ro, ok := other.(RankDesc)
if !ok {
return true
}

if ro.Score < r.Score {
return true
}
Expand Down

0 comments on commit 5a5ef9b

Please sign in to comment.