Releases: avalynx/avalynx-modal
Release list
1.0.3
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)
AddedREADME.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 guardedmodule.exportsblock (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 viapackage-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
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
distassets, 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
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 foroptionsandlanguageare now sanitized.
Prevents runtime errors and makes constructing modals more forgiving. -
Reliable HTML Rendering Flags
setTitle/setBodynow honor theisHtmlparameter (not only the options flags).
Ensures your explicit per-call choice (text vs. HTML) is respected. -
Improved Loading Overlay Logic
fetchDataonly toggles the overlay if it exists; custom loaders are supported.
Avoids errors and provides a smoother UX when fetching remote content. -
Lifecycle Callback Consistency
onModalClosedis invoked reliably in both safe and non-safe instances.
Makes cleanup and follow-up actions more predictable. -
CommonJS Compatibility
Added conditionalmodule.exportsand 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.1jsDelivr 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
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
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 dedicatedbuildscript andbuild.jsto automate asset generation for JS and CSS.
Simplifies developer workflow and ensures consistent distribution builds. -
Composer Asset Management
Introduced a newcomposer.jsonfor 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
Bumpedwsfrom 8.17.0 to 8.17.1 (via Dependabot).
Includes minor upstream fixes and security updates. -
Repository Cleanup
Removed obsoletepackage-lock.jsonfrom 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
Full Changelog: https://github.com/avalynx/avalynx-modal/commits/0.0.1