Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forward port changes from release-1.1 #101

Merged
merged 11 commits into from
Nov 21, 2023

Conversation

Annopaolo
Copy link
Collaborator

No description provided.

Annopaolo and others added 11 commits September 19, 2023 14:21
Since 2.0, Cyanide binaries are encoded as a `%Cyanide.Binary{}` struct
rather than a tuple. This made the `Mapping.ValueType.validate_value/2`
function incorrectly return '{:error, :unexpected_value_type}` when
when handling well-formed binaries. Handle the new format.

Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
Encode binaryblobarray in object-aggregated values in Astarte events as
JSON arrays of base64-encoded values rather than a list of
`%Cyanide.Binary{}` structs.

Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
…-arrays-in-events-ok

Correctly encode binaryblobarrays in JSON payload of Astarte events
Move the Cyanide 2.0 CHANGELOG.md entry to the correct release version (i.e. this one).

Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
@Annopaolo Annopaolo added the chore Maintenance chore label Nov 21, 2023
@bettio bettio merged commit d431ae6 into astarte-platform:master Nov 21, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Maintenance chore
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants