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
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
**Check List**
- [ ] Tests has been run in packages where changes made if available
- [ ] Tests have been run in packages where changes made if available
- [ ] Linter has been run for changed code
- [ ] Tests for the changes have been added if not covered yet
- [ ] Docs have been added / updated if required
Expand Down
28 changes: 9 additions & 19 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ jobs:
strategy:
matrix:
node-version: [20.x]
os-version: ["macos-12"]
os-version: ["macos-13"]
target: ["x86_64-apple-darwin", "aarch64-apple-darwin"]
python-version: ["3.9", "3.10", "3.11", "3.12", "fallback"]
include:
Expand Down Expand Up @@ -191,7 +191,7 @@ jobs:
components: rustfmt
target: ${{ matrix.target }}
- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
if: (matrix.python-version != 'fallback')
with:
python-version: ${{ matrix.python-version }}
Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:
rustflags: ""
components: rustfmt
- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
if: (matrix.python-version != 'fallback')
with:
python-version: ${{ matrix.python-version }}
Expand Down Expand Up @@ -676,7 +676,7 @@ jobs:
# Please use minimal possible version of macOS, because it produces constraint on libstdc++
tar_executable: tar
- target: x86_64-apple-darwin
os: macos-12
os: macos-13
executable_name: cubestored
# upx has been disabled because it is crashing for macOS Ventura or above! It was disabled on 2024-09-05.
strip: false
Expand Down Expand Up @@ -784,7 +784,7 @@ jobs:
})

detect_branch:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
outputs:
is_master: ${{ steps.detect_branch.outputs.is_master }}
branch: ${{ steps.detect_branch.outputs.branch }}
Expand All @@ -793,20 +793,10 @@ jobs:
uses: actions/checkout@v4
- name: Detect branch name
id: detect_branch
env:
EVENT_BASE_REF: ${{ github.event.base_ref || 'master' }}
run: |
BRANCH=${EVENT_BASE_REF#refs/heads/}
echo "Detected branch: $BRANCH"

IS_MASTER=false
if [ "$BRANCH" == "master" ]; then
IS_MASTER=true
fi
echo "Detected is_master: $IS_MASTER"

echo "branch=$BRANCH" >> "$GITHUB_OUTPUT"
echo "is_master=$IS_MASTER" >> "$GITHUB_OUTPUT"
# Git & GitHub (for now) doesn't provide an easy/stable way to detect branch name from tag.
echo "branch=lts/v1.0" >> "$GITHUB_OUTPUT"
echo "is_master=false" >> "$GITHUB_OUTPUT"

trigger-repo-sync:
name: Trigger runtime repo
Expand All @@ -817,7 +807,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Trigger runtime
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GH_TRIGGER_TOKEN }}
script: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,11 @@ jobs:
matrix:
# Current docker version + next LTS
node-version: [20.x, 22.x]
transpile-worker-threads: [false, true]
fail-fast: false

env:
CUBEJS_TRANSPILATION_WORKER_THREADS: ${{ matrix.transpile-worker-threads }}
steps:
- id: get-tag-out
run: echo "$OUT"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust-cubesql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ jobs:
components: rustfmt
target: ${{ matrix.target }}
- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
if: (matrix.python-version != 'fallback')
with:
python-version: ${{ matrix.python-version }}
Expand Down Expand Up @@ -327,7 +327,7 @@ jobs:
rustflags: ""
components: rustfmt
- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
if: (matrix.python-version != 'fallback')
with:
python-version: ${{ matrix.python-version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust-cubestore-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Push to Docker Hub
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: ./rust/cubestore
file: ./rust/cubestore/Dockerfile
Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:
# cubestored.exe: CantPackException: superfluous data between sections
compress: false
# Please use minimal possible version of macOS, because it produces constraint on libstdc++
- os: macos-12
- os: macos-13
target: x86_64-apple-darwin
executable_name: cubestored
# upx has been disabled because it is crashing for macOS Ventura or above! It was disabled on 2024-09-05.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust-cubestore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build only
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: ./rust/cubestore/
file: ./rust/cubestore/Dockerfile
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
# cubestored.exe: CantPackException: superfluous data between sections
compress: false
# Please use minimal possible version of macOS, because it produces constraint on libstdc++
- os: macos-12
- os: macos-13
target: x86_64-apple-darwin
executable_name: cubestored
# upx has been disabled because it is crashing for macOS Ventura or above! It was disabled on 2024-09-05.
Expand Down
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,37 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.7](https://github.com/cube-js/cube/compare/v1.0.6...v1.0.7) (2024-12-08)


### Bug Fixes

* **ksql-driver:** Select queries for ksql allowed only from Cube Store. In order to query ksql create pre-aggregation first if Kafka download isn't enabled ([8af60fe](https://github.com/cube-js/cube/commit/8af60fee19114f5a6b2a9a615035062ee99774cb))





## [1.0.6](https://github.com/cube-js/cube/compare/v1.0.5...v1.0.6) (2024-12-07)


### Bug Fixes

* **databricks-driver:** fix databricks bucket URL parsing. Now driver supports both (legacy and modern urls) ([#8968](https://github.com/cube-js/cube/issues/8968)) ([#9026](https://github.com/cube-js/cube/issues/9026)) ([3958a62](https://github.com/cube-js/cube/commit/3958a62d91f65c1fdf04206223ade2e48f9e8344))
* **schema-compiler:** set missed CUBESQL_SQL_PUSH_DOWN to true by default in convertTzForRawTimeDimension flag ([#8939](https://github.com/cube-js/cube/issues/8939)) ([b20a3ca](https://github.com/cube-js/cube/commit/b20a3ca087e7002b6600e6d4c82d6a2372d54e1e))





## [1.0.5](https://github.com/cube-js/cube/compare/v1.0.4...v1.0.5) (2024-10-28)

**Note:** Version bump only for package cubejs





## [1.0.4](https://github.com/cube-js/cube/compare/v1.0.3...v1.0.4) (2024-10-23)


Expand Down
8 changes: 1 addition & 7 deletions lerna-publish.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
#!/bin/bash
. .gh-token

BRANCH="$(git rev-parse --abbrev-ref HEAD)"
if [[ "$BRANCH" != "master" ]]; then
echo 'Must be run from the master branch';
exit 1;
fi

BUMP=$1
if [ "x$BUMP" == "x" ]; then
BUMP=patch
fi
yarn lerna version --create-release=github --conventional-commits --exact $BUMP
yarn lerna version --create-release=github --conventional-commits --force-publish --exact $BUMP
8 changes: 7 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.4",
"version": "1.0.7",
"npmClient": "yarn",
"useWorkspaces": true,
"packages": [
Expand All @@ -13,6 +13,12 @@
"npmClientArgs": [
"--frozen-lockfile"
]
},
"version": {
"allowBranch": [
"master",
"lts/*"
]
}
}
}
16 changes: 16 additions & 0 deletions packages/cubejs-api-gateway/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.6](https://github.com/cube-js/cube/compare/v1.0.5...v1.0.6) (2024-12-07)

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





## [1.0.5](https://github.com/cube-js/cube/compare/v1.0.4...v1.0.5) (2024-10-28)

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





## [1.0.4](https://github.com/cube-js/cube/compare/v1.0.3...v1.0.4) (2024-10-23)


Expand Down
6 changes: 3 additions & 3 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.js API Gateway",
"author": "Cube Dev, Inc.",
"version": "1.0.4",
"version": "1.0.6",
"repository": {
"type": "git",
"url": "https://github.com/cube-js/cube.git",
Expand All @@ -27,8 +27,8 @@
"dist/src/*"
],
"dependencies": {
"@cubejs-backend/native": "1.0.4",
"@cubejs-backend/shared": "1.0.3",
"@cubejs-backend/native": "1.0.6",
"@cubejs-backend/shared": "1.0.6",
"@ungap/structured-clone": "^0.3.4",
"body-parser": "^1.19.0",
"chrono-node": "^2.6.2",
Expand Down
16 changes: 16 additions & 0 deletions packages/cubejs-athena-driver/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.6](https://github.com/cube-js/cube/compare/v1.0.5...v1.0.6) (2024-12-07)

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





## [1.0.5](https://github.com/cube-js/cube/compare/v1.0.4...v1.0.5) (2024-10-28)

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





## [1.0.4](https://github.com/cube-js/cube/compare/v1.0.3...v1.0.4) (2024-10-23)

**Note:** Version bump only for package @cubejs-backend/athena-driver
Expand Down
8 changes: 4 additions & 4 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.0.4",
"version": "1.0.6",
"repository": {
"type": "git",
"url": "https://github.com/cube-js/cube.git",
Expand All @@ -29,13 +29,13 @@
"types": "dist/src/index.d.ts",
"dependencies": {
"@aws-sdk/client-athena": "^3.22.0",
"@cubejs-backend/base-driver": "1.0.3",
"@cubejs-backend/shared": "1.0.3",
"@cubejs-backend/base-driver": "1.0.6",
"@cubejs-backend/shared": "1.0.6",
"sqlstring": "^2.3.1"
},
"devDependencies": {
"@cubejs-backend/linter": "^1.0.0",
"@cubejs-backend/testing-shared": "1.0.4",
"@cubejs-backend/testing-shared": "1.0.6",
"@types/ramda": "^0.27.40",
"typescript": "~5.2.2"
},
Expand Down
8 changes: 8 additions & 0 deletions packages/cubejs-backend-cloud/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.6](https://github.com/cube-js/cube/compare/v1.0.5...v1.0.6) (2024-12-07)

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





## [1.0.3](https://github.com/cube-js/cube/compare/v1.0.2...v1.0.3) (2024-10-22)

**Note:** Version bump only for package @cubejs-backend/cloud
Expand Down
4 changes: 2 additions & 2 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.0.3",
"version": "1.0.6",
"description": "Cube Cloud package",
"main": "dist/src/index.js",
"typings": "dist/src/index.d.ts",
Expand Down Expand Up @@ -32,7 +32,7 @@
},
"dependencies": {
"@cubejs-backend/dotenv": "^9.0.2",
"@cubejs-backend/shared": "1.0.3",
"@cubejs-backend/shared": "1.0.6",
"chokidar": "^3.5.1",
"env-var": "^6.3.0",
"fs-extra": "^9.1.0",
Expand Down
8 changes: 8 additions & 0 deletions packages/cubejs-backend-maven/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.6](https://github.com/cube-js/cube/compare/v1.0.5...v1.0.6) (2024-12-07)

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





## [1.0.3](https://github.com/cube-js/cube/compare/v1.0.2...v1.0.3) (2024-10-22)

**Note:** Version bump only for package @cubejs-backend/maven
Expand Down
4 changes: 2 additions & 2 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.0.3",
"version": "1.0.6",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down Expand Up @@ -31,7 +31,7 @@
"dist/src/*"
],
"dependencies": {
"@cubejs-backend/shared": "1.0.3",
"@cubejs-backend/shared": "1.0.6",
"source-map-support": "^0.5.19",
"xmlbuilder2": "^2.4.0"
},
Expand Down
Loading