Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare release 4.2.1 #292

Merged
merged 1 commit into from
Aug 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,23 @@

_None outstanding_

# 4.2.1 / 2023-08-04

_**Codename:** If a bug falls in the forest_

## Bug fixes

- [#291](https://github.com/prometheus/client_ruby/pull/291) Handle `/` in job name in
`Prometheus::Client::Push`:
Previously, if you included a `/` in your job name when using the Pushgateway client,
you'd get a `400` error back as we didn't encode it properly. We now base64 encode it
per the Pushgateway spec.

It's possible that nobody has hit this bug (`/` is fairly unlikely to appear in a job
name) or that the error message (a `400` from Pushgateway with a complaint about an
odd number of path components) didn't make it look like a bug in the Ruby client.
Either way, this hopefully brings us fully in line with the spec!

# 4.2.0 / 2023-07-25

_**Codename:** Funny number_
Expand Down
2 changes: 1 addition & 1 deletion lib/prometheus/client/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Prometheus
module Client
VERSION = '4.2.0'
VERSION = '4.2.1'
end
end