Dapr 1.10 release highlights
Tags: opensource, cloudnative, architecture, eventdriven
Published: 2023-02-21 08:23:41

The Dapr maintainers released a new version of [Dapr, the distributed application runtime](https://dapr.io/) 🎉. This post highlights the major new features and changes in release 1.10, the first one in 2023.

## Workflows

My favorite new feature is the [workflow engine and building block](https://v1-10.docs.dapr.io/developing-applications/building-blocks/workflow/workflow-overview/). This feature enables developers to orchestrate business logic for messaging and state management across various microservices. Workflows are suitable for multistep processes such as order processing, HR onboarding, and coordinating software updates across many devices because workflows are stateful and support long-running services. Workflow patterns such as *chaining* and *fan-out/fan-in* are written in code to execute tasks reliably. The built-in workflow engine is durable and resilient and can either be used via HTTP/gRPC, as well as the .NET SDK (other languages will follow).

![Dapr Workflow](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sx7514gazytzhced1yhr.png)

Read more about the Workflow building block in the [Dapr docs](https://v1-10.docs.dapr.io/developing-applications/building-blocks/workflow/workflow-overview/) or try out the [Workflow Quickstart](https://docs.dapr.io/getting-started/quickstarts/workflow-quickstart/).

## Pluggable Components SDKs

Dapr provides a long list of [built-in components](https://docs.dapr.io/concepts/components-concept/) to work with. But if this isn’t enough, Pluggable Components allows developers to create their own components for their specific integration requirements. Pluggable Components can be written in any language that supports the gRPC protocol.

![Pluggable Components](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nk6p2pftq9zyns1f05hr.png)

With release 1.10, developers can create components using the Pluggable Components SDKs in .NET, Java, and Go instead of using the gRPC protocol directly. This will enable many developers to create new components, both public and private ones.

Read more about Pluggable Components in the [Dapr docs](https://docs.dapr.io/operations/components/pluggable-components/pluggable-components-overview/).

## Running multiple Dapr apps

Running a microservices system locally can be challenging, since multiple apps need to be up and running. Developers would need to call the `dapr run` command for each microservice separately, which gets a bit tedious.

![Multi-app run](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sxsvyznyk1amq7oh4wty.png)

With release 1.10, another big developer productivity improvement has been achieved. Developers can now run multiple apps with just one command and a multi-app template file.  The `dapr run -f <path>`  command is used to run Dapr locally, where *<path>* points to a directory that contains a *dapr.yaml* file, the multi-app template, that contains the properties to run the apps. More information on how to structure the multi-app template can be found in the [Dapr docs](https://docs.dapr.io/developing-applications/local-development/multi-app-dapr-run/multi-app-template/).

## Components

Dapr uses a modular design where functionality is delivered as a component.  Release 1.10 contains both new components as improvements to existing components.

### New Components

- [SQLite](https://docs.dapr.io/reference/components-reference/supported-state-stores/setup-sqlite/): Enables state store functionality using [SQL Lite 3](https://www.sqlite.org/index.html). SQLite is a small, fast and self-contained SQL database engine, great for local development and running on small devices.
- [Cloudflare KV](https://docs.dapr.io/reference/components-reference/supported-state-stores/setup-cloudflare-workerskv/): Enables state store functionality using [Cloudflare Workers KV](https://developers.cloudflare.com/workers/runtime-apis/kv). Workers KV is a global, low-latency, key-value data store that is ideal for high read volumes.
- [Cloudflare Queues binding](https://docs.dapr.io/reference/components-reference/supported-bindings/cloudflare-queues/): Enables publishing message to [Cloudflare queues](https://developers.cloudflare.com/queues/). Cloudflare queues allow developers to send and receive messages with guaranteed delivery. It integrates with Cloudflare Workers and offers at-least once delivery and message batching.
- [KubeMQ binding](https://docs.dapr.io/reference/components-reference/supported-bindings/kubemq/): Supports input and output bindings for [KubeMQ](https://kubemq.io/), an enterprise-grade Kubernetes-based message broker and message queue that is scalable, highly available, and secure
- [KubeMQ](https://docs.dapr.io/reference/components-reference/supported-pubsub/setup-kubemq/): Enables pub/sub messaging using [KubeMQ](https://kubemq.io/).
- [Solace AMQP](https://docs.dapr.io/reference/components-reference/supported-pubsub/setup-solace-amqp/): Enables pub/sub messaging using [Solace PubSub+ Event Broker](https://solace.com/products/event-broker/software/). The Solace Event Broker is a container-based message broker that enables real-time data distribution between applications.

### Component Improvements

With 1.10 many components have graduated to the *Stable* certification level. All components have a certification level as mentioned in the [Certification Lifecycle](https://docs.dapr.io/operations/components/certification-lifecycle/). The *Stable* level means:

- The component must have component [certification tests](https://docs.dapr.io/operations/components/certification-lifecycle/#certification-tests) validating functionality and resiliency.
- The component is maintained by Dapr maintainers and supported by the community.
- The component is well documented and tested.
- The component has been available as Alpha or Beta for at least 1 minor version release of Dapr runtime prior.
- A maintainer will address component security, core functionality and test issues according to the Dapr support policy and issue a patch release that includes the patched stable component.

The following components have progressed to *Stable*:

- [AWS SQS/SNS](https://docs.dapr.io/reference/components-reference/supported-pubsub/setup-aws-snssqs/): Enables pub/sub messaging using AWS [SQS](https://aws.amazon.com/sqs/) or [SNS](https://aws.amazon.com/sns/).
- [AWS DynamoDB](https://docs.dapr.io/reference/components-reference/supported-state-stores/setup-dynamodb/): Enables state store functionality using [AWS DynamoDB](https://aws.amazon.com/dynamodb/).
- [CockroachDB](https://docs.dapr.io/reference/components-reference/supported-state-stores/setup-cockroachdb/): Enables state store functionality using [CockroachDB](https://www.cockroachlabs.com/product/).
- [MySQL](https://docs.dapr.io/reference/components-reference/supported-state-stores/setup-mysql/): Enables state store functionality using [MySQL](https://www.mysql.com/).
- [HashiCorp Vault](https://docs.dapr.io/reference/components-reference/supported-secret-stores/hashicorp-vault/): Enables secret store functionality using [HashiCorp Vault](https://www.hashicorp.com/products/vault).
- [Pulsar](https://docs.dapr.io/reference/components-reference/supported-pubsub/setup-pulsar/): Enables pub/sub messaging using [Apache Pulsar](https://pulsar.apache.org/).
- [Azure Service Bus Queues binding](https://docs.dapr.io/reference/components-reference/supported-bindings/servicebusqueues/): supports input and output binding to [Azure Service Bus Queues](https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-queues-topics-subscriptions).
- [Cron binding](https://docs.dapr.io/reference/components-reference/supported-bindings/cron/): Enables scheduled task execution via [cron expressions](https://en.wikipedia.org/wiki/Cron).

If you’re using any of these components and have a demo to show, drop a link in the *#show-and-tell* channel on the [Dapr Discord](https://discord.com/invite/ptHhX6jc34).

## What is next?

This post is not a complete list of features and changes released in version 1.10. Read the [official Dapr release notes](https://blog.dapr.io/posts/2023/02/16/dapr-v1.10-is-now-available/) for more information. The release notes also contain information on how to upgrade to this latest version.

Excited about these features and want to learn more? I’ll cover the new features in more detail in future posts. Until then, join the [Dapr Discord](https://discord.com/invite/ptHhX6jc34) to connect with thousands of Dapr users.