From 96410d9e51067c605a2474faae7a4c2cbb70cede Mon Sep 17 00:00:00 2001 From: James Greenhill Date: Wed, 7 Aug 2024 17:03:17 -0700 Subject: [PATCH] fix: change version from 2.0 to 1.2 (we are not on v2 yet) (#47) --- CHANGELOG.md | 4 ++-- version.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 791755c..1d7a180 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,10 @@ # Changelog -## 2.0.1 - 2024-08-07 +## 1.2.1 - 2024-08-07 1. The client will fall back to the `/decide` endpoint when evaluating feature flags if the user does not wish to provide a PersonalApiKey. This fixes an issue where users were unable to use this SDK without providing a PersonalApiKey. This fallback will make feature flag usage less performant, but will save users money by not making them pay for public API access. -## 2.0.0 - 2022-08-15 +## 1.2.0 - 2022-08-15 Breaking changes: diff --git a/version.go b/version.go index 9ab111d..c0e4158 100644 --- a/version.go +++ b/version.go @@ -3,7 +3,7 @@ package posthog import "flag" // Version of the client. -const Version = "2.0.0" +const Version = "1.2.1" // make tests easier by using a constant version func getVersion() string {