docs/release_notes/v1.5.2.md
This hotfix release only updates the MongoDB State Store component to address a data serialization problem. An upgrade to this release is only recommended for users of this component.
Important: If upgrading to this version using Helm instead of the Dapr CLI, you will need to update the Subscription CRD prior to performing the Helm upgrade.
kubectl replace -f https://raw.githubusercontent.com/dapr/dapr/v1.4.4/charts/dapr/crds/subscription.yaml
[{'item1':'value1'},{'item2':'value2'}]) can not be retrieved via the State Store API.{"state":"OR","propertyType":"apartment","id":{"$numberDouble":"1003.1"},"city":"Portland"} when {"state":"OR","propertyType":"apartment","id":1003.1,"city":"Portland"} is expected instead.With the introduction of the State Store Query API preview feature in release 1.5.1 data is no longer stored as a string encoded value, but instead as the MongoDB native BSON data types. Not all possible data types were being serialized correctly upon retrieval via the State Store API. Additionally, the internal BSON response was not correctly converted to JSON, thereby including BSON specific data type information in the final JSON representation.
These issues were resolved with an update to the MongoDB component data retrieval serialization to properly convert from MongoDB BSON to JSON representation, also adding a special serialization step for array values at the top level of the document.
Release 1.6.1 also addresses these issues.