# Changelog

Notable changes to this project are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

Breaking changes:

New features:

Bugfixes:

Other improvements:

## [v4.0.0](https://github.com/purescript-web/purescript-web-file/releases/tag/v4.0.0) - 2022-04-27

Breaking changes:
- Migrate FFI to ES modules (#19 by @JordanMartinez)

New features:

Bugfixes:

Other improvements:
- Update `Math` import to use `Data.Number` (#20 by @JordanMartinez)

## [v3.0.0](https://github.com/purescript-web/purescript-web-file/releases/tag/v3.0.0) - 2021-02-26

Breaking changes:
- Added support for PureScript 0.14 and dropped support for all previous versions (#14)

New features:

Bugfixes:

Other improvements:
- Migrated CI to GitHub Actions and updated installation instructions to use Spago (#12)
- Added a CHANGELOG.md file and pull request template (#15, #16)

## [v2.3.0](https://github.com/purescript-web/purescript-web-file/releases/tag/v2.3.0) - 2019-12-07

- Added `lastModified` for `File` (@BebeSparkelSparkel)

## [v2.2.0](https://github.com/purescript-web/purescript-web-file/releases/tag/v2.2.0) - 2019-09-12

- Added `items` for unfolding a `FileList` (@BebeSparkelSparkel)

## [v2.1.2](https://github.com/purescript-web/purescript-web-file/releases/tag/v2.1.2) - 2019-08-18

- Raised upper bound for `purescript-web-dom`

## [v2.1.1](https://github.com/purescript-web/purescript-web-file/releases/tag/v2.1.1) - 2019-06-02

- Updated dependency ranges for compatibility with latest `purescript-web-dom`

## [v2.1.0](https://github.com/purescript-web/purescript-web-file/releases/tag/v2.1.0) - 2019-05-06

- Add missing `error` export for `FileReader` (@liff)

## [v2.0.0](https://github.com/purescript-web/purescript-web-file/releases/tag/v2.0.0) - 2019-02-23

- Bumped `-web-events` dependency, `Event.defaultPrevented` is now effectful.

## [v1.2.0](https://github.com/purescript-web/purescript-web-file/releases/tag/v1.2.0) - 2019-01-29

- Added some constructors for `Blob` (@kRITZCREEK)

## [v1.1.0](https://github.com/purescript-web/purescript-web-file/releases/tag/v1.1.0) - 2018-11-26

- Added `createObjectURL` / `revokeObjectURL` functions (@btrepp)

## [v1.0.0](https://github.com/purescript-web/purescript-web-file/releases/tag/v1.0.0) - 2018-05-25

- Initial release
