Releases: topfreegames/podium
Releases · topfreegames/podium
client v1.0.2
Changed
- Fix
IncrementScore
function to correctly return values in the client.
v10.2.2
v10.2.1
v10.2.0
v10.2.0
client v1.0.1
Changed
- Downgrade client gomega to use
v1.11.0
that use protobuf1.4.3
- Fix github actions pipeline
v10.1.3
leaderboard v2.0.0
Release new leaderboard version
This release uses new leaderboard flows. And many other changes. This new leaderboard version use the New go-redis/redis/v8
lib instead of the deprecated go-redis/redis
on the last version.
Add
- Package
redis
,database
,service
- Support to Redis cluster
- Re-structure leaderboard errors
- All errors on different layers are now scoped to avoid break layers. Errors that are not handled by a layer are thrown as a
GeneralError
- All errors on different layers are now scoped to avoid break layers. Errors that are not handled by a layer are thrown as a
- Create functions to instantiate redis clients
redis.NewClusterClient
andredis.NewStandaloneClient
and interfaceredis.Client
to standardize redis communication - Implement
database.Database
interface with Redis as underline database - Create
service.Service
interface with all leaderboard functions that could be used by clients/games - Create
service.NewService(database.Database)
to instantiate aservice.Service
.
Note: currently only have Redis as database implementation. - Create
model.Member
struct replacing oldleaderboard.Member
Change
- Move
leadeboard
functions toservice
package - Move
leaderboard.Member
to propermodel.Member
package - Move
expiration
package frompodium
toleaderboard
lib.
Remove
leaderboard.Members
- Function
NewClientWithRedis
connectionTimeout
configuration to Redis instantiation
client v1.0.0
client/v1.0.0
This release creates client
library to ease integration with Podium API.