Skip to content

Releases: OneStrive/heroicon

Fix deprecation warning in PHP 8.4

Choose a tag to compare

@robertmarney robertmarney released this 15 Jul 16:39
707b0ce
fix: use explicit nullable type for $resolveCallback (#3)

Co-authored-by: Thiago <thiago.soares@strive.com>

5.1.1 - Bug when multiple instances exist on page load

Choose a tag to compare

@robertmarney robertmarney released this 16 Jan 18:35
1538c79
🐛 [Bug] - Resolve error when multiple fields exist on initial render …

5.1 - Performance: Move Icon Data Serialization to Async via API

Choose a tag to compare

@robertmarney robertmarney released this 16 Jan 16:29
4fd283d
⚡️[Performance] - Move Icon Data to Async Process (#1)

* This commit addresses the fundamental architecture flaw where all icon SVG data (10MB uncompressed, 2,063 icons) was passed with the field during
    form serialization. This caused massive payloads, duplicated work for multiple field instances, and could hit PHP memory limits.

   Changes:
   - Add API endpoint at /nova-vendor/heroicon/icons for on-demand icon loading
   - Implement window-based caching to share icons across field instances
   - Modify field to pass metadata only (iconSets) instead of full SVG content
   - Update FormField component to lazy-load icons when modal opens
   - Add loading and error states with retry functionality

   Performance impact:
   - 99.98% payload reduction on initial form load (10MB → 2KB)
   - 95%+ faster form loading
   - Single API request shared across all field instances
   - No PHP memory issues

   Backward compatibility maintained - all existing field methods work unchanged.

* Update to use POST to not interfere with catch all routers

---------

Co-authored-by: Robert Marney <robert.marney@onestrive.com>

Initial Nova V5 Fork

Choose a tag to compare

@robertmarney robertmarney released this 16 Jan 16:26

Updates To Nova 5 - Fixes performance issues with eager loading entire icon set on detail and index view. Fixes security vulnerabilities.