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

Clean-up public interface of sigstore package #694

Merged
merged 1 commit into from
Aug 17, 2023
Merged

Conversation

bdehamer
Copy link
Collaborator

Summary

The primary change here is a flattening of the exports from the sigstore package. Previously this package exported a single sigstore object under which contained the various functions/errors/types. With this change, everything that was previously under the sigstore object is now exported as a top-level item. This will make it easier for consumers to import only the items they need and also enables type-only imports via import type.

The other big change is the inclusion of function overloads for verify to better handle use cases where the original artifact does not need to be provided for verification.

@bdehamer bdehamer requested a review from a team as a code owner August 16, 2023 17:44
@changeset-bot
Copy link

changeset-bot bot commented Aug 16, 2023

🦋 Changeset detected

Latest commit: 9664bba

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
sigstore Major
@sigstore/cli Patch
@sigstore/conformance Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Signed-off-by: Brian DeHamer <bdehamer@github.com>
Copy link
Member

@feelepxyz feelepxyz left a comment

Choose a reason for hiding this comment

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

🎉

@bdehamer bdehamer merged commit 829e123 into main Aug 17, 2023
18 checks passed
@bdehamer bdehamer deleted the bdehamer/v2-cleanup branch August 17, 2023 15:37
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.

None yet

2 participants