Skip to content

Commit f2ec567

Browse files
authored
fix: upgrade go-jsonstream to v3.1.2 and LaunchDarkly deps to current releases (#432)
BEGIN_COMMIT_OVERRIDE fix: Upgrade go-jsonstream to v3.1.2 for faster JSON parsing and serialization fix: Upgrade go-sdk-common to v3.5.1 fix: Upgrade go-sdk-events to v3.6.3 fix: Upgrade go-server-sdk-evaluation to v3.0.2 END_COMMIT_OVERRIDE Upgrades the four LaunchDarkly dependencies to the releases carrying the go-jsonstream v3.1.2 performance changes (launchdarkly/go-jsonstream#56, #57, #58 — append-based jwriter internals, byte-class-table escape scan, single-pass jreader tokenizer; public API and observable behavior unchanged): ``` - go-jsonstream v3.1.1 → [v3.1.2](https://github.com/launchdarkly/go-jsonstream/releases/tag/v3.1.2) - go-sdk-common v3.5.0 → v3.5.1 - go-sdk-events v3.6.2 → v3.6.3 - go-server-sdk-evaluation v3.0.1 → v3.0.2 ``` For the SDK this lands in data-source payload parsing (`ldmodel` direct parse **-46%** on a real 3,228-flag / 3.2 MB payload), flag-state and data-store serialization, and event output encoding (string-array writes **-47%**). The diff is the four version bumps only — no `go` directive change (this module already requires 1.25) and no CI matrix change (floor already 1.24). Validated locally: full unit suite green, repo-pinned golangci-lint clean. Third tier of the dependency-ordered updates; ld-relay (v8 and v9), streamer, and sdk-test-harness follow once this is tagged. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Overview** > Bumps four LaunchDarkly modules in **`go.mod`** / **`go.sum`** only—no SDK source changes. **`go-jsonstream`** moves **v3.1.1 → v3.1.2** (faster JSON read/write internals); **`go-sdk-common`**, **`go-sdk-events`**, and **`go-server-sdk-evaluation`** are bumped to the releases that depend on that jsonstream version. > > Expected wins are in payload parsing, flag/data-store serialization, and event encoding, with public API and behavior unchanged per upstream notes. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 8142c2b. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent a826392 commit f2ec567

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ require (
88
github.com/gregjones/httpcache v0.0.0-20171119193500-2bcd89a1743f
99
github.com/launchdarkly/ccache v1.1.0
1010
github.com/launchdarkly/eventsource v1.10.0
11-
github.com/launchdarkly/go-jsonstream/v3 v3.1.1
11+
github.com/launchdarkly/go-jsonstream/v3 v3.1.2
1212
github.com/launchdarkly/go-ntlm-proxy-auth v1.0.3
13-
github.com/launchdarkly/go-sdk-common/v3 v3.5.0
14-
github.com/launchdarkly/go-sdk-events/v3 v3.6.2
15-
github.com/launchdarkly/go-server-sdk-evaluation/v3 v3.0.1
13+
github.com/launchdarkly/go-sdk-common/v3 v3.5.1
14+
github.com/launchdarkly/go-sdk-events/v3 v3.6.3
15+
github.com/launchdarkly/go-server-sdk-evaluation/v3 v3.0.2
1616
github.com/launchdarkly/go-test-helpers/v3 v3.1.0
1717
github.com/patrickmn/go-cache v2.1.0+incompatible
1818
github.com/stretchr/testify v1.9.0

go.sum

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,20 @@ github.com/launchdarkly/ccache v1.1.0 h1:voD1M+ZJXR3MREOKtBwgTF9hYHl1jg+vFKS/+VA
1919
github.com/launchdarkly/ccache v1.1.0/go.mod h1:TlxzrlnzvYeXiLHmesMuvoZetu4Z97cV1SsdqqBJi1Q=
2020
github.com/launchdarkly/eventsource v1.10.0 h1:H9Tp6AfGu/G2qzBJC26iperrvwhzdbiA/gx7qE2nDFI=
2121
github.com/launchdarkly/eventsource v1.10.0/go.mod h1:J3oa50bPvJesZqNAJtb5btSIo5N6roDWhiAS3IpsKck=
22-
github.com/launchdarkly/go-jsonstream/v3 v3.1.1 h1:ugupp2eNtwVbr69KCdeUrm1vUf1/3ju4Wdliaob95uY=
23-
github.com/launchdarkly/go-jsonstream/v3 v3.1.1/go.mod h1:ZBjhKq8mhArCtqotGRGnteY6eXpNm1GaOdUSZHh+ZjM=
22+
github.com/launchdarkly/go-jsonstream/v3 v3.1.2 h1:Od0QEKHesbKnD3GgAt+LkZzhcUiSP+yhrclrhsoox6w=
23+
github.com/launchdarkly/go-jsonstream/v3 v3.1.2/go.mod h1:ZBjhKq8mhArCtqotGRGnteY6eXpNm1GaOdUSZHh+ZjM=
2424
github.com/launchdarkly/go-ntlm-proxy-auth v1.0.3 h1:i3V0N+R0Fd2nXfGEVKCBIZ8kyttZ+SRKvBG8cdcphO4=
2525
github.com/launchdarkly/go-ntlm-proxy-auth v1.0.3/go.mod h1:kU5uMfNSTpYE6fIzmAXjFxUdmnaDPUEQ5zKm3RVKUsY=
2626
github.com/launchdarkly/go-ntlmssp v1.0.3 h1:rFxOnnEJ2DzJ+NU0plhXqnldJUwn3wWJFTWKCmaiQdE=
2727
github.com/launchdarkly/go-ntlmssp v1.0.3/go.mod h1:P1z6fX/y9zgBvfnZP7AKWilW9AX5M3czsa1S4Zpp2nM=
28-
github.com/launchdarkly/go-sdk-common/v3 v3.5.0 h1:DsfTimg4BZO2hQPeeeEZYZVsP25pAWEdq/rKv/b7HJU=
29-
github.com/launchdarkly/go-sdk-common/v3 v3.5.0/go.mod h1:6MNeeP8b2VtsM6I3TbShCHW/+tYh2c+p5dB+ilS69sg=
30-
github.com/launchdarkly/go-sdk-events/v3 v3.6.2 h1:X5sxi1Hz5Cj8wOyXiNnJzCcCGiGIy9IOSEk31lCfDXM=
31-
github.com/launchdarkly/go-sdk-events/v3 v3.6.2/go.mod h1:s86HRgbVAHjoQjQEOzgOB+ZKWlU4wwHAeDa/5N6MwO0=
28+
github.com/launchdarkly/go-sdk-common/v3 v3.5.1 h1:ii/99TRc9eYBCgzzE4FHMDtgH4y9lYJYciqmEAusWwI=
29+
github.com/launchdarkly/go-sdk-common/v3 v3.5.1/go.mod h1:HUhSIcObNywBajTAiYT/U/llpHzGL7HMdVVBm7Nyy+E=
30+
github.com/launchdarkly/go-sdk-events/v3 v3.6.3 h1:h8G2fwdWK/Poz8NW52EYHBT3aOksRgcJKIFzLRppFt4=
31+
github.com/launchdarkly/go-sdk-events/v3 v3.6.3/go.mod h1:dmhlNVS8zxMyjvQE1eOHMP/rKz0fKtiWn53/Ol+S+IE=
3232
github.com/launchdarkly/go-semver v1.0.3 h1:agIy/RN3SqeQDIfKkl+oFslEdeIs7pgsJBs3CdCcGQM=
3333
github.com/launchdarkly/go-semver v1.0.3/go.mod h1:xFmMwXba5Mb+3h72Z+VeSs9ahCvKo2QFUTHRNHVqR28=
34-
github.com/launchdarkly/go-server-sdk-evaluation/v3 v3.0.1 h1:rTgcYAFraGFj7sBMB2b7JCYCm0b9kph4FaMX02t4osQ=
35-
github.com/launchdarkly/go-server-sdk-evaluation/v3 v3.0.1/go.mod h1:fPS5d+zOsgFnMunj+Ki6jjlZtFvo4h9iNbtNXxzYn58=
34+
github.com/launchdarkly/go-server-sdk-evaluation/v3 v3.0.2 h1:mvZW3fA3ebzSAwkl7QfFzUGvmHria2dMgzt1CTVyeVE=
35+
github.com/launchdarkly/go-server-sdk-evaluation/v3 v3.0.2/go.mod h1:bg5yh+snD0Jl4qSVyolgjnTJBZJ8KIc1/dhWngUQJsI=
3636
github.com/launchdarkly/go-test-helpers/v3 v3.1.0 h1:E3bxJMzMoA+cJSF3xxtk2/chr1zshl1ZWa0/oR+8bvg=
3737
github.com/launchdarkly/go-test-helpers/v3 v3.1.0/go.mod h1:Ake5+hZFS/DmIGKx/cizhn5W9pGA7pplcR7xCxWiLIo=
3838
github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=

0 commit comments

Comments
 (0)