Skip to content

Releases: trych/alpine-highlight

Alpine.js Highlight v1.2.2

11 Apr 14:35
Compare
Choose a tag to compare

Fixed

  • Updated esbuild to 0.25.0+ to address security vulnerability (CORS settings in development server)
  • Republished package with properly built distribution files that were missing in 1.2.1
  • Remove console warnings

Alpine.js Highlight v1.2.0 - Legacy Mode Configuration

11 Apr 12:29
Compare
Choose a tag to compare

Added

  • New configurable legacy mode option
  • Browser-specific legacy mode targeting
  • Runtime configuration through Alpine store

Alpine.js Highlight v1.1.0

11 Mar 16:17
Compare
Choose a tag to compare

Fixed

  • Numbers now correctly work as input query for x-highlight

Alpine.js Highlight v1.0.0 - Initial Release

11 Mar 13:45
Compare
Choose a tag to compare

Added

  • x-highlight directive for text highlighting with modifiers:
    • .all - Find all occurrences
    • .nocase - Case-insensitive matching
    • .min.X - Minimum match length
    • .fold - Accent folding support
  • Highlight customization via named sets (e.g., x-highlight.primary)
  • Support for multiple input types:
    • Strings, regex patterns
    • Index-based ranges
    • Arrays of terms
  • Native CSS Highlight API with automatic fallback
  • $matches magic helper to access highlight information
  • Automatic DOM content observation for dynamic updates