Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: changelogs - feature to include custom csp headers from application #2007

Merged
merged 1 commit into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

12 changes: 12 additions & 0 deletions packages/subapp-server/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
{
"name": "subapp-server",
"entries": [
{
"version": "2.4.0",
"tag": "subapp-server_v2.4.0",
"date": "Thu, 07 Mar 2024 02:33:25 GMT",
"comments": {
"minor": [
{
"comment": "Ablity to add CSP directives by application."
}
]
}
},
{
"version": "2.3.0",
"tag": "subapp-server_v2.3.0",
Expand Down
9 changes: 8 additions & 1 deletion packages/subapp-server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Change Log - subapp-server

This log was last generated on Wed, 03 Jan 2024 23:41:10 GMT and should not be manually modified.
This log was last generated on Thu, 07 Mar 2024 02:33:25 GMT and should not be manually modified.

## 2.4.0
Thu, 07 Mar 2024 02:33:25 GMT

### Minor changes

- Ablity to add CSP directives by application.

## 2.3.0
Wed, 03 Jan 2024 23:41:10 GMT
Expand Down
2 changes: 1 addition & 1 deletion packages/subapp-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "subapp-server",
"version": "2.3.0",
"version": "2.4.0",
"description": "Electrode SubApp app server support",
"main": "lib/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion samples/poc-subapp-redux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"redux-logger": "^3.0.6",
"subapp-react": "^1.2.0",
"subapp-redux": "^2.2.1",
"subapp-server": "^2.3.0",
"subapp-server": "^2.4.0",
"subapp-web": "^2.1.4"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion samples/poc-subapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"redux": "^4.2.1",
"subapp-react": "^1.2.0",
"subapp-redux": "^2.2.1",
"subapp-server": "^2.3.0",
"subapp-server": "^2.4.0",
"subapp-web": "^2.1.4"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion samples/poc-subappv1-csp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"redux": "^4.2.1",
"subapp-react": "^1.2.0",
"subapp-redux": "^2.2.1",
"subapp-server": "^2.3.0",
"subapp-server": "^2.4.0",
"subapp-web": "^2.1.4",
"crypto": "^1.0.1"
},
Expand Down
1 change: 1 addition & 0 deletions samples/poc-subappv1-csp/src/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const setCSPHeaderValues = ({styleNonce, scriptNonce}) => {
* Option 3 - Selectively set boolean flag for `cspNonce`. { style: true } will add nonce only
* for styles
*
* cspHeaderValues - A function whose return value is list of CPS headers. If provided, this function will be used to configure headers specified by the application. In the absense of this function, Electrode will configure `script-src` and `style-src` directives based on settings determined by `cspNonce` value
*/

export default {
Expand Down
Loading