---
title: "pretty-ms 10.0.0 Breaking Changes on npm | Since.dev"
description: "What each pretty-ms release removed, renamed or changed: 11 breaking changes in 3 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/pretty-ms
last_updated: 2026-12-04
---

# pretty-ms breaking changes

pretty-ms 10.0.0 (October 14, 2026) is its newest release with breaking changes, 5 of them. The first: pretty-ms 10.0.0 requires Node.js 22 or later. Every breaking API change we have recorded in pretty-ms on npm: 11 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `10.0.0`, released October 14, 2026. [Source repository](https://github.com/sindresorhus/pretty-ms)

Its 10.0.0 release requires [Node.js 22](https://since.dev/calendar/nodejs/22.md) or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [9.0.0](#v-9-0-0) to [10.0.0](#v-10-0-0): 5 breaking changes in 1 version.
- From [8.0.0](#v-8-0-0) to [10.0.0](#v-10-0-0): 9 breaking changes in 2 versions.

## pretty-ms 10.0.0 breaking changes

pretty-ms 10.0.0, released October 14, 2026: 5 breaking changes.

- **Removed**  

Node.js versions below 22 are no longer supported, so upgrade Node.js to 22 or later before using this release. [github.com](https://github.com/sindresorhus/pretty-ms/releases/tag/v10.0.0)
- **Behavior changed**  

Fractional numbers are now read to 15 significant digits, so some values that showed as milliseconds now show as seconds. Integers remain exact. [github.com](https://github.com/sindresorhus/pretty-ms/releases/tag/v10.0.0)
- **Behavior changed**  

Output for many edge cases differs slightly, so tests that compare exact output may need updating. [github.com](https://github.com/sindresorhus/pretty-ms/releases/tag/v10.0.0)
- **Behavior changed** `colonNotation`  

With colonNotation and hideSeconds, the output always includes hours, so 60000 now shows 0:01 instead of 1. Update code that parses this output. [github.com](https://github.com/sindresorhus/pretty-ms/releases/tag/v10.0.0)
- **Behavior changed** `unitCount`  

With colonNotation, unitCount no longer limits the output fields, so the remaining fields now show different values. Check code that relies on unitCount with colonNotation. [github.com](https://github.com/sindresorhus/pretty-ms/releases/tag/v10.0.0)

## pretty-ms 9.0.0 breaking changes

pretty-ms 9.0.0, released January 18, 2024: 4 breaking changes.

- **Behavior changed**  

Output for large numbers changed as a result of the improved formatting. Code that matches exact output strings may need updating. [github.com](https://github.com/sindresorhus/pretty-ms/releases/tag/v9.0.0)
- **Configuration changed**  

The package now requires Node.js 18. Users on older Node.js versions must upgrade before installing this release. [github.com](https://github.com/sindresorhus/pretty-ms/releases/tag/v9.0.0)
- **Signature changed** `default`  

Was function prettyMilliseconds(milliseconds: number, options?: Options): string; now function prettyMilliseconds(milliseconds: number | bigint, options?: Options): string. [npmjs.com](https://www.npmjs.com/package/pretty-ms/v/9.0.0)
- **Signature changed** `Options`  

Was interface Options; now type Options = {readonly secondsDecimalDigits?: number; readonly millisecondsDecimalDigits?: number; readonly keepDecimalsOnWholeSeconds?: boolean; readonly compact?: boolean; readonly unitCount?: number... [npmjs.com](https://www.npmjs.com/package/pretty-ms/v/9.0.0)

## pretty-ms 8.0.0 breaking changes

pretty-ms 8.0.0, released June 6, 2022: 2 breaking changes.

- **Configuration changed**  

The package is now pure ESM, so it must be loaded with import rather than require. Node.js 14 is required; users on older Node.js versions must upgrade. [github.com](https://github.com/sindresorhus/pretty-ms/releases/tag/v8.0.0)
- **Signature changed** `default`  

Was function prettyMilliseconds(milliseconds: number, options?: prettyMilliseconds.Options): string namespace prettyMilliseconds; now function prettyMilliseconds(milliseconds: number, options?: Options): string. [npmjs.com](https://www.npmjs.com/package/pretty-ms/v/8.0.0)

## Related packages

- [pretty-bytes](https://since.dev/packages/npm/pretty-bytes.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
