Skip to content

Releases: Thavarshan/formlink

v1.2.4

15 Nov 07:03
Compare
Choose a tag to compare

Added

  • Option to install as Vue plugin

Fixed

  • Laravel validation errors set without input name as key in errors object (#59)

v1.2.0

19 Oct 01:43
Compare
Choose a tag to compare

Added

  • Form Validation: Introduced a new form validation feature that validates form data based on provided rules before submission, ensuring correct data is sent.- File Upload Progress Tracking: Added support for tracking the progress of file uploads during form submission.
  • Debounced Form Submission: Added support for debounced form submissions, reducing redundant network requests by delaying execution for a specified time.

Changed

  • Improved Error Handling: The error handling mechanism has been improved to integrate more effectively with Laravel's backend for validation errors.
  • Dependency Updates: Project dependencies have been updated to ensure compatibility and performance improvements.

Fixed

  • Form Error Handling: Fixed issues where form errors were not being correctly cleared or reset upon new submissions.

v1.0.11

18 Oct 16:19
Compare
Choose a tag to compare

Added

  • Complete code refactor and restructure
  • Added support for file upload progress tracking.
  • Added handling of Laravel validation error responses within the form.

Changed

  • Updated API to support all common HTTP methods (GET, POST, PUT, PATCH, DELETE).
  • Improved error handling and validation mechanisms to integrate seamlessly with Laravel.
  • Updted dependencies

Fixed

  • Fixed CSRF token management for automatic inclusion in form requests.
  • Fixed issues where form errors were not being properly cleared or reset upon new submissions.

v0.0.11

17 Oct 11:04
Compare
Choose a tag to compare

Added

  • Add getInitial method to Form

Changed

  • Update dependencies
  • Update docblocks to option types and update package.json
  • Update proxy instance to use lodash when checking for reserved field names

Fixed

  • Fix props being set directly on form client
  • Fix all props being set inside data and initial data props of form client

v0.0.10

11 Oct 22:08
Compare
Choose a tag to compare

Changed

  • Update import statements to use proper relative paths
  • Export response types and error types from index.ts

v0.0.9

11 Oct 03:04
Compare
Choose a tag to compare

Added

  • Add extractError private method to Form
  • Add getFirstInputFieldName private method to Form
  • Add exception enum
  • Add initialise private method to Form

Changed

  • Update type hints on Form class
  • Update http initialise method call priority
  • Update README.md with CI badges
  • Update error handler to extract error from response

Fixed

  • Fix typo on ErrorResponse interface name

v0.0.5

09 Oct 00:06
Compare
Choose a tag to compare

Added

  • Add getIsDirty method to Form
  • Add setIsDirty method to Form
  • Add isDirty property to Form

Changed

  • Update initials data setting mechanism
  • Update allErrors method to errors
  • Integrate Axios types into Formlink types

v0.0.6

09 Oct 00:03
Compare
Choose a tag to compare

Changed

  • Update set data method and error handler
  • Update README.md with more information about how to use with Vue 3 Composition API

v0.0.4

08 Oct 22:31
Compare
Choose a tag to compare

Changed

  • Create proxy instance when Form is instantiated.
  • Minor method refactors

v0.0.3

08 Oct 15:17
Compare
Choose a tag to compare

Changed

  • Update package.json with more information about the project.
  • Update package.json with proper export details.