# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [4.1.0] - 2025-05-04

### Improved

  - The `categories` and `tags` objects under the `icons` namespace, which are there to aid the authoring experience, are no longer enumerable properties so they do not pollute the icons namespace. This means that you can safely iterate through the icons namespace without encountering anything by an icon component.

## [4.0.0] - 2025-05-02

### Breaking change

  - The icon catalog (hash table) is no longer alphabetically sharded.

    The alphabetical sharding was an approach to workaround an undocumented size limit in the TypeScript language server with inferred types. In 3.1.0, we started generating a TypeScript type declaration wihch doesn’t suffer from the same limitation. Testing has shown that the large datatype performs well in language intelligence suggestions during authoring, so there is no longer any need to artificially shard the icon set. This should improve the authoring experience.

## [3.1.0] - 2025-04-09

### Added

  - Now also generating types.

## [3.0.1] - 2025-04-09

### Fixed

  - Icon mirroring.

### Improved

  - Documentation and examples.

## [3.0.0] - 2025-04-09

### Breaking change

  - Split icons alphabetically to reduce load on TypeScript language server and work around [an undocumented 4MB memory size limitation in the TypeScript language server](https://github.com/typescript-language-server/typescript-language-server/issues/951) where type checking (and thus completions) are disabled for imported modules over this limit unless the source code of the module itself is open in your editor in the same workspace/language server session.

## [2.0.1] - 2025-04-07

### Changed

  - Export semantics to make type checker happy with inferred types.

## [2.0.0] - 2025-04-05

### Breaking change

  - Improved generated source code to support code intelligence in editors with TypeScript LSP support. You can now see all available components as well as browse for them using the categories and tags taxonomy hierarchies.

## [1.2.1] - 2025-04-04

### Added

  - Type declarations.

## [1.2.0] - 2025-04-04

### Changed

  - Use dot syntax in generated code.

### Fixed

  - Remaining non-legal property names in tags.

## [1.1.1] - 2025-04-04

### Fixed

  - SVG contents in generated code.
  - Added slot to generated code.

## [1.1.0] - 2025-04-04

### Improved

  - Improved tag filtering and naming for some tags.
  - Split tag and category stats.

### Fixed

  - Single grapheme tag detection and filtering.
  - References in generated code to icons object.

## [1.0.2] - 2025-04-04

### Fixed

  - Actually export the icons.

## [1.0.1] - 2025-04-04

### Changed

  - Make core Phosphor icons package a development dependency.

## [1.0.0] - 2025-04-04

Initial release.
