Skip to content

Commit df9ffbf

Browse files
authored
Release 4.0.1 (#36)
## Release notes * Add destroy request call in close event to support SSE closing (#34) * Pin sass-embedded to 1.62.0 to avoid "Cannot find module 'sass'" error (#35) ### Release dependencies first In case of dependent Phovea/TDP repositories follow [dependency tree](https://wiki.datavisyn.io/phovea/fundamentals/development-process#dependency-hierarchy) from the top: ### 🏁 Finish line * [ ] Inform colleagues and customers about the release * [ ] Celebrate the new release 🥳
2 parents 84cbd10 + a8dab9e commit df9ffbf

File tree

4 files changed

+7
-16129
lines changed

4 files changed

+7
-16129
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ package-lock.json
99
!.yarn/releases
1010
!.yarn/sdks
1111
!.yarn/versions
12+
yarn.lock

config/webpack.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,10 @@ module.exports = (webpackEnv, argv) => {
320320
target: 'http://localhost:9000',
321321
secure: false,
322322
ws: true,
323+
// Explicitly forward close events for properly closing SSE (server-side events). See https://github.com/webpack/webpack-dev-server/issues/2769#issuecomment-1517290190
324+
onProxyReq: (proxyReq, req, res) => {
325+
res.on('close', () => proxyReq.destroy());
326+
},
323327
},
324328
'/login': {
325329
target: 'http://localhost:9000',

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "visyn_scripts",
33
"description": "",
4-
"version": "4.0.0",
4+
"version": "4.0.1",
55
"author": {
66
"name": "datavisyn GmbH",
77
"email": "[email protected]",
@@ -100,7 +100,7 @@
100100
"resolve": "^1.22.1",
101101
"resolve-url-loader": "^5.0.0",
102102
"rimraf": "~4.4.0",
103-
"sass-embedded": "^1.59.3",
103+
"sass-embedded": "1.62.0",
104104
"sass-loader": "^13.2.0",
105105
"semver": "^7.3.8",
106106
"semver-intersect": "^1.4.0",

0 commit comments

Comments
 (0)