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

# astro-icon breaking changes

astro-icon 1.2.0 (August 18, 2026) is its newest release with breaking changes, 3 of them. The first: Drops Node.js 20 support; astro-icon now requires Node 22.12 or later. Every breaking API change we have recorded in astro-icon on npm: 14 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 `1.2.0`, released August 18, 2026. [Source repository](https://github.com/natemoo-re/astro-icon)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [1.0.0](#v-1-0-0) to [1.2.0](#v-1-2-0): 3 breaking changes in 1 version.

## astro-icon 1.2.0 breaking changes

astro-icon 1.2.0, released August 18, 2026: 3 breaking changes.

- **Removed**  

Node 20 is no longer supported and the engines field is raised to Node 22.12. Users on Node 20 must upgrade Node before installing this version. [github.com](https://github.com/natemoo-re/astro-icon/releases/tag/astro-icon%401.2.0)
- **Behavior changed**  

The svg element always keeps its viewBox, and icons with non-zero min-x or min-y keep a viewBox on their symbol and use element. Per-instance viewBox overrides no longer apply to other instances of the same icon. [github.com](https://github.com/natemoo-re/astro-icon/releases/tag/astro-icon%401.2.0)
- **Behavior changed**  

The generated local icon collection drops its lastModified timestamp so builds are deterministic. Code that reads that timestamp from the collection will no longer find it. [github.com](https://github.com/natemoo-re/astro-icon/releases/tag/astro-icon%401.2.0)

## astro-icon 1.0.0 breaking changes

astro-icon 1.0.0, released December 27, 2023: 10 breaking changes.

- **Removed**  

Some redundant APIs are removed in this release; follow the upgrade guide for the specific migration steps. [github.com](https://github.com/natemoo-re/astro-icon/releases/tag/astro-icon%401.0.0)
- **Removed** `Icon`  

Icon was removed in astro-icon 1.0.0 [npmjs.com](https://www.npmjs.com/package/astro-icon/v/1.0.0)
- **Removed** `pack:createIconPack`  

createIconPack was removed in astro-icon 1.0.0 [npmjs.com](https://www.npmjs.com/package/astro-icon/v/1.0.0)
- **Removed** `pack:CreateIconPackOptions`  

CreateIconPackOptions was removed in astro-icon 1.0.0 [npmjs.com](https://www.npmjs.com/package/astro-icon/v/1.0.0)
- **Removed** `Sprite`  

Sprite was removed in astro-icon 1.0.0 [npmjs.com](https://www.npmjs.com/package/astro-icon/v/1.0.0)
- **Removed** `SpriteProvider`  

SpriteProvider was removed in astro-icon 1.0.0 [npmjs.com](https://www.npmjs.com/package/astro-icon/v/1.0.0)
- **Removed** `Spritesheet`  

Spritesheet was removed in astro-icon 1.0.0 [npmjs.com](https://www.npmjs.com/package/astro-icon/v/1.0.0)
- **Removed** `SpriteSheet`  

SpriteSheet was removed in astro-icon 1.0.0 [npmjs.com](https://www.npmjs.com/package/astro-icon/v/1.0.0)
- **Default changed** `include`  

If include is omitted, all icons from detected @iconify-json dependencies are now included by default. [github.com](https://github.com/natemoo-re/astro-icon/releases/tag/astro-icon%401.0.0)
- **Signature changed** `default`  

Was export {Icon as default} from "./lib/Icon.astro"; now function createIntegration(opts?: IntegrationOptions): AstroIntegration. [npmjs.com](https://www.npmjs.com/package/astro-icon/v/1.0.0)

## astro-icon 1.0.0-next.0 breaking changes

astro-icon 1.0.0-next.0, released December 27, 2023: 1 breaking change.

- **Removed**  

Icons are now managed through Astro's official integration API instead of a managed remote API, so existing setups must be migrated. [github.com](https://github.com/natemoo-re/astro-icon/releases/tag/astro-icon%401.0.0-next.0)

## 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.
