Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: MetaMask/superstruct
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.0.0
Choose a base ref
...
head repository: MetaMask/superstruct
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.1.0
Choose a head ref
  • 3 commits
  • 3 files changed
  • 3 contributors

Commits on Jun 26, 2024

  1. Add all types in the utils submodule as package-level exports (#25)

    ## Motivation
    
    `snaps` repos have continued to expand its usage of `utils` types in the
    `superstruct` package.
    
    Unfortunately, the workaround of importing from `superstruct/dist/utils`
    is no longer available in the `@metamask/superstruct` fork, so importing
    new `utils` types will require new version releases going forward.
    
    To prevent this from blocking downstream development, this commit adds
    all currently available types in the `utils` submodule as package-level
    exports.
    
    ## Description
    
    - Newly exports the following types: `Assign`, `If`, `IsUnion`,
    `ObjectType`, `PartialObjectSchema`, `StructSchema`, `TupleSchema`
    
    ## References
    
    - Closes #26
    - Blocking MetaMask/snaps#2445
      - Blocking MetaMask/snaps#2514
    MajorLift authored Jun 26, 2024
    Configuration menu
    Copy the full SHA
    0ff3957 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. Remove unreleased changelog entry to unblock release (#27)

    - `create-release-pr` action is failing due to this issue:
    MetaMask/action-create-release-pr#138
    - Removing unreleased changelog entries should unblock this, enabling a
    release candidate to be created.
    MajorLift authored Jun 27, 2024
    Configuration menu
    Copy the full SHA
    17534c5 View commit details
    Browse the repository at this point in the history
  2. 3.1.0 (#28)

    This is the release candidate for version 3.1.0.
    
    ---------
    
    Co-authored-by: github-actions <github-actions@github.com>
    Co-authored-by: Jongsun Suh <jongsun.suh@icloud.com>
    3 people authored Jun 27, 2024
    Configuration menu
    Copy the full SHA
    3cd308f View commit details
    Browse the repository at this point in the history
Loading