---
title: "v1.24.0"
description: "V1.24.0 deprecates standard visibility; upgrade to advanced visibility as per v1.20.0 and v1.21.0. Updates: Worker Versioning APIs, Namespace Burst Ratio, OpenAPI docs, shard info, MySQL performance, OpenTelemetry, task queue, and UTF-8 validation."
canonical: "https://temporal.io/changelog/v1-24-0.md"
source: "https://temporal.io/changelog/v1-24-0"
date: "2024-05-31"
product_areas:
  - "Server"
---

# v1.24.0

## Deprecation Announcements

### Standard Visibility

As planned, standard visibility is no longer supported in this version. Please, upgrade to advanced visibility as well as the config keys to setup visibility before upgrading to this version. Refer to \[[v1.20.0 release notes](https://github.com/temporalio/temporal/releases/tag/v1.20.0)\]([https://github.com/temporalio/temporal/releases/tag/v1.20.0](https://github.com/temporalio/temporal/releases/tag/v1.20.0)) for upgrade instructions, and also check the \[[v1.21.0 release notes](https://github.com/temporalio/temporal/releases/tag/v1.21.0)\]([https://github.com/temporalio/temporal/releases/tag/v1.21.0](https://github.com/temporalio/temporal/releases/tag/v1.21.0)) for config key changes.

### Worker Versioning APIs \[Experimental\]

The following changes were made to Worker Versioning APIs:

- Deprecated
  `UpdateWorkerBuildIdCompatibility`
  in favor of the new
  `UpdateWorkerVersioningRules`
  API.
- Deprecated
  `GetWorkerBuildIdCompatibility`
  in favor of the new
  `GetWorkerVersioningRules`
  API.
- Deprecated
  `GetWorkerTaskReachability`
  in favor of
  `DescribeTaskQueue`
  enhanced mode (
  `api_mode=ENHANCED`
  )

Together with the old APIs, the Version Set concept is also deprecated and replaced with “versioning rules” which are more powerful and flexible. More details can be found in “[https://github.com/temporalio/api/blob/master/temporal/api/taskqueue/v1/message.proto#L153”](https://github.com/temporalio/api/blob/master/temporal/api/taskqueue/v1/message.proto#L153%E2%80%9D)

For using these experimental APIs you need to enable the following configs:

- `frontend.workerVersioningRuleAPIs`
- `frontend.workerVersioningWorkflowAPIs`

## Release Highlights

### Namespace Burst Ratio

Removing `frontend.namespaceBurst`and adding `frontend.namespaceBurstRatio`config. Similarly replacing `frontend.namespaceBurst.visibility`and `frontend.namespaceBurst.namespaceReplicationInducingAPIs`with `frontend.namespaceBurstRatio.visibility`and `frontend.namespaceBurstRatio.namespaceReplicationInducingAPIs`.

The old values are used to specify the burst rate as number of requests per second. New values will specify burst as a ratio of their respective RPS limit. This ratio will be applied to calculated RPS limit from global and per-instance rate limits.

### Visibility: Parent workflow execution

We added two new system search attributes: `RootWorkflowId`and `RootRunId`. If you have previously created custom search attributes with one of these names, attempts to set them will start to fail. We suggest updating your workflows to not set those search attributes, delete those search attributes and then upgrade Temporal to this version. Alternatively, you can also set the dynamic config `system.supressErrorSetSystemSearchAttribute: true`. When this dynamic config is set to `true`, your workflow will not fail when trying to set a value on a system search attribute, and it will ignore your input for those system search attributes.

### OpenAPI HTTP API Documentation

OpenAPI v2 docs are served at `/api/v1/swagger.json`while v3 is at `/api/v1/openapi.yaml`when our HTTP API is enabled.

### Shard Info Update Optimizations

Operators can now configure how often we update shard info (tracking how many tasks have been acked, etc). This improves recovery speed by persisting shard data more frequently.

This can be configured through the following dynamic config values:

- `history.shardUpdateMinTasksCompleted`
  - the minimum number of tasks which must be completed (across all queues) before the shard info can be updated
- `history.shardUpdateMinInterval`
  - the minimum amount of time between shard info updates
  _unless_
  `shardUpdateMinTasksCompleted`
  tasks have been acked

Note that once `history.shardUpdateMinInterval amount`of time has passed we'll update the shard info regardless of the number of tasks completed

### Interpolate MySQL query parameters by default ([#5428](https://github.com/temporalio/temporal/pull/5428))

We now interpolate parameters into queries client-side for MySQL main databases but not visibility.

When `interpolateParams`is false (the default) the driver will prepare parameterized statements before executing them, meaning we need two round-trips to the database for each query. By setting `interpolateParams`to true the DB driver will handle interpolation and send the query just once to the database, halving the number of round trips necessary. This should improve the performance of all Temporal deploys using MySQL.

### OpenTelemetry env variables

Support for enabling OpenTelemetry for tracing gRPC requests via environment variables. See `develop/docs/tracing.md`for details.

### Matching task queue handover

Various improvements were made to task queue handover when adding/removing/restarting matching nodes. This should improve tail latency for task dispatch during those situations. To enable the improvements, operators should set the dynamic config `matching.alignMembershipChange`to a value like `10s`**after fully deploying** v1.24 to the entire cluster. This may become the default in future versions.

### UTF-8 validation in protobuf messages

When we migrated Temporal from the deprecated gogoproto fork of Google’s protobuf library to the official version in v1.23, we disabled protobuf’s default utf-8 validation to ensure a smooth deployment, since gogoproto did not validate fields for utf-8, and turning on validation immediately would have broken applications that accidentally used invalid utf-8.

This was a temporary measure and we will eventually re-enable validation. As the first step, we’ve added tools to detect and warn about invalid utf-8 without breaking applications. There are two sets of dynamic config settings to use.

The `sample`settings are set to a floating point value between 0.0 and 1.0 (default 0.0), and control what proportion of either RPC requests, responses, or data read from persistence, is validated for utf-8 in strings. If invalid utf-8 is found, warnings will be sent to logs, and the counter metric `utf8_validation_errors`will be incremented.

The `fail`settings (boolean, default false) control whether a validation error will be turned into a RPC failure or data corruption error.

- `system.validateUTF8.sample.rpcRequest`
- `system.validateUTF8.sample.rpcResponse`
- `system.validateUTF8.sample.persistence`
- `system.validateUTF8.fail.rpcRequest`
- `system.validateUTF8.fail.rpcResponse`
- `system.validateUTF8.fail.persistence`

If you think your application may be using invalid utf-8, we suggesting turning on the sample settings without the fail settings and running for a while. In a future version, validation and errors will be turned on by default (effectively sample set to 1.0 and fail set to true).

### Helpful links to get you started with Temporal

[Temporal Docs](https://docs.temporal.io/)
[Server](https://github.com/temporalio/temporal)
[Docker Compose](https://github.com/temporalio/docker-compose)
[Helm Chart](https://github.com/temporalio/helm-charts)

### Docker images for this release (use the tag `1.24.0`)

[Server](https://hub.docker.com/repository/docker/temporalio/server)
[Server With Auto Setup](https://hub.docker.com/repository/docker/temporalio/auto-setup) ([what is Auto-Setup?](https://docs.temporal.io/blog/auto-setup))
[Admin-Tools](https://hub.docker.com/repository/docker/temporalio/admin-tools)

**Full Changelog**: [v1.23.1...v1.24.0](https://github.com/temporalio/temporal/compare/v1.23.1...v1.24.0)

- [Release notes](https://github.com/temporalio/temporal/releases/tag/v1.24.0)
