Dapr v1.13.0 now available in the Dapr extension for AKS and Arc-enabled Kubernetes
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.
- Learn how to get started with the Dapr extension
- Learn more about Dapr
- Read the release notes for Dapr 1.13.0
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.
- For more details, see Dapr Workflow in the:
- Try the workflow quickstart for Go, JavaScript/TypeScript, and more
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.
Published on:
Learn moreRelated posts
This Month in Azure Static Web Apps | 09/2024
We are back with another edition of the Azure Static Web Apps Community! :party_popper: September was yet another month ...
GitHub Copilot for Azure: 6 Must-Try Features
As developers, we are constantly seeking tools that streamline our workflows and boost productivity. … Enter GitHub Copilot for Azure, now in ...
Responsible AI Mitigation Layers
Generative AI is increasingly being used in various kinds of systems to augment humans and infuse intelligent behavior into existing and new a...
Streamline Your Azure Workflow: Introducing GitHub Copilot for Azure in VS Code
I'm excited to announce the public preview of GitHub Copilot for Azure - a new addition to your toolkit that seamlessly integrates with G...
Build Intelligent Apps Code-First with Prompty and Azure AI
Building Generative AI applications can feel daunting for traditional app developers. What does the end-to-end applicati...
Certificación AI-900 (Fundamentos de IA) con Chicas en IA
La inteligencia artificial ha llegado para quedarse, ¡y más aún con la revolucionaria IA generativa! Para ayudar a los profesionales a especia...
Get certified with Learn Live GitHub series!
GitHub Universe is coming, and Microsoft and GitHub are partnering to offer a new special Learn Live series in Brazilian Portuguese, English a...
Certifícate con Learn Live GitHub en Español
Microsoft y GitHub se han unido para ofrecer una nueva serie especial de Learn Live en inglés y español: GitHub 2024. Del 10 al 24 de Octubre,...
Evaluating generative AI: Best practices for developers
As a developer working with generative AI, you've likely marveled at the impressive outputs your models can produce. But how do you ensure the...
Introducing Azure Product Retirement Livestreams
The Azure Retirements team, in collaboration with key partner groups, is excited t...