Skip to content

Conversation

@omus
Copy link
Member

@omus omus commented Jun 12, 2025

Correctly set the user-agent to the package version.

using ..AWSExceptions: AWSException

const user_agent = Ref("AWS.jl/1.0.0")
const user_agent = Ref{String}("AWS.jl/$(pkgversion(@__MODULE__))")
Copy link
Member Author

@omus omus Jun 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change to Ref{String} is non-breaking as Ref("") resolves to Ref{String}("")

@omus omus requested review from ExpandingMan and mattBrzezinski and removed request for ExpandingMan June 12, 2025 18:53
@omus omus added this pull request to the merge queue Jun 13, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 13, 2025
@omus omus added this pull request to the merge queue Jun 13, 2025
Merged via the queue into master with commit f35cd3c Jun 13, 2025
5 checks passed
@omus omus deleted the cv/user-agent-fix branch June 13, 2025 14:52
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