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
metadata
to the new client doesn't require a'metadata.*'
prefix. - Uses the Guzzle HTTP Client which is orders of magnitude faster than the previous raw
curl
calls in the old client
Deprecations
- The
\Dapr\PubSub\Publish
class is deprecated, please change your code to use\Dapr\PubSub\Topic
instead. - The
\Dapr\State\StateManager
class has been rewritten to use the new client, you can use\Dapr\State\StateManagerOld
if 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\TransactionalState
class has been rewritten to use the new client. You can use\Dapr\State\TransactionalStateOld
if 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\SecretManager
class 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
metadata
to the new client doesn't require a'metadata.*'
prefix. - Uses the Guzzle HTTP Client which is orders of magnitude faster than the previous raw
curl
calls in the old client
Deprecations
- The
\Dapr\PubSub\Publish
class is deprecated, please change your code to use\Dapr\PubSub\Topic
instead. - The
\Dapr\State\StateManager
class has been rewritten to use the new client, you can use\Dapr\State\StateManagerOld
if 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\TransactionalState
class has been rewritten to use the new client. You can use\Dapr\State\TransactionalStateOld
if 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\SecretManager
class 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
ActorReference
to 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