From 16679849dc378650e35c2ced04428f0f71bdac1e Mon Sep 17 00:00:00 2001 From: Alfonso Acosta Date: Mon, 12 Jun 2017 17:38:11 +0000 Subject: [PATCH 1/5] Release 1.5.0 --- CHANGELOG.md | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fa295cdc..19f0efb6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,64 @@ +## Release 1.5.0 + +Highlights: +- More accurate and cheaper connection tracking with eBPF, which now is enabled by default. +- Bug fixes and performance improvements. + +New features and enhancements: +- Enable eBPF tracking by default + [#2535](https://github.com/weaveworks/scope/pull/2535) +- Elide url passwords in cli arguments + [#2568](https://github.com/weaveworks/scope/pull/2568) + +Performance improvements: +- drop addr and port from Endpoint.Latest map + [#2581](https://github.com/weaveworks/scope/pull/2581) +- parallel reduce + [#2561](https://github.com/weaveworks/scope/pull/2561) +- don't read all of /proc when probe.proc.spy=false + [#2557](https://github.com/weaveworks/scope/pull/2557) +- optimise: don't sort in NodeSet.ForEach + [#2548](https://github.com/weaveworks/scope/pull/2548) +- encode empty ps.Maps as nil + [#2547](https://github.com/weaveworks/scope/pull/2547) + +Bug fixes: +- re-target app clients when name resolution changes + [#2579](https://github.com/weaveworks/scope/pull/2579) +- correct type for "Observed Gen." + [#2572](https://github.com/weaveworks/scope/pull/2572) +- Back off upon errored kubernetes api requests + [#2562](https://github.com/weaveworks/scope/pull/2562) +- Close eBPF tracker cleanly + [#2541](https://github.com/weaveworks/scope/pull/2541) +- Simplify connection tracker init and fix procfs scan fallback + [#2539](https://github.com/weaveworks/scope/pull/2539) +- Guard against null DaemonSet store + [#2538](https://github.com/weaveworks/scope/pull/2538) + +Internal improvements and cleanup: +- es6ify server.js and include in eslint + [#2560](https://github.com/weaveworks/scope/pull/2560) +- Fix prog/main_test.go + [#2567](https://github.com/weaveworks/scope/pull/2567) +- Fix incomplete dependencies for `make scope/prog` + [#2563](https://github.com/weaveworks/scope/pull/2563) +- bump package.json version to current scope version + [#2555](https://github.com/weaveworks/scope/pull/2555) +- simplify connection join + [#2559](https://github.com/weaveworks/scope/pull/2559) +- Use map helpers + [#2546](https://github.com/weaveworks/scope/pull/2546) +- add copyreport utility + [#2542](https://github.com/weaveworks/scope/pull/2542) + +Weave Cloud related changes: +- Time travel control + [#2524](https://github.com/weaveworks/scope/pull/2524) +- Add app capabilities to /api endpoint + [#2575](https://github.com/weaveworks/scope/pull/2575) + + ## Release 1.4.0 Highlights: From 8067ac93aecab814e2bea9f6536352a6a0ccef6c Mon Sep 17 00:00:00 2001 From: Roland Schilter Date: Tue, 13 Jun 2017 16:40:45 +0200 Subject: [PATCH 2/5] Bump client version in package.json --- client/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/package.json b/client/package.json index 43c44831d..6e7f140a5 100644 --- a/client/package.json +++ b/client/package.json @@ -1,6 +1,6 @@ { "name": "weave-scope", - "version": "1.4.0", + "version": "1.5.0", "description": "SPA JS app for Weave Scope visualising the application network.", "repository": "weaveworks/scope", "license": "Apache-2.0", From 83f557b6382c46594e3d8395875a8cac95d8031f Mon Sep 17 00:00:00 2001 From: Filip Barl Date: Wed, 14 Jun 2017 11:03:54 +0200 Subject: [PATCH 3/5] Don't display the empty message when nodes are displayed. (#2597) --- client/app/scripts/components/nodes.js | 16 +++++----- client/app/scripts/components/search.js | 6 ++-- .../scripts/reducers/__tests__/root-test.js | 31 +++++++++++++------ client/app/scripts/utils/topology-utils.js | 7 ++--- 4 files changed, 35 insertions(+), 25 deletions(-) diff --git a/client/app/scripts/components/nodes.js b/client/app/scripts/components/nodes.js index efc482418..fdae6bf2b 100644 --- a/client/app/scripts/components/nodes.js +++ b/client/app/scripts/components/nodes.js @@ -11,7 +11,6 @@ import { Loading, getNodeType } from './loading'; import { isTopologyNodeCountZero, isNodesDisplayEmpty, - isTopologyEmpty, } from '../utils/topology-utils'; import { isGraphViewModeSelector, @@ -24,11 +23,12 @@ import { TOPOLOGY_LOADER_DELAY } from '../constants/timer'; // TODO: The information that we already have available on the frontend should enable // us to determine which of these cases exactly is preventing us from seeing the nodes. -const NODE_COUNT_ZERO_CAUSES = [ +const NODES_STATS_COUNT_ZERO_CAUSES = [ 'We haven\'t received any reports from probes recently. Are the probes properly connected?', 'Containers view only: you\'re not running Docker, or you don\'t have any containers', ]; -const NODES_DISPLAY_EMPTY_CAUSES = [ +const NODES_NOT_DISPLAYED_CAUSES = [ + 'There are nodes, but they\'ve been filtered out by pinned searches in the top-left corner.', 'There are nodes, but they\'re currently hidden. Check the view options in the bottom-left if they allow for showing hidden nodes.', 'There are no nodes for this particular moment in time. Use the time travel feature at the bottom-right corner to explore different times.', ]; @@ -39,13 +39,14 @@ const renderCauses = causes => ( class Nodes extends React.Component { renderConditionalEmptyTopologyError() { - const { topologyNodeCountZero, nodesDisplayEmpty, topologyEmpty } = this.props; + const { topologyNodeCountZero, nodesDisplayEmpty } = this.props; return ( -