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

Revert default UUID to v6 #16

Merged
merged 1 commit into from
Aug 10, 2023
Merged

Revert default UUID to v6 #16

merged 1 commit into from
Aug 10, 2023

Conversation

stevenhartley
Copy link

Production version of uProtocol (1.3.7) used UUIDv6 and changing to v8 would result in a non-backwards compatible change as CloudEvents assume v6 because of the Validators that are used in devices. In order to change versions of UUIDs, we'll need to update the message type version (ex. pub.v1 to pub.v2), something to be considered at a later date.

#15

Production version of uProtocol (1.3.7) used UUIDv6 and changing to v8
would result in a non-backwards compatible change as CloudEvents assume v6
because of the Validators that are used in devices.
In order to change versions of UUIDs, we'll need to update the message
type version (ex. pub.v1 to pub.v2), something to be considered at a
later date.

#15
Copy link
Contributor

@tamarafischer tamarafischer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wish there was a better way to make this backward compatible
are we supporting time in the CloudEvent field for last updated?

@stevenhartley stevenhartley merged commit cfd81fd into main Aug 10, 2023
1 check passed
@stevenhartley stevenhartley deleted the UUIDv6 branch November 10, 2023 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants