diff --git a/src/main/app-updater.ts b/src/main/app-updater.ts index 8f31df8b57..c4db141862 100644 --- a/src/main/app-updater.ts +++ b/src/main/app-updater.ts @@ -4,7 +4,7 @@ import { isDevelopment, isTestEnv } from "../common/vars"; import { delay } from "../common/utils"; import { areArgsUpdateAvailableToBackchannel, AutoUpdateLogPrefix, broadcastMessage, onceCorrect, UpdateAvailableChannel, UpdateAvailableToBackchannel } from "../common/ipc"; import { once } from "lodash"; -import { app, ipcMain } from "electron"; +import { ipcMain } from "electron"; let installVersion: null | string = null; @@ -12,8 +12,8 @@ function handleAutoUpdateBackChannel(event: Electron.IpcMainEvent, ...[arg]: Upd if (arg.doUpdate) { if (arg.now) { logger.info(`${AutoUpdateLogPrefix}: User chose to update now`); - autoUpdater.quitAndInstall(true, true); - app.exit(); // this is needed for the installer not to fail on windows. + autoUpdater.on("update-downloaded", () => autoUpdater.quitAndInstall()); + autoUpdater.downloadUpdate().catch(error => logger.error(`${AutoUpdateLogPrefix}: Failed to download or install update`, { error })); } else { logger.info(`${AutoUpdateLogPrefix}: User chose to update on quit`); autoUpdater.autoInstallOnAppQuit = true; diff --git a/src/main/lens-proxy.ts b/src/main/lens-proxy.ts index 7e1aa98b7e..0bc3528a33 100644 --- a/src/main/lens-proxy.ts +++ b/src/main/lens-proxy.ts @@ -28,7 +28,7 @@ export class LensProxy { } listen(port = this.port): this { - this.proxyServer = this.buildCustomProxy().listen(port); + this.proxyServer = this.buildCustomProxy().listen(port, "127.0.0.1"); logger.info(`[LENS-PROXY]: Proxy server has started at ${this.origin}`); return this; diff --git a/src/renderer/components/layout/main-layout-header.tsx b/src/renderer/components/layout/main-layout-header.tsx index 4fb6b69f9b..d1bcbda18f 100644 --- a/src/renderer/components/layout/main-layout-header.tsx +++ b/src/renderer/components/layout/main-layout-header.tsx @@ -25,7 +25,7 @@ export const MainLayoutHeader = observer(({ cluster, className }: Props) => { !cluster.isManaged && ( Remove - + ) } ); diff --git a/static/RELEASE_NOTES.md b/static/RELEASE_NOTES.md index 7aa58e564c..799cbb6323 100644 --- a/static/RELEASE_NOTES.md +++ b/static/RELEASE_NOTES.md @@ -33,6 +33,17 @@ Here you can find description of changes we've built into each release. While we - Fix: Closing workspace menu after clicking on iframe - Fix: extension global pages are never able to be visible - Fix: recreate proxy kubeconfig if it is deleted +- Fix: internal proxy listening on all network interfaces +- Fix: extension command palette loading +- Fix: Lens not clearing other KUBECONFIG env vars + +## 4.1.5 + +**Upgrade note:** Where have all my pods gone? Namespaced Kubernetes resources are now initially shown only for the "default" namespace. Use the namespaces selector to add more. + +- Fix internal proxy listening on all network interfaces +- Fix extension command palette loading +- Fix Lens not clearing other KUBECONFIG env vars ## 4.1.4 @@ -57,8 +68,6 @@ Here you can find description of changes we've built into each release. While we ## 4.1.2 -**Upgrade note:** Where have all my pods gone? Namespaced Kubernetes resources are now initially shown only for the "default" namespace. Use the namespaces selector to add more. - - Fix an issue where a cluster gets stuck on "Connecting ..." phase - Fix an issue with auto-update @@ -70,8 +79,6 @@ Here you can find description of changes we've built into each release. While we ## 4.1.0 -**Upgrade note:** Where have all my pods gone? Namespaced Kubernetes resources are now initially shown only for the "default" namespace. Use the namespaces selector to add more. - - Change: list views default to a namespace (instead of listing resources from all namespaces) - Command palette - Generic logs view with Pod selector