Skip to content

Releases: nibin-org/iconcodegen

v2.0.1

Choose a tag to compare

@github-actions github-actions released this 21 Jul 07:06

Changed

  • Refactored README.md design for better aesthetics on the npm registry and added an animated demo GIF.

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 21 Jul 06:12

Added

  • Package Rename: icon-vista has been officially renamed to iconcodegen for better discoverability. This is the first release under the new npm namespace.

v1.2.1

Choose a tag to compare

@github-actions github-actions released this 21 Jul 05:18

Added

  • CI Status: Added GitHub Actions CI badge to the README.
  • Security: Added origin verification middleware to prevent CSRF on write endpoints (/api/download and /api/generate-snippet).

Changed

  • API Errors: Standardized API error responses to return proper JSON objects ({"error": "..."}) and appropriate HTTP status codes (400, 404, 500) across all endpoints.

Fixed

  • Security: Fixed a security vulnerability by binding the local Express server explicitly to 127.0.0.1 instead of all network interfaces (0.0.0.0).
  • Error Handling: Fixed missing icon_id validation in the /api/svg endpoint, preventing bare string 500 errors.

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 26 Jun 08:55

Added

  • SVGR AST Parsing: Completely rewrote the React component generator to use @svgr/core instead of fragile regex string manipulation, guaranteeing 100% syntactically correct JSX AST generation.
  • CLI Arguments: Added --headless mode for CI/CD usage and --port <port> (or -p) for custom port binding to avoid collisions.
  • Preference Persistence: UI selections for Language (TS/JS) and Export Style (Arrow/Function) are now automatically persisted across sessions using localStorage.

Changed

  • Frontend Architecture: Refactored the monolithic 2,300-line index.html file by extracting logic into app.js and styles into styles.css for dramatically improved maintainability.

v1.1.5

Choose a tag to compare

@github-actions github-actions released this 26 Jun 07:13
feat: release 1.1.5 with rewritten readme, updated video, and NPM com…

v1.1.4

Choose a tag to compare

@github-actions github-actions released this 26 Jun 06:59
feat: release 1.1.4 with marketing demo and docs integration

v1.1.3

Choose a tag to compare

@github-actions github-actions released this 26 Jun 05:53

Added

  • Unit Testing Suite: Implemented a comprehensive Vitest testing suite covering the React component generator to ensure strictly typed, 100% valid React output.
  • Automated CI/CD Tests: The GitHub Actions release pipeline now strictly enforces npm test before any tag or npm publish occurs.
  • Website Link: Added a direct link to the full documentation website in the README.md.

Fixed

  • Regex Edge Case: Fixed 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 — Infinite Scroll, Sidebar Filters & UI Overhaul

Choose a tag to compare

@nibin-org nibin-org released this 26 Jun 05:42

Added

  • Infinite Scrolling: IntersectionObserver-based lazy loading replaces the static 100-icon limit. Backend API now supports start/limit pagination.
  • Sidebar Filtering Engine: Dynamic sidebar fetches packs and styles from /api/filters on load.
  • Premium Skeleton Loaders: Shimmering skeletons for both grid and sidebar, hardcoded into initial DOM to prevent layout shifts.
  • Retina-Ready Favicon: Standalone favicon.svg with matching violet-to-cyan gradient.

Changed

  • UI Architecture: Search bar is now centered in the header — native app-like layout.
  • Typography: Migrated to Outfit Google Font with fonts-loaded pattern to eliminate FOIT.
  • Layout Shift Fixes: Global custom scrollbar, scrollRestoration = manual, instant top-scroll on filter changes.

v1.1.0 — Color Picker & UX Polish

Choose a tag to compare

@nibin-org nibin-org released this 26 Jun 05:42

Added

  • Modern Color Picker: Integrated the Pickr library for a smoother, cross-browser consistent color selection experience.
  • Recent Colors: Saves and displays the 5 most recently used colors, persisted via localStorage.
  • Hex Input Enhancements: Auto-formats and expands 3-digit hex codes (e.g. #abc#aabbcc).

Changed

  • Inherit Mode: Replaced the previous currentColor button with a new Inherit switch.
  • Startup Behavior: App now loads a random icon theme on init instead of a static search.
  • Dynamic Swatches: Refactored swatches to dynamically render recent colors alongside presets.
  • Slider UI: Improved size slider with dynamic fill tracking.

v1.0.1 — Bug Fixes

Choose a tag to compare

@nibin-org nibin-org released this 26 Jun 05:42

Fixed

  • Fixed a strict TypeScript compilation error (TS17001) where generated SVG components rendered duplicate color attributes.
  • Resolved a critical JavaScript DOM selector exception (Cannot set properties of null) preventing the customization modal from opening.
  • Corrected the package.json executable path to prevent bin resolution issues on Windows.