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

feat: v5 #236

Merged
merged 15 commits into from Feb 23, 2024
Merged

feat: v5 #236

merged 15 commits into from Feb 23, 2024

Conversation

wolfy1339
Copy link
Member

@wolfy1339 wolfy1339 commented Feb 17, 2024

Makes usage of the new exports field in package.json to load different versions for Node and for Browsers

BREAKING CHANGE: output ESM instead of CommonJS
BREAKING CHANGE: remove SHA1 support
BREAKING CHANGE: The verify() and sign() methods no longer accept an options object

BREAKING CHANGE: output ESM instead of CommonJS
@wolfy1339 wolfy1339 added the Type: Breaking change Used to note any change that requires a major version bump label Feb 17, 2024
@wolfy1339 wolfy1339 marked this pull request as draft February 17, 2024 21:18
Copy link

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

@wolfy1339
Copy link
Member Author

Is there any change we would like to see in this version?

@wolfy1339 wolfy1339 marked this pull request as ready for review February 23, 2024 01:57
src/web.ts Outdated Show resolved Hide resolved
BREAKING CHANGE: The `verify()` and `sign()` methods no longer accept an options object
gr2m
gr2m previously approved these changes Feb 23, 2024
This helps when TypeScript is set to use `"moduleResolution": "bundler"`
@wolfy1339 wolfy1339 requested a review from gr2m February 23, 2024 21:43
Copy link
Contributor

@gr2m gr2m left a comment

Choose a reason for hiding this comment

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

Love. It!

@wolfy1339 wolfy1339 merged commit fead924 into main Feb 23, 2024
7 of 8 checks passed
@wolfy1339 wolfy1339 deleted the beta branch February 23, 2024 22:23
Copy link

🎉 This PR is included in version 5.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Type: Breaking change Used to note any change that requires a major version bump
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

‘verify’ should not detect the algorithm from the unverified signature
2 participants