PackageTrack

npm · #3635

@changesets/types

7.0.0changesets/changesets

Common types shared between changeset packages

Release timeline

37 releases since 2019
2020202120222023202420252026

Releases

  1. 7.0.011 Aug 2026
    Release notes

    Major Changes

    • #1994 062530b Thanks @bluwy! - Replaced the prettier config option with format. format supports "auto", "prettier", "oxfmt", "deno", "dprint", and false. If you previously used prettier: false, migrate to format: false.

    • #2040 88f2abb Thanks @bluwy! - Use stricter types for the options parameter for CommitFunctions, ChangelogFunctions, Config & WrittenConfig's commit and changelog properties, to null | Record<string, unknown> instead of any or Record<string, any>

    • #1482 df424a4 Thanks @Andarist! - Bumped supported Node versions to ^22.11 || ^24 || >=26

    • #2133 4c26f2f Thanks @bluwy! - Remove "private" type support for WrittenConfig.access. Only "public" and "restricted" are valid values. This change was also already made in #2015 in the runtime.

    • #2190 96b65ee Thanks @bluwy! - Move versioned prerelease changesets to .changeset/pre/ folder instead of accumulating in the root and tracking the versioned changeset ids in the .changeset/pre.json file. Existing pre.json will auto-migrate to this new structure on the next run of changeset version or when calling changeset status.

      This change allows easier management of versioned prerelease changesets (for the final stable release) and current queued changesets (for the next prerelease). Changesets in .changeset/pre/ can be edited or deleted depending if it's still relevant for the final stable release of a package. There's no need to synchronize the changeset ids in pre.json if certain changesets are deleted.

    • #2117 813bbf3 Thanks @bluwy! - Remove the pre.json initialVersions property and handling as it's unused internally

    • #1482 df424a4 Thanks @Andarist! - From now on this package is going to be published as ES module.

    • #1652 a0b5326 Thanks @bluwy! - Remove support for the deprecated ___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.useCalculatedVersionForSnapshots config. The snapshot.useCalculatedVersion config should be used instead.

    Minor Changes

    • #1872 c19b112 Thanks @marcalexiei! - Export Package and Packages from @changesets/types. They are meant to be used instead of the types from @manypkg/get-packages.

    Patch Changes

    • #2177 b5e1762 Thanks @Andarist! - Allow oldVersion and newVersion to be undefined for unversioned private packages.

    • #2160 162419d Thanks @beeequeue! - Added or modified the files property in the manifest. This should not change any behavior.

    Open source →
    Release notes

    Major Changes

    • #1482 df424a4 Thanks @Andarist! - Bumped supported Node versions to ^22.11 || ^24 || >=26

    • #1956 03d4479 Thanks @Andarist! - Drop the legacy compatibility shim in assembleReleasePlan that accepted older config and snapshot argument shapes.

    • #2190 96b65ee Thanks @bluwy! - Move versioned prerelease changesets to .changeset/pre/ folder instead of accumulating in the root and tracking the versioned changeset ids in the .changeset/pre.json file. Existing pre.json will auto-migrate to this new structure on the next run of changeset version or when calling changeset status.

      This change allows easier management of versioned prerelease changesets (for the final stable release) and current queued changesets (for the next prerelease). Changesets in .changeset/pre/ can be edited or deleted depending if it's still relevant for the final stable release of a package. There's no need to synchronize the changeset ids in pre.json if certain changesets are deleted.

    • #1655 db46911 Thanks @bluwy! - Update @manypkg/get-packages which drops support for detecting packages in Bolt monorepos and adds support for npm monorepos

    • #2117 813bbf3 Thanks @bluwy! - Remove the pre.json initialVersions property and handling as it's unused internally

    • #1482 df424a4 Thanks @Andarist! - From now on this package is going to be published as ES module.

    • #1652 a0b5326 Thanks @bluwy! - Remove support for the deprecated ___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.useCalculatedVersionForSnapshots config. The snapshot.useCalculatedVersion config should be used instead.

    • #2090 3aae903 Thanks @beeequeue! - Peer dependencies now bump packages that depend on them by patch instead of major.

      This means a peer dependency update is no longer assumed (forced) to be a breaking change.

      If the dependent package is not compatible with the peer's new release you should manually add a major changeset describing why and how to migrate.

    Minor Changes

    • #2068 d03ffc1 Thanks @bluwy! - Support {commit-short} placeholder for the snapshot.prereleaseTemplate config, which is a 7 character variant of {commit}

    • #1969 2c7c043 Thanks @marcalexiei! - Add a named export that mirrors the current default export

      The default export is slated for removal in the next major release, so this ensures a smoother transition path.

    Patch Changes

    Open source →
    Release notes

    Major Changes

    • #1185 a971652 Thanks @Andarist! - package.json#exports have been added to limit what (and how) code might be imported from the package.

    Minor Changes

    Patch Changes

    Open source →
  2. 7.0.0-next.93 Aug 2026pre-release
    Release notes

    Major Changes

    • #2190 96b65ee Thanks @bluwy! - Move versioned prerelease changesets to .changeset/pre/ folder instead of accumulating in the root and tracking the versioned changeset ids in the .changeset/pre.json file. Existing pre.json will auto-migrate to this new structure on the next run of changeset version or when calling changeset status.

      This change allows easier management of versioned prerelease changesets (for the final stable release) and current queued changesets (for the next prerelease). Changesets in .changeset/pre/ can be edited or deleted depending if it's still relevant for the final stable release of a package. There's no need to synchronize the changeset ids in pre.json if certain changesets are deleted.

    Open source →
  3. 7.0.0-next.825 Jul 2026pre-release

    Nothing published for this version

  4. 7.0.0-next.717 Jul 2026pre-release

    Nothing published for this version

  5. 7.0.0-next.61 Jul 2026pre-release
    Release notes

    Minor Changes

    • #2068 d03ffc1 Thanks @bluwy! - Support {commit-short} placeholder for the snapshot.prereleaseTemplate config, which is a 7 character variant of {commit}
    Open source →
  6. 7.0.0-next.528 May 2026pre-release

    Nothing published for this version

  7. 7.0.0-next.413 May 2026pre-release

    Nothing published for this version

  8. 7.0.0-next.37 May 2026pre-release
    Release notes

    Major Changes

    • #1954 ed6728c Thanks @beeequeue! - Bumped supported Node versions to ^22.11 || ^24 || >=26

    • #1652 a0b5326 Thanks @bluwy! - Remove support for the deprecated ___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.useCalculatedVersionForSnapshots config. The snapshot.useCalculatedVersion config should be used instead.

    Open source →
    Release notes

    Major Changes

    • #1954 ed6728c Thanks @beeequeue! - Bumped supported Node versions to ^22.11 || ^24 || >=26

    • #1956 03d4479 Thanks @Andarist! - Drop the legacy compatibility shim in assembleReleasePlan that accepted older config and snapshot argument shapes.

    • #1652 a0b5326 Thanks @bluwy! - Remove support for the deprecated ___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.useCalculatedVersionForSnapshots config. The snapshot.useCalculatedVersion config should be used instead.

    Minor Changes

    • #1969 2c7c043 Thanks @marcalexiei! - Add a named export that mirrors the current default export

      The default export is slated for removal in the next major release, so this ensures a smoother transition path.

    Patch Changes

    Open source →
  9. 7.0.0-next.24 May 2026pre-release
    Release notes

    Minor Changes

    • #1872 c19b112 Thanks @marcalexiei! - Export Package and Packages from @changesets/types. They are meant to be used instead of the types from @manypkg/get-packages.
    Open source →
    Release notes

    Major Changes

    • #1655 db46911 Thanks @bluwy! - Update @manypkg/get-packages which drops support for detecting packages in Bolt monorepos and adds support for npm monorepos

    Patch Changes

    Open source →
  10. 7.0.0-next.130 Oct 2025pre-release

    Nothing published for this version

  11. 7.0.0-next.021 Apr 2025pre-release
    Release notes

    Major Changes

    • #1479 7f34a00 Thanks @bluwy! - Add "engines" field for explicit node version support. The supported node versions are >=18.0.0.

    • #1482 df424a4 Thanks @Andarist! - From now on this package is going to be published as ES module.

    Open source →
    Release notes

    Major Changes

    • #1479 7f34a00 Thanks @bluwy! - Add "engines" field for explicit node version support. The supported node versions are >=18.0.0.

    • #1482 df424a4 Thanks @Andarist! - From now on this package is going to be published as ES module.

    Patch Changes

    Open source →
  12. 6.1.017 Feb 2025
    Release notes

    Minor Changes

    • #1453 84a4a1b Thanks @bennypowers! - Added a new config option to opt-out from formatting with Prettier using prettier: false.
    Open source →
    Release notes

    Minor Changes

    • #905 c140171 Thanks @Andarist! - The local version of Prettier is going to be preferred from now on when writing formatted .md files back to disk. At the same time the version of Prettier that we depend on has been upgraded.
    Open source →
  13. 6.0.028 Nov 2023
    Release notes

    Major Changes

    • #1185 a971652 Thanks @Andarist! - package.json#exports have been added to limit what (and how) code might be imported from the package.
    Open source →
    Release notes

    Major Changes

    • #1185 a971652 Thanks @Andarist! - package.json#exports have been added to limit what (and how) code might be imported from the package.

    Patch Changes

    Open source →
  14. 5.2.118 Dec 2022
    Release notes

    Patch Changes

    • #1033 521205d Thanks @Andarist! - Added changedFilePatterns property to Config and WrittenConfig types.
    Open source →
    Release notes

    Patch Changes

    • #914 b023e4b Thanks @Andarist! - Fixed an issue with the assembleReleasePlan's signature not being compatible with the old shape of the config and snapshot parameters. This could have caused runtime errors during snapshot releases when only some of the Changesets transitive dependencies were updated without other ones.
    Open source →
  15. 5.2.01 Oct 2022
    Release notes

    Minor Changes

    Open source →
  16. 5.1.022 Jul 2022

    Nothing published for this version

  17. 5.0.027 Mar 2022
    Release notes

    Major Changes

    • #1482 df424a4 Thanks @Andarist! - Bumped supported Node versions to ^22.11 || ^24 || >=26

    • #1655 db46911 Thanks @bluwy! - Update @manypkg/get-packages which drops support for detecting packages in Bolt monorepos and adds support for npm monorepos

    • #1482 df424a4 Thanks @Andarist! - From now on this package is going to be published as ES module.

    Minor Changes

    • #1969 2c7c043 Thanks @marcalexiei! - Add a named export that mirrors the current default export

      The default export is slated for removal in the next major release, so this ensures a smoother transition path.

    Patch Changes

    Open source →
  18. 4.1.019 Feb 2022

    Nothing published for this version

  19. 4.1.0-temp.07 Dec 2021pre-release

    Nothing published for this version

  20. 4.0.226 Nov 2021
    Release notes

    Patch Changes

    Open source →
  21. 4.0.131 Aug 2021
    Release notes

    Patch Changes

    Open source →
  22. 4.0.08 Apr 2021
    Release notes

    Major Changes

    • #1482 df424a4 Thanks @Andarist! - Bumped supported Node versions to ^22.11 || ^24 || >=26

    • #2190 96b65ee Thanks @bluwy! - Move versioned prerelease changesets to .changeset/pre/ folder instead of accumulating in the root and tracking the versioned changeset ids in the .changeset/pre.json file. Existing pre.json will auto-migrate to this new structure on the next run of changeset version or when calling changeset status.

      This change allows easier management of versioned prerelease changesets (for the final stable release) and current queued changesets (for the next prerelease). Changesets in .changeset/pre/ can be edited or deleted depending if it's still relevant for the final stable release of a package. There's no need to synchronize the changeset ids in pre.json if certain changesets are deleted.

    • #1655 db46911 Thanks @bluwy! - Update @manypkg/get-packages which drops support for detecting packages in Bolt monorepos and adds support for npm monorepos

    • #1482 df424a4 Thanks @Andarist! - From now on this package is going to be published as ES module.

    Minor Changes

    • #1969 2c7c043 Thanks @marcalexiei! - Add a named export that mirrors the current default export

      The default export is slated for removal in the next major release, so this ensures a smoother transition path.

    • #2190 96b65ee Thanks @bluwy! - Follow file renames for getCommitsThatAddFiles so it returns the commit that added the file first, instead of the commit that renamed it, if it was renamed

    Patch Changes

    Open source →
    Release notes

    Major Changes

    • #1994 062530b Thanks @bluwy! - Replaced the prettier config option with format. format supports "auto", "prettier", "oxfmt", "deno", "dprint", and false. If you previously used prettier: false, migrate to format: false.

    • #2015 6a05002 Thanks @beeequeue! - Removed read and parse functions in favor of readConfig, which returns { config, warnings, errors } instead of throwing on issues.

      // before.ts
      import { parse } from "@changesets/config";
      import { getPackages } from "@manypkg/get-packages";
      
      const config = parse({ commit: true }, await getPackages());
      
      try {
        return parse({ commit: true }, packages);
      } catch (err) {
        if (err instanceof ValidationError) {
          console.error(`Invalid config: ${err.message}`);
        } else {
          throw err;
        }
      }
      
      // after.ts
      import { readConfig } from "@changesets/config";
      import { getPackages } from "@manypkg/get-packages";
      
      // both arguments are optional
      const { config, warnings, errors } = readConfig(
        process.cwd(),
        await getPackages(),
      );
      
      if (warnings.length !== 0) {
        console.warn(warnings.join("\n"));
      }
      if (config == null) {
        console.error(errors.join("\n"));
      }
      
    • #1482 df424a4 Thanks @Andarist! - Bumped supported Node versions to ^22.11 || ^24 || >=26

    • #1655 db46911 Thanks @bluwy! - Update @manypkg/get-packages which drops support for detecting packages in Bolt monorepos and adds support for npm monorepos

    • #1650 b83787f Thanks @bluwy! - Change the defaultWrittenConfig baseBranch value from "master" to "main"

    • #1482 df424a4 Thanks @Andarist! - From now on this package is going to be published as ES module.

    • #1652 a0b5326 Thanks @bluwy! - Remove support for the deprecated ___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.useCalculatedVersionForSnapshots config. The snapshot.useCalculatedVersion config should be used instead.

    • #2186 3910adf Thanks @Andarist! - Private packages are no longer versioned by default. Set privatePackages to true to opt into versioning and tagging them, or set privatePackages.version to true to version them without tagging.

    Minor Changes

    Patch Changes

    Open source →
    Release notes

    Major Changes

    • #1185 a971652 Thanks @Andarist! - package.json#exports have been added to limit what (and how) code might be imported from the package.

    Patch Changes

    Open source →
  23. 3.3.028 Jan 2021

    Nothing published for this version

  24. 3.2.08 Oct 2020

    Nothing published for this version

  25. 3.1.110 Aug 2020
    Release notes

    Patch Changes

    Open source →
  26. 3.1.017 Jun 2020
    Release notes

    Minor Changes

    • #1453 84a4a1b Thanks @bennypowers! - Added a new config option to opt-out from formatting with Prettier using prettier: false.

    Patch Changes

    Open source →
  27. 3.0.011 May 2020
    Release notes

    Major Changes

    • #1482 df424a4 Thanks @Andarist! - Bumped supported Node versions to ^22.11 || ^24 || >=26

    • #2190 96b65ee Thanks @bluwy! - Move versioned prerelease changesets to .changeset/pre/ folder instead of accumulating in the root and tracking the versioned changeset ids in the .changeset/pre.json file. Existing pre.json will auto-migrate to this new structure on the next run of changeset version or when calling changeset status.

      This change allows easier management of versioned prerelease changesets (for the final stable release) and current queued changesets (for the next prerelease). Changesets in .changeset/pre/ can be edited or deleted depending if it's still relevant for the final stable release of a package. There's no need to synchronize the changeset ids in pre.json if certain changesets are deleted.

    • #1655 db46911 Thanks @bluwy! - Update @manypkg/get-packages which drops support for detecting packages in Bolt monorepos and adds support for npm monorepos

    • #2117 813bbf3 Thanks @bluwy! - Remove the pre.json initialVersions property and handling as it's unused internally

    • #1482 df424a4 Thanks @Andarist! - From now on this package is going to be published as ES module.

    Patch Changes

    Open source →
    Release notes

    Major Changes

    • #1482 df424a4 Thanks @Andarist! - Bumped supported Node versions to ^22.11 || ^24 || >=26

    • #1655 db46911 Thanks @bluwy! - Update @manypkg/get-packages which drops support for detecting packages in Bolt monorepos and adds support for npm monorepos

    • #1482 df424a4 Thanks @Andarist! - From now on this package is going to be published as ES module.

    Minor Changes

    • #1969 2c7c043 Thanks @marcalexiei! - Add a named export that mirrors the current default export

      The default export is slated for removal in the next major release, so this ensures a smoother transition path.

    Patch Changes

    Open source →
    Release notes

    Major Changes

    • #2128 7113c01 Thanks @Andarist! - Renamed the changeset tag command to changeset git-tag.

    • #2074 3599e47 Thanks @bluwy! - Set supported package manager versions in "engines" field, including npm >=10.9.0, pnpm >=10.0.0, and yarn >=4.5.2.

    • #1860 92b1c1b Thanks @mixelburg! - changeset version now exits with code 1 when there are no unreleased changesets, instead of silently exiting with code 0.

      This makes it easier to detect when a version step is a no-op — for example, to prevent accidentally publishing packages with incorrect version tags when using --snapshot mode.

    • #1482 df424a4 Thanks @Andarist! - Bumped supported Node versions to ^22.11 || ^24 || >=26

    • #1994 062530b Thanks @bluwy! - The prettier option in .changeset/config.json has been removed in favor of format. format supports "auto", "prettier", "oxfmt", "deno", and "dprint", and false disables formatting. If you previously used prettier: false, migrate to format: false or remove the option to use automatic formatter detection.

    • #2190 96b65ee Thanks @bluwy! - Move versioned prerelease changesets to .changeset/pre/ folder instead of accumulating in the root and tracking the versioned changeset ids in the .changeset/pre.json file. Existing pre.json will auto-migrate to this new structure on the next run of changeset version or when calling changeset status.

      This change allows easier management of versioned prerelease changesets (for the final stable release) and current queued changesets (for the next prerelease). Changesets in .changeset/pre/ can be edited or deleted depending if it's still relevant for the final stable release of a package. There's no need to synchronize the changeset ids in pre.json if certain changesets are deleted.

    • #2145 f5887ff Thanks @Andarist! - Removed Yarn Classic support

    • #2097 8c88f6a Thanks @Andarist! - Packages with only prerelease versions published will now be published with the prerelease tag in the prerelease mode if the target registry doesn't auto-assign latest tag. npm registry itself does that and such packages will continue to be released with latest tag (and not with the configured prerelease tag).

    • #1879 c76b232 Thanks @beeequeue! - Removed warning messages about using v1 configs. They will now be silently ignored.

    • #1655 db46911 Thanks @bluwy! - Update @manypkg/get-packages which drops support for detecting packages in Bolt monorepos and adds support for npm monorepos

    • #1651 e1df862 Thanks @bluwy! - Remove support for the --sinceMaster flag for changeset status. Use --since=master or --since=main instead.

    • #2117 813bbf3 Thanks @bluwy! - Remove the pre.json initialVersions property and handling as it's unused internally

    • #1961 07278a7 Thanks @beeequeue! - CommitFunctions can now be both sync and async, and the defaultCommitFunctions are now sync.

    • #1482 df424a4 Thanks @Andarist! - From now on this package is going to be published as ES module.

    • #1652 a0b5326 Thanks @bluwy! - Remove support for the deprecated ___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.useCalculatedVersionForSnapshots config. The snapshot.useCalculatedVersion config should be used instead.

    • #2186 3910adf Thanks @Andarist! - Private packages are no longer versioned by default. Set privatePackages to true to opt into versioning and tagging them, or set privatePackages.version to true to version them without tagging.

    • #1879 c76b232 Thanks @beeequeue! - Migrated from enquirer + @inquirer/launch-editor to @clack/prompts + launch-editor.

      This means the CLI flows will have minor changes, but they are largely the same.

      This change also fixes various issues related to enquirer like cancelling prompts crashing the CLI.

    • #2090 3aae903 Thanks @beeequeue! - Peer dependencies now bump packages that depend on them by patch instead of major.

      This means a peer dependency update is no longer assumed (forced) to be a breaking change.

      If the dependent package is not compatible with the peer's new release you should manually add a major changeset describing why and how to migrate.

    Minor Changes

    • #1121 ce2095d Thanks @Sh031224! - Added new --major, --minor, --patch flags to the add command.

    • #2135 fd7724a Thanks @youdie006! - Allow comma-separated values in array-valued CLI flags: the --major, --minor, and --patch flags of the add command, and the --ignore flag of the version command. For example, --minor pkg-a,pkg-b is now equivalent to --minor pkg-a --minor pkg-b. Surrounding whitespace is trimmed and empty entries are ignored.

    • #2068 d03ffc1 Thanks @bluwy! - Support {commit-short} placeholder for the snapshot.prereleaseTemplate config, which is a 7 character variant of {commit}

    • #2061 c2db1dd Thanks @Andarist! - Added a changeset publish-plan command to inspect which packages would be published or tagged, with optional JSON output.

    • #2087 edc30c8 Thanks @trueberryless! - Made the init command interactive. Running changeset init will now guide you through a set of intuitive prompts to configure your changelog generator, commit preferences, publish access, and base branch, rather than silently writing the default configuration file.

    • #1969 2c7c043 Thanks @marcalexiei! - Add a named export that mirrors the current default export

      The default export is slated for removal in the next major release, so this ensures a smoother transition path.

    • #1879 c76b232 Thanks @beeequeue! - Packages are now listed in alphabetical order when possible.

    • #2129 369eb0b Thanks @Andarist! - Commands supporting --output (such as status and publish-plan) can now be invoked with CHANGESETS_OUTPUT=path/to/file environment variable. This has the same effect as calling them with --output=path/to/file

    • #2100 90b4ad0 Thanks @Andarist! - Order releases into dependency-aware chunks so packages are grouped in publish order.

    • #2136 2f9ca42 Thanks @bluwy! - Remove confirmation prompt when adding a changeset. It will always add a changeset instead, and if the changeset is not desired, the user can edit or delete the file directly.

    • #2155 5a8119b Thanks @beeequeue! - Improved changeset publish failure handling. Errors are reported per package, successful publishes are still tagged when another package fails, and authentication retries avoid republishing completed packages.

    • #2063 ed77176 Thanks @Andarist! - Added changeset publish --from-pack-dir <dir> to publish packages from a previously created pack output directory.

    • #2062 830443c Thanks @Andarist! - Added a changeset pack command that requires --out-dir and writes publishable package tarballs plus an enriched publish-plan.json into that directory, either from the current workspace or from a saved publish plan via --from-plan.

    • #1879 c76b232 Thanks @beeequeue! - Choosing a change type now shows a preview of which part of the version it affects.

      Which packages should have a major (X.X.X) bump?

    • #2129 369eb0b Thanks @Andarist! - changeset publish and changeset tag can now be invoked with CHANGESETS_OUTPUT=path/to/file environment variable. They produce output in the NDJSON format.

    • #2130 18bc470 Thanks @beeequeue! - Allow unmatched glob patterns in the ignore config option.

    • #2073 b9cbd80 Thanks @bluwy! - Show if a package is private when selecting packages in changeset add

    Patch Changes

    Open source →
    Release notes

    Major Changes

    • #1185 a971652 Thanks @Andarist! - package.json#exports have been added to limit what (and how) code might be imported from the package.

    Patch Changes

    Open source →
    Release notes

    Major Changes

    • #1185 a971652 Thanks @Andarist! - package.json#exports have been added to limit what (and how) code might be imported from the package.

    Patch Changes

    Open source →
  28. 2.0.115 Apr 2020
    Release notes

    Patch Changes

    Open source →
  29. 2.0.015 Apr 2020
    Release notes

    Major Changes

    • #1185 a971652 Thanks @Andarist! - package.json#exports have been added to limit what (and how) code might be imported from the package.

    Patch Changes

    Open source →
    Release notes

    Major Changes

    • #1185 a971652 Thanks @Andarist! - package.json#exports have been added to limit what (and how) code might be imported from the package.

    Patch Changes

    Open source →
    Release notes

    Major Changes

    • #1029 598136a Thanks @Andarist! - getCommitsThatAddFiles accepts an options object argument now where you can use cwd option.

      -getCommitsThatAddFiles(paths, cwd);
      +getCommitsThatAddFiles(paths, { cwd });
      
    • #1029 598136a Thanks @Andarist! - getCurrentCommitId and getCommitsThatAddFiles return full commit hashes now instead of short ones. You can get short ones by using the short: true option.

    • #1029 598136a Thanks @Andarist! - Previously deprecated getCommitThatAddsFile has been removed while getCommitsThatAddFiles is still available.

    Minor Changes

    • #1033 521205d Thanks @Andarist! - getChangedPackagesSinceRef accepts now a new changedFilePatterns option. It can be used to determine which packages should be classified as changed. You can pass an array of glob patterns to it.

    Patch Changes

    Open source →
  30. 1.0.129 Mar 2020
    Release notes

    Patch Changes

    Open source →
  31. 1.0.011 Mar 2020
    Release notes

    Major Changes

    Minor Changes

    • #1969 2c7c043 Thanks @marcalexiei! - Add a named export that mirrors the current default export

      The default export is slated for removal in the next major release, so this ensures a smoother transition path.

    • #1994 062530b Thanks @bluwy! - Changeset files are now formatted with @changesets/format instead of depending on Prettier directly. Formatter selection can be auto-detected from the project configuration or controlled via the format config option.

    Patch Changes

    Open source →
    Release notes

    Major Changes

    Patch Changes

    Open source →
    Release notes

    Major Changes

    • #1875 12f20ea Thanks @beeequeue! - Removed execWithOutput and spawnWithOutput.

      They were never intended to be used externally, but are now removed either way.

      If you used them, we recommend using tinyexec or node:child_process#exec directly.

    • #1875 12f20ea Thanks @beeequeue! - Changed runPublish() signature.

      Now requires passing separate command and args parameters:

      runPublish({
      -  script: `node -e 'console.log("test")'`
      +  command: "node",
      +  args: ["-e", `console.log("test")`]
        cwd: import.meta.dirname,
      })
      
    • #1482 df424a4 Thanks @Andarist! - Bumped supported Node versions to ^22.11 || ^24 || >=26

    • #2190 96b65ee Thanks @bluwy! - Move versioned prerelease changesets to .changeset/pre/ folder instead of accumulating in the root and tracking the versioned changeset ids in the .changeset/pre.json file. Existing pre.json will auto-migrate to this new structure on the next run of changeset version or when calling changeset status.

      This change allows easier management of versioned prerelease changesets (for the final stable release) and current queued changesets (for the next prerelease). Changesets in .changeset/pre/ can be edited or deleted depending if it's still relevant for the final stable release of a package. There's no need to synchronize the changeset ids in pre.json if certain changesets are deleted.

    • #2106 ea8ca75 Thanks @beeequeue! - Dropped support for v1 changeset bump command in runVersion()

    • #1655 db46911 Thanks @bluwy! - Update @manypkg/get-packages which drops support for detecting packages in Bolt monorepos and adds support for npm monorepos

    • #1482 df424a4 Thanks @Andarist! - From now on this package is going to be published as ES module.

    Minor Changes

    • #1962 cda03f7 Thanks @bluwy! - Replace markdown parsing with regex

    • #1969 2c7c043 Thanks @marcalexiei! - Add a named export that mirrors the current default export

      The default export is slated for removal in the next major release, so this ensures a smoother transition path.

    Patch Changes

    Open source →
    Release notes

    Major Changes

    • #1482 df424a4 Thanks @Andarist! - Bumped supported Node versions to ^22.11 || ^24 || >=26

    • #2190 96b65ee Thanks @bluwy! - Move versioned prerelease changesets to .changeset/pre/ folder instead of accumulating in the root and tracking the versioned changeset ids in the .changeset/pre.json file. Existing pre.json will auto-migrate to this new structure on the next run of changeset version or when calling changeset status.

      This change allows easier management of versioned prerelease changesets (for the final stable release) and current queued changesets (for the next prerelease). Changesets in .changeset/pre/ can be edited or deleted depending if it's still relevant for the final stable release of a package. There's no need to synchronize the changeset ids in pre.json if certain changesets are deleted.

    • #1482 df424a4 Thanks @Andarist! - From now on this package is going to be published as ES module.

    Minor Changes

    • #1494 6d1f384 Thanks @bluwy! - Remove support for reading changesets from version 1

    • #1969 2c7c043 Thanks @marcalexiei! - Add a named export that mirrors the current default export

      The default export is slated for removal in the next major release, so this ensures a smoother transition path.

    • #2066 c2348fc Thanks @bluwy! - Ignore more markdown files in the .changeset directory when reading changesets, including AGENTS.md, CLAUDE.md, and GEMINI.md

    Patch Changes

    Open source →
    Release notes

    Major Changes

    Minor Changes

    • #1969 2c7c043 Thanks @marcalexiei! - Add a named export that mirrors the current default export

      The default export is slated for removal in the next major release, so this ensures a smoother transition path.

    Patch Changes

    Open source →
    Release notes

    Major Changes

    Patch Changes

    Open source →
    Release notes

    Major Changes

    Minor Changes

    • #1969 2c7c043 Thanks @marcalexiei! - Add a named export that mirrors the current default export

      The default export is slated for removal in the next major release, so this ensures a smoother transition path.

    Patch Changes

    • #2160 162419d Thanks @beeequeue! - Added or modified the files property in the manifest. This should not change any behavior.
    Open source →
    Release notes

    Major Changes

    • #2121 dae394c Thanks @bluwy! - Rename getInfo to getCommitInfo, and getInfoFromPullRequest to getPullRequestInfo. They may now return undefined if the commit or pull request is not found in the GitHub repository.

      The return types are also slightly changed but should contain the same information as before. To migrate:

      const info = await getCommitInfo({ commit, repo });
      if (info == null) return;
      
      // Before:
      const authorLogin = info.user;
      const authorLink = info.links.author;
      
      const pullNumber = info.pull;
      const pullLink = info.links.pull;
      
      const commitLink = info.links.commit;
      
      // After:
      const authorLogin = info.author.login;
      const authorLink = info.author.markdownLink;
      
      const pullNumber = info.pull.number;
      const pullLink = info.pull.markdownLink;
      
      const commitLink = info.commit.markdownLink;
      

      getPullRequestInfo also has a similar migration path.

    • #1482 df424a4 Thanks @Andarist! - Bumped supported Node versions to ^22.11 || ^24 || >=26

    • #1482 df424a4 Thanks @Andarist! - From now on this package is going to be published as ES module.

    Minor Changes

    • #2121 dae394c Thanks @bluwy! - Improve data fetching by using GraphQL fragments to reduce the query size, and set a maximum batch size of 50 to avoid hitting rate limits

    Patch Changes

    Open source →
    Release notes

    Major Changes

    Minor Changes

    • #2015 6a05002 Thanks @beeequeue! - Added cause option to ExitError to help surface the cause behind exiting.

    Patch Changes

    • #2160 162419d Thanks @beeequeue! - Added or modified the files property in the manifest. This should not change any behavior.
    Open source →
    Release notes

    Major Changes

    Minor Changes

    • #2059 070f531 Thanks @jycouet! - Add an opt-in, experimental template option to render changelog lines from tokens ({summary}, {ref}, {pull}, {commit}, {authors}). Default output is unchanged. The token syntax may change in a patch release; pin the version if you rely on it.

    • #1871 dfefc4e Thanks @mihkeleidast! - Use GITHUB_REPOSITORY as the default repo when no repo option is configured

    • #1969 2c7c043 Thanks @marcalexiei! - Add a named export that mirrors the current default export

      The default export is slated for removal in the next major release, so this ensures a smoother transition path.

    Patch Changes

    Open source →
    Release notes

    Major Changes

    • #1482 df424a4 Thanks @Andarist! - Bumped supported Node versions to ^22.11 || ^24 || >=26

    • #1961 07278a7 Thanks @beeequeue! - ChangelogFunctions can now be both sync and async, and the defaultChangelogFunctions are now sync.

    • #1482 df424a4 Thanks @Andarist! - From now on this package is going to be published as ES module.

    Minor Changes

    • #1969 2c7c043 Thanks @marcalexiei! - Add a named export that mirrors the current default export

      The default export is slated for removal in the next major release, so this ensures a smoother transition path.

    Patch Changes

    Open source →
  32. 0.4.031 Oct 2019
    Release notes

    Minor Changes

    • #1453 84a4a1b Thanks @bennypowers! - Added a new option to opt-out from formatting with Prettier using prettier: false.

    Patch Changes

    Open source →
    Release notes

    Minor Changes

    • #1185 a971652 Thanks @Andarist! - package.json#exports have been added to limit what (and how) code might be imported from the package.

    Patch Changes

    Open source →
    Release notes

    Minor Changes

    • #1185 a971652 Thanks @Andarist! - package.json#exports have been added to limit what (and how) code might be imported from the package.
    Open source →
  33. 0.3.131 Oct 2019
    Release notes

    Patch Changes

    Open source →
  34. 0.3.019 Sept 2019
    Release notes

    Minor Changes

    • #1185 a971652 Thanks @Andarist! - package.json#exports have been added to limit what (and how) code might be imported from the package.

    Patch Changes

    Open source →
  35. 0.2.013 Sept 2019
    Release notes

    Minor Changes

    • #1185 a971652 Thanks @Andarist! - package.json#exports have been added to limit what (and how) code might be imported from the package.

    Patch Changes

    Open source →
    Release notes

    Minor Changes

    • #1185 a971652 Thanks @Andarist! - package.json#exports have been added to limit what (and how) code might be imported from the package.
    Open source →
    Release notes

    Minor Changes

    • #1185 a971652 Thanks @Andarist! - package.json#exports have been added to limit what (and how) code might be imported from the package.

    Patch Changes

    Open source →
    Release notes

    Minor Changes

    • #905 c140171 Thanks @Andarist! - The local version of Prettier is going to be preferred from now on when writing formatted .md files back to disk. At the same time the version of Prettier that we depend on has been upgraded.
    Open source →
  36. 0.1.210 Sept 2019
    Release notes

    Patch Changes

    Open source →
  37. 0.1.010 Sept 2019
    Release notes

    Minor Changes

    • #1185 a971652 Thanks @Andarist! - package.json#exports have been added to limit what (and how) code might be imported from the package.
    Open source →