Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthSim committed Apr 29, 2024
1 parent dc6bb35 commit e0ea0ba
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
@@ -1,6 +1,6 @@
# Changelog

## [Unreleased]
## [3.24.0] - 2024-04-29
### Add
- Add [IMGPROXY_ALWAYS_RASTERIZE_SVG](https://docs.imgproxy.net/latest/configuration/options#IMGPROXY_ALWAYS_RASTERIZE_SVG) config.
- Add [IMGPROXY_PNG_UNLIMITED](https://docs.imgproxy.net/latest/configuration/options#IMGPROXY_PNG_UNLIMITED) and [IMGPROXY_SVG_UNLIMITED](https://docs.imgproxy.net/latest/configuration/options#IMGPROXY_SVG_UNLIMITED) configs.
Expand Down
4 changes: 2 additions & 2 deletions config/config.go
Expand Up @@ -282,7 +282,7 @@ func Reset() {

AllowOrigin = ""

UserAgent = fmt.Sprintf("imgproxy/%s", version.Version())
UserAgent = fmt.Sprintf("imgproxy/%s", version.Version)

IgnoreSslVerification = false
DevelopmentErrorsMode = false
Expand Down Expand Up @@ -371,7 +371,7 @@ func Reset() {

SentryDSN = ""
SentryEnvironment = "production"
SentryRelease = fmt.Sprintf("imgproxy@%s", version.Version())
SentryRelease = fmt.Sprintf("imgproxy@%s", version.Version)

AirbrakeProjecID = 0
AirbrakeProjecKey = ""
Expand Down
2 changes: 1 addition & 1 deletion main.go
Expand Up @@ -133,7 +133,7 @@ func main() {
case "health":
os.Exit(healthcheck())
case "version":
fmt.Println(version.Version())
fmt.Println(version.Version)
os.Exit(0)
}

Expand Down
4 changes: 2 additions & 2 deletions metrics/datadog/datadog.go
Expand Up @@ -47,7 +47,7 @@ func Init() {

tracer.Start(
tracer.WithService(name),
tracer.WithServiceVersion(version.Version()),
tracer.WithServiceVersion(version.Version),
tracer.WithLogger(dataDogLogger{}),
)

Expand All @@ -70,7 +70,7 @@ func Init() {
net.JoinHostPort(statsdHost, statsdPort),
statsd.WithTags([]string{
"service:" + name,
"version:" + version.Version(),
"version:" + version.Version,
}),
)
if err == nil {
Expand Down
2 changes: 1 addition & 1 deletion metrics/otel/otel.go
Expand Up @@ -108,7 +108,7 @@ func Init() error {
res, _ := resource.Merge(
resource.Default(),
resource.NewSchemaless(
semconv.ServiceVersionKey.String(version.Version()),
semconv.ServiceVersionKey.String(version.Version),
),
)

Expand Down
6 changes: 1 addition & 5 deletions version/version.go
@@ -1,7 +1,3 @@
package version

const version = "3.23.0"

func Version() string {
return version
}
const Version = "3.24.0"

0 comments on commit e0ea0ba

Please sign in to comment.