Skip to content
Merged
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
4 changes: 4 additions & 0 deletions .github/workflows/cube-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@ on:
branches: [master]
paths:
- 'rust/cube-cli/**'
- 'install-cli.sh'
- 'install-cli.ps1'
- '.github/workflows/cube-cli.yml'
pull_request:
paths:
- 'rust/cube-cli/**'
- 'install-cli.sh'
- 'install-cli.ps1'
- '.github/workflows/cube-cli.yml'

concurrency:
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -803,12 +803,17 @@ jobs:
with:
target: ${{ matrix.target }}
cache-workspaces: rust/cube-cli
- name: Set crate version to the release version
# The CLI version comes from lerna.json at build time (see
# rust/cube-cli/build.rs); just guard against tag/lerna drift.
- name: Check release version matches lerna.json
shell: bash
run: |
v="${GITHUB_REF_NAME#v}"
sed -i.bak "s/^version = .*/version = \"$v\"/" rust/cube-cli/Cargo.toml
rm -f rust/cube-cli/Cargo.toml.bak
l=$(jq -r .version lerna.json)
if [ "$v" != "$l" ]; then
echo "tag version $v does not match lerna.json version $l" >&2
exit 1
fi
- name: Build
working-directory: rust/cube-cli
run: cargo build --release --target ${{ matrix.target }}
Expand Down
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,35 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.7.7](https://github.com/cube-js/cube/compare/v1.7.6...v1.7.7) (2026-07-21)

### Bug Fixes

- **cube-cli:** create endpoint 404 without --bootstrap, about text ([#11312](https://github.com/cube-js/cube/issues/11312)) ([746413d](https://github.com/cube-js/cube/commit/746413db20902a9b1afb29cf63bb670383234ff4))

## [1.7.6](https://github.com/cube-js/cube/compare/v1.7.5...v1.7.6) (2026-07-21)

### Bug Fixes

- **cube-cli:** version from lerna.json, "Cube CLI" branding, sk- API-key detection ([#11311](https://github.com/cube-js/cube/issues/11311)) ([47a9adc](https://github.com/cube-js/cube/commit/47a9adc47b54285185ab72963d17f2f03e30b342))

## [1.7.5](https://github.com/cube-js/cube/compare/v1.7.4...v1.7.5) (2026-07-21)

### Bug Fixes

- **cubestore:** do not log rate limit errors as errors in HTTP module ([#11293](https://github.com/cube-js/cube/issues/11293)) ([a23d5d6](https://github.com/cube-js/cube/commit/a23d5d663c47bd5918f1dfa62f4aa20cba8eef58))
- **cubestore:** raise Kafka watermark fetch timeout to stop constant broker disconnects ([#11290](https://github.com/cube-js/cube/issues/11290)) ([d1d0846](https://github.com/cube-js/cube/commit/d1d0846500141c2bfc7a755a476935572cdad45c))
- **cubestore:** send x-amz-server-side-encryption only on object-storing S3 requests ([#11278](https://github.com/cube-js/cube/issues/11278)) ([3013a46](https://github.com/cube-js/cube/commit/3013a46f3cb96b50d2f8b95f6e236b889692aa63)), closes [cube-js/rust-s3#2](https://github.com/cube-js/rust-s3/issues/2) [cube-js/rust-s3#2](https://github.com/cube-js/rust-s3/issues/2)
- **schema-compiler:** do not stamp default target on links meta ([#11294](https://github.com/cube-js/cube/issues/11294)) ([c7db3fc](https://github.com/cube-js/cube/commit/c7db3fc8874075c87e4cae33d75a18411cbe420e))
- **schema-compiler:** resolve view extends order dependency ([#11297](https://github.com/cube-js/cube/issues/11297)) ([d6363c4](https://github.com/cube-js/cube/commit/d6363c4a3657f92c79c2c7fc7b32cf93257cb808)), closes [#11260](https://github.com/cube-js/cube/issues/11260) [#11260](https://github.com/cube-js/cube/issues/11260)
- **schema-compiler:** Throw UserError for unknown granularity so API returns 400, thanks @BrianSigafoos-SQ ([#11288](https://github.com/cube-js/cube/issues/11288)) ([e8843dc](https://github.com/cube-js/cube/commit/e8843dc318391fcc05dcac7a3c494e2dbf080c25))

### Features

- add lastRefreshTime to Load Request Success telemetry events ([#11283](https://github.com/cube-js/cube/issues/11283)) ([802758c](https://github.com/cube-js/cube/commit/802758cb974d787fe5ff0e3f2297bf51b0710694))
- **cube-cli:** GitHub import, upload deploy, install/self-update, telemetry ([#11291](https://github.com/cube-js/cube/issues/11291)) ([11c67c4](https://github.com/cube-js/cube/commit/11c67c451f09840ece18b6d5e800bff182723ddf))
- **cubestore:** Introduce SYS CACHESTORE WIPE ([#11298](https://github.com/cube-js/cube/issues/11298)) ([9c91f60](https://github.com/cube-js/cube/commit/9c91f60a52c54a4324a4f618721459a6234597cc))

## [1.7.4](https://github.com/cube-js/cube/compare/v1.7.3...v1.7.4) (2026-07-17)

### Bug Fixes
Expand Down
44 changes: 44 additions & 0 deletions install-cli.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Cube CLI installer for Windows (x86_64).
#
# irm https://raw.githubusercontent.com/cube-js/cube/master/install-cli.ps1 | iex
#
# Environment overrides:
# CUBE_INSTALL_DIR install directory (default: %LOCALAPPDATA%\cube\bin)
# CUBE_VERSION release tag to install, e.g. v1.7.5 (default: latest)
$ErrorActionPreference = "Stop"

$Repo = "cube-js/cube"
$Target = "x86_64-pc-windows-msvc"

$Version = if ($env:CUBE_VERSION) { $env:CUBE_VERSION } else { "latest" }
$Url = if ($Version -eq "latest") {
"https://github.com/$Repo/releases/latest/download/cube-$Target.tar.gz"
} else {
"https://github.com/$Repo/releases/download/$Version/cube-$Target.tar.gz"
}

$Dir = if ($env:CUBE_INSTALL_DIR) { $env:CUBE_INSTALL_DIR } else { Join-Path $env:LOCALAPPDATA "cube\bin" }
New-Item -ItemType Directory -Force -Path $Dir | Out-Null

$Tmp = Join-Path ([System.IO.Path]::GetTempPath()) ([System.Guid]::NewGuid().ToString())
New-Item -ItemType Directory -Force -Path $Tmp | Out-Null
try {
Write-Host "Downloading cube ($Target) from $Url…"
$Archive = Join-Path $Tmp "cube.tar.gz"
Invoke-WebRequest -Uri $Url -OutFile $Archive -UseBasicParsing

# tar ships with Windows 10 1803+.
tar -xzf $Archive -C $Tmp
Copy-Item -Force (Join-Path $Tmp "cube.exe") (Join-Path $Dir "cube.exe")

$Exe = Join-Path $Dir "cube.exe"
Write-Host "Installed $(& $Exe --version) to $Exe"

$UserPath = [Environment]::GetEnvironmentVariable("Path", "User")
if (($UserPath -split ";") -notcontains $Dir) {
[Environment]::SetEnvironmentVariable("Path", "$Dir;$UserPath", "User")
Write-Host "Added $Dir to your user PATH (restart your terminal to pick it up)."
}
} finally {
Remove-Item -Recurse -Force $Tmp -ErrorAction SilentlyContinue
}
73 changes: 73 additions & 0 deletions install-cli.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
#!/bin/sh
# Cube CLI installer for Linux and macOS.
#
# curl -fsSL https://raw.githubusercontent.com/cube-js/cube/master/install-cli.sh | sh
#
# Environment overrides:
# CUBE_INSTALL_DIR install directory (default: /usr/local/bin if
# writable, else ~/.local/bin)
# CUBE_VERSION release tag to install, e.g. v1.7.5 (default: latest)
set -eu

REPO="cube-js/cube"

main() {
os=$(uname -s)
arch=$(uname -m)
case "$os" in
Linux) os_part="unknown-linux-musl" ;;
Darwin) os_part="apple-darwin" ;;
*) err "unsupported OS: $os (use install.ps1 on Windows)" ;;
esac
case "$arch" in
x86_64|amd64) arch_part="x86_64" ;;
arm64|aarch64) arch_part="aarch64" ;;
*) err "unsupported architecture: $arch" ;;
esac
target="${arch_part}-${os_part}"

if [ "${CUBE_VERSION:-latest}" = "latest" ]; then
url="https://github.com/${REPO}/releases/latest/download/cube-${target}.tar.gz"
else
url="https://github.com/${REPO}/releases/download/${CUBE_VERSION}/cube-${target}.tar.gz"
fi

dir="${CUBE_INSTALL_DIR:-}"
if [ -z "$dir" ]; then
if [ -w /usr/local/bin ]; then
dir=/usr/local/bin
else
dir="$HOME/.local/bin"
fi
fi
mkdir -p "$dir"

tmp=$(mktemp -d)
trap 'rm -rf "$tmp"' EXIT

echo "Downloading cube (${target}) from ${url}…"
if command -v curl >/dev/null 2>&1; then
curl -fsSL "$url" -o "$tmp/cube.tar.gz"
elif command -v wget >/dev/null 2>&1; then
wget -qO "$tmp/cube.tar.gz" "$url"
else
err "neither curl nor wget is available"
fi

tar -xzf "$tmp/cube.tar.gz" -C "$tmp"
install -m 755 "$tmp/cube" "$dir/cube"

echo "Installed $("$dir/cube" --version) to $dir/cube"
case ":$PATH:" in
*":$dir:"*) ;;
*) echo "NOTE: $dir is not on your PATH — add it, e.g.:"
echo " export PATH=\"$dir:\$PATH\"" ;;
esac
}

err() {
echo "error: $1" >&2
exit 1
}

main "$@"
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.7.4",
"version": "1.7.7",
"npmClient": "yarn",
"command": {
"bootstrap": {
Expand Down
14 changes: 14 additions & 0 deletions packages/cubejs-api-gateway/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.7.7](https://github.com/cube-js/cube/compare/v1.7.6...v1.7.7) (2026-07-21)

**Note:** Version bump only for package @cubejs-backend/api-gateway

## [1.7.6](https://github.com/cube-js/cube/compare/v1.7.5...v1.7.6) (2026-07-21)

**Note:** Version bump only for package @cubejs-backend/api-gateway

## [1.7.5](https://github.com/cube-js/cube/compare/v1.7.4...v1.7.5) (2026-07-21)

### Features

- add lastRefreshTime to Load Request Success telemetry events ([#11283](https://github.com/cube-js/cube/issues/11283)) ([802758c](https://github.com/cube-js/cube/commit/802758cb974d787fe5ff0e3f2297bf51b0710694))

## [1.7.4](https://github.com/cube-js/cube/compare/v1.7.3...v1.7.4) (2026-07-17)

**Note:** Version bump only for package @cubejs-backend/api-gateway
Expand Down
10 changes: 5 additions & 5 deletions packages/cubejs-api-gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@cubejs-backend/api-gateway",
"description": "Cube API Gateway",
"author": "Cube Dev, Inc.",
"version": "1.7.4",
"version": "1.7.7",
"repository": {
"type": "git",
"url": "https://github.com/cube-js/cube.git",
Expand All @@ -27,9 +27,9 @@
"dist/src/*"
],
"dependencies": {
"@cubejs-backend/native": "1.7.4",
"@cubejs-backend/query-orchestrator": "1.7.4",
"@cubejs-backend/shared": "1.7.4",
"@cubejs-backend/native": "1.7.7",
"@cubejs-backend/query-orchestrator": "1.7.7",
"@cubejs-backend/shared": "1.7.7",
"@ungap/structured-clone": "^0.3.4",
"assert-never": "^1.4.0",
"body-parser": "^1.19.0",
Expand All @@ -53,7 +53,7 @@
"zod": "^4.1.13"
},
"devDependencies": {
"@cubejs-backend/linter": "1.7.4",
"@cubejs-backend/linter": "1.7.7",
"@types/express": "^4.17.21",
"@types/jest": "^29",
"@types/jsonwebtoken": "^9.0.2",
Expand Down
12 changes: 12 additions & 0 deletions packages/cubejs-athena-driver/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.7.7](https://github.com/cube-js/cube/compare/v1.7.6...v1.7.7) (2026-07-21)

**Note:** Version bump only for package @cubejs-backend/athena-driver

## [1.7.6](https://github.com/cube-js/cube/compare/v1.7.5...v1.7.6) (2026-07-21)

**Note:** Version bump only for package @cubejs-backend/athena-driver

## [1.7.5](https://github.com/cube-js/cube/compare/v1.7.4...v1.7.5) (2026-07-21)

**Note:** Version bump only for package @cubejs-backend/athena-driver

## [1.7.4](https://github.com/cube-js/cube/compare/v1.7.3...v1.7.4) (2026-07-17)

**Note:** Version bump only for package @cubejs-backend/athena-driver
Expand Down
10 changes: 5 additions & 5 deletions packages/cubejs-athena-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@cubejs-backend/athena-driver",
"description": "Cube.js Athena database driver",
"author": "Cube Dev, Inc.",
"version": "1.7.4",
"version": "1.7.7",
"repository": {
"type": "git",
"url": "https://github.com/cube-js/cube.git",
Expand Down Expand Up @@ -30,13 +30,13 @@
"dependencies": {
"@aws-sdk/client-athena": "^3.22.0",
"@aws-sdk/credential-providers": "^3.22.0",
"@cubejs-backend/base-driver": "1.7.4",
"@cubejs-backend/shared": "1.7.4",
"@cubejs-backend/base-driver": "1.7.7",
"@cubejs-backend/shared": "1.7.7",
"sqlstring": "^2.3.1"
},
"devDependencies": {
"@cubejs-backend/linter": "1.7.4",
"@cubejs-backend/testing-shared": "1.7.4",
"@cubejs-backend/linter": "1.7.7",
"@cubejs-backend/testing-shared": "1.7.7",
"@types/ramda": "^0.27.40",
"typescript": "~5.2.2"
},
Expand Down
12 changes: 12 additions & 0 deletions packages/cubejs-backend-cloud/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.7.7](https://github.com/cube-js/cube/compare/v1.7.6...v1.7.7) (2026-07-21)

**Note:** Version bump only for package @cubejs-backend/cloud

## [1.7.6](https://github.com/cube-js/cube/compare/v1.7.5...v1.7.6) (2026-07-21)

**Note:** Version bump only for package @cubejs-backend/cloud

## [1.7.5](https://github.com/cube-js/cube/compare/v1.7.4...v1.7.5) (2026-07-21)

**Note:** Version bump only for package @cubejs-backend/cloud

## [1.7.4](https://github.com/cube-js/cube/compare/v1.7.3...v1.7.4) (2026-07-17)

**Note:** Version bump only for package @cubejs-backend/cloud
Expand Down
6 changes: 3 additions & 3 deletions packages/cubejs-backend-cloud/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cubejs-backend/cloud",
"version": "1.7.4",
"version": "1.7.7",
"description": "Cube Cloud package",
"main": "dist/src/index.js",
"typings": "dist/src/index.d.ts",
Expand Down Expand Up @@ -30,15 +30,15 @@
"devDependencies": {
"@babel/core": "^7.24.5",
"@babel/preset-env": "^7.24.5",
"@cubejs-backend/linter": "1.7.4",
"@cubejs-backend/linter": "1.7.7",
"@types/fs-extra": "^9.0.8",
"@types/jest": "^29",
"jest": "^29",
"typescript": "~5.2.2"
},
"dependencies": {
"@cubejs-backend/dotenv": "^9.0.2",
"@cubejs-backend/shared": "1.7.4",
"@cubejs-backend/shared": "1.7.7",
"chokidar": "^3.5.1",
"env-var": "^6.3.0",
"form-data": "^4.0.0",
Expand Down
12 changes: 12 additions & 0 deletions packages/cubejs-backend-maven/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.7.7](https://github.com/cube-js/cube/compare/v1.7.6...v1.7.7) (2026-07-21)

**Note:** Version bump only for package @cubejs-backend/maven

## [1.7.6](https://github.com/cube-js/cube/compare/v1.7.5...v1.7.6) (2026-07-21)

**Note:** Version bump only for package @cubejs-backend/maven

## [1.7.5](https://github.com/cube-js/cube/compare/v1.7.4...v1.7.5) (2026-07-21)

**Note:** Version bump only for package @cubejs-backend/maven

## [1.7.4](https://github.com/cube-js/cube/compare/v1.7.3...v1.7.4) (2026-07-17)

**Note:** Version bump only for package @cubejs-backend/maven
Expand Down
6 changes: 3 additions & 3 deletions packages/cubejs-backend-maven/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@cubejs-backend/maven",
"description": "Cube.js Maven Wrapper for java dependencies downloading",
"author": "Cube Dev, Inc.",
"version": "1.7.4",
"version": "1.7.7",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down Expand Up @@ -31,12 +31,12 @@
"dist/src/*"
],
"dependencies": {
"@cubejs-backend/shared": "1.7.4",
"@cubejs-backend/shared": "1.7.7",
"source-map-support": "^0.5.19",
"xmlbuilder2": "^2.4.0"
},
"devDependencies": {
"@cubejs-backend/linter": "1.7.4",
"@cubejs-backend/linter": "1.7.7",
"@types/jest": "^29",
"@types/node": "^22",
"jest": "^29",
Expand Down
Loading
Loading