Releases: dapr/php-sdk
Release 1.2.0
There are some major changes in this release but everything should be backward compatible with a few tweaks.
New Features
- A new Dapr Client in
\Dapr\Client\DaprClient. It doesn't require dependency injection, though it still works with it just fine with it. - Passing
metadatato the new client doesn't require a'metadata.*'prefix. - Uses the Guzzle HTTP Client which is orders of magnitude faster than the previous raw
curlcalls in the old client
Deprecations
- The
\Dapr\PubSub\Publishclass is deprecated, please change your code to use\Dapr\PubSub\Topicinstead. - The
\Dapr\State\StateManagerclass has been rewritten to use the new client, you can use\Dapr\State\StateManagerOldif you need the old behavior, though be aware it will be deleted in a later release (>v1.4.0). To use the new client, it's not required to change any of your existing code (except to ensure the new DaprClient is injected -- if you're using the defaultconfig.php, this is done for you). - The
\Dapr\State\TransactionalStateclass has been rewritten to use the new client. You can use\Dapr\State\TransactionalStateOldif you need the old behavior, though be aware it will be deleted in a later release (>v1.4.0). To use the new client, it's not required to change any of your existing code (except to ensure the new DaprClient is injected -- if you're using the defaultconfig.php, this is done for you). - The
\Dapr\SecretManagerclass is deprecated, please change your code to use the new client.
Release 1.2.0-RC1
There are some major changes in this release but everything should be backward compatible with a few tweaks.
New Features
- A new Dapr Client in
\Dapr\Client\DaprClient. It doesn't require dependency injection, though it still works with it just fine with it. - Passing
metadatato the new client doesn't require a'metadata.*'prefix. - Uses the Guzzle HTTP Client which is orders of magnitude faster than the previous raw
curlcalls in the old client
Deprecations
- The
\Dapr\PubSub\Publishclass is deprecated, please change your code to use\Dapr\PubSub\Topicinstead. - The
\Dapr\State\StateManagerclass has been rewritten to use the new client, you can use\Dapr\State\StateManagerOldif you need the old behavior, though be aware it will be deleted in a later release (>v1.4.0). To use the new client, it's not required to change any of your existing code (except to ensure the new DaprClient is injected -- if you're using the defaultconfig.php, this is done for you). - The
\Dapr\State\TransactionalStateclass has been rewritten to use the new client. You can use\Dapr\State\TransactionalStateOldif you need the old behavior, though be aware it will be deleted in a later release (>v1.4.0). To use the new client, it's not required to change any of your existing code (except to ensure the new DaprClient is injected -- if you're using the defaultconfig.php, this is done for you). - The
\Dapr\SecretManagerclass is deprecated, please change your code to use the new client.
Release 1.1.0
- Adds shutdown support to shutdown the dapr sidecar. Allows support for K8s jobs:
DaprClient::shutdown() - Adds a serializable
ActorReferenceto make it easier to store and retrieve actor addresses
Update Dependencies and Bug Fixes
Bug fixes and small improvements
Release 1.0.0
We're excited to release 1.0, so now you can take over the world!
Since this is the first release, there's not much of a changelog to look at. However, you can familiarize yourself with the SDK by taking a look at the docs.
If you have any questions, feel free to drop by on discord and if you discover a bug, want a new feature, or feel like something is missing, file an issue or even open a pull request.
Release v1.0.0-rc.4
Release notes:
This includes a major refactor of how the application is instantiated using a DI container and DI throughout the SDK; also, lots of bug fixes.
Release dapr php SDK v1.0.0-rc.3
Release dapr php SDK v1.0.0-rc.3