Dapr v1.13.0 now available in the Dapr extension for AKS and Arc-enabled Kubernetes

This post has been republished via RSS; it originally appeared at: Microsoft Developer Community Blog articles.

The Dapr extension for AKS and Arc-enabled Kubernetes now supports Dapr v1.13.0. 

 

Dapr is a developer framework for building cloud-native applications, making it easier to run multiple microservices on Kubernetes and interact with external state stores/databases, secret stores, pub/sub brokers, and other cloud services and self-hosted solutions. 

 

The Dapr v1.13 release offers several new features, including Go and JavaScript/TypeScript SDK support for Dapr workflow, component hot reloading, graceful shutdown, improvements to actor reminders performance, low cardinality for HTTP metrics, standardized error codes, many fixes in the core runtime and components, and more. 

 

Highlights

 

Component hot reloading (preview)

Component "Hot Reloading" is a new preview feature that, when enabled, allows component updates to be picked up automatically, without the need for restarting the Dapr process. The component spec is reconciled and takes effect when running in both Kubernetes and Self-Hosted modes.

 

Go and JavaScript/TypeScript SDK support for Dapr Workflow

You can now use Go and JavaScript/TypeScript to write fault-tolerant, workflow-based apps with durable execution. 

 

Actor reminders performance improvement

You can now opt-in to make actor reminders data use protobuf serialization instead of JSON, which increases throughput, reduces latency, and improves stability when multiple Dapr instances are operating on the same reminders.

Important: Once you enable this feature, you should not downgrade the Dapr control plane to an earlier version, as your reminders data may become unreadable.

Low metrics cardinality for HTTP server

Dapr now includes an optional setting to enable low cardinality for metrics emitted by the HTTP server. When low-cardinality metrics are enabled, the HTTP Dapr server behaves more like the gRPC server and groups requests for each Dapr API together, possibly reducing memory consumption significantly.

See additional info in the metrics configuration documentation.

 

Graceful shutdown

Dapr now accepts a dapr.io/block-shutdown-duration annotation or --dapr-block-shutdown-duration CLI flag, which delays the full shutdown procedure for the duration of the shutdown, or until the app reports as unhealthy, whichever is sooner. During this period, all Subscriptions and input bindings are closed. This is useful for applications that need to use the Dapr APIs as part of their own shutdown procedure.

See the annotations and arguments reference documentation.

 

Standardized error codes

The Dapr pub/sub and state APIs now have the appropriate and standardized error codes returned to applications including enriched error details, based on gRPC's richer error model. The remaining APIs are a work in progress, and community contributions towards this effort are greatly appreciated and very impactful.

See the reference documentation for the pub/sub and state error codes.

For per-SDK error code parsing and handling, see the specific SDK documentation. For example, explore the Go SDK error parsing and handling examples..

 

Rust SDK support for actors (alpha)

You can now use Rust to run Dapr Actors, a programming model for highly scalable stateful applications.

See the Rust SDK for more details.

 

Features & component updates

Many feature and component statuses have been updated in this release. See the full list in the release notes.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.