# CHANGELOG

## [3.0.0](https://github.com/jackdbd/content-security-policy/compare/v2.1.3...v3.0.0) (2024-04-29)


### ⚠ BREAKING CHANGES

* rename cspJSON to cspObj

### Features

* rename cspJSON to cspObj ([962d531](https://github.com/jackdbd/content-security-policy/commit/962d531fa3d0570c2de0b00db59b586439035937))

## [3.0.0-canary.1](https://github.com/jackdbd/content-security-policy/compare/v2.1.3...v3.0.0-canary.1) (2024-04-22)


### ⚠ BREAKING CHANGES

* rename cspJSON to cspObj

### Features

* rename cspJSON to cspObj ([962d531](https://github.com/jackdbd/content-security-policy/commit/962d531fa3d0570c2de0b00db59b586439035937))

## [2.1.3](https://github.com/jackdbd/content-security-policy/compare/v2.1.2...v2.1.3) (2024-02-07)


### Bug Fixes

* regexes for data schemes ([5dadc3c](https://github.com/jackdbd/content-security-policy/commit/5dadc3c4218fb6139f06a78079412297b81cf236))

## [2.1.2](https://github.com/jackdbd/content-security-policy/compare/v2.1.1...v2.1.2) (2024-02-07)


### Bug Fixes

* update incorrect regex for CSP hash source value ([05db3fb](https://github.com/jackdbd/content-security-policy/commit/05db3fbda9852384b9a5f0ed56388b180eeb2600))

## [2.1.1](https://github.com/jackdbd/content-security-policy/compare/v2.1.0...v2.1.1) (2024-02-05)


### Bug Fixes

* make all CSP directive optional ([1ef52be](https://github.com/jackdbd/content-security-policy/commit/1ef52beaa1833fe34479c736e2924cf29cdc607d))

## [2.1.0](https://github.com/jackdbd/content-security-policy/compare/v2.0.0...v2.1.0) (2024-02-05)


### Features

* migrate from Joi to Zod and from Jest to Node.js test runner ([2facb81](https://github.com/jackdbd/content-security-policy/commit/2facb81589e5590168f59a450a89ec194fd3f914))

## [2.0.0](https://github.com/jackdbd/content-security-policy/compare/v1.1.1...v2.0.0) (2023-07-11)


### ⚠ BREAKING CHANGES

* The prefetch-src directive has been deprecated.

### Features

* deprecate prefetch-src CSP directive ([b0c78fe](https://github.com/jackdbd/content-security-policy/commit/b0c78fe37ac97820b91f037c645f2ea162611da8))

## [2.0.0-canary.1](https://github.com/jackdbd/content-security-policy/compare/v1.1.1...v2.0.0-canary.1) (2023-07-11)


### ⚠ BREAKING CHANGES

* The prefetch-src directive has been deprecated.

### Features

* deprecate prefetch-src CSP directive ([b0c78fe](https://github.com/jackdbd/content-security-policy/commit/b0c78fe37ac97820b91f037c645f2ea162611da8))

## [1.1.1](https://github.com/jackdbd/content-security-policy/compare/v1.1.0...v1.1.1) (2023-03-05)

## [1.1.0](https://github.com/jackdbd/content-security-policy/compare/v1.0.1...v1.1.0) (2023-03-05)


### Features

* add script to show how to use the library ([ad2ebea](https://github.com/jackdbd/content-security-policy/commit/ad2ebea41c43b4ca31132daa84e67eeeb1c9b2fb))

## [1.1.0-canary.2](https://github.com/jackdbd/content-security-policy/compare/v1.1.0-canary.1...v1.1.0-canary.2) (2023-03-05)

## [1.1.0-canary.1](https://github.com/jackdbd/content-security-policy/compare/v1.0.1...v1.1.0-canary.1) (2023-03-05)


### Features

* add script to show how to use the library ([ad2ebea](https://github.com/jackdbd/content-security-policy/commit/ad2ebea41c43b4ca31132daa84e67eeeb1c9b2fb))

## [1.0.1](https://github.com/jackdbd/content-security-policy/compare/v1.0.0...v1.0.1) (2023-03-05)


### Bug Fixes

* bump version ([2cc0a83](https://github.com/jackdbd/content-security-policy/commit/2cc0a831a27f8152a21a9d3409e954e0477bb2b7))

## 1.0.0 (2023-03-05)


### Features

* **content-security-policy:** add package ([d5eba2f](https://github.com/jackdbd/content-security-policy/commit/d5eba2f7c76bf39517f19e30bc9d465c2bc9210b))
* **content-security-policy:** autogenerate hashes for inline script/style ([e8391ff](https://github.com/jackdbd/content-security-policy/commit/e8391ff617b0a266164d61e0ad4bcb7f2cc4f5fc))


### Bug Fixes

* **content-security-policy:** add some exports that were missing ([a99c8a5](https://github.com/jackdbd/content-security-policy/commit/a99c8a518804f09da3257bf4e48a1fdac7d562ad))
* **content-security-policy:** cleanup ([c0c61de](https://github.com/jackdbd/content-security-policy/commit/c0c61deaf72e86ccb7e095e218ee4aa309efe580))
* migrated from monorepo ([d824f28](https://github.com/jackdbd/content-security-policy/commit/d824f2864aac769bba75d7220c780938c1d61570))

## 1.0.0-canary.1 (2023-03-05)


### Features

* **content-security-policy:** add package ([d5eba2f](https://github.com/jackdbd/content-security-policy/commit/d5eba2f7c76bf39517f19e30bc9d465c2bc9210b))
* **content-security-policy:** autogenerate hashes for inline script/style ([e8391ff](https://github.com/jackdbd/content-security-policy/commit/e8391ff617b0a266164d61e0ad4bcb7f2cc4f5fc))


### Bug Fixes

* **content-security-policy:** add some exports that were missing ([a99c8a5](https://github.com/jackdbd/content-security-policy/commit/a99c8a518804f09da3257bf4e48a1fdac7d562ad))
* **content-security-policy:** cleanup ([c0c61de](https://github.com/jackdbd/content-security-policy/commit/c0c61deaf72e86ccb7e095e218ee4aa309efe580))
* migrated from monorepo ([d824f28](https://github.com/jackdbd/content-security-policy/commit/d824f2864aac769bba75d7220c780938c1d61570))

## @jackdbd/content-security-policy 1.0.0 (2022-10-04)


### Features

* **content-security-policy:** add package ([454709f](https://github.com/jackdbd/calderone/commit/454709f7e84b1ee7c1880c5c7a25b4baff1ac199))
* **content-security-policy:** autogenerate hashes for inline script/style ([b1a40f6](https://github.com/jackdbd/calderone/commit/b1a40f630250d5d3d18bc2171d0875c357fe33e2))


### Bug Fixes

* **content-security-policy:** add some exports that were missing ([2131f7a](https://github.com/jackdbd/calderone/commit/2131f7a21540b1b9c2ac319b1d0a5dac3c297982))
* **content-security-policy:** cleanup ([ca16767](https://github.com/jackdbd/calderone/commit/ca167677885855f0612175efcf2ee6edf7372d1e))

## @jackdbd/content-security-policy [1.0.0-canary.5](https://github.com/jackdbd/calderone/compare/@jackdbd/content-security-policy@1.0.0-canary.4...@jackdbd/content-security-policy@1.0.0-canary.5) (2022-10-04)

## @jackdbd/content-security-policy [1.0.0-canary.4](https://github.com/jackdbd/calderone/compare/@jackdbd/content-security-policy@1.0.0-canary.3...@jackdbd/content-security-policy@1.0.0-canary.4) (2022-09-28)


### Features

* **content-security-policy:** autogenerate hashes for inline script/style ([b1a40f6](https://github.com/jackdbd/calderone/commit/b1a40f630250d5d3d18bc2171d0875c357fe33e2))

## @jackdbd/content-security-policy [1.0.0-canary.3](https://github.com/jackdbd/calderone/compare/@jackdbd/content-security-policy@1.0.0-canary.2...@jackdbd/content-security-policy@1.0.0-canary.3) (2022-09-28)


### Bug Fixes

* **content-security-policy:** cleanup ([ca16767](https://github.com/jackdbd/calderone/commit/ca167677885855f0612175efcf2ee6edf7372d1e))

## @jackdbd/content-security-policy [1.0.0-canary.2](https://github.com/jackdbd/calderone/compare/@jackdbd/content-security-policy@1.0.0-canary.1...@jackdbd/content-security-policy@1.0.0-canary.2) (2022-09-28)


### Bug Fixes

* **content-security-policy:** add some exports that were missing ([2131f7a](https://github.com/jackdbd/calderone/commit/2131f7a21540b1b9c2ac319b1d0a5dac3c297982))

## @jackdbd/content-security-policy 1.0.0-canary.1 (2022-09-28)


### Features

* **content-security-policy:** add package ([454709f](https://github.com/jackdbd/calderone/commit/454709f7e84b1ee7c1880c5c7a25b4baff1ac199))
