# CHANGELOG

### Unreleased

### [2.0.2] - 2026-04-17

- ci: remove npm token (deprecated)

### [2.0.1] - 2026-04-17

- ci: update NPM publish config

### [2.0.0] - 2026-04-17

- bump: requires node 22+
- test: switch coverage to node:test
- test: increase coverage to 100%
- ci: add explicit minimal permissions
- doc(README): add qlty & cov badges

### [1.7.6] - 2026-04-16

- feat: current can be empty, return highest maintenance ver instead
  - eg: node 25 exited current on 2026-03-31
    - as of 2026-04-16 node 26 hasn't entered current
- replace [y,m,d] literals with well named CONSTANTS
- action.yml: added maintenance, current, and min to declared outputs
- add limits & validation of nodejs.org download

### [1.7.5] - 2026-03-24

- action: using node20 -> node24
- feat: switched to ESM
- test: switch from mocha to node:test
- style: es2024 patterns throughout
- ci: updated workflows

### [1.7.4] - 2026-01-05

- fix: deltaDate removes a DST induced 1 hr offset
- deps(all): bump versions to latest
- feat: add index.d.ts #30
- feat: include dts in files, #30

### [1.7.3] - 2025-09-23

- feat: export getNodeLTS (#28)

### [1.7.2] - 2025-05-19

- fix: current start date is now computed correctly

### [1.7.1] - 2025-04-29

- feat: EOL dates end on the last day of the month
- feat: get() defaults to 'lts', was 'current'
- fix: active is 12 months (was 6)
- doc(README): expand on usages
- test: add tests for deltaDate

### [1.7.0] - 2025-03-29

- feat: add current & maintenance exports
- improve tabular output
- deps: bump dep versions
- chore: update eslint to v9
- chore: prettier

### [1.6.3] - 2024-02-07

- fix: run 'make dist' to update the action
- doc(README): update node versions

### [1.6.2] - 2024-02-07

- dep(actions/checkout): v3 -> v4
- dep(actions/setup-node): v3 -> v4
- dep(actions/codecov-action): v2 -> v4
- dep(semver): bump 7.5.4 -> 7.6.0
- chore: use new node-version `*` & `-1` syntax

### [1.6.1] - 2023-10-24

- ci: node.js ver 16 -> 20

### [1.6.0] - 2023-10-24

- dep: remove node-version-data
- style: rename fetch -> fetchLTS (fetch is now a global)
- ci: bump node.js versions

### 1.5.2 - 2023-08-02

- use @actions/core (was stdout)

### 1.5.1 - 2023-07-31

- actions.yml: revert to node16 (18 doesn't exist yet)

### 1.5.0 - 2023-07-14

deps: bump versions, update dist

### 1.4.3 - 2022-10-27

- ci: update @actions/core syntax, fixes #

### 1.4.2 - 2022-06-23

- fix: only the first named output was being set.
- chore(dep): bumped @actions/core to v1.9.0

### 1.3.3 - 2022-06-05

- doc(README): use v1 tag instead of v1.2.0

### 1.3.2 - 2022-06-03

- ci: add environment to publishing steps
- doc: add min description to action.yml

### 1.3.1 - 2022-06-03

- ci: fix publishing to GPM

### 1.3.0 - 2022-06-02

- feat: also publish `min`
- dep: @actions/core 1.2.6 -> 1.8.2

### 1.2.2 - 2022-05-31

- fix: restore @actions/core, for build (#5)

### 1.2.1 - 2022-05-31

- fix: action.yml, 'node14' is not supported, use 'node12' or 'node16' instead.

### 1.2.0 - 2022-05-31

- feat: also output 'active'
- fix: output was invalid
- dep: drop @actions/core
- ci: add node 18 testing

### 1.1.0 - 2021-02-21

- switch default output from YAML to JSON
- setOutput

[1]: https://github.com/msimerson/node-lts-versions/releases/tag/v1
[1.1.1]: https://github.com/msimerson/node-lts-versions/releases/tag/v1.1.1
[1.2.2]: https://github.com/msimerson/node-lts-versions/releases/tag/v1.2.2
[1.3.0]: https://github.com/msimerson/node-lts-versions/releases/tag/v1.3.0
[1.3.2]: https://github.com/msimerson/node-lts-versions/releases/tag/v1.3.2
[1.3.3]: https://github.com/msimerson/node-lts-versions/releases/tag/v1.3.3
[1.4.2]: https://github.com/msimerson/node-lts-versions/releases/tag/v1.4.2
[1.4.3]: https://github.com/msimerson/node-lts-versions/releases/tag/v1.4.3
[1.5.0]: https://github.com/msimerson/node-lts-versions/releases/tag/v1.5.0
[1.5.1]: https://github.com/msimerson/node-lts-versions/releases/tag/v1.5.1
[1.5.2]: https://github.com/msimerson/node-lts-versions/releases/tag/v1.5.2
[1.6.0]: https://github.com/msimerson/node-lts-versions/releases/tag/v1.6.0
[1.6.1]: https://github.com/msimerson/node-lts-versions/releases/tag/v1.6.1
[1.6.2]: https://github.com/msimerson/node-lts-versions/releases/tag/v1.6.2
[1.6.3]: https://github.com/msimerson/node-lts-versions/releases/tag/v1.6.3
[1.7.0]: https://github.com/msimerson/node-lts-versions/releases/tag/v1.7.0
[1.7.1]: https://github.com/msimerson/node-lts-versions/releases/tag/v1.7.1
[1.7.2]: https://github.com/msimerson/node-lts-versions/releases/tag/v1.7.2
[1.7.3]: https://github.com/msimerson/node-lts-versions/releases/tag/v1.7.3
[1.7.4]: https://github.com/msimerson/node-lts-versions/releases/tag/v1.7.4
[1.7.5]: https://github.com/msimerson/node-lts-versions/releases/tag/v1.7.5
[1.7.6]: https://github.com/msimerson/node-lts-versions/releases/tag/v1.7.6
[2.0.0]: https://github.com/msimerson/node-lts-versions/releases/tag/v2.0.0
[2.0.1]: https://github.com/msimerson/node-lts-versions/releases/tag/v2.0.1
[2]: https://github.com/msimerson/node-lts-versions/releases/tag/v2
[2.0.2]: https://github.com/msimerson/node-lts-versions/releases/tag/v2.0.2
