Releases: topfreegames/pitaya
Releases · topfreegames/pitaya
v2.9.3
What's Changed
- Fix static call to session GetNumberOfConnectedClients by @rodrigoueda in #431
Full Changelog: v2.9.2...v2.9.3
v2.9.1
feat: add a method to get the number of connected clients
v3.0.0-beta.3
What's Changed
- feat: adding base64 request and tls connection by @SamuelLucasVM in #381
- fix: XK6 Pitaya TLS configuration by @reinaldooli in #415
- Improve connection error logs by @rsafonseca in #417
- Fix scenarios where error messages aren't propagated correctly (#424) by @hspedro in #425
New Contributors
- @SamuelLucasVM made their first contribution in #381
Full Changelog: v3.0.0-beta.2...v3.0.0-beta.3
v2.11.4
What's Changed
- Fix scenarios where error messages aren't propagated correctly by @felippeduran in #424
Full Changelog: v2.11.3...v2.11.4
v2.11.3
Merge pull request #409 from gibertoni/fix/panic-on-etcd-revoke Fix panic caused by ETCD client timeout on Revoke()
v2.11.2
Fix issue with noisy logs
v3.0.0-beta.1
Changelog for Pitaya v3
Major Changes
- Upgraded to Go 1.22
- Switched from OpenTracing to OpenTelemetry for tracing
- Updated dependencies to their latest versions
- Changed project structure. The pitaya framework should now be imported like:
import "github.com/topfreegames/pitaya/v3/pkg"
All framework now lives within the pkg package. Project root will build pitaya CLI that now has only the REPL but will soon contain more functionality.
Migration Guide: Pitaya V2 -> Pitaya V3
- Update your imports:
Replace this
import (
"github.com/topfreegames/pitaya/v2/...
)
With
import (
"github.com/topfreegames/pitaya/v3/pkg/...
)
- Update tracing related code:
As a part of pitaya v3 release, we're moving from Opentracing to OpenTelemetry as our distrubuted tracing framework. You should replace your old tracing initialization code with one that's compatible with OT. There's a helper for that in the "tracing" package that can be used like:
import "github.com/topfreegames/pitaya/v3/pkg/tracing"
...
...
err := tracing.InitializeOtel()
if err != nil {
logger.Errorf("Failed to initialize OpenTelemetry: %v", err)
}
- Configure tracing using environment variables:
Instead of programmatically configuring tracing, use standard OpenTelemetry environment variables:export OTEL_SERVICE_NAME=your-service-name export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317 export OTEL_EXPORTER_OTLP_PROTOCOL=grpc export OTEL_TRACES_SAMPLER=parentbased_traceidratio export OTEL_TRACES_SAMPLER_ARG=1
v2.11.1
V2.11.0
- It's now possible to configure RPC timeout per request (by @bruce1125)
- New category of modules to do session draining that are guaranteed to be killed before standard modules. (by @paulikaila-wl)
v2.10.1
Fixes proxy protocol implementation to work over TLS TCP Acceptors.