v4.0.0-beta.1
Pre-release
Pre-release
github-actions
released this
28 Feb 00:49
·
7 commits
to beta
since this release
4.0.0-beta.1 (2023-02-28)
Features
- typescript refactor (2199c97)
BREAKING CHANGES
- Existing implementations that rely on former JSDoc-based types or utilise undocumented parts of the API are likely to break.
Summary:
- JSDoc comments and JSDoc type generation removed
./lib
renamed./src
and reorganised./src/**/*.js
converted to Typescript- Most types defined in
./src/models
- Default values aggregated into
./src/models
- Refactor of
./src/lib/buildCSPHeaders.ts
- Tests converted to Typescript and utilising
ts-jest
- Build process codified in
package.json
scripts, incorporating./scripts/copy-release-files.js
- GitHub workflows updated to use new build process
- Some updates to the GitHub workflows to update action versions and use
.nvmrc
and native Node caching - Updated
.releaserc
to pointsemantic-release
to the./dist
directory - semantic release process is mostly untested due to lack of permissions.