From 87028857918caa4caee7609964ffcddf53bb3e64 Mon Sep 17 00:00:00 2001 From: Kuba Suder Date: Mon, 24 Jul 2023 20:44:35 +0200 Subject: [PATCH] release 0.2.0 --- CHANGELOG.md | 11 +++++++++++ lib/skyfall/version.rb | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 187c3a0..08a83a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +## [0.2.0] - 2023-07-24 + +- switched the websocket library from `websocket-client-simple` to `faye-websocket`, which should make event parsing up to ~30× faster (!) +- added `auto_reconnect` property to `Stream` (on by default) - if true, it will try to reconnect with an exponential backoff when the websocket disconnects, until you call `Stream#disconnect` + +Note: + +- calling `sleep` is no longer needed after connecting - call `connect` on a new thread instead to get previously default behavior of running the event loop asynchronously +- the disconnect event no longer passes an error object in the argument +- there is currently no "heartbeat" feature as in 0.1.x that checks for a stuck connection - but it doesn't seem to be needed + ## [0.1.3] - 2023-07-04 - allow passing a previously saved cursor to websocket to replay any missed events diff --git a/lib/skyfall/version.rb b/lib/skyfall/version.rb index 6f2ae50..439e5b7 100644 --- a/lib/skyfall/version.rb +++ b/lib/skyfall/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Skyfall - VERSION = "0.1.3" + VERSION = "0.2.0" end -- 2.51.2