1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

merge v4.1.5

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-04-01 09:57:26 -04:00
commit 84dc43406c
4 changed files with 16 additions and 9 deletions

View File

@ -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;

View File

@ -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;

View File

@ -25,7 +25,7 @@ export const MainLayoutHeader = observer(({ cluster, className }: Props) => {
!cluster.isManaged && (
<MenuItem onClick={actions.remove}>
<span>Remove</span>
</MenuItem>
</MenuItem>
)
}
</MenuActions>);

View File

@ -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