Releases: formspree/statickit-react
Releases · formspree/statickit-react
v2.1.1
- Update changelog b1c5929
- Merge branch 'master' of https://github.com/unstacked/statickit-react 51e9d3c
- Security updates 60e5496
- Centralize documentation 30c241b
Version 2.1.0
- Update core library 47b45df
Version 2.0.1
Bug fix: add indexer to ValidationError props type
This will allow any additional props to pass-through without TypeScript having an issue with it.
Version 2.0.0
- Migrate to TypeScript
- Add
StaticKitProvider
anduseStaticKit
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.
Version 1.2.0
- Update core to fix body serialization bug.
- Pass along
clientName
with form submission.
Version 1.1.2
An undeclared variable was referenced when data
values were functions.
- Bug fix 2027b4d
Version 1.1.1
- Accept
data
property for adding programmatic fields to the form payload.
Version 1.1.0
- Accept
site
+form
combo (in lieu ofid
) for identifying forms.
Version 1.0.1
- Bundle iife for testing in browser fa5f330
Version 1.0.0
v1.0.0 1.0.0