Skip to content

Commit

Permalink
refactor: require NodeJS 16.11
Browse files Browse the repository at this point in the history
BREAKING CHANGES: require NodeJS 16.11

This will allow us to use the `cause` property` of `Error`.
  • Loading branch information
Conaclos committed Jun 21, 2024
1 parent 3315c7f commit 16699df
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
16 changes: 11 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,15 @@ This project adheres to [Semantic Versioning][semver].
The format of this changelog is [a variant][lib9-versionning] of [Keep a Changelog][keep-changelog].
New entries must be placed in a section entitled `Unreleased`.

## Unreleased

- BREAKING CHANGES: require NodeJS 16.11.0 or above

This will allow us to use the `cause` property of `Error`.

## 0.15.0 (2023-10-19)

- BREAKING CHANGES: require node 16.9.0 or above
- BREAKING CHANGES: require NodeJS 16.9.0 or above

- BREAKING CHANGES: promote regular comments to doc-comments

Expand Down Expand Up @@ -324,7 +330,7 @@ This release **widely improves the usage of unions and flat unions**.
bare-ts now publishes _ES2020_ builds.
This outputs smaller builds.
This should cause no issue since we require a node version `^14.18` or `>=16`.
This should cause no issue since we require a NodeJS version `^14.18` or `>=16`.
- Add option `--lib` to prevent `decode` and `encode` generation
Expand Down Expand Up @@ -363,7 +369,7 @@ This release **widely improves the usage of unions and flat unions**.
type Message union { Person }
```

- BREAKING CHANGES: Require Node `>=14.18.0`
- BREAKING CHANGES: Require NodeJS `>=14.18.0`

This enables _bare-ts_ to internally use `node:` prefixes for importing nodes' built-ins.
Expand Down Expand Up @@ -580,7 +586,7 @@ This release **widely improves the usage of unions and flat unions**.
## 0.7.0 (2022-04-24)
- BREAKING CHANGES: require node versions that support _ESM_
- BREAKING CHANGES: require NodeJS versions that support _ESM_
_bare-ts_ requires now a node versions that support _ECMAScript Modules_.
Expand Down Expand Up @@ -908,4 +914,4 @@ This release **widely improves the usage of unions and flat unions**.
[keep-changelog]: https://keepachangelog.com/en/1.0.0/
[lib9-versionning]: https://github.com/lib9/guides/blob/main/lib9-versioning-style-guide.md#keep-a-changelog
[semver]: https://semver.org/spec/v2.0.0.html
[semver]: https://semver.org/spec/v2.0.0.html
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"url": "https://github.com/bare-ts/tools/issues"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"type": "module",
"bin": {
Expand Down Expand Up @@ -66,7 +66,7 @@
"devDependencies": {
"@bare-ts/lib": "~0.4.0",
"@biomejs/biome": "1.8.2",
"@types/node": "16.9.6",
"@types/node": "16.11.68",
"commander": "^12.1.0",
"esbuild": "0.20.1",
"oletus": "4.0.0",
Expand Down

0 comments on commit 16699df

Please sign in to comment.