Skip to content

Releases: dapr/php-sdk

Release 1.2.0

19 Dec 21:22
f0d66c3
Compare
Choose a tag to compare

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 default config.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 default config.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

31 Jul 10:51
643d60b
Compare
Choose a tag to compare
Release 1.2.0-RC1 Pre-release
Pre-release

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 default config.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 default config.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

10 Apr 08:25
34769d8
Compare
Choose a tag to compare
  • 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

18 Mar 21:55
Compare
Choose a tag to compare
  • Dependencies updated (#78)
  • Fix file_put_contents bug (#76)

Bug fixes and small improvements

10 Mar 21:23
56c2b40
Compare
Choose a tag to compare

Release Notes

Improvements

  • Add configurable cache for activated actors (#61)
  • Add output to integration tests (#52)

Fixes

  • Allow (de)serializer to be overridden (#67)

Release 1.0.0

17 Feb 08:04
d968601
Compare
Choose a tag to compare

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

12 Feb 12:22
8d7d787
Compare
Choose a tag to compare
Release v1.0.0-rc.4 Pre-release
Pre-release

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.

View the milestone

Release dapr php SDK v1.0.0-rc.3

29 Jan 16:23
3adc584
Compare
Choose a tag to compare
Pre-release

Release dapr php SDK v1.0.0-rc.3