Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update module github.com/statsig-io/go-sdk to v1.30.2 #488

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 27, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/statsig-io/go-sdk v1.17.0 -> v1.30.2 age adoption passing confidence

Release Notes

statsig-io/go-sdk (github.com/statsig-io/go-sdk)

v1.30.2: - Expose EvaluationSource, Init details for multi-client use

Compare Source

Improvements
  • Make constants EvaluationSource and EvaluationReason public
  • Expose InitializeDetails in new client initialize API NewClientWithDetatils for multi-client use

Included In This Release

  • 9134f9a kenny-statsig
    • Make EvaluationSource and EvaluationReason values public (#​242)
  • 571a6db kenny-statsig
    • Add NewClientWithDetails API (#​241)

Full Changelog: statsig-io/go-sdk@v1.30.1...v1.30.2

v1.30.1: - Fix race condition during initialization

Compare Source

Improvements
  • Add ID type to GetClientInitializeResponse
Fixes
  • Fix race condition in InitializeDetails when initializing with timeout

Included In This Release

Full Changelog: statsig-io/go-sdk@v1.30.0...v1.30.1

v1.30.0: - Initialization details

Compare Source

Improvements
  • Return details upon initialization, (success/fail, error, duration, data source)

Included In This Release

Full Changelog: statsig-io/go-sdk@v1.29.1...v1.30.0

v1.29.1: - Alternative method of filtering client initialize response

Compare Source

Improvements
  • Support filtering client initialize response from Statsig on-prem

Included In This Release

  • a5d67e5 kenny-statsig
    • Alternative target app filtering for GCIR (#​231)
  • 4e57bd9 kat-statsig
    • Add derived device metadata to metadata (#​228)

Full Changelog: statsig-io/go-sdk@v1.29.0...v1.29.1

v1.29.0: - Fallback to Statsig API

Compare Source

New Features
  • New option FallbackToStatsigAPI to allow network requests to retry using Statsig API
Improvements
  • Improve performance of case-insensitive string
  • Add GroupName and HashUsed to the client initialize response
    equality check

Included In This Release

Full Changelog: statsig-io/go-sdk@v1.28.1...v1.29.0

v1.28.1: - GetClientInitializeResponse target app filtering by ID

Compare Source

Improvements
  • Support GetClientInitializeResponse target app filtering using the target app ID directly rather than the client SDK key

Included In This Release

  • f89dc82 kenny-statsig
    • Allow using target app ID directly for GCIR (#​223)

Full Changelog: statsig-io/go-sdk@v1.28.0...v1.28.1

v1.28.0: - Transport override option & bug fixes

Compare Source

New Features
  • Option to override the internal HTTP client's transport.
Improvements
  • Better type conversion, now supports golang
    "enums"
Fixes
  • User persistent store evaluation schema for explicit_parameters fixed to be consistent with other SDKs

Included In This Release

Full Changelog: statsig-io/go-sdk@v1.27.1...v1.28.0

v1.27.1: - Remove private attributes from bootstrapping

Compare Source

Fixes
  • Remove private attribute from user object in getClientInitializationResponse api

Included In This Release

Full Changelog: statsig-io/go-sdk@v1.27.0...v1.27.1

v1.27.0: - API Overrides, initialize timeout bug fix, hashing exposures

Compare Source

New Features
  • Added options to override APIs used for /download_config_specs, /get_id_lists, /log_event.
Improvements
  • Allow omitempty on User struct
  • Support hashing secondary exposures on GetClientInitializeResponse
Fixes
  • Fixed a bug where the sdk doesn't not poll config sync if timed out.

Included In This Release

Full Changelog: statsig-io/go-sdk@v1.26.0...v1.27.0

v1.26.0: - Exposure callback and spec update bug fix

Compare Source

New Features
  • New options to pass in ExposureCallback and IncludeDisabledExposures
Fixes
  • Fixes a bug where we could update the internal store with stale values (older than the current values in memory). While this was unlikely, now it wont happen

Included In This Release

Full Changelog: statsig-io/go-sdk@v1.25.0...v1.26.0

v1.25.0: - Sanitize error messages

Compare Source

Improvements
  • Remove secret keys in output logs

Included In This Release

Full Changelog: statsig-io/go-sdk@v1.24.0...v1.25.0

v1.24.0: - Improved errors

Compare Source

Bug fixes:

  • Errors for failed event logging not being sent to stderr or log callback

Improvements:

  • Introduced custom errors with matching: ErrFailedLogEvent
  • Error messages in stderr now contain timestamps
  • Network error messages include status code, # of retries, and endpoint
  • Errors now sent to stderr instead of stdout

Included In This Release

Full Changelog: statsig-io/go-sdk@1.23.0...v1.24.0

v1.23.0: - Evaluation and LogEvent Improvements

Compare Source

  • GetClientInitialization improvements
  • LogEvent compression
  • Output logging for logEvent failures
  • Added Evaluation Details to GetGate
  • Diagnostics bug fixes

Included In This Release

Full Changelog: statsig-io/go-sdk@1.22.0...1.23.0

v1.22.0: - Add GetExperimentLayer

Compare Source

New method GetExperimentLayer to retrieve the layer name an experiment belongs to

Included In This Release

Full Changelog: statsig-io/go-sdk@v1.21.0...1.22.0

v1.21.0: - Optimize local mode initialization

Compare Source

Introduced 2 new options to configure the load strategy of the IP to country lookup & UA parser.

  • IPCountryOptions
    • Disabled: Fully disable IP to country lookup
    • LazyLoad: Load in background
    • EnsureLoaded: Wait until loaded when needed
  • UAParserOptions
    • Disabled: Fully disable UA parser
    • LazyLoad: Load in background
    • EnsureLoaded: Wait until loaded when needed

These are 2 of the more expensive processes during initialization of the SDK outside of network requests.

  • If your service does not rely on country based checks from an IP address, disabling IPCountry is recommended.
  • If your service does not rely on parsing the UserAgent, disabling UAParser is recommended.
  • LazyLoad is generally recommended to avoid waiting to initialize these on start up. EnsureLoaded will ensure that it's loaded when eventually needed for evaluation.

Bug fix:

  • Disable internal error logging in Local Mode

Included In This Release

  • 3b13ae3 kenny-statsig
    • skip network error handling if in local mode (#​174)
  • 9cff2f5 kenny-statsig
    • optimize synchronous initialization processes (#​173)

Full Changelog: statsig-io/go-sdk@v1.20.0...1.21.0

v1.20.0: - Optimizations & persistent storage updates

Compare Source

Made optimizations to evaluation logic:

  • Unmarshal spec defaultValue and rule returnValue on initialization (rather than per evaluation)
  • Remove unnecessary string conversion for layer assignment
  • Replace array contains with map lookup
  • Replace Sprintf with strconv
Impact
  • Reduces layer evaluation for layers with partial allocation by about 50%
  • Reduces general evaluation for dynamic configs, experiments, layers by about 15%

  • Refactored persistent storage interface to include experiment name to solve for concurrent user evaluations across SDK instances

Included In This Release

Full Changelog: statsig-io/go-sdk@v1.19.0...1.20.0

v1.19.0: - Standardize persisted evaluation schema

Compare Source

  • Updated schema of persisted storage data to be standardized across SDKs
  • Added group name to layers
  • Updated diagnostics for ID lists
  • Fixed issue with writing ID lists in incorrect order to data adapter

Included In This Release

Full Changelog: statsig-io/go-sdk@v1.18.0...1.19.0

v1.18.0: - Persistent storage, ID lists for Data Adapter

Compare Source

Added an option to provide a custom storage adapter for user-persisted values IUserPersistentStorage. This allows the SDK the persist values for users in active experiments, in other words, run experiments with sticky bucketing.

Added support for syncing ID lists from the data adapter.

Included In This Release

Full Changelog: statsig-io/go-sdk@1.17.0...1.18.0

v1.17.2: - optimize parsing config values and layer bucketing

Compare Source

  • Unmarshal spec defaultValue and rule returnValue on initialization (rather than per evaluation)
  • Remove unnecessary string conversion for layer assignment

v1.17.1

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner March 27, 2024 01:22
@github-actions github-actions bot requested a review from liran2000 March 27, 2024 01:22
@renovate renovate bot force-pushed the renovate/github.com-statsig-io-go-sdk-1.x branch 5 times, most recently from 97d6693 to 457b31b Compare April 5, 2024 14:40
@renovate renovate bot force-pushed the renovate/github.com-statsig-io-go-sdk-1.x branch from 457b31b to 53b4b63 Compare April 8, 2024 17:23
@renovate renovate bot changed the title fix(deps): update module github.com/statsig-io/go-sdk to v1.19.0 fix(deps): update module github.com/statsig-io/go-sdk to v1.20.0 Apr 8, 2024
@renovate renovate bot force-pushed the renovate/github.com-statsig-io-go-sdk-1.x branch 8 times, most recently from c5d6f03 to 455e628 Compare April 12, 2024 07:21
@renovate renovate bot force-pushed the renovate/github.com-statsig-io-go-sdk-1.x branch 4 times, most recently from c54aa7d to cfeccbf Compare April 25, 2024 20:03
@renovate renovate bot changed the title fix(deps): update module github.com/statsig-io/go-sdk to v1.20.0 fix(deps): update module github.com/statsig-io/go-sdk to v1.21.0 Apr 25, 2024
@renovate renovate bot force-pushed the renovate/github.com-statsig-io-go-sdk-1.x branch 3 times, most recently from 86e61bb to 71908ff Compare April 30, 2024 19:43
@renovate renovate bot force-pushed the renovate/github.com-statsig-io-go-sdk-1.x branch from 71908ff to 00a6c6d Compare May 8, 2024 14:08
@renovate renovate bot force-pushed the renovate/github.com-statsig-io-go-sdk-1.x branch 2 times, most recently from a35d04b to e3b3bb8 Compare May 17, 2024 23:09
@renovate renovate bot changed the title fix(deps): update module github.com/statsig-io/go-sdk to v1.21.0 fix(deps): update module github.com/statsig-io/go-sdk to v1.22.0 May 17, 2024
@renovate renovate bot force-pushed the renovate/github.com-statsig-io-go-sdk-1.x branch 2 times, most recently from 88c973c to c65270f Compare August 22, 2024 20:32
@renovate renovate bot changed the title fix(deps): update module github.com/statsig-io/go-sdk to v1.27.1 fix(deps): update module github.com/statsig-io/go-sdk to v1.28.0 Aug 22, 2024
@renovate renovate bot force-pushed the renovate/github.com-statsig-io-go-sdk-1.x branch 3 times, most recently from e11a4d2 to 131daaa Compare August 29, 2024 23:01
@renovate renovate bot changed the title fix(deps): update module github.com/statsig-io/go-sdk to v1.28.0 fix(deps): update module github.com/statsig-io/go-sdk to v1.28.1 Aug 29, 2024
@renovate renovate bot force-pushed the renovate/github.com-statsig-io-go-sdk-1.x branch from 131daaa to 23719be Compare September 7, 2024 01:14
@renovate renovate bot changed the title fix(deps): update module github.com/statsig-io/go-sdk to v1.28.1 fix(deps): update module github.com/statsig-io/go-sdk to v1.29.0 Sep 7, 2024
@renovate renovate bot force-pushed the renovate/github.com-statsig-io-go-sdk-1.x branch 4 times, most recently from 8b3849d to 2f298a6 Compare September 10, 2024 19:01
@renovate renovate bot force-pushed the renovate/github.com-statsig-io-go-sdk-1.x branch 4 times, most recently from c4bdfa0 to 4f2018c Compare September 24, 2024 23:01
@renovate renovate bot changed the title fix(deps): update module github.com/statsig-io/go-sdk to v1.29.0 fix(deps): update module github.com/statsig-io/go-sdk to v1.29.1 Sep 24, 2024
@renovate renovate bot force-pushed the renovate/github.com-statsig-io-go-sdk-1.x branch from 4f2018c to f144fe4 Compare October 8, 2024 23:07
@renovate renovate bot changed the title fix(deps): update module github.com/statsig-io/go-sdk to v1.29.1 fix(deps): update module github.com/statsig-io/go-sdk to v1.30.0 Oct 8, 2024
@renovate renovate bot force-pushed the renovate/github.com-statsig-io-go-sdk-1.x branch from f144fe4 to af10335 Compare October 16, 2024 00:53
@renovate renovate bot changed the title fix(deps): update module github.com/statsig-io/go-sdk to v1.30.0 fix(deps): update module github.com/statsig-io/go-sdk to v1.30.1 Oct 16, 2024
@renovate renovate bot force-pushed the renovate/github.com-statsig-io-go-sdk-1.x branch 2 times, most recently from a7d5db4 to 07380d9 Compare October 21, 2024 21:24
@renovate renovate bot changed the title fix(deps): update module github.com/statsig-io/go-sdk to v1.30.1 fix(deps): update module github.com/statsig-io/go-sdk to v1.30.2 Oct 21, 2024
@renovate renovate bot force-pushed the renovate/github.com-statsig-io-go-sdk-1.x branch 3 times, most recently from 677da7d to 7149219 Compare November 4, 2024 21:06
@renovate renovate bot force-pushed the renovate/github.com-statsig-io-go-sdk-1.x branch from 7149219 to fd2d770 Compare November 7, 2024 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants