Skip to content

Commit

Permalink
prepare 7.0.0 release (#101)
Browse files Browse the repository at this point in the history
## [7.0.0] - 2023-10-11
The latest version of this SDK supports the ability to manage migrations
or modernizations, using migration flags. You might use this
functionality if you are optimizing queries, upgrading to new tech
stacks, migrating from one database to another, or other similar
technology changes. Migration flags are part of LaunchDarkly's Early
Access Program. This feature is available to all LaunchDarkly customers
but may undergo additional changes before it is finalized.

### Added:
- New `Migrator` type which provides an out-of-the-box configurable
migration framework.
- For more advanced use cases, added new `MigrationVariation` and
`TrackMigrationOp` methods on `LDClient`.

### Changed:
- `LDClientEvaluations` interface now has a `MigrationVariation` method.
- `LDClientEvents` interface now has `TrackMigrationOp` method.

---------

Co-authored-by: Eli Bishop <[email protected]>
Co-authored-by: Casey Waldren <[email protected]>
Co-authored-by: LaunchDarklyReleaseBot <[email protected]>
Co-authored-by: Louis Chan <[email protected]>
Co-authored-by: LaunchDarklyCI <[email protected]>
Co-authored-by: LaunchDarklyCI <[email protected]>
Co-authored-by: Harpo Roeder <[email protected]>
Co-authored-by: Ben Woskow <[email protected]>
Co-authored-by: Sam Stokes <[email protected]>
Co-authored-by: Louis Chan <[email protected]>
Co-authored-by: Matthew M. Keeler <[email protected]>
Co-authored-by: Ben Woskow <[email protected]>
Co-authored-by: Mike Zorn <[email protected]>
Co-authored-by: Paul Wright <[email protected]>
Co-authored-by: Ember Stevens <[email protected]>
Co-authored-by: Ember Stevens <[email protected]>
  • Loading branch information
17 people authored Oct 11, 2023
1 parent 416c7ea commit 5a0e096
Show file tree
Hide file tree
Showing 158 changed files with 2,628 additions and 555 deletions.
11 changes: 6 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@ jobs:
with-coverage:
type: boolean
default: false

docker:
- image: <<parameters.docker-image>>
environment:
CIRCLE_TEST_REPORTS: /tmp/circle-reports
CIRCLE_ARTIFACTS: /tmp/circle-artifacts
TEST_HARNESS_PARAMS: -junit /tmp/circle-reports/contract-tests-junit.xml
GOPRIVATE: github.com/launchdarkly/*-private

steps:
- checkout
Expand All @@ -59,7 +60,7 @@ jobs:
mkdir -p $CIRCLE_TEST_REPORTS
mkdir -p $CIRCLE_ARTIFACTS
make test | tee $CIRCLE_ARTIFACTS/report.txt
- when:
condition: <<parameters.with-coverage>>
steps:
Expand All @@ -71,7 +72,7 @@ jobs:
name: Store coverage results
command: cp build/coverage* /tmp/circle-artifacts
when: always

- run:
name: Process test results
command: go-junit-report < $CIRCLE_ARTIFACTS/report.txt > $CIRCLE_TEST_REPORTS/junit.xml
Expand Down Expand Up @@ -99,7 +100,7 @@ jobs:

steps:
- checkout
- run:
- run:
name: download Go 1.18.5
command: |
$ErrorActionPreference = "Stop"
Expand All @@ -123,7 +124,7 @@ jobs:

steps:
- checkout
- run: go build ./...
- run: go build ./...
- run:
name: Run benchmarks
command: |
Expand Down
2 changes: 1 addition & 1 deletion .ldrelease/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: go

publications:
- url: https://pkg.go.dev/github.com/launchdarkly/go-server-sdk/v6
- url: https://pkg.go.dev/github.com/launchdarkly/go-server-sdk/v7
description: documentation

sdk:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ COVERAGE_PROFILE_RAW=./build/coverage_raw.out
COVERAGE_PROFILE_RAW_HTML=./build/coverage_raw.html
COVERAGE_PROFILE_FILTERED=./build/coverage.out
COVERAGE_PROFILE_FILTERED_HTML=./build/coverage.html
COVERAGE_ENFORCER_FLAGS=-package github.com/launchdarkly/go-server-sdk/v6 \
COVERAGE_ENFORCER_FLAGS=-package github.com/launchdarkly/go-server-sdk/v7 \
-skipfiles '(internal/sharedtest/$(COVERAGE_ENFORCER_SKIP_FILES_EXTRA))' \
-skipcode "// COVERAGE" \
-packagestats -filestats -showcode
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# LaunchDarkly Server-side SDK for Go

[![Circle CI](https://circleci.com/gh/launchdarkly/go-server-sdk.svg?style=shield)](https://circleci.com/gh/launchdarkly/go-server-sdk) [![Documentation](https://img.shields.io/static/v1?label=go.dev&message=reference&color=00add8)](https://pkg.go.dev/github.com/launchdarkly/go-server-sdk/v6)
[![Circle CI](https://circleci.com/gh/launchdarkly/go-server-sdk.svg?style=shield)](https://circleci.com/gh/launchdarkly/go-server-sdk) [![Documentation](https://img.shields.io/static/v1?label=go.dev&message=reference&color=00add8)](https://pkg.go.dev/github.com/launchdarkly/go-server-sdk/v7)

## LaunchDarkly overview

Expand Down Expand Up @@ -51,7 +51,7 @@ If you do not set the `launchdarkly_easyjson` build tag, the SDK does not use an

## Learn more

Read our [documentation](http://docs.launchdarkly.com) for in-depth instructions on configuring and using LaunchDarkly. You can also head straight to the [complete reference guide for this SDK](http://docs.launchdarkly.com/docs/go-sdk-reference) or our [code-generated API documentation](https://pkg.go.dev/github.com/launchdarkly/go-server-sdk/v6).
Read our [documentation](http://docs.launchdarkly.com) for in-depth instructions on configuring and using LaunchDarkly. You can also head straight to the [complete reference guide for this SDK](http://docs.launchdarkly.com/docs/go-sdk-reference) or our [code-generated API documentation](https://pkg.go.dev/github.com/launchdarkly/go-server-sdk/v7).

## Testing

Expand Down
6 changes: 3 additions & 3 deletions client_context_from_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"regexp"

"github.com/launchdarkly/go-sdk-common/v3/ldlog"
"github.com/launchdarkly/go-server-sdk/v6/internal"
"github.com/launchdarkly/go-server-sdk/v6/ldcomponents"
"github.com/launchdarkly/go-server-sdk/v6/subsystems"
"github.com/launchdarkly/go-server-sdk/v7/internal"
"github.com/launchdarkly/go-server-sdk/v7/ldcomponents"
"github.com/launchdarkly/go-server-sdk/v7/subsystems"
)

var validTagKeyOrValueRegex = regexp.MustCompile(`(?s)^[\w.-]*$`)
Expand Down
6 changes: 3 additions & 3 deletions config.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package ldclient

import (
ldevents "github.com/launchdarkly/go-sdk-events/v2"
"github.com/launchdarkly/go-server-sdk/v6/interfaces"
"github.com/launchdarkly/go-server-sdk/v6/subsystems"
ldevents "github.com/launchdarkly/go-sdk-events/v3"
"github.com/launchdarkly/go-server-sdk/v7/interfaces"
"github.com/launchdarkly/go-server-sdk/v7/subsystems"
)

// Config exposes advanced configuration options for [LDClient].
Expand Down
2 changes: 1 addition & 1 deletion event_processor_benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/launchdarkly/go-sdk-common/v3/ldtime"
"github.com/launchdarkly/go-sdk-common/v3/lduser"
"github.com/launchdarkly/go-sdk-common/v3/ldvalue"
ldevents "github.com/launchdarkly/go-sdk-events/v2"
ldevents "github.com/launchdarkly/go-sdk-events/v3"
)

// These benchmarks cover the DefaultEventProcessor logic for digesting analytics event inputs and producing
Expand Down
10 changes: 5 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/launchdarkly/go-server-sdk/v6
module github.com/launchdarkly/go-server-sdk/v7

go 1.18

Expand All @@ -9,9 +9,9 @@ require (
github.com/launchdarkly/eventsource v1.6.2
github.com/launchdarkly/go-jsonstream/v3 v3.0.0
github.com/launchdarkly/go-ntlm-proxy-auth v1.0.1
github.com/launchdarkly/go-sdk-common/v3 v3.0.1
github.com/launchdarkly/go-sdk-events/v2 v2.0.2
github.com/launchdarkly/go-server-sdk-evaluation/v2 v2.0.2
github.com/launchdarkly/go-sdk-common/v3 v3.1.0
github.com/launchdarkly/go-sdk-events/v3 v3.0.0
github.com/launchdarkly/go-server-sdk-evaluation/v3 v3.0.0
github.com/launchdarkly/go-test-helpers/v3 v3.0.2
github.com/patrickmn/go-cache v2.1.0+incompatible
github.com/stretchr/testify v1.7.0
Expand All @@ -32,5 +32,5 @@ require (
golang.org/x/crypto v0.1.0 // indirect
golang.org/x/sys v0.1.0 // indirect
gopkg.in/yaml.v2 v2.3.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
gopkg.in/yaml.v3 v3.0.0 // indirect
)
15 changes: 8 additions & 7 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ github.com/launchdarkly/go-ntlm-proxy-auth v1.0.1 h1:Iz5cg9mB/0vt5llZE+J0iGQ5+O/
github.com/launchdarkly/go-ntlm-proxy-auth v1.0.1/go.mod h1:hKWfH/hga5oslM2mRkDZi+14u2h1dFsmgbvSM9qF8pk=
github.com/launchdarkly/go-ntlmssp v1.0.1 h1:snB77118TQvf9tfHrkSyrIop/UX5e5VD2D2mv7Kh3wE=
github.com/launchdarkly/go-ntlmssp v1.0.1/go.mod h1:/cq3t2JyALD7GdVF5BEWcEuGlIGa44FZ4v4CVk7vuCY=
github.com/launchdarkly/go-sdk-common/v3 v3.0.1 h1:rVdLusAIViduNvyjNKy06RA+SPwk0Eq+NocNd1opDhk=
github.com/launchdarkly/go-sdk-common/v3 v3.0.1/go.mod h1:H/zISoCNhviHTTqqBjIKQy2YgSHT8ioL1FtgBKpiEGg=
github.com/launchdarkly/go-sdk-events/v2 v2.0.2 h1:Ngp050AGYUyN3YRxX7zfu110NETHEPEOVys1ey2Hyvw=
github.com/launchdarkly/go-sdk-events/v2 v2.0.2/go.mod h1:Msqbl6brgFO83RUxmLaJAUx2sYG+WKULcy+Vf3+tKww=
github.com/launchdarkly/go-sdk-common/v3 v3.1.0 h1:KNCP5rfkOt/25oxGLAVgaU1BgrZnzH9Y/3Z6I8bMwDg=
github.com/launchdarkly/go-sdk-common/v3 v3.1.0/go.mod h1:mXFmDGEh4ydK3QilRhrAyKuf9v44VZQWnINyhqbbOd0=
github.com/launchdarkly/go-sdk-events/v3 v3.0.0 h1:u8o4vddKJ7NsFlcVCqeLMypnoM5WYADcLmRm+b3kJVw=
github.com/launchdarkly/go-sdk-events/v3 v3.0.0/go.mod h1:oepYWQ2RvvjfL2WxkE1uJJIuRsIMOP4WIVgUpXRPcNI=
github.com/launchdarkly/go-semver v1.0.2 h1:sYVRnuKyvxlmQCnCUyDkAhtmzSFRoX6rG2Xa21Mhg+w=
github.com/launchdarkly/go-semver v1.0.2/go.mod h1:xFmMwXba5Mb+3h72Z+VeSs9ahCvKo2QFUTHRNHVqR28=
github.com/launchdarkly/go-server-sdk-evaluation/v2 v2.0.2 h1:PAM0GvE0nIUBeOkjdiymIEKI+8FFLJ+fEsWTupW1yGU=
github.com/launchdarkly/go-server-sdk-evaluation/v2 v2.0.2/go.mod h1:Mztipcz+7ZMatXVun3k/IfPa8IOgUnAqiZawtFh2MRg=
github.com/launchdarkly/go-server-sdk-evaluation/v3 v3.0.0 h1:nQbR1xCpkdU9Z71FI28bWTi5LrmtSVURy0UFcBVD5ZU=
github.com/launchdarkly/go-server-sdk-evaluation/v3 v3.0.0/go.mod h1:cwk7/7SzNB2wZbCZS7w2K66klMLBe3NFM3/qd3xnsRc=
github.com/launchdarkly/go-test-helpers/v2 v2.2.0 h1:L3kGILP/6ewikhzhdNkHy1b5y4zs50LueWenVF0sBbs=
github.com/launchdarkly/go-test-helpers/v2 v2.2.0/go.mod h1:L7+th5govYp5oKU9iN7To5PgznBuIjBPn+ejqKR0avw=
github.com/launchdarkly/go-test-helpers/v3 v3.0.2 h1:rh0085g1rVJM5qIukdaQ8z1XTWZztbJ49vRZuveqiuU=
Expand Down Expand Up @@ -73,5 +73,6 @@ gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU=
gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.0 h1:hjy8E9ON/egN1tAYqKb61G10WtihqetD4sz2H+8nIeA=
gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
2 changes: 1 addition & 1 deletion interfaces/application_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package interfaces
// affect feature flag evaluations.
//
// If you want to set non-default values for any of these fields, set the ApplicationInfo field
// in the SDK's [github.com/launchdarkly/go-server-sdk/v6.Config] struct.
// in the SDK's [github.com/launchdarkly/go-server-sdk/v7.Config] struct.
type ApplicationInfo struct {
// ApplicationID is a unique identifier representing the application where the LaunchDarkly SDK is
// running.
Expand Down
2 changes: 1 addition & 1 deletion interfaces/big_segment_store_status_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package interfaces
// documentation about user segments: https://docs.launchdarkly.com/home/users
//
// An implementation of this interface is returned by
// [github.com/launchdarkly/go-server-sdk/v6.LDClient.GetBigSegmentStoreStatusProvider].
// [github.com/launchdarkly/go-server-sdk/v7.LDClient.GetBigSegmentStoreStatusProvider].
// Application code should not implement this interface.
//
// There are two ways to interact with the status. One is to simply get the current status; if its
Expand Down
64 changes: 63 additions & 1 deletion interfaces/client_interface.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
package interfaces

import (
"time"

"github.com/launchdarkly/go-sdk-common/v3/ldcontext"
"github.com/launchdarkly/go-sdk-common/v3/ldmigration"
"github.com/launchdarkly/go-sdk-common/v3/ldreason"
"github.com/launchdarkly/go-sdk-common/v3/ldvalue"
"github.com/launchdarkly/go-server-sdk/v6/interfaces/flagstate"
ldevents "github.com/launchdarkly/go-sdk-events/v3"
"github.com/launchdarkly/go-server-sdk/v7/interfaces/flagstate"
)

// LDClientEvaluations defines the basic feature flag evaluation methods implemented by LDClient.
Expand Down Expand Up @@ -78,6 +82,15 @@ type LDClientEvaluations interface {
defaultVal string,
) (string, ldreason.EvaluationDetail, error)

// MigrationVariation returns the migration stage of the migration feature flag for the given evaluation context.
//
// Returns defaultStage if there is an error or if the flag doesn't exist.
MigrationVariation(
key string,
context ldcontext.Context,
defaultStage ldmigration.Stage,
) (ldmigration.Stage, LDMigrationOpTracker, error)

// JSONVariation returns the value of a feature flag for the given evaluation context, allowing the value to
// be of any JSON type.
//
Expand Down Expand Up @@ -169,6 +182,14 @@ type LDClientEvents interface {
//
// For more information, see the Reference Guide: https://docs.launchdarkly.com/sdk/features/events#go
TrackMetric(eventName string, context ldcontext.Context, metricValue float64, data ldvalue.Value) error

// TrackMigrationOp reports a migration operation event.
//
// The measurements included in the event are used by LaunchDarkly to enhance support and
// visibility during migration-assisted technology migrations.
//
// Migration operation events can be created with a [LDMigrationOpTracker].
TrackMigrationOp(event ldevents.MigrationOpEventData) error
}

// LDClientInterface defines the basic SDK client operations implemented by LDClient.
Expand Down Expand Up @@ -207,3 +228,44 @@ type LDClientInterface interface {
// value, err = tempClient.BoolVariation("flagkey3", context, false)
WithEventsDisabled(eventsDisabled bool) LDClientInterface
}

// LDMigrationOpTracker defines the required operations implemented by [MigrationOpTracker].
//
// These methods allow incrementally constructing a migration operation event for later reporting to
// LaunchDarkly through the [LDClientEvents.TrackMigrationOp] method.
type LDMigrationOpTracker interface {
// Operation sets the migration related operation associated with these tracking measurements.
Operation(op ldmigration.Operation)

// TrackInvoked allows recording which origins were called during a migration.
TrackInvoked(origin ldmigration.Origin)

// TrackConsistency allows recording the results of a consistency check.
TrackConsistency(isConsistent func() bool)

// TrackError allows recording whether an error occurred during the operation.
TrackError(origin ldmigration.Origin)

// TrackLatency allows tracking the recorded latency for an individual operation.
TrackLatency(origin ldmigration.Origin, duration time.Duration)

// Build creates an instance of [ldevents.MigrationOpEventData]. This event data can be provided to
// the [LDClientEvents.TrackMigrationOp] method to rely this metric information upstream to LaunchDarkly
// services.
Build() (*ldevents.MigrationOpEventData, error)
}

// LDLoggers represents an interface that provides basic logging reporting methods.
type LDLoggers interface {
Debug(values ...interface{})

Debugf(format string, values ...interface{})

Error(values ...interface{})

Errorf(format string, values ...interface{})

Warn(values ...interface{})

Warnf(format string, values ...interface{})
}
2 changes: 1 addition & 1 deletion interfaces/data_source_status_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
// could be polling or file data depending on your configuration.
//
// An implementation of this interface is returned by
// [github.com/launchdarkly/go-server-sdk/v6.LDClient.GetDataSourceStatusProvider()].
// [github.com/launchdarkly/go-server-sdk/v7.LDClient.GetDataSourceStatusProvider()].
// Application code should not implement this interface.
//
// There are three ways to interact with the data source status. One is to simply get the current status;
Expand Down
2 changes: 1 addition & 1 deletion interfaces/data_store_status_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package interfaces
// DataStoreStatusProvider is an interface for querying the status of a persistent data store.
//
// An implementation of this interface is returned by
// [github.com/launchdarkly/go-server-sdk/v6.LDClient.GetDataStoreStatusProvider]. Application code
// [github.com/launchdarkly/go-server-sdk/v7.LDClient.GetDataStoreStatusProvider]. Application code
// should not implement this interface.
//
// There are two ways to interact with the data store status. One is to simply get the current status; if
Expand Down
2 changes: 1 addition & 1 deletion interfaces/flag_tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
// FlagTracker is an interface for tracking changes in feature flag configurations.
//
// An implementation of this interface is returned by
// [github.com/launchdarkly/go-server-sdk/v6.LDClient.GetFlagTracker]. Application code should not
// [github.com/launchdarkly/go-server-sdk/v7.LDClient.GetFlagTracker]. Application code should not
// implement this interface.
type FlagTracker interface {
// AddFlagChangeListener subscribes for notifications of feature flag changes in general.
Expand Down
4 changes: 2 additions & 2 deletions interfaces/service_endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package interfaces
// ServiceEndpoints allow configuration of custom service URIs.
//
// If you want to set non-default values for any of these fields, set the ServiceEndpoints field
// in the SDK's [github.com/launchdarkly/go-server-sdk/v6.Config] struct. You may set individual
// in the SDK's [github.com/launchdarkly/go-server-sdk/v7.Config] struct. You may set individual
// values such as Streaming, or use the helper method
// [github.com/launchdarkly/go-server-sdk/v6/ldcomponents.RelayProxyEndpoints].
// [github.com/launchdarkly/go-server-sdk/v7/ldcomponents.RelayProxyEndpoints].
//
// See Config.ServiceEndpoints for more details.
type ServiceEndpoints struct {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package bigsegments

import (
"github.com/launchdarkly/go-server-sdk/v6/interfaces"
"github.com/launchdarkly/go-server-sdk/v6/internal"
"github.com/launchdarkly/go-server-sdk/v7/interfaces"
"github.com/launchdarkly/go-server-sdk/v7/internal"
)

// This is the standard implementation of BigSegmentStoreStatusProvider. Most of the work is done by
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"testing"
"time"

"github.com/launchdarkly/go-server-sdk/v6/internal/sharedtest/mocks"
"github.com/launchdarkly/go-server-sdk/v7/internal/sharedtest/mocks"

"github.com/launchdarkly/go-server-sdk/v6/interfaces"
"github.com/launchdarkly/go-server-sdk/v6/internal"
"github.com/launchdarkly/go-server-sdk/v7/interfaces"
"github.com/launchdarkly/go-server-sdk/v7/internal"
"github.com/stretchr/testify/assert"
)

Expand Down
4 changes: 2 additions & 2 deletions internal/client_context_impl.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package internal

import (
ldevents "github.com/launchdarkly/go-sdk-events/v2"
"github.com/launchdarkly/go-server-sdk/v6/subsystems"
ldevents "github.com/launchdarkly/go-sdk-events/v3"
"github.com/launchdarkly/go-server-sdk/v7/subsystems"
)

// ClientContextImpl is the SDK's standard implementation of interfaces.ClientContext.
Expand Down
2 changes: 1 addition & 1 deletion internal/datakinds/data_kind_internal.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package datakinds

import (
"github.com/launchdarkly/go-server-sdk/v6/subsystems/ldstoretypes"
"github.com/launchdarkly/go-server-sdk/v7/subsystems/ldstoretypes"

"github.com/launchdarkly/go-jsonstream/v3/jreader"
)
Expand Down
4 changes: 2 additions & 2 deletions internal/datakinds/data_kinds_impl.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package datakinds

import (
"github.com/launchdarkly/go-server-sdk-evaluation/v2/ldmodel"
"github.com/launchdarkly/go-server-sdk/v6/subsystems/ldstoretypes"
"github.com/launchdarkly/go-server-sdk-evaluation/v3/ldmodel"
"github.com/launchdarkly/go-server-sdk/v7/subsystems/ldstoretypes"

"github.com/launchdarkly/go-jsonstream/v3/jreader"
)
Expand Down
Loading

0 comments on commit 5a0e096

Please sign in to comment.