Skip to content

1.1.0

Choose a tag to compare

@jschwind jschwind released this 03 Oct 14:18
· 17 commits to main since this release
7e5e7b1

Release 1.1.0 – Changelog Summary

This release adds first-class support for disabled states and default values, improves search robustness, and greatly expands test coverage. Docs, examples, and build tooling were refreshed to make adoption seamless.

  • New Disabled State Support
    Initialize a select as disabled (or mirror the native disabled attribute) and prevent interaction at the custom button level.
    Improves accessibility and avoids accidental changes in read-only contexts.

  • Default Value on Init
    New defaultValue option (and data-default-value support) preselects an item during initialization, with sensible precedence.
    Reduces boilerplate and ensures the UI reflects intended defaults immediately.

  • Safer Initialization & Template Handling
    Skips empty selects, rebuilds the internal template reliably, and guards event handlers when disabled.
    Increases stability across edge cases and dynamic DOM scenarios.

  • Search Robustness & UX
    Live search normalizes whitespace, respects caseSensitive, and can keep the active item visible.
    Produces more intuitive filtering and cleaner lists for end users.

  • Public API Enhancements
    Added enable()/disable() and refined value getter/setter to reset or select reliably.
    Makes programmatic control straightforward for app logic and tests.

  • Examples & README Updates
    New examples for Disabled select and Default value; CDN snippets now reference @1.1.0.
    Shortens time-to-value with copy-pasteable demos.

  • Expanded Jest Test Suite
    Comprehensive tests now cover init paths, options, live search, selection, API methods, and disabled/default flows.
    Boosts confidence and prevents regressions.

  • Dev Container Modernization
    Dockerfile updated to PHP 8.3, adds Node 18 + Yarn for local builds.
    Smooths contributor setup and aligns with current tooling.

Compatibility: Backward compatible.


Full Changelog: 1.0.0...1.1.0