# 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:

## [v9.0.1](https://github.com/purescript/purescript-numbers/releases/tag/v9.0.1) - 2023-02-13

Other improvements:
- Add LICENSE file (#26 by @mhmdanas)

## [v9.0.0](https://github.com/purescript/purescript-numbers/releases/tag/v9.0.0) - 2022-04-27

Breaking changes:
- Add support for PureScript 0.15 (#22 by @JordanMartinez)

New features:
- Ported various functions & constants from `purescript-math` (#18 by @JamieBallingall)

  Specifically...
  - `abs`, `sign`
  - `max`, `min` (which work differently than `Number`'s `Ord` instance)
  - `ceil`, `floor`, `trunc`, `remainder`/`%`, `round`
  - `log`
  - `exp`, `pow`, `sqrt`
  - `acos`, `asin`, `atan`, `atan2`, `cos`, `sin`, `tan`
  - Numeric constants: `e`, `ln2`, `ln10`, `log10e`, `log2e`, `pi`, `sqrt1_2`,
  `sqrt2`, and `tau`

Bugfixes:

Other improvements:
- Removed dependency on `purescript-math`

## [v8.0.0](https://github.com/purescript/purescript-numbers/releases/tag/v7.0.0) - 2021-02-26

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

New features:
- Ported `Number`-related code from deprecated `purescript-globals` into this repo (#12)

Other improvements:
- Replaced unicode symbols with ascii characters (#11)
- Migrated tests to use `assert` instead of `test-unit` (#10)
- Migrated CI to GitHub Actions and updated installation instructions to use Spago (#13)
- Added a changelog and pull request template (#14)

## [v7.0.0](https://github.com/purescript/purescript-numbers/releases/tag/v7.0.0) - 2019-07-07

- Updated for PureScript 0.13 (@sharkdp)

## [v6.0.0](https://github.com/purescript/purescript-numbers/releases/tag/v6.0.0) - 2018-05-27

- Updated for PureScript 0.12 (@justinwoo)

## [v5.0.0](https://github.com/purescript/purescript-numbers/releases/tag/v5.0.0) - 2017-04-30

- Added functions for formatting numbers
- Refactored

## [v4.1.0](https://github.com/purescript/purescript-numbers/releases/tag/v4.1.0) - 2017-04-16

- Added `fromString`, a safe version of `parseFloat` (@i-am-tom)
- Added `nan`, `isNaN`, `infinity` and `isFinite` from `purescript-globals`.

## [v4.0.0](https://github.com/purescript/purescript-numbers/releases/tag/v4.0.0) - 2017-04-15

- Updated for PureScript 0.11

## [v3.0.0](https://github.com/purescript/purescript-numbers/releases/tag/v3.0.0) - 2016-10-29

- Updated for PureScript 0.10

## [v2.0.0](https://github.com/purescript/purescript-numbers/releases/tag/v2.0.0) - 2016-08-26

- Updated documentation

## [v1.0.0](https://github.com/purescript/purescript-numbers/releases/tag/v1.0.0) - 2016-08-23

- Initial versioned release
