Changelog

Latest Release

v2.5.3

August 3, 2026

View on GitHub
Changed
Internal RefactorExtracted resolveIconName and validateIconNamePattern out of CLI/Sync scripts into a shared naming.js module. No changes to public API or behavior.

Previous Releases

v2.5.2

August 3, 2026
GitHub
Fixed
Circular DependencyFixed an innocuous Node.js warning about an unsettled top-level await by embedding the sync naming logic directly into the sync script instead of dynamically importing it from the CLI runner.

v2.5.1

August 3, 2026
GitHub
Fixed
Sync Case FormattingFixed a bug where `iconcodegen sync` could generate camelCase component names instead of strict PascalCase components when the user configured a lowercase prefix in `iconNamePattern`. Lowercase component names caused React to treat them as native HTML tags, breaking Intellisense.

v2.5.0

August 3, 2026
GitHub
Added
iconcodegen sync CommandA powerful new CLI command to automatically mass-rename all generated icons to conform to your iconNamePattern. It uses AST-informed surgical barrel updates and features a strict zero-breakage pre-flight check.

v2.4.2

August 3, 2026
GitHub
Added
Metadata InjectionThe generator now unconditionally injects an `@iconcodegen-source` tracking comment into all generated icons. This preserves the original provider and icon identity for future automation workflows.
Fixed
CSRF MiddlewarePatched the local API server's strict requireLocalOrigin middleware to explicitly allow localhost and [::1] origins alongside 127.0.0.1, fixing 403 Forbidden errors for users on different local loopbacks.

v2.4.1

August 3, 2026
GitHub
Added
Config Hot-ReloadingAdded an active file watcher that instantly hot-reloads iconcodegen.json when you save it in your editor. The terminal will automatically log the update without requiring a CLI restart.
Fixed
Batch Generation Stale ConfigFixed an inconsistency where batch generating icons would still use the stale startup config instead of the hot-reloaded pattern.

v2.4.0

August 3, 2026
GitHub
Added
Audit Command (AST Dead-Code Detection)Introduced `npx iconcodegen audit` to scan your codebase for orphaned icons. Uses safe `@babel/parser` AST analysis instead of regex, and implements hard bail-outs if wildcard or dynamic imports are detected. Strictly read-only.

v2.3.0

July 31, 2026
GitHub
Added
Prune CommandIntroduced `npx iconcodegen prune` to automatically clean up dangling exports in your index.ts barrel file when you manually delete or rename generated icon components. Supports a `--dry-run` flag to safely preview destructive changes.

v2.2.0

July 31, 2026
GitHub
Added
Custom Naming TemplatesAdded the iconNamePattern field to iconcodegen.json. You can now enforce strict team naming conventions (e.g. {name}Icon, App{name}) across both single and batch exports. All generated names are automatically validated and sanitized into compliant JavaScript identifiers.

v2.1.2

July 31, 2026
GitHub
Fixed
ArchitectureDecoupled the CLI server execution block to strictly lock out tests, allowing proper unit testing of Express middleware.
Fixed
Symlink ResolutionFixed a critical execution bug where running the tool via npm global symlink (iconcodegen) would silently fail because Node.js ES Modules enforce strict import.meta.url realpath comparisons.

v2.1.1

July 31, 2026
GitHub
Fixed
SecurityHardened the local API server's CSRF protection by shifting from a fail-open to a fail-closed architecture. The /api/download and /api/batch-generate endpoints now explicitly reject requests that omit Origin or Referer headers.

v2.1.0

July 31, 2026
GitHub
Added
Batch Export DrawerIntroduced a beautifully animated, slide-out drawer for batch exporting icons. Features a new flexbox grid layout, smooth glassmorphism hover effects, and persistent export settings.
Added
Production React GeneratorsGenerated React components now automatically include global overrides (/* eslint-disable */, // @ts-nocheck) and DO NOT EDIT warnings to seamlessly bypass strict enterprise linting rules.
Added
Barrel File AutomationThe CLI now automatically generates and updates index.ts / index.js barrel files across both Single and Batch export workflows.
Fixed
UI & UX PolishFixed multiple layout edge cases including double-scrollbars on small screens, CSS transition flickering between modals, and toast notifications blocking clicks.

v2.0.0

July 21, 2026
GitHub
Added
Package Renameicon-vista has been officially renamed to iconcodegen for better SEO and discoverability. This marks the first release under the new npm namespace.

v1.2.1

July 21, 2026
GitHub
Added
CI StatusAdded GitHub Actions CI badge to the README.
Added
SecurityAdded origin verification middleware to prevent CSRF on write endpoints (/api/download and /api/generate-snippet).
Changed
API ErrorsStandardized API error responses to return proper JSON objects and appropriate HTTP status codes (400, 404, 500) across all endpoints.
Fixed
SecurityFixed a security vulnerability by binding the local Express server explicitly to 127.0.0.1 instead of all network interfaces (0.0.0.0).
Fixed
Error HandlingFixed missing icon_id validation in the /api/svg endpoint, preventing bare string 500 errors.

v1.2.0

June 26, 2026
GitHub
Added
AST-based SVG ParsingReplaced the fragile regex generator with @svgr/core, ensuring 100% syntactically correct React JSX output directly from SVG abstract syntax trees.
Added
CLI ArgumentsIntroduced --headless mode for CI/CD and --port <number> flag for custom port binding to avoid EADDRINUSE collisions.
Added
Persisted PreferencesThe dashboard now remembers your preferred Language (TypeScript/JavaScript) and Component Style (Arrow/Function) across sessions.
Changed
Modularized ArchitectureSplit the monolithic 2,300-line index.html into a clean app.js and styles.css structure for improved maintainability.

v1.1.5

June 26, 2026
GitHub
Fixed
NPM Markdown CompatibilityReplaced the <video> tag in the README with a clean text link pointing to the Next.js site, as the NPM registry strictly strips out HTML video elements, leaving a broken layout. Removed leftover placeholder text.
Fixed
Cropped VideoUpdated the demo video to a tightly cropped, high-resolution version.

v1.1.4

June 26, 2026
GitHub
Added
Interactive DemoAdded a looping video demonstration of the CLI to the README and website.
Added
Documentation LinksAdded direct links to the new Next.js documentation website within the CLI terminal output and the local UI.

v1.1.3

June 26, 2026
GitHub
Added
Unit Testing SuiteImplemented a comprehensive Vitest testing suite covering the React component generator to ensure strictly typed, 100% valid React output.
Added
Automated CI/CD TestsThe GitHub Actions release pipeline now strictly enforces npm test before any tag or npm publish occurs.
Added
Website LinkAdded a direct link to the full documentation website in the README.md.
Fixed
Regex Edge CaseFixed a critical generator bug where width and height attributes were being globally stripped from all inner SVG tags (e.g. <rect width="24">), which was distorting certain icons. The generator now strictly targets only the outer <svg> wrapper.

v1.1.2

June 26, 2026
GitHub
Added
Infinite ScrollingImplemented a highly optimised IntersectionObserver to seamlessly lazy-load icons as you scroll, completely replacing the static 100-icon limit. The backend API now supports start and limit pagination.
Added
Sidebar Filtering EngineBuilt a dynamic sidebar filter panel. The app fetches available packs and styles from /api/filters on load, letting you narrow down searches across 200,000+ icons instantly.
Added
Premium Skeleton LoadersIntroduced shimmering skeleton states for both the icon grid and the sidebar filters, hardcoded directly into the initial DOM to prevent layout shifts during API fetches.
Added
Retina-Ready FaviconExtracted the star logo into a standalone SVG favicon with matching violet-to-cyan gradients — scales perfectly on all displays.
Changed
UI Architecture RefactoringReplaced the landing-page hero section with a native app-like layout. The search bar is now prominently centred in the header, bringing the icon grid and filters into immediate view on load.
Changed
Typography & AestheticsMigrated to the Outfit Google Font using a strict fonts-loaded pattern to completely eliminate Flash of Invisible Text (FOIT) without adding local .woff2 files to the package.
Changed
Layout Shift FixesAdded a global custom scrollbar with overflow-y: scroll to lock layout width. Implemented scrollRestoration = manual and instant top-scrolling on filter changes to prevent browser scroll snaps.

v1.1.0

June 25, 2026
GitHub
Added
Modern Color PickerIntegrated the Pickr library for a smoother, cross-browser consistent color selection experience.
Added
Recent ColorsSaved and displayed the 5 most recently used colors — persisted across sessions using localStorage.
Added
Hex Input EnhancementsThe hex input now auto-formats and expands 3-digit hex codes (e.g. #abc expands to #aabbcc).
Changed
Inherit ModeReplaced the previous currentColor button with a new Inherit switch for improved UI clarity.
Changed
Startup BehaviourThe application now loads a random icon theme on initialisation instead of a static search.
Changed
Dynamic SwatchesRefactored the color swatches section to dynamically render recent colors alongside standard presets.
Changed
Slider UIImproved the size slider with dynamic fill tracking as the value changes.

v1.0.1

June 24, 2026
GitHub
Fixed
Duplicate color attribute (TS17001)Fixed a strict TypeScript compilation error where generated SVG components rendered duplicate color attributes when parsing premium SVGs that natively hardcoded color=currentColor.
Fixed
Modal DOM null exceptionResolved a critical JavaScript DOM selector exception (Cannot set properties of null) that was completely preventing the customization modal from opening.
Fixed
Windows bin resolutionCorrected the package.json executable path to prevent bin resolution issues on Windows operating systems.

v1.0.0

June 24, 2026
GitHub
Added
Initial ReleaseFirst public release of iconcodegen.
Added
Visual Search EngineLaunched the beautiful localhost UI to search over 200,000+ open-source icons from Iconify.
Added
Provider ArchitectureImplemented a highly scalable, decoupled backend engine supporting multiple icon providers.
Added
Untitled UI Pro IntegrationEngineered the Reverse-Rendering backend to securely parse, compile, and serve premium private icon repositories locally without exposing authentication tokens.
Added
Code GeneratorAdded one-click SVG React component code generation supporting both JavaScript and strict TypeScript outputs.