Skip to content

Commit

Permalink
Merge pull request #1397 from kethinov/0.22.6
Browse files Browse the repository at this point in the history
0.22.6
  • Loading branch information
kethinov authored May 3, 2024
2 parents 9a2245e + f1b590f commit cae395e
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 54 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [18.x, 20.x, 21.x]
node-version: [18.x, 20.x, 22.x]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

- Put your changes here...

## 0.22.6

- Fixed a bug that caused self-signed certs to get regenerated every time the app restarted.
- Updated various dependencies.

## 0.22.5

- Certs generator will now run in production mode as well if `https` is enabled and if the files do not already exist. This behavior can be suppressed by setting `https.autoCert` to `false`.
Expand Down
4 changes: 2 additions & 2 deletions lib/scripts/certsGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function certsGenerator (appDir, keyFolder) {

// make secrets folder if non-existent
const filepath = appDir + '/' + keyFolder + '/'
fse.writeFileSync(filepath + params.https.authInfoPath.authCertAndKey.key, key)
fse.writeFileSync(filepath + params.https.authInfoPath.authCertAndKey.cert, cert)
if (!fs.existsSync(filepath + '/' + params.https.authInfoPath.authCertAndKey.key)) fse.writeFileSync(filepath + params.https.authInfoPath.authCertAndKey.key, key)
if (!fs.existsSync(filepath + '/' + params.https.authInfoPath.authCertAndKey.cert)) fse.writeFileSync(filepath + params.https.authInfoPath.authCertAndKey.cert, cert)
}
}
98 changes: 49 additions & 49 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"url": "https://github.com/rooseveltframework/roosevelt/graphs/contributors"
}
],
"version": "0.22.5",
"version": "0.22.6",
"files": [
"defaultErrorPages",
"lib",
Expand Down Expand Up @@ -65,7 +65,7 @@
"mocha": "10.4.0",
"prompts": "2.4.2",
"proxyquire": "2.1.3",
"sass": "1.75.0",
"sass": "1.76.0",
"sinon": "17.0.1",
"standard": "17.1.0",
"stylus": "0.63.0",
Expand Down

0 comments on commit cae395e

Please sign in to comment.