Skip to content

Releases: zluvo/forms

v0.3.1

05 Jan 14:50
2e934a9
Compare
Choose a tag to compare

Patch Changes

  • d559582: Remove test.js from codebase

v0.3.0

05 Jan 14:44
e9eb4b6
Compare
Choose a tag to compare

Minor Changes

  • c7b2665:
    • Deprecate .handleSubmission() API
    • Create a better .create() method
    • Create a .validate() method returned via .create() to both
      validate and return data with type inference.
    • Create field into a const object
    • Create a plugins API, returned via .create()

v0.2.2

01 Jan 19:03
9cd7bd0
Compare
Choose a tag to compare

Patch Changes

  • ba2f073: Add name attribute to each field in Form.fields

v0.2.1

01 Jan 17:46
7bda425
Compare
Choose a tag to compare

Patch Changes

v0.2.0

01 Jan 17:41
794ab21
Compare
Choose a tag to compare

Minor Changes

  • 4657de7: Added a .npmignore so only the necessary files are pushed to npm
  • 307cc53:
    • Using zod for validation.
    • Added a form.handleSubmission() method to handle backend logic. Called within process()
    • Renamed consume() to process()
    • Created process() such that it runs in parallel
    • Created a form.create() method to create a form without having to create a class instance