fix(deps): update module github.com/statsig-io/go-sdk to v1.30.0
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| github.com/statsig-io/go-sdk | v1.17.0 -> v1.30.0 |
Release Notes
statsig-io/go-sdk (github.com/statsig-io/go-sdk)
v1.30.0: - Initialization details
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
Improvements
- Support filtering client initialize response from Statsig on-prem
Included In This Release
Full Changelog: https://github.com/statsig-io/go-sdk/compare/v1.29.0...v1.29.1
v1.29.0: - Fallback to Statsig API
New Features
- New option
FallbackToStatsigAPIto allow network requests to retry using Statsig API
Improvements
- Improve performance of case-insensitive string
- Add
GroupNameandHashUsedto 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
Improvements
- Support
GetClientInitializeResponsetarget app filtering using the target app ID directly rather than the client SDK key
Included In This Release
Full Changelog: https://github.com/statsig-io/go-sdk/compare/v1.28.0...v1.28.1
v1.28.0: - Transport override option & bug fixes
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_parametersfixed to be consistent with other SDKs
Included In This Release
8f92476kenny-statsig
- Add Transport Option to allow egress proxies (#217)
3ad0faekenny-statsig
- Fix lint errors (#218)
a85cc88kenny-statsig
- Fix GCIR test (#220)
3c50265kenny-statsig
- Fix type conversion for custom type definitions (#204)
9f37bc1kenny-statsig
- Fix type of explicit parameters (#219)
Full Changelog: https://github.com/statsig-io/go-sdk/compare/v1.27.1...v1.28.0
v1.27.1: - Remove private attributes from bootstrapping
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
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
d61c079kat-statsig
- add hash algo + hash secondary and undelegated exposures (#209)
6c9e4adkat-statsig
- omit empty on non id fields (#211)
2d84febkat-statsig
- fix flakey tests (#210)
042361akenny-statsig
- API Overrides (#205)
bad9d89kenny-statsig
- Allow UAParser and CountryLookup to load in case of timeout (#207)
a17493fkat-statsig
- set timeout on client init (#203)
9b5e607kenny-statsig
- Fix race condition in test (#206)
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
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
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
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
- GetClientInitialization improvements
- LogEvent compression
- Output logging for logEvent failures
- Added Evaluation Details to GetGate
- Diagnostics bug fixes
Included In This Release
5c91260kenny-statsig
- add empty secondary exposures to GCIR with local override (#185)
8285feckenny-statsig
- filter & dedupe exposures during evaluation (#184)
45ad920kat-statsig
- log compression (#183)
654e8f1kat-statsig
- logEvent Error Logging (#181)
eb645d9kat-statsig
- diagnostics changes (#182)
9fd3b2fkat-statsig
- gcir improvements (#180)
7901e86kenny-statsig
- make evaluation details public (#179)
59bf132kenny-statsig
- add evaluation details to GetGate (#176)
Full Changelog: https://github.com/statsig-io/go-sdk/compare/1.22.0...1.23.0
v1.22.0: - Add GetExperimentLayer
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
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.
-
LazyLoadis generally recommended to avoid waiting to initialize these on start up.EnsureLoadedwill ensure that it's loaded when eventually needed for evaluation.
Bug fix:
- Disable internal error logging in Local Mode
Included In This Release
Full Changelog: https://github.com/statsig-io/go-sdk/compare/v1.20.0...1.21.0
v1.20.0: - Optimizations & persistent storage updates
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
Sprintfwithstrconv
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
b171689kenny-statsig
- support persisted layers (#171)
6f1aea8kenny-statsig
- refactor persistent storage (#170)
8fcd077kenny-statsig
- optimize string conversion (#169)
95a9fd4kenny-statsig
- optimize array contains to lookup (#167)
2eb486fkenny-statsig
- optimize parsing config values and layer bucketing (#166)
Full Changelog: https://github.com/statsig-io/go-sdk/compare/v1.19.0...1.20.0
v1.19.0: - Standardize persisted evaluation schema
- 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
21b0eafsroyal-statsig
- Layer Group Name (#163)
d152dd8kenny-statsig
- [EE-274] standardize evaluation json schema (#162)
c33c6eckenny-statsig
- make writing id list to data store thread safe (#161)
9820772kenny-statsig
- update diagnostics (#158)
1cb6933kenny-statsig
- fix test flakiness (#160)
031e79ckenny-statsig
- add language version to header and handle nil body (#159)
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
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
- Unmarshal spec
defaultValueand rulereturnValueon initialization (rather than per evaluation) - Remove unnecessary string conversion for layer assignment
v1.17.1
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.