Skip to content

Harden behavior on failed changeset read #175

Closed

Description

@Noviny

Currently we always assume in ‘version’ that changesets are formatted correctly. This is because in v1, we strongly discouraged editing the json file.

In v2 we’ve started to say “well you could write these manually” but I haven’t battle-tested the failure oaths here. We should do that, and make sure the way it fails is explanatory (and that it fails)

The main cases are:

  • no frontmatter at all
  • frontmatter is malformed (cannot he turned to json, or possibly has incorrect data structures)
  • wants to bump packages that don’t exist (the two cases here are a package has been removed, or a typo in a package name - this one keeps me up some at night)

Activity

  1. added a commit that references this issue on Feb 2, 2026
    464283d
  2. added a commit that references this issue on Feb 23, 2026
    1f91879
  3. added a commit that references this issue on Apr 16, 2026
    586ee25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions