github AvitalTamir/cyphernetes v0.9.0

latest releases: v0.14.0, v0.13.0, v0.12.1...
3 months ago

Release Notes for Cyphernetes v0.9.0:

This version contains an awesome new ascii graph that allows visualizing queries in the shell!
Some huge bug fixes to data filtering and some QOL improvements.

Features

Graphs!!! Currently requires web access (small dot-to-ascii service hosted on ascii.cyphernet.es) - can hopefully implement this in Go in the future to support generating the graph locally.

Example:

> MATCH (p:po)->(rs:rs)->(d:deploy {name: "nginx"})->(s:svc)->(i:ing) RETURN d.metadata.name, s.metadata.name, i.metadata.name, p.metadata.name, rs.metadata.name;

                                                     ┌─────────────────────────────┐
                                                     │       Ingress: nginx        │
                                                     └─────────────────────────────┘
                                                       │
                                                       │ ROUTE
                                                       ▼
                                                     ┌─────────────────────────────┐
                                                     │       Service: nginx        │
                                                     └─────────────────────────────┘
                                                       │
                                                       │ SERVICE_EXPOSE_DEPLOYMENT
                                                       ▼
                                                     ┌─────────────────────────────┐
                                                     │      Deployment: nginx      │
                                                     └─────────────────────────────┘
                                                       │
                                                       │ DEPLOYMENT_OWN_REPLICASET
                                                       ▼
┌────────────────────────────┐  REPLICASET_OWN_POD   ┌─────────────────────────────┐  REPLICASET_OWN_POD   ┌────────────────────────────┐
│ Pod: nginx-bf5d5cf98-d5dkj │ ◀──────────────────── │ ReplicaSet: nginx-bf5d5cf98 │ ────────────────────▶ │ Pod: nginx-bf5d5cf98-m69mz │
└────────────────────────────┘                       └─────────────────────────────┘                       └────────────────────────────┘
                                                       │
                                                       │ REPLICASET_OWN_POD
                                                       ▼
                                                     ┌─────────────────────────────┐
                                                     │ Pod: nginx-bf5d5cf98-78sps  │
                                                     └─────────────────────────────┘

{
  "d": [
    {
      "name": "nginx"
    }
  ],
  "i": [
    {
      "name": "nginx"
    }
  ],
  "p": [
    {
      "name": "nginx-bf5d5cf98-78sps"
    },
    {
      "name": "nginx-bf5d5cf98-d5dkj"
    },
    {
      "name": "nginx-bf5d5cf98-m69mz"
    }
  ],
  "rs": [
    {
      "name": "nginx-bf5d5cf98"
    }
  ],
  "s": [
    {
      "name": "nginx"
    }
  ]
}

Query executed in 15.991458ms

Improvements

  • Macro Autocompletion:
    Macros names now have tab completion (when starting a line with a colon)
  • New default macro for creating deployments
  • New toggle to enable/disable graphs (\g)

Bugfixes

  • HUGE bug fix when filtering out more the 2 attached relationships - data will now be correctly filtered out and only nodes matching the graphs entirely will be part of the response.

Note

Only a Darwin ARM64 binary is provided with this release - this is due to the addition of Graphviz native bindings and my inability to build those locally right now. A process to build all platforms again will be added in the future, for now just use go install if you're on a different platform/arch.

Don't miss a new cyphernetes release

NewReleases is sending notifications on new releases.