This topic details the supported versions of Dapr releases, the upgrade policies and how deprecations and breaking changes are communicated.
Dapr releases use MAJOR.MINOR.PATCH
versioning. For example 1.0.0
PATCH
version is incremented for bug and security hot fixes.MINOR
version is updated as part of the regular release cadence, including new features, bug and security fixes.MAJOR
version is updated when there’s a non-backward compatible change to the runtime, such as an API change. A MAJOR
release can also occur then there is a considered a significant addition/change of functionality that needs to differentiate from the previous version.A supported release means;
From the 1.0.0 release onwards two (2) versions of Dapr are supported; the current and previous versions. Typically these are MINOR
release updates. This means that there is a rolling window that moves forward for supported releases and it is your operational responsibility to remain up to date with these supported versions. If you have an older version of Dapr you may have to do intermediate upgrades to get to a supported version.
There will be at least 6 weeks between major.minor version releases giving users a 12 week (3 month) rolling window for upgrading.
Patch support is for supported versions (current and previous).
The table below shows the versions of Dapr releases that have been tested together and form a “packaged” release. Any other combinations of releases are not supported.
Release date | Runtime | CLI | SDKs | Dashboard | Status |
---|---|---|---|---|---|
Feb 17th 2021 | 1.0.0 | 1.0.0 | Java 1.0.0Go 1.0.0PHP 1.0.0Python 1.0.0.NET 1.0.0 | 0.6.0 | Unsupported |
Mar 4th 2021 | 1.0.1 | 1.0.1 | Java 1.0.2Go 1.0.0PHP 1.0.0Python 1.0.0.NET 1.0.0 | 0.6.0 | Unsupported |
Apr 1st 2021 | 1.1.0 | 1.1.0 | Java 1.0.2Go 1.1.0PHP 1.0.0Python 1.1.0.NET 1.1.0 | 0.6.0 | Supported |
Apr 6th 2021 | 1.1.1 | 1.1.0 | Java 1.0.2Go 1.1.0PHP 1.0.0Python 1.1.0.NET 1.1.0 | 0.6.0 | Supported |
Apr 16th 2021 | 1.1.2 | 1.1.0 | Java 1.0.2Go 1.1.0PHP 1.0.0Python 1.1.0.NET 1.1.0 | 0.6.0 | Supported |
May 26th 2021 | 1.2.0 | 1.2.0 | Java 1.1.0Go 1.1.0PHP 1.1.0Python 1.1.0.NET 1.2.0 | 0.6.0 | Supported (current) |
After the 1.0 release of the runtime there may be situations where it is necessary to explicitly upgrade through an additional release to reach the desired target. For example an upgrade from v1.0 to v1.2 may need go pass through v1.1
The table below shows the tested upgrade paths for the Dapr runtime. For example you are able to upgrade from 1.0-rc4 to the 1.0 release. Any other combinations of upgrades have not been tested.
General guidance on upgrading can be found for self hosted mode and Kubernetes deployments. It is best to review the target version release notes for specific guidance.
Current Runtime version | Must upgrade through | Target Runtime version |
---|---|---|
0.11 | N/A | 1.0.1 |
1.0.1 | 1.1.2 | |
1.0-rc1 to 1.0-rc4 | N/A | 1.0.1 |
1.0.0 or 1.0.1 | N/A | 1.1.2 |
1.1.0 or 1.1.1 | N/A | 1.1.2 |
1.0.0 or 1.0.1 | 1.1.2 | 1.2.0 |
1.1.0 to 1.1.2 | N/A | 1.2.0 |
There is a process for announcing feature deprecations. Deprecations are applied two (2) releases after the release in which they were announced. For example Feature X is announced to be deprecated in the 1.0.0 release notes and will then be removed in 1.2.0.
Deprecations appear in release notes under a section named “Deprecations”, which indicates:
After announcing a future breaking change, the change will happen in 2 releases or 6 months, whichever is greater. Deprecated features should respond with warning but do nothing otherwise.
Feature | Deprecation announcement | Removal |
---|---|---|
GET /v1.0/shutdown API (Users should use POST API instead) | 1.2.0 | 1.4.0 |
Dapr can support multiple hosting platforms for production. With the 1.0 release the two supported platforms are Kubernetes and physical machines. For Kubernetes upgrades see Production guidelines on Kubernetes