Skip to content

Releases: formspree/statickit-react

v2.1.1

30 Mar 03:10
Compare
Choose a tag to compare

v2.1.0...v2.1.1

Version 2.1.0

25 Feb 18:29
Compare
Choose a tag to compare

v2.0.1...v2.1.0

Version 2.0.1

10 Jan 21:33
Compare
Choose a tag to compare

Bug fix: add indexer to ValidationError props type

This will allow any additional props to pass-through without TypeScript having an issue with it.

v2.0.0...v2.0.1

Version 2.0.0

10 Jan 20:41
Compare
Choose a tag to compare
  • Migrate to TypeScript
  • Add StaticKitProvider and useStaticKit hook for consuming context
  • Breaking change: New argument structure for the useForm hook:
const [state, handleSubmit] = useForm(formKey, opts);

You can optionally pass a StaticKit client instance in opts, or place the StaticKitProvider higher up in the tree and let the hook use that client instance.

v1.2.0...v2.0.0

Version 1.2.0

21 Oct 19:56
Compare
Choose a tag to compare
  • Update core to fix body serialization bug.
  • Pass along clientName with form submission.

v1.1.2...v1.2.0

Version 1.1.2

21 Oct 18:10
Compare
Choose a tag to compare

An undeclared variable was referenced when data values were functions.

v1.1.1...v1.1.2

Version 1.1.1

21 Oct 18:05
Compare
Choose a tag to compare
  • Accept data property for adding programmatic fields to the form payload.

v1.1.0...v1.1.1

Version 1.1.0

21 Oct 15:48
Compare
Choose a tag to compare
  • Accept site + form combo (in lieu of id) for identifying forms.

v1.0.1...v1.1.0

Version 1.0.1

12 Oct 04:29
Compare
Choose a tag to compare
  • Bundle iife for testing in browser fa5f330

v1.0.0...v1.0.1

Version 1.0.0

11 Oct 21:05
Compare
Choose a tag to compare
v1.0.0

1.0.0