# What changed in @changesets/types

> 10 changes in @changesets/types 7 from its official release notes, upgrade guides and advisories: 7 breaking, 1 new APIs and options. Each one cited. Sources checked 2026-10-19. HTML: https://unstale.sh/npm/@changesets/types/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @changesets/types 7

### Breaking changes

- The package is now published as an ES module. (7.0.0) — [release notes](https://github.com/changesets/changesets/releases/tag/%40changesets/types%407.0.0)
- The options parameter types for CommitFunctions, ChangelogFunctions, and Config and WrittenConfig commit and changelog properties are now null | Record<string, unknown> instead of any or Record<string, any>. (7.0.0) — [release notes](https://github.com/changesets/changesets/releases/tag/%40changesets/types%407.0.0)
- Support for this deprecated config is removed; use snapshot.useCalculatedVersion instead. (7.0.0) — [release notes](https://github.com/changesets/changesets/releases/tag/%40changesets/types%407.0.0)
- Replaces the prettier config option and supports auto, prettier, oxfmt, deno, dprint, or false; migrate prettier: false to format: false. (7.0.0) — [release notes](https://github.com/changesets/changesets/releases/tag/%40changesets/types%407.0.0)
- The initialVersions property and its handling are removed because they are unused internally. (7.0.0) — [release notes](https://github.com/changesets/changesets/releases/tag/%40changesets/types%407.0.0)
- Supported Node versions are now ^22.11 || ^24 || >=26. (7.0.0) — [release notes](https://github.com/changesets/changesets/releases/tag/%40changesets/types%407.0.0)
- The private value is no longer supported for WrittenConfig.access; only public and restricted are valid. (3.0.0, 7.0.0) — [release notes](https://github.com/changesets/changesets/releases/tag/%40changesets/types%407.0.0), [upgrade guide](https://changesets.dev/guide/migration)

### New APIs and options

- Package and Packages are now exported from @changesets/types for use instead of the types from @manypkg/get-packages. (7.0.0) — [release notes](https://github.com/changesets/changesets/releases/tag/%40changesets/types%407.0.0)

### Tooling

- Versioned prerelease changesets are stored in .changeset/pre/ instead of accumulating in the root and tracking IDs in pre.json; existing pre.json auto-migrates on the next changeset version run or changeset status call. (7.0.0) — [release notes](https://github.com/changesets/changesets/releases/tag/%40changesets/types%407.0.0)

### Fixes and other changes

- oldVersion and newVersion can now be undefined for unversioned private packages. (7.0.0) — [release notes](https://github.com/changesets/changesets/releases/tag/%40changesets/types%407.0.0)
