Commit f2ec567
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments