Releases: trivule/trivule
Releases · trivule/trivule
1.3.0
v1.2.1
- fix import of declaration files
Full Changelog: v1.2.0...v1.2.1
v1.2.0
v1.2.0 (2024-05-26)
Enhancements
- Advanced Rule Management: Added a
$rules
property to theTrivuleInput
instance, allowing for advanced operations such as adding, removing, or modifying validation rules on-the-fly. This provides greater flexibility in managing form validation dynamically. - Dynamic Rule Definition: Introduced support for dynamic rules via callback functions in the
InputRule
, enabling more complex and context-aware validation logic. - Conditional Validation Improvements: Enhanced conditional validation mechanisms, making it easier to implement and manage complex validation scenarios based on various conditions.
- Performance Optimization: Continued improvements to the performance of the validation system, ensuring faster validation checks and reduced overhead.
Features
- Dynamic Rule Callbacks: Implemented dynamic rule callbacks that allow validation logic to be defined and executed based on runtime conditions, providing more powerful and flexible validation capabilities.
v1.1.0
v1.1.0 (2024-05-17)
Enhancements
- Performance Improvement: Enhanced the overall performance of the validation system.
- Optional Initialization: Made the
init
method optional for bothTrivuleInput
andTrivuleForm
.
Features
- Real-Time Validation: Added the
realTime
key to the configuration, allowing developers to enable or disable real-time validation. - Imperative Validation: Introduced imperative validation for more dynamic interaction with forms, including the ability to add, remove, and modify validation rules during program execution.
- Global Feedback Elements: Added the capability to define global feedback elements on the form for its fields.
- Enhanced Event Handling: Updated methods
onFails
,onPasses
, andonUpdate
forTrivuleInput
andTrivuleForm
to improve event handling and customization.
Full Changelog: v1.0.1...v1.1.0
v1.0.1
Version 1.0.0
This release marks the inception of Trivule, introducing a robust solution for simplifying form validation on web pages. With its intuitive design and seamless integration, Trivule empowers developers to effortlessly implement dynamic validation, enhancing user experience across web applications.