From 6920812e161ca5b5a2cd33c29d16a5ffc0254584 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 21:32:44 +0000 Subject: [PATCH 1/3] chore(main): release 4.4.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 7 +++++++ PROVENANCE.md | 2 +- package.yaml | 2 +- src/LaunchDarkly/Server/Client/Internal.hs | 2 +- 5 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 83f9eb8..fb1f343 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.3.0" + ".": "4.4.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e251ca..3368575 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to the LaunchDarkly Haskell Server-side SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org). +## [4.4.0](https://github.com/launchdarkly/haskell-server-sdk/compare/4.3.0...4.4.0) (2024-12-05) + + +### Features + +* Add option to enable compression of event payloads ([#91](https://github.com/launchdarkly/haskell-server-sdk/issues/91)) ([cb21081](https://github.com/launchdarkly/haskell-server-sdk/commit/cb2108103c5210d08b7976e9ad4d3357c332b783)) + ## [4.3.0](https://github.com/launchdarkly/haskell-server-sdk/compare/4.2.0...4.3.0) (2024-10-24) diff --git a/PROVENANCE.md b/PROVENANCE.md index 32e2a64..3111ac2 100644 --- a/PROVENANCE.md +++ b/PROVENANCE.md @@ -9,7 +9,7 @@ To verify SLSA provenance attestations, we recommend using [slsa-verifier](https ``` # Set the version of the SDK to verify -SDK_VERSION=4.3.0 +SDK_VERSION=4.4.0 ``` diff --git a/package.yaml b/package.yaml index 0fcb5bc..11d16c1 100644 --- a/package.yaml +++ b/package.yaml @@ -1,5 +1,5 @@ name: launchdarkly-server-sdk -version: 4.3.0 +version: 4.4.0 github: launchdarkly/haskell-server-sdk license: Apache-2.0 license-file: LICENSE diff --git a/src/LaunchDarkly/Server/Client/Internal.hs b/src/LaunchDarkly/Server/Client/Internal.hs index 7a83ac6..688df15 100644 --- a/src/LaunchDarkly/Server/Client/Internal.hs +++ b/src/LaunchDarkly/Server/Client/Internal.hs @@ -21,7 +21,7 @@ import LaunchDarkly.Server.Store.Internal (StoreHandle, getInitializedC) -- | The version string for this library. clientVersion :: Text -clientVersion = "4.3.0" -- x-release-please-version +clientVersion = "4.4.0" -- x-release-please-version -- | -- Client is the LaunchDarkly client. Client instances are thread-safe. From 046d472ea4da2558051c1625992e90b9b9b535b0 Mon Sep 17 00:00:00 2001 From: Matthew Keeler Date: Thu, 5 Dec 2024 16:33:59 -0500 Subject: [PATCH 2/3] Update changelog --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3368575..ae31710 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to the LaunchDarkly Haskell Server-side SDK will be document ## [4.4.0](https://github.com/launchdarkly/haskell-server-sdk/compare/4.3.0...4.4.0) (2024-12-05) +This release introduces the ability to enable compression of event payloads. When enabled, the SDK will compress events before sending them to the LaunchDarkly servers. This can reduce the bandwidth required to send events, which can be useful in high-traffic environments to reduce egress traffic costs. + +> [!IMPORTANT] +> Relay Proxy users **MUST** upgrade to version 8.9 or higher prior to enabling this option to prevent loss of event data. +> +> However, enabling this feature is **NOT** required when using the Relay Proxy as it will manage compression automatically. + ### Features From 5bf1f9f0dede510686b30a9e5df9db1cd50f5a4a Mon Sep 17 00:00:00 2001 From: Matthew Keeler Date: Thu, 5 Dec 2024 16:34:29 -0500 Subject: [PATCH 3/3] Update cabal file --- launchdarkly-server-sdk.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launchdarkly-server-sdk.cabal b/launchdarkly-server-sdk.cabal index 3aa5c4f..ec7695e 100644 --- a/launchdarkly-server-sdk.cabal +++ b/launchdarkly-server-sdk.cabal @@ -5,7 +5,7 @@ cabal-version: 1.12 -- see: https://github.com/sol/hpack name: launchdarkly-server-sdk -version: 4.3.0 +version: 4.4.0 synopsis: Server-side SDK for integrating with LaunchDarkly description: Please see the README on GitHub at category: Web