From f4fecabc2e6258d17dfcf81d4cbc81a49ca1f36b Mon Sep 17 00:00:00 2001 From: softvar Date: Sun, 23 Jan 2022 21:19:24 +0530 Subject: [PATCH] chore(CHANGELOG.md): add entry --- CHANGELOG.md | 20 ++++++++++++++++++++ lib/vwo/constants.rb | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c4be674..5d8dcba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,26 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.28.1] - 2022-01-23 + +### Changed + +- Fix issue when `nil` is passed as `options` for the `track` API. Fixes #5. + +## [1.28.0] - 2021-12-23 + +### Changed + +- In case you want to opt out of tracking by VWO, simply call the `set_opt_out` API. This will exclude all the users from any kind of tracking by VWO. This is useful when you just want to make the VWO SDK ineffective without actually removing the associated code. + + `set_opt_out` API will also remove unwanted memory footprint by destructing all the instance variables. Calling any other API after this will not be effective i.e. no decision-making or impression would be made to VWO. + + ```ruby + vwo_client_instance.set_opt_out() + ``` + + If you want to opt-in again for tracking by VWO SDK, reinitialize the SDK with the latest settings. + ## [1.25.0] - 2021-12-23 ### Added diff --git a/lib/vwo/constants.rb b/lib/vwo/constants.rb index 845c600..45e2afd 100644 --- a/lib/vwo/constants.rb +++ b/lib/vwo/constants.rb @@ -27,7 +27,7 @@ module CONSTANTS HTTP_PROTOCOL = 'http://' HTTPS_PROTOCOL = 'https://' URL_NAMESPACE = '6ba7b811-9dad-11d1-80b4-00c04fd430c8' - SDK_VERSION = '1.28.0' + SDK_VERSION = '1.28.1' SDK_NAME = 'ruby' VWO_DELIMITER = '_vwo_' MAX_EVENTS_PER_REQUEST = 5000