Skip to content

v4.0.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 28 Feb 00:49
· 7 commits to beta since this release
d8faf74

4.0.0-beta.1 (2023-02-28)

Features

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 point semantic-release to the ./dist directory - semantic release process is mostly untested due to lack of permissions.