launchdarkly-cpp-client-v3.11.0-beta.3
Pre-release
Pre-release
·
1 commit
to main
since this release
fix: Correctly handle a wrapper name without a wrapper version. (#499) BEGIN_COMMIT_OVERRIDE fix: Correctly handle a wrapper name without a wrapper version. chore: Add support for the wrapper contract tests. END_COMMIT_OVERRIDE <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Properly handle wrapper name without version in HTTP headers and add wrapper config/capability to contract tests. > > - **Common HTTP properties**: > - `HttpPropertiesBuilder::Build`: Set `X-LaunchDarkly-Wrapper` to just `wrapper_name` when `wrapper_version` is empty; otherwise `name/version`. > - **Contract tests**: > - **Data model**: Add `ConfigWrapper` and optional `configuration.wrapper` in `ConfigParams`. > - **Entity managers**: Use `HttpProperties().WrapperName/WrapperVersion` when `configuration.wrapper` provided (client and server). > - **Capabilities**: Advertise `"wrapper"` in client and server test services. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 2154d6eef9b84607c4a631a615e059db2d588e45. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->