Skip to content

Releases: zishang520/socket.io

v2.1.0

29 May 15:04
Compare
Choose a tag to compare

Bug Fixes

  • fix: Use sync.atomic instead of some sync.RWMutex and sync.Mutex.

Destructive update

  • no yet.

Features

  • no yet.

Links:

v2.0.6

08 May 01:45
Compare
Choose a tag to compare

Bug Fixes

  • Bump golang.org/x/crypto from 0.14.0 to 0.17.0 by @dependabot in #35
  • Bump github.com/quic-go/quic-go from 0.40.0 to 0.40.1 by @dependabot in #39

Destructive update

  • calling Emit() without calling Timeout() first is now only available for events without acknowledgement
  • calling Emit() after calling Timeout() is now only available for events with an acknowledgement
  • calling EmitWithAck() is now only available for events with an acknowledgement
  • Timeout() must be called before calling EmitWithAck()

Features

  • no yet.

Links:

v2.0.5

15 Sep 14:29
Compare
Choose a tag to compare

Bug Fixes

  • no yet.

Destructive update

  • To be compatible with the Redis adapter, the Adapter.FetchSockets interface has been updated from its original FetchSockets(*BroadcastOptions) ([]SocketDetails) to FetchSockets(*BroadcastOptions) func(func([]SocketDetails, error)). (28960a1)
  • To be compatible with the Redis adapter, the NamespaceInterface.FetchSockets interface has been updated from its original FetchSockets() ([]*RemoteSocket, error) to FetchSockets() func(func([]*RemoteSocket, error)). (28960a1)

Features

  • (refactor): Refactor all FetchSockets methods into curried functions to enable asynchronous processing (compatible with Redis adapter). (28960a1)
  • update: Update version to v2, dependent component version updates. (27fce92)

Links:

v1.3.1

08 Sep 09:12
Compare
Choose a tag to compare

Bug Fixes

  • fix: Use case updates in comments. (0e65bc9)
  • fix: Add missing EventEmitter interface for Adapter interface. (f361a71)

Destructive update

  • no yet.

Features

  • no yet.

Links:

v1.3.0

05 Aug 16:13
Compare
Choose a tag to compare

Bug Fixes

  • fix: Handle exception thrown due to pointer value being nil. (8ccc215)
  • fix: Fixed that the Map initialization entry did not set the expunged value correctly. (47dc0be)
  • fix: fix the problem that the return value of the Len method of Map is incorrect. (29a012b)

Destructive update

  • Ack-related functions are changed from the original func(...any) function to func([]any, error), (6da0f35)

Features

  • refactor: Refactor the Map structure, replacing the original sync.Map with types.Map. (2cc40fe)
  • (refactor): Ack-related functions are changed from the original func(...any) function to func([]any, error), and the remaining problems of ack are fixed. (6da0f35)

Links:

v1.2.4

31 Jul 09:33
Compare
Choose a tag to compare

Bug Fixes

  • no yet.

Destructive update

  • no yet.

Features

  • refactor: Refactor the Map structure, replacing the original sync.Map with types.Map.(52e2b27)

Links:

v1.2.3

31 Jul 03:55
Compare
Choose a tag to compare

Bug Fixes

  • no yet.

Destructive update

  • no yet.

Features

  • refactor: Customize the json field name of *Handshake.(7c47c89)
  • refactor: FetchSockets(*BroadcastOptions) interface to return []SocketDetails instead of []any".(7c47c89)

Links:

v1.2.2

24 Jul 06:21
Compare
Choose a tag to compare

Bug Fixes

  • Update: update dependency package version.

Destructive update

  • no yet.

Features

Links:

v1.2.1

14 Jul 04:12
Compare
Choose a tag to compare

Bug Fixes

  • fix: Multiple invocations of ServeHandler result in the reinitialization of the engine server. #23

Destructive update

  • no yet.

Features

  • no yet.

Links:

v1.2.0

30 May 14:16
Compare
Choose a tag to compare

Bug Fixes

Destructive update

  • Due to module refactoring, import needs to do the following replacement operations:

    Changed from "github.com/zishang520/engine.io/packet" to "github.com/zishang520/engine.io-go-parser/packet";
    Changed from "github.com/zishang520/engine.io/parser" to "github.com/zishang520/engine.io-go-parser/parser";

    Due to the migration of the original types.BufferInterface to the new module, it is necessary to manually update the types.BufferInterface interface introduced by the relevant module, from "github.com/zishang520/engine.io/types" to "github.com/zishang520/engine. io-go-parser//types" (note: this step is not recommended for batch replacement);

    If you use the related capabilities of utf8.go in the utils module, you need to replace it with the "github.com/zishang520/engine.io-go-parser/utils" package.

Features

Links: