Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/test_build_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,10 @@ jobs:

- name: Build Docker image
run: |
docker build .
docker build --build-arg NEPTUNE_NOTEBOOK=true .
docker build -t test-image .
docker build -t test-image-neptune --build-arg NEPTUNE_NOTEBOOK=true .

- name: Ensure openSSL is installed
run: |
docker run --rm --entrypoint="" test-image openssl --version
docker run --rm --entrypoint="" test-image-neptune openssl --version
18 changes: 18 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Graph Explorer Change Log

## Release v2.3.1

This release resolves a few important issues from the previous release.

### All changes

- Remove past roadmap items by @kmcginnes in
https://github.com/aws/graph-explorer/pull/1116
- Add OpenSSL back to Docker by @kmcginnes in
https://github.com/aws/graph-explorer/pull/1137
- Bump version to 2.3.1 for patch by @kmcginnes in
https://github.com/aws/graph-explorer/pull/1138
- Fix expand neighbor query when edge ID is UUID by @kmcginnes in
https://github.com/aws/graph-explorer/pull/1140

**Full Changelog**:
https://github.com/aws/graph-explorer/compare/v2.3.0...v2.3.1

## Release v2.3

This release improves the accuracy when rendering query results by preserving
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM amazonlinux:2023 AS base
ENV NODE_VERSION=24.4.0

RUN yum update -y && \
yum install -y tar xz && \
yum install -y tar xz openssl && \
ARCH=$(uname -m) && \
if [ "$ARCH" = "x86_64" ]; then NODE_ARCH="x64"; \
elif [ "$ARCH" = "aarch64" ]; then NODE_ARCH="arm64"; \
Expand Down
9 changes: 0 additions & 9 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,6 @@ issues linked below.
> [!IMPORTANT]
> These items are subject to change.

## Q1 2025

- [URL Sharing](https://github.com/aws/graph-explorer/issues/684)

## Q2 2025

- [Query editor for Gremlin](https://github.com/aws/graph-explorer/issues/686)
- [Query editor for openCypher](https://github.com/aws/graph-explorer/issues/687)

## Q3 2025

- [Query editor for SPARQL](https://github.com/aws/graph-explorer/issues/688)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graph-explorer",
"version": "2.3.0",
"version": "2.3.1",
"description": "Graph Explorer",
"author": "amazon",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/graph-explorer-proxy-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graph-explorer-proxy-server",
"version": "2.3.0",
"version": "2.3.1",
"description": "Server to facilitate communication between the browser and the supported graph database.",
"main": "dist/node-server.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/graph-explorer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graph-explorer",
"version": "2.3.0",
"version": "2.3.1",
"description": "Graph Explorer",
"engines": {
"node": ">=24.4.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ describe("Gremlin > oneHopTemplate", () => {

expect(normalize(template)).toEqual(
normalize(`
g.V("124")
g.V("124").as("start")
.both()
.hasLabel("airport").and(has("longest",gt(10000)), has("country",containing("ES")))
.filter(__.not(__.hasId("256")))
.dedup()
.range(0, 10)
.as("v")
.as("neighbor")
.project("vertex", "edges")
.by()
.by(
__.select("v").bothE()
.where(otherV().id().is("124"))
__.select("start").bothE()
.where(otherV().where(eq("neighbor")))
.dedup().fold()
)
`)
Expand All @@ -44,13 +44,13 @@ describe("Gremlin > oneHopTemplate", () => {

expect(normalize(template)).toBe(
normalize(`
g.V("12")
.both().dedup().as("v")
g.V("12").as("start")
.both().dedup().as("neighbor")
.project("vertex", "edges")
.by()
.by(
__.select("v").bothE()
.where(otherV().id().is("12"))
__.select("start").bothE()
.where(otherV().where(eq("neighbor")))
.dedup().fold()
)
`)
Expand All @@ -65,15 +65,15 @@ describe("Gremlin > oneHopTemplate", () => {

expect(normalize(template)).toBe(
normalize(`
g.V("12")
g.V("12").as("start")
.both()
.filter(__.not(__.hasId("256", "512")))
.dedup().as("v")
.dedup().as("neighbor")
.project("vertex", "edges")
.by()
.by(
__.select("v").bothE()
.where(otherV().id().is("12"))
__.select("start").bothE()
.where(otherV().where(eq("neighbor")))
.dedup().fold()
)
`)
Expand All @@ -87,13 +87,13 @@ describe("Gremlin > oneHopTemplate", () => {

expect(normalize(template)).toBe(
normalize(`
g.V(12L)
.both().dedup().as("v")
g.V(12L).as("start")
.both().dedup().as("neighbor")
.project("vertex", "edges")
.by()
.by(
__.select("v").bothE()
.where(otherV().id().is(12L))
__.select("start").bothE()
.where(otherV().where(eq("neighbor")))
.dedup().fold()
)
`)
Expand All @@ -109,13 +109,13 @@ describe("Gremlin > oneHopTemplate", () => {

expect(normalize(template)).toBe(
normalize(`
g.V("12")
.both().dedup().range(5, 10).as("v")
g.V("12").as("start")
.both().dedup().range(5, 10).as("neighbor")
.project("vertex", "edges")
.by()
.by(
__.select("v").bothE()
.where(otherV().id().is("12"))
__.select("start").bothE()
.where(otherV().where(eq("neighbor")))
.dedup().fold()
)
`)
Expand All @@ -132,13 +132,13 @@ describe("Gremlin > oneHopTemplate", () => {

expect(normalize(template)).toBe(
normalize(`
g.V("12")
.both().hasLabel("country").dedup().range(5, 15).as("v")
g.V("12").as("start")
.both().hasLabel("country").dedup().range(5, 15).as("neighbor")
.project("vertex", "edges")
.by()
.by(
__.select("v").bothE()
.where(otherV().id().is("12"))
__.select("start").bothE()
.where(otherV().where(eq("neighbor")))
.dedup().fold()
)
`)
Expand All @@ -155,13 +155,13 @@ describe("Gremlin > oneHopTemplate", () => {

expect(normalize(template)).toBe(
normalize(`
g.V("12")
.both().hasLabel("country", "airport", "continent").dedup().range(5, 15).as("v")
g.V("12").as("start")
.both().hasLabel("country", "airport", "continent").dedup().range(5, 15).as("neighbor")
.project("vertex", "edges")
.by()
.by(
__.select("v").bothE()
.where(otherV().id().is("12"))
__.select("start").bothE()
.where(otherV().where(eq("neighbor")))
.dedup().fold()
)
`)
Expand All @@ -182,15 +182,15 @@ describe("Gremlin > oneHopTemplate", () => {

expect(normalize(template)).toBe(
normalize(`
g.V("12")
g.V("12").as("start")
.both().hasLabel("country")
.and(has("longest",gte(10000)),has("country",containing("ES")))
.dedup().range(5, 15).as("v")
.dedup().range(5, 15).as("neighbor")
.project("vertex", "edges")
.by()
.by(
__.select("v").bothE()
.where(otherV().id().is("12"))
__.select("start").bothE()
.where(otherV().where(eq("neighbor")))
.dedup().fold()
)
`)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,21 +117,20 @@ function criterionTemplate(criterion: Criterion): string {
* limit = 10
* offset = 0
*
* g.V("124")
* .both()
* .hasLabel("airport").and(has("longest",gt(10000)), has("country",containing("ES")))
* .filter(__.not(__.hasId("256")))
* .dedup()
* .order().by(id())
* .range(0, 10)
* .as("v")
* .project("vertex", "edges")
* .by()
* .by(
* __.select("v").bothE()
* .where(otherV().id().is("124"))
* .dedup().fold()
* )
* g.V("124").as("start")
* .both()
* .hasLabel("airport").and(has("longest",gt(10000)), has("country",containing("ES")))
* .filter(__.not(__.hasId("256")))
* .dedup()
* .range(0, 10)
* .as("neighbor")
* .project("vertex", "edges")
* .by()
* .by(
* __.select("start").bothE()
* .where(otherV().where(eq("neighbor")))
* .dedup().fold()
* )
*/
export default function oneHopTemplate({
vertexId,
Expand Down Expand Up @@ -175,18 +174,18 @@ export default function oneHopTemplate({
: ``;

return query`
g.V(${idTemplate})
g.V(${idTemplate}).as("start")
.both()
${nodeFiltersTemplate}
${excludedTemplate}
.dedup()
${range}
.as("v")
.as("neighbor")
.project("vertex", "edges")
.by()
.by(
__.select("v").bothE(${edgeTypesTemplate})
.where(otherV().id().is(${idTemplate}))
__.select("start").bothE(${edgeTypesTemplate})
.where(otherV().where(eq("neighbor")))
.dedup().fold()
)
`;
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graph-explorer/shared",
"version": "2.3.0",
"version": "2.3.1",
"description": "Shared types and functions across client and server.",
"author": "amazon",
"license": "Apache-2.0",
Expand Down
Loading