MyGit

v1.11.1

dapr/dapr

版本发布时间: 2023-06-22 21:47:10

dapr/dapr最新发布版本:v1.13.6-rc.2(2024-09-28 02:00:05)

Dapr 1.11.1

This hotfix release contains 7 bug fixes.

Fixed an issue with Service Invocation on Kubernetes clusters with the permission enforcement admission controller enabled.

Problem

Updating Dapr from 1.10 to 1.11 on Kubernetes clusters which have the permission enforcement admission controller enabled gives the following error when using Service Invocation:

unable to create Dapr service for wrapper, service: test/test-dapr, err:
services \"test-dapr\" is forbidden: cannot set blockOwnerDeletion if an
ownerReference refers to a resource you can't set finalizers on:

Impact

Since v1.11.0 Service Invocation on Kubernetes clusters which have the permission enforcement admission controller enabled is unusable.

This is particularly problematic when for OpenShift clusters, as they have this admission controller enabled by default.

Root cause

When using the permission enforcement admission controller on Kubernetes, Service Invocation fails because the operator is unable to create or update Services.

Solution

We updated the Kubernetes RBAC permissions used by the Dapr Operator.

Fixed a Goroutine leak in Actor reminders and timers.

Problem

The daprd sidecar process would increase in memory over time when using Actor reminders and timers.

Impact

Using Actor reminders and timers in Dapr 1.11.0 and earlier could cause a goroutine leak that would grow over time. This could cause increase CPU utilization and/or memory exhaustion.

Root cause

Goroutines were not being cleaned up when reminders and timers fired or were stopped.

Solution

Goroutines are now cleaned up when reminders and timers are fired.

MongoDB Actor State Store: Fixed an issue with storing Actor Reminders

Problem

Actor Reminders without data were stored incorrectly and the empty (null) data was subsequently interpreted as a string value. Everytime an Actor Reminder was updated it reencoded the existing encoding, causing exponential growth in ActorReminder data leading up to the MongoDB document size limit. Other problems include the incorrect storage of the actor reminder period.

Impact

Since v1.10.5 (and also in v1.11.0), Actor Reminders used with MongoDB as Actor State Store were impacted by this bug. While some reminders written or updated with affected versions may work, all reminders written with the impacted versions should be considered unrecoverable as some reminder data may have been corrupted.

Root cause

The issue was related to the usage of BSON as data serialization format for MongoDB. Due to changes in the Dapr runtime introduced in version 1.10.5, reminders data and periods were incorrectly serialized in BSON format.

Solution

We addressed the issues with serializing actor reminder data in BSON format for MongoDB.

Fixed Dapr being unable to obtain the authentication token when using Managed Identity inside Azure App Service

Problem

When using Managed Identity inside Azure Web Apps (Azure App Service), Dapr shows the following error:

ChainedTokenCredential: failed to acquire a token.

Impact

Since v1.11.0, Dapr is unable to authenticate with Azure services using Managed Identity on Azure App Service.

Root cause

The authentication library's timeout for obtaining a token using Managed Identity on Azure App Service was too small, leading to authentication failure before the token could be obtained.

Solution

Dapr will now discover whether it is running in Azure App Service, and applies an appropriate timeout for the authentication method.

Fixed a problem where keys could not be overwritten once set in Microsoft SQL Server (and Azure SQL)

Problem

Dapr would error when attempting to overwrite a TTL-enabled key in Microsoft SQL Server.

Impact

Since v1.10.0, clients could not overwrite TTL-enabled keys in the Microsoft SQL Server state store.

Root cause

A condition in the Microsoft SQL Server Set procedure meant TTL-enabled keys could never be written to.

Solution

Fix the condition to allow TTL-enabled keys to be overwritten.

Fixed invoking non-Dapr endpoints to not require an application port

Problem

Dapr would require an application port to be set in order to invoke a non-Dapr endpoint.

Impact

This issue required users to open a port on their applications even if not required in case they wanted to invoke non-Dapr endpoints.

Root cause

The runtime code for creating an application channel for non-localhost apps required an application port as part of the validation logic.

Solution

The application port validation was removed.

Fixed an issue with the Azure Service Bus binding rejecting certain messages with custom properties

Problem

Azure Service Bus users who send custom metadata properties (Application Properties) which are not URL safe encounter the following error message in the Daprd logs when using the Azure Service Bus binding, and the message will not be sent to the application:

"App handler returned an error for message xxx on queue xxx: error invoking app: Post "http://127.0.0.1:80/xxx": net/http: invalid header field name"

Impact

Applications will not receive messages from Azure Service Bus bindings if these messages contain custom attributes that are not URL safe.

Root cause

Azure Service Bus supports storing custom metadata properties, Application Properties, but does not require these to be URL safe. Dapr incorrectly treated these attributes as URL safe.

Solution

Daprd encodes Azure Service Bus Application Properties before sending messages to applications, so that all data is URL safe.

Fixed a potential memory leak in RabbitMQ components

Problem

Use of the RabbitMQ components could result in a memory leak under certain circumstances.

Impact

Applications may run out of memory when using the RabbitMQ components.

Root cause

The rabbitmq/amqp091-go library used by the Dapr RabbitMQ components introduced a memory leak in version v1.7.0. See https://github.com/rabbitmq/amqp091-go/issues/179 for details.

Solution

We upgraded the library to version v1.8.1. The memory leak was fixed as of version v1.8.0.

相关地址:原始地址 下载(tar) 下载(zip)

1、 daprd_darwin_amd64.tar.gz 48.15MB

2、 daprd_darwin_amd64.tar.gz.sha256 92B

3、 daprd_darwin_arm64.tar.gz 43.53MB

4、 daprd_darwin_arm64.tar.gz.sha256 92B

5、 daprd_linux_amd64-stablecomponents.tar.gz 28.71MB

6、 daprd_linux_amd64-stablecomponents.tar.gz.sha256 108B

7、 daprd_linux_amd64.tar.gz 46.13MB

8、 daprd_linux_amd64.tar.gz.sha256 91B

9、 daprd_linux_arm-stablecomponents.tar.gz 26.97MB

10、 daprd_linux_arm-stablecomponents.tar.gz.sha256 106B

11、 daprd_linux_arm.tar.gz 39.45MB

12、 daprd_linux_arm.tar.gz.sha256 89B

13、 daprd_linux_arm64-stablecomponents.tar.gz 25.86MB

14、 daprd_linux_arm64-stablecomponents.tar.gz.sha256 108B

15、 daprd_linux_arm64.tar.gz 38.88MB

16、 daprd_linux_arm64.tar.gz.sha256 91B

17、 daprd_windows_amd64.zip 41.74MB

18、 daprd_windows_amd64.zip.sha256 90B

19、 grafana-actor-dashboard.json 20.7KB

20、 grafana-actor-dashboard.json.sha256 95B

21、 grafana-sidecar-dashboard.json 62.85KB

22、 grafana-sidecar-dashboard.json.sha256 97B

23、 grafana-system-services-dashboard.json 30.97KB

24、 grafana-system-services-dashboard.json.sha256 105B

25、 injector_darwin_amd64.tar.gz 12.53MB

26、 injector_darwin_amd64.tar.gz.sha256 95B

27、 injector_darwin_arm64.tar.gz 11.89MB

28、 injector_darwin_arm64.tar.gz.sha256 95B

29、 injector_linux_amd64.tar.gz 11.91MB

30、 injector_linux_amd64.tar.gz.sha256 94B

31、 injector_linux_arm.tar.gz 11.08MB

32、 injector_linux_arm.tar.gz.sha256 92B

33、 injector_linux_arm64.tar.gz 10.6MB

34、 injector_linux_arm64.tar.gz.sha256 94B

35、 injector_windows_amd64.zip 11.68MB

36、 injector_windows_amd64.zip.sha256 93B

37、 operator_darwin_amd64.tar.gz 13.12MB

38、 operator_darwin_amd64.tar.gz.sha256 95B

39、 operator_darwin_arm64.tar.gz 12.4MB

40、 operator_darwin_arm64.tar.gz.sha256 95B

41、 operator_linux_amd64.tar.gz 12.48MB

42、 operator_linux_amd64.tar.gz.sha256 94B

43、 operator_linux_arm.tar.gz 11.65MB

44、 operator_linux_arm.tar.gz.sha256 92B

45、 operator_linux_arm64.tar.gz 11.09MB

46、 operator_linux_arm64.tar.gz.sha256 94B

47、 operator_windows_amd64.zip 12.24MB

48、 operator_windows_amd64.zip.sha256 93B

49、 placement_darwin_amd64.tar.gz 11.76MB

50、 placement_darwin_amd64.tar.gz.sha256 96B

51、 placement_darwin_arm64.tar.gz 11.11MB

52、 placement_darwin_arm64.tar.gz.sha256 96B

53、 placement_linux_amd64.tar.gz 11.21MB

54、 placement_linux_amd64.tar.gz.sha256 95B

55、 placement_linux_arm.tar.gz 10.51MB

56、 placement_linux_arm.tar.gz.sha256 93B

57、 placement_linux_arm64.tar.gz 9.98MB

58、 placement_linux_arm64.tar.gz.sha256 95B

59、 placement_windows_amd64.zip 11MB

60、 placement_windows_amd64.zip.sha256 94B

61、 sentry_darwin_amd64.tar.gz 12.48MB

62、 sentry_darwin_amd64.tar.gz.sha256 93B

63、 sentry_darwin_arm64.tar.gz 11.84MB

64、 sentry_darwin_arm64.tar.gz.sha256 93B

65、 sentry_linux_amd64.tar.gz 11.86MB

66、 sentry_linux_amd64.tar.gz.sha256 92B

67、 sentry_linux_arm.tar.gz 11.03MB

68、 sentry_linux_arm.tar.gz.sha256 90B

69、 sentry_linux_arm64.tar.gz 10.55MB

70、 sentry_linux_arm64.tar.gz.sha256 92B

71、 sentry_windows_amd64.zip 11.64MB

72、 sentry_windows_amd64.zip.sha256 91B

查看:2023-06-22发行的版本