Releases: wobsoriano/h3-formidable
Releases · wobsoriano/h3-formidable
Release list
v1.0.0
🚨 Breaking Changes
- Return form, fields, and files by default and remove the
includeFieldsoption - by @wobsoriano (d9b2a)
🚀 Features
- Add form to readFiles result - by @wobsoriano (152de)
- Use parse promisified version - by @wobsoriano (ed53a)
View changes on GitHub
v0.3.8
v0.3.7
🐞 Bug Fixes
- Alignment type definition for formidable - by @baboon-king (cf63b)
View changes on GitHub
v0.3.5
🚀 Features
- Add formidable plugins support - by @wobsoriano (13f34)
- Allow access to form via cb - by @wobsoriano (54378)
Plugin example
import { createFileParserMiddleware } from 'h3-formidable'
export default createFileParserMiddleware({
getForm((form) => {
form.use((self, options) => {
// self === this === form
console.log('woohoo, custom plugin');
// do your stuff; check `https://github.com/node-formidable/formidable/tree/master/src/plugins` for inspiration
})
})
})View changes on GitHub
v0.3.4
🐞 Bug Fixes
- Type err as skip open allowSyntheticDefaultImports - by @baboon-king (3823f)
View changes on GitHub
v0.3.3
🐞 Bug Fixes
- Type err as skip open allowSyntheticDefaultImports - by @baboon-king (3823f)
View changes on GitHub
v0.3.0
v0.2.2
v0.2.1
No significant changes
View changes on GitHub
v0.2.0
No significant changes