go-sdk-contrib icon indicating copy to clipboard operation
go-sdk-contrib copied to clipboard

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

Open renovate[bot] opened this issue 1 year ago • 0 comments

This PR contains the following updates:

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

Release Notes

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

v1.30.0: - Initialization details

Compare Source

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

Included In This Release

Full Changelog: https://github.com/statsig-io/go-sdk/compare/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: https://github.com/statsig-io/go-sdk/compare/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: https://github.com/statsig-io/go-sdk/compare/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: https://github.com/statsig-io/go-sdk/compare/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: https://github.com/statsig-io/go-sdk/compare/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: https://github.com/statsig-io/go-sdk/compare/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: https://github.com/statsig-io/go-sdk/compare/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: https://github.com/statsig-io/go-sdk/compare/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: https://github.com/statsig-io/go-sdk/compare/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: https://github.com/statsig-io/go-sdk/compare/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: https://github.com/statsig-io/go-sdk/compare/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: https://github.com/statsig-io/go-sdk/compare/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: https://github.com/statsig-io/go-sdk/compare/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: https://github.com/statsig-io/go-sdk/compare/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: https://github.com/statsig-io/go-sdk/compare/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: https://github.com/statsig-io/go-sdk/compare/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[bot] avatar Mar 27 '24 01:03 renovate[bot]