Skip to content

Releases: trezy/next-safe

v3.5.0

18 Dec 01:48
ad504c0
Compare
Choose a tag to compare

3.5.0 (2023-12-18)

Features

  • Release Next.js 14 compatible version (ad504c0)

v4.0.0-beta.2

04 Mar 00:57
8899219
Compare
Choose a tag to compare
v4.0.0-beta.2 Pre-release
Pre-release

4.0.0-beta.2 (2023-03-04)

Bug Fixes

  • ensure that the dist file structure is correct (0462187)

v4.0.0-beta.1

28 Feb 00:49
d8faf74
Compare
Choose a tag to compare
v4.0.0-beta.1 Pre-release
Pre-release

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.

v3.4.1

12 Jan 16:32
e5cee58
Compare
Choose a tag to compare

3.4.1 (2023-01-12)

Bug Fixes

  • buildCSPHeaders: remove 'none' when appropriate (3e83778)

v3.4.0

12 Jan 16:28
b4c1556
Compare
Choose a tag to compare

3.4.0 (2023-01-12)

Features

  • deps: add support for Next 13 (20a8ba4), closes #48

v3.3.0

04 Dec 03:43
79c6a2a
Compare
Choose a tag to compare

3.3.0 (2022-12-04)

Features

  • buildCSPHeaders: allow merging of default directives (e0e1737)

v3.2.1

12 Jan 15:47
9d4e7e5
Compare
Choose a tag to compare

3.2.1 (2022-01-12)

Bug Fixes

  • types: add type construction to publishing pipeline (d55a33f), closes #30

v3.2.0

12 Jan 15:22
8993082
Compare
Choose a tag to compare

3.2.0 (2022-01-12)

Features

  • buildCSPHeaders.js: added media-src to default values (58942a4)
  • buildCSPHeaders.js: added media-src to directives (461b40a)
  • CSP.js: added media-src to config (91a6bb6)

v3.1.3

22 Nov 16:54
e4d09c8
Compare
Choose a tag to compare

3.1.3 (2021-11-22)

Bug Fixes

  • buildPermissionsPolicyHeaders: set initial reducer value so we pass curnch fns an actual object (bd9daf3)
  • Fix Unexpected token '?' error (602537a), closes #14

v3.1.2

19 Nov 20:50
bea2992
Compare
Choose a tag to compare

3.1.2 (2021-11-19)

Bug Fixes

  • Fix Unexpected token '?' error (9f92f12), closes #14