Skip to content

Releases: topfreegames/pitaya

v2.9.3

19 Dec 17:17
de0a7d0
Compare
Choose a tag to compare

What's Changed

  • Fix static call to session GetNumberOfConnectedClients by @rodrigoueda in #431

Full Changelog: v2.9.2...v2.9.3

v2.9.1

19 Dec 11:32
Compare
Choose a tag to compare
feat: add a method to get the number of connected clients

v3.0.0-beta.3

18 Dec 19:29
afce0c5
Compare
Choose a tag to compare
v3.0.0-beta.3 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v3.0.0-beta.2...v3.0.0-beta.3

v2.11.4

12 Dec 14:50
c37f8a0
Compare
Choose a tag to compare

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

19 Aug 16:16
50c6877
Compare
Choose a tag to compare
Merge pull request #409 from gibertoni/fix/panic-on-etcd-revoke

Fix panic caused by ETCD client timeout on Revoke()

v2.11.2

19 Aug 14:30
Compare
Choose a tag to compare

Fix issue with noisy logs

v3.0.0-beta.1

29 Jul 17:26
Compare
Choose a tag to compare
v3.0.0-beta.1 Pre-release
Pre-release

Changelog for Pitaya v3

Major Changes

  1. Upgraded to Go 1.22
  2. Switched from OpenTracing to OpenTelemetry for tracing
  3. Updated dependencies to their latest versions
  4. 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

  1. Update your imports:

Replace this

import (
   "github.com/topfreegames/pitaya/v2/...
)

With

import (
   "github.com/topfreegames/pitaya/v3/pkg/...
)
  1. 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)
      }
  1. 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

26 Apr 12:56
Compare
Choose a tag to compare

V2.11.0

25 Apr 15:56
Compare
Choose a tag to compare
  • 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...v2.11.0

v2.10.1

22 Feb 20:26
7a573b7
Compare
Choose a tag to compare

Fixes proxy protocol implementation to work over TLS TCP Acceptors.