Skip to content

Releases: OceanEx/slanger

Version 0.7.3.0

16 Mar 01:52

Choose a tag to compare

Downgrade ruby version from 3.0.1 to 2.6.3 due to compatibility issue with EM-Hiredis and Lua script. Adding native Lua script using EM-Hiredis under ruby 3.0.1 has compatibility issue which causing unable to register customised Lua script to redis.

Optimise subscription channel count statistics, set the lower bound of subscription's count to zero, zero or negative subscription count will be automatically deleted upon unsubscription. leaked zero or negative subscription count will be corrected upon new connection.

Using lua script when manipulating the channel subscription to avoid multi-threading issue.

Version 0.7.2.0

15 Jun 17:01

Choose a tag to compare

Performance improvements:

  1. Update the ruby dependencies from 2.6.3 to 3.0.1
  2. Optimize new connection to avoid repeatly class function defination.
  3. Update dependent libraries to latest or highest supported.

Version 0.7.1.5

17 Sep 21:01

Choose a tag to compare

Performance improvement:

  • Slanger has potential performance deterioration as clients subscribe more and more private/presence channels due to inefficient lookup table implementation. Improve the lookup table query performance, reduce query cost from o(n) to o(1).

Version 0.7.1.4

15 Sep 12:49

Choose a tag to compare

Dependency update:

Update em-http-request to the 1.1.7.

Version 0.7.1.3

15 Sep 11:52

Choose a tag to compare

Security Update:

  • Fix bypass authentication issue when subscribing private channel. Attacker could walk around authentication by passing no auth info.
  • Fix Forwardable's kernel warning due to calling private functions.
  • Security patch update for vulnerable gems.

Runtime dependencies update:

  • Update ruby from 2.3 to 2.6.3
  • Update eventmachine from 1.0.0 to 1.2.7
  • Update em-hiredis from 0.2.0 to 0.3.1
  • Update rake from 1.4.4 to 2.2
  • Update rack-fiber_pool from 0.9.2 to 0.9.3
  • Update signature from 0.1.6 to 0.1.8
  • Update activesupport from 4.2.1 to 6.0.3
  • Update sinatra from 1.4.4 to 2.1.0
  • Update thin from 1.6.0 to 1.7.2
  • Update em-http-request from 0.3.0 to 1.1.6
  • Update oj from 2.12.9 to 3.10.14

Development dependencies update:

  • Update rspec from 3.60 to 3.9.0
  • Update pusher from 0.14.2 to 1.3.3
  • Update haml from 3.1.2 to 5.1.2
  • Update timecop from 0.3.5 to 0.9.1
  • Update webmock from 1.8.7 to 3.8.3
  • Update mocha from 0.13.2 to 1.11.2
  • Update pry from 0.10.1 to 0.13.1
  • Update pry-byebug from 2.0.0 to 3.9.0
  • Update bundler from 1.5 to 2.1.4
  • Update rake from 10.4.2 to 13.0.1

Docker support:

  • Support build and launch OceanEx Slanger in docker.