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

Update SemVer handling & add 0.9.0 compat #104

Merged
merged 2 commits into from
Jul 25, 2023
Merged

Update SemVer handling & add 0.9.0 compat #104

merged 2 commits into from
Jul 25, 2023

Conversation

blaine
Copy link
Contributor

@blaine blaine commented Jul 24, 2023

This lib is deprecated, but pending wasm-based ts-ucan, we need compat with rs-ucan 0.2.0; this adds that support by implementing parsing of full semver tags including pre-release tags, and updates the ucan version to 0.9.1. In theory this shouldn't break anything? 🧐

@icidasset icidasset merged commit 4b1be87 into main Jul 25, 2023
1 check passed
@icidasset icidasset deleted the 0.9.0-compat branch July 25, 2023 13:50
@@ -53,7 +53,7 @@ export function handleCompatibility(header: unknown, payload: unknown): UcanPart

// parse either the "ucv" or "uav" as a version in the header
// we translate 'uav: 1.0.0' into 'ucv: 0.3.0'
let version: "0.8.1" | "0.3.0" = "0.8.1"
let version: "0.9.1" | "0.3.0" = "0.9.1"
Copy link
Member

Choose a reason for hiding this comment

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

@blaine Not entirely sure what this does, does it set the default version to 0.9.1?

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