Skip to content

Releases: trivule/trivule

1.3.0

27 May 01:31
Compare
Choose a tag to compare

1.3.0 (2024-05-27)

  • Fix: #36 Allow Form Initialization without Immediate HTML Element Binding
  • Fix: #38 Introduction of Lifecycle Hooks for Validation
  • Improved compatibility with frameworks
  • Enhanced performance

Full Changelog: v1.2.1...1.3.0

v1.2.1

26 May 17:01
Compare
Choose a tag to compare
  • fix import of declaration files

Full Changelog: v1.2.0...v1.2.1

v1.2.0

26 May 03:48
Compare
Choose a tag to compare

v1.2.0 (2024-05-26)

Enhancements
  • Advanced Rule Management: Added a $rules property to the TrivuleInput 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

17 May 10:17
Compare
Choose a tag to compare

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 both TrivuleInput and TrivuleForm.
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, and onUpdate for TrivuleInput and TrivuleForm to improve event handling and customization.

Full Changelog: v1.0.1...v1.1.0

v1.0.1

03 May 21:53
9b20ec7
Compare
Choose a tag to compare
  • Fix #19 (mimes rule)
  • Fix file input rule and make them accept multiple files

Version 1.0.0

27 Apr 23:29
Compare
Choose a tag to compare

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.