Skip to content

Releases: avalynx/avalynx-modal

1.0.3

Choose a tag to compare

@jschwind jschwind released this 25 Feb 10:00
166588f

Release 1.0.3 – Changelog Summary

Version 1.0.3 focuses on project hardening and developer experience: it introduces CI testing with full coverage enforcement, expands documentation (including a German README), and improves example workflows. Additional edge-case tests and packaging refinements further increase reliability for real-world integrations.

  • CI Workflow with Coverage Upload
    Added a GitHub Actions pipeline that runs tests on Node.js 20 and uploads coverage to Codecov.
    Ensures continuous validation and greater confidence in every release.

  • Expanded Test Coverage & Edge-Case Handling
    Introduced new tests for scenarios like templates without fullscreen or close buttons and multiple modal instances.
    Improves robustness and prevents regressions in uncommon but valid usage patterns.

  • Coverage Collection & Strict Thresholds
    Enabled Jest coverage reporting with 100% global thresholds and refined environment configuration.
    Encourages high-quality contributions and maintains a stable, well-tested codebase.

  • Documentation Enhancements (EN & DE)
    Added README.de.md, updated badges, installation instructions, and examples for version 1.0.3.
    Makes onboarding easier and provides clearer guidance for international users.

  • Local Source Usage in Examples
    Updated example files to reference local CSS/JS instead of CDN assets.
    Simplifies development and testing directly against the repository source.

  • CommonJS Export Guard
    Added a guarded module.exports block (excluded from coverage with Istanbul ignore).
    Improves compatibility with environments that rely on CommonJS module loading.

  • Dependency & Tooling Updates
    Refreshed Babel, Jest, and related dev dependencies and finalized dependency configuration via package-lock.json.
    Keeps the build and test stack modern and reproducible across environments.

  • Version & Metadata Alignment
    Bumped all version references to 1.0.3 across source files, dist assets, README, and examples.
    Ensures consistent versioning for consumers, CDNs, and package managers.

Compatibility: Backward compatible


Full Changelog: 1.0.2...1.0.3

1.0.2

Choose a tag to compare

@jschwind jschwind released this 10 Feb 18:46
39d85ea

Release 1.0.2 – Changelog Summary

This release focuses on improving asset distribution by ensuring CSS files are properly included in both production and development setups. It helps consumers of the package reliably load styles without additional manual steps.

  • CSS Included in Distribution

    The compiled modal CSS is now part of the published dist assets, ensuring styles are available when installing the package.

  • Improved Development Asset Coverage

    Source CSS files are now explicitly listed in development assets, making local development and customization more predictable.

Compatibility: Backward compatible


Full Changelog: 1.0.1...1.0.2

1.0.1

Choose a tag to compare

@jschwind jschwind released this 10 Oct 12:08
e4945ce

Release 1.0.1 – Changelog Summary

This patch focuses on safer defaults, sturdier runtime behavior, and broader ecosystem compatibility. It tightens null-handling, fixes HTML rendering flags, improves async loading UX, and adds comprehensive tests.

  • Safer Option & Language Handling
    Null and non-object inputs for options and language are now sanitized.
    Prevents runtime errors and makes constructing modals more forgiving.

  • Reliable HTML Rendering Flags
    setTitle/setBody now honor the isHtml parameter (not only the options flags).
    Ensures your explicit per-call choice (text vs. HTML) is respected.

  • Improved Loading Overlay Logic
    fetchData only toggles the overlay if it exists; custom loaders are supported.
    Avoids errors and provides a smoother UX when fetching remote content.

  • Lifecycle Callback Consistency
    onModalClosed is invoked reliably in both safe and non-safe instances.
    Makes cleanup and follow-up actions more predictable.

  • CommonJS Compatibility
    Added conditional module.exports and tweaked the build pipeline for CJS.
    Enables seamless use in Jest and Node/CommonJS environments.

  • Expanded Jest Test Suite
    A comprehensive set of tests now covers construction, fullscreen toggle, AJAX, buttons, and edge cases.
    Boosts confidence and stability across typical usage patterns.

  • CDN & Docs Refresh
    README and examples updated to @1.0.1 jsDelivr URLs.
    Reduces copy-paste friction and ensures users pull the right assets.

  • Docker Environment Modernization
    Base image updated to PHP 8.3; adds Node 18, Yarn, and common tooling.
    Improves local/dev workflows and aligns with current runtimes.

Compatibility: Backward compatible


Full Changelog: 1.0.0...1.0.1

1.0.0

Choose a tag to compare

@jschwind jschwind released this 05 Jun 20:28
08bb8a1

Release 1.0.0 – Changelog Summary

This release marks AvalynxModal’s first stable version, focusing on improved integration options, updated CDN references, and cleaner documentation. It ensures easier installation across environments, particularly with Symfony and jsDelivr.

  • Version 1.0.0 Upgrade
    All source and distribution files now reflect version 1.0.0, establishing a stable foundation for production use.

  • Updated CDN References
    Examples and documentation now point to the jsDelivr CDN for version 1.0.0, ensuring users always load the latest stable assets.

  • Symfony AssetComposer Support
    Added explicit instructions for installing AvalynxModal via Symfony AssetComposer, expanding compatibility for Symfony-based projects.

  • Improved Documentation
    The README and examples were enhanced for clarity and accuracy, providing more reliable setup guidance.

  • Removed Outdated Changelog
    Legacy changelog information was removed to streamline the repository and reduce redundancy.

Compatibility: Backward compatible


Full Changelog: 0.0.2...1.0.0

0.0.2

Choose a tag to compare

@jschwind jschwind released this 07 Mar 23:08
0c0a6ce

Release 0.0.2 – Changelog Summary

This release focuses on build process improvements, code cleanup, and asset management enhancements. It refines the CSS structure, simplifies testing, and introduces a more streamlined way to manage package assets for smoother integration and deployment.

  • Improved Build Process
    Added a dedicated build script and build.js to automate asset generation for JS and CSS.
    Simplifies developer workflow and ensures consistent distribution builds.

  • Composer Asset Management
    Introduced a new composer.json for Avalynx Modal.
    Enables better handling of distributed and development JS assets for PHP projects.

  • CSS Fullscreen Fix
    Corrected fullscreen CSS selector in both source and distribution files.
    Ensures fullscreen button visuals work properly within modal dialogs.

  • Example File Corrections
    Fixed modal close button references in example HTML files.
    Prevents unintended modal behavior when testing multiple modal instances.

  • Test Suite Adjustments
    Temporarily disabled certain fullscreen and removal tests.
    Improves testing stability while keeping core validation intact.

  • Dependency Update
    Bumped ws from 8.17.0 to 8.17.1 (via Dependabot).
    Includes minor upstream fixes and security updates.

  • Repository Cleanup
    Removed obsolete package-lock.json from vendor package and updated .gitignore.
    Keeps the repository cleaner and avoids stale dependency locks.

Compatibility: Backward compatible


Full Changelog: 0.0.1...0.0.2

0.0.1

Choose a tag to compare

@jschwind jschwind released this 03 Jun 20:13
eccde09