Skip to content

Releases: greena13/jason-form

Release list

v1.0.0

Choose a tag to compare

@greena13 greena13 released this 14 Feb 08:25

Breaking changes

  • The API has changed so that FormData.from is now formData and returns a FormData instance instead of an array of tuples.

So:

const result = jasonForm.FormData.from(input);

const formData = new FormData();

result.forEach(function(keyAndValue) {
  formData.append(keyAndValue[0], keyAndValue[1]);
})

Becomes:

const formData = jasonForm.formData(input)

v0.1.0

Choose a tag to compare

@greena13 greena13 released this 14 Feb 07:20

License Change

  • Change from MIT license to ISC

Documentation

  • Add TypeScript definitions and JSDoc comments
  • Improved documentation

Improvements

  • Switched to rollup for building release bundle