Skip to content

Use project version in default User-Agent - #53

Merged
dkropachev merged 1 commit into
mainfrom
dk/issue-52-versioned-user-agent
Jul 14, 2026
Merged

Use project version in default User-Agent#53
dkropachev merged 1 commit into
mainfrom
dk/issue-52-versioned-user-agent

Conversation

@dkropachev

Copy link
Copy Markdown
Collaborator

Summary

  • publish the CMake project version as a public compile definition for consumers
  • use that version in the default Config::user_agent, with a devel fallback when no version definition is available
  • add config tests for the versioned default and empty-string override

Closes #52

Tests

  • make check
  • make test-unit
  • cmake --install build --prefix build/install && rg -n "SCYLLADB_ALTERNATOR_CLIENT_CPP_VERSION|INTERFACE_COMPILE_DEFINITIONS" build/install/lib/cmake/scylladb-alternator-client-cpp

@dkropachev
dkropachev merged commit 3eb693f into main Jul 14, 2026
1 check passed
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.

Use release version in default User-Agent

1 participant