Releases: AdrianVillamayor/Wizard-JS
v2.0.3
Changelog
[2.0.3] - 2024-10-15
Overview
Wizard-JS
has been upgraded to version 2, introducing enhanced flexibility and better development practices.
What's New
- Support for CommonJS and ESM: You can now use
Wizard-JS
with both module systems, providing greater compatibility across different environments. - NPM Library Installation:
Wizard-JS
can now be installed directly as an npm library, making integration into your projects smoother.
Improvements
- Babel.js Integration: Added Babel.js to ensure compatibility with older JavaScript versions, making
Wizard-JS
more accessible across different environments. - Code Quality Enhancements: Integrated esLint to enforce coding standards and improve overall code maintainability.
- The data-title attribute is now updated to data-ws-title to prevent conflicts with other libraries or frameworks.
Bug Fixes
- #12 - Add Event Bubbling:
Wizard-JS
events now default tobubbles: true
, allowing for event bubbling by default. This behavior can be customized via configuration settings.
- #14 - Validation Select Tag Not Working:
- Updated the compression system and implemented additional security layers using esLint and Webpack, ensuring safer builds.
- #11 - Conditional Required Fields:
- Introduced the ability to make generated elements conditionally required, allowing for more dynamic form validation.
Notes
- This release emphasizes improved compatibility, enhanced security, and refined development workflows, making
Wizard-JS
more powerful and easier to use. - Now [data-title] is [data-ws-title]
Full Changelog: v1.9.9...v2.0.3
1.9.9
-
4 new params related to highlights have been added
- highlight. => Allows you to show or hide the highlight
- wz_highlight => Class for highlights
- highlight_type => Display time for highlight
- highlight_time => Allows to identify the different highlight effects and to define a class for them
-
Clean up documentation.
-
Add control for visual steps.
Full Changelog: v1.9.8...v1.9.9
1.9.8
- Hot fix, for steps in a form that do not contain inputs
Full Changelog: v1.9.6...v1.9.8
1.9.6
Added update() method to load or delete wizard steps without having to delete and recreate the wizard. (#8)
Events have been updated to make them clearer and easier to manage.
Removed layers of complexity in the code for better performance.
The param nav has been added to allow the header navigation to be completely hidden.
A couple of new bugs have been added.
Code has been refactored.
Full Changelog: v1.9.3...v1.9.6
1.9.3
-
Error correction with the priorities
-
A CustomEvent has been added to identify when the wizard is fully generated and loaded. (#6 ).
- readyWizard
- The variable system of the code has been updated, and all variables declared with var
- A control has been added so that the invocation of the same wizard cannot be repeated.
- The URL and email validation system has been changed to avoid ReDOS.
- A small bug has been fixed in which when changing backward step in a form with validation, an error occurred if this was not completed.
Full Changelog: v1.9.1...v1.9.3
1.9.1
-
Resolve issue #3
-
Now the event management is handled by the same wizard, instead of documents. Allowing better control with multiple and single wizards.
-
New event errorFormValidatorWizard .
-
Code documentation has been added.
-
Events have been added for navbar navigation (#5).
- forwardNavWizard
- backwardNavWizard
-
Issue #4 has been fixed, now if you add the option buttons:false or navigation: "nav", all buttons will be hidden, including Submit/Finish.
-
Visual bugs have been corrected
-
Before:
If you add the buttons:false or navigation: "nav" option, all buttons, including Send/Finish, will be hidden.
-
Now
If you add the option buttons:false all buttons will be hidden, including Send/Finish.
The navigation: "nav" option will continue to have the Send/Finish button unless buttons:false is used.
Full Changelog: v1.7.6...v1.9.1
1.7.6
Full Changelog: v1.7.5...v1.7.6
1.7.5
Full Changelog: v1.7.4...v1.7.5
1.7.4
Full Changelog: v1.7.3...v1.7.4
1.7.1
Fix min files