# Changelog

## [Unreleased][]

## [5.0.2][] - 2026-02-14

### Fixed

- Apply additional type guards for dual Sass modules

## [5.0.1][] - 2026-02-14

### Fixed

- Improve types for resolving installed Sass module

## [5.0.0][] - 2026-02-10

### Changed

- **Breaking**: This module is now ESM only and requires Node >=18
- Update color API usage ([#10](https://github.com/niksy/node-sass-json-functions/issues/10))

### Added

- **Breaking**: Support for passing Sass implementation (`sass` or `sass-embedded`)

## [4.1.0][] - 2023-09-20

### Changed

- Parse calc values to true values instead of null
  ([#7](https://github.com/niksy/node-sass-json-functions/issues/7))

## [4.0.2][] - 2023-08-16

### Fixed

- Quoted strings for map keys ([#9](https://github.com/niksy/node-sass-json-functions/issues/9))

## [4.0.1][] - 2023-06-13

### Fixed

- ES module import implementation

## [4.0.0][] - 2023-05-01

### Changed

- Use [new Sass API](https://sass-lang.com/documentation/js-api)

### Removed

- **Node 10 support, lowest version is 12.22**
- **Legacy Sass support, lowest version is 1.45**
- Precision option; Dart Sass defaults to a sufficiently high precision for all existing browsers

## [3.3.0][] - 2022-01-11

### Added

- Precision option ([#6](https://github.com/niksy/node-sass-json-functions/issues/6))

## [3.2.0][] - 2021-11-10

### Added

- TypeScript typings

## [3.1.0][] - 2021-01-14

### Removed

- Lodash as dependancy

## [3.0.0][] - 2021-01-14

### Changed

- Switch to Dart Sass
- Upgrade package

### Removed

- **Node 4 support, lowest version is 10**
- Precision option

<!-- prettier-ignore-start -->

[3.0.0]: https://github.com/niksy/node-sass-json-functions/tree/v3.0.0
[3.1.0]: https://github.com/niksy/node-sass-json-functions/tree/v3.1.0
[3.2.0]: https://github.com/niksy/node-sass-json-functions/tree/v3.2.0
[3.3.0]: https://github.com/niksy/node-sass-json-functions/tree/v3.3.0
[4.0.1]: https://github.com/niksy/node-sass-json-functions/tree/v4.0.1
[4.0.0]: https://github.com/niksy/node-sass-json-functions/tree/v4.0.0
[Unreleased]: https://github.com/niksy/node-sass-json-functions/compare/v5.0.2...HEAD
[5.0.2]: https://github.com/niksy/node-sass-json-functions/compare/v5.0.1...v5.0.2
[5.0.1]: https://github.com/niksy/node-sass-json-functions/compare/v5.0.0...v5.0.1
[5.0.0]: https://github.com/niksy/node-sass-json-functions/compare/v4.1.0...v5.0.0
[4.1.0]: https://github.com/niksy/node-sass-json-functions/tree/v4.1.0

    		https://github.com/niksy/node-sass-json-functions/compare/v4.0.2...HEAD

[4.0.2]: https://github.com/niksy/node-sass-json-functions/tree/v4.0.2
