# Changelog

## [3.6.0] - 2024-07-19

- Improve handling of forms targeting urls with `#hash`
- Add test coverage

## [3.5.1] - 2024-03-25

- Fix bug where forms sometimes unexpectedly opened in a new tab

## [3.5.0] - 2024-03-21

- New option `stripEmptyParams`

## [3.4.2] - 2023-09-19

- Fix issue where consecutive submissions would be handled by the browser

## [3.4.1] - 2023-09-19

- Use `@swup/cli` for bundling

## [3.4.0] - 2023-09-18

- Focus inline forms after page transition

## [3.3.0] - 2023-08-19

- Allow overrides from [submitter element](https://developer.mozilla.org/en-US/docs/Glossary/Submit_button#overriding_the_forms_behavior)

## [3.2.0] - 2023-08-10

- Add support for [inline forms](https://swup.js.org/plugins/forms-plugin/#inline-forms)

## [3.1.1] - 2023-08-09

- Fix toplevel `"types"` export

## [3.1.0] - 2023-07-29

- Port to TypeScript

## [3.0.0] - 2023-07-26

- Support multipart encoding
- Update for swup 4 compatibility

## [2.0.0] - 2023-03-10

- Switch to microbundle
- Export native ESM module

## [1.2.0] - 2022-09-22

- Allow submitting forms to a new tab by holding ctrl/cmd key
- Correctly fire event when form was submitted to a new tab
- Serialize forms using URLSearchParams
- Support textareas being serialized
- Fix issue where GET params would be appended instead of overwritten

## [1.1.0] - 2020-12-26

- Support custom transition attribute

## [1.0.0] - 2019-05-26

- Initial release

[3.5.1]: https://github.com/swup/forms-plugin/releases/tag/3.5.1
[3.5.0]: https://github.com/swup/forms-plugin/releases/tag/3.5.0
[3.4.2]: https://github.com/swup/forms-plugin/releases/tag/3.4.2
[3.4.1]: https://github.com/swup/forms-plugin/releases/tag/3.4.1
[3.4.0]: https://github.com/swup/forms-plugin/releases/tag/3.4.0
[3.3.0]: https://github.com/swup/forms-plugin/releases/tag/3.3.0
[3.2.0]: https://github.com/swup/forms-plugin/releases/tag/3.2.0
[3.1.1]: https://github.com/swup/forms-plugin/releases/tag/3.1.1
[3.1.0]: https://github.com/swup/forms-plugin/releases/tag/3.1.0
[3.0.0]: https://github.com/swup/forms-plugin/releases/tag/3.0.0
[2.0.0]: https://github.com/swup/forms-plugin/releases/tag/2.0.0
[1.2.0]: https://github.com/swup/forms-plugin/releases/tag/1.2.0
[1.1.0]: https://github.com/swup/forms-plugin/releases/tag/1.1.0
[1.0.0]: https://github.com/swup/forms-plugin/releases/tag/1.0.0
