Skip to content

Commit 7def0f3

Browse files
authored
Merge branch 'master' into vertica_driver
2 parents 52d1814 + 7def23b commit 7def0f3

File tree

281 files changed

+6655
-4355
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

281 files changed

+6655
-4355
lines changed

.github/workflows/post-release.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -205,22 +205,3 @@ jobs:
205205
color: danger
206206
env:
207207
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
208-
209-
trigger-repo-sync:
210-
runs-on: ubuntu-20.04
211-
name: 'Sync runtime repo'
212-
timeout-minutes: 60
213-
steps:
214-
- name: Checkout
215-
uses: actions/checkout@v4
216-
- name: Trigger runtime
217-
uses: actions/github-script@v6
218-
with:
219-
github-token: ${{ secrets.GH_TRIGGER_TOKEN }}
220-
script: |
221-
await github.rest.actions.createWorkflowDispatch({
222-
owner: 'cubedevinc',
223-
repo: 'cube-runtime',
224-
workflow_id: 'sync.yml',
225-
ref: 'master'
226-
})

.github/workflows/publish.yml

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ jobs:
744744
name: Trigger test suites run
745745
runs-on: ubuntu-20.04
746746
needs: [docker-default]
747-
timeout-minutes: 60
747+
timeout-minutes: 15
748748
steps:
749749
- name: Checkout
750750
uses: actions/checkout@v4
@@ -769,3 +769,37 @@ jobs:
769769
'initiator': '${{ github.actor }}'
770770
}
771771
})
772+
773+
trigger-repo-sync:
774+
name: Trigger runtime repo
775+
runs-on: ubuntu-20.04
776+
needs: [docker-default]
777+
timeout-minutes: 15
778+
steps:
779+
- name: Checkout
780+
uses: actions/checkout@v4
781+
with:
782+
fetch-depth: 0 # Ensure full git history is fetched
783+
- name: Detect branch name
784+
id: detect_branch
785+
run: |
786+
BRANCH_NAME=$(git branch -r --contains "$GITHUB_SHA" | grep -v 'HEAD' | head -n 1 | sed -e 's/.*origin\///')
787+
echo "branch_name=$BRANCH_NAME" >> "$GITHUB_OUTPUT"
788+
- name: Trigger runtime
789+
uses: actions/github-script@v6
790+
with:
791+
github-token: ${{ secrets.GH_TRIGGER_TOKEN }}
792+
script: |
793+
const tagName = process.env.GITHUB_REF.replace('refs/tags/', '');
794+
const branchName = '${{ steps.detect_branch.outputs.branch_name }}';
795+
796+
await github.rest.actions.createWorkflowDispatch({
797+
owner: 'cubedevinc',
798+
repo: 'cube-runtime',
799+
workflow_id: 'sync.yml',
800+
ref: 'master',
801+
inputs: {
802+
'tag': tagName,
803+
'branch': branchName,
804+
}
805+
})

.github/workflows/rust-cubesql.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,17 @@ on:
55
paths:
66
- '.github/workflows/rust-cubesql.yml'
77
- 'packages/cubejs-backend-native/**'
8+
- 'rust/cubenativeutils/**'
9+
- 'rust/cubesqlplanner/**'
810
- 'rust/cubesql/**'
911
branches:
1012
- 'master'
1113
pull_request:
1214
paths:
1315
- '.github/workflows/rust-cubesql.yml'
1416
- 'packages/cubejs-backend-native/**'
17+
- 'rust/cubenativeutils/**'
18+
- 'rust/cubesqlplanner/**'
1519
- 'rust/cubesql/**'
1620

1721
jobs:
@@ -43,6 +47,10 @@ jobs:
4347
run: cd rust/cubesql && cargo fmt --all -- --check
4448
- name: Lint Native
4549
run: cd packages/cubejs-backend-native && cargo fmt --all -- --check
50+
- name: Lint cubenativeutils
51+
run: cd rust/cubenativeutils && cargo fmt --all -- --check
52+
- name: Lint cubesqlplanner
53+
run: cd rust/cubesqlplanner && cargo fmt --all -- --check
4654
- name: Clippy CubeSQL
4755
run: cd rust/cubesql && cargo clippy --locked --workspace --all-targets --keep-going -- -D warnings
4856
- name: Clippy Native

CHANGELOG.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,55 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [1.0.3](https://github.com/cube-js/cube/compare/v1.0.2...v1.0.3) (2024-10-22)
7+
8+
9+
### Features
10+
11+
* **bigquery-driver:** optimize testConnection() with free of charge request ([#8845](https://github.com/cube-js/cube/issues/8845)) ([99ad335](https://github.com/cube-js/cube/commit/99ad335d5a48dd3bfab48720d23cb39773817b9f))
12+
* **redshift-driver:** optimize testConnection() with just establishing connection without real query ([#8847](https://github.com/cube-js/cube/issues/8847)) ([3c20346](https://github.com/cube-js/cube/commit/3c20346cbb3f7680642af1c69b8ad2075a209361))
13+
14+
15+
### Reverts
16+
17+
* Revert "feat(base-driver): add an option to skip connection test probes (#8833)" (#8846) ([d1698ce](https://github.com/cube-js/cube/commit/d1698cebbb017059ec1e7c11397fbdf73d072e49)), closes [#8833](https://github.com/cube-js/cube/issues/8833) [#8846](https://github.com/cube-js/cube/issues/8846)
18+
19+
20+
21+
22+
23+
## [1.0.2](https://github.com/cube-js/cube/compare/v1.0.1...v1.0.2) (2024-10-21)
24+
25+
26+
### Bug Fixes
27+
28+
* **cubejs-playground:** update query builder ([#8827](https://github.com/cube-js/cube/issues/8827)) ([5965e59](https://github.com/cube-js/cube/commit/5965e596e6016b0b11bf4d3ed463b1a8ac2a370f))
29+
30+
31+
### Features
32+
33+
* **base-driver:** add an option to skip connection test probes ([#8833](https://github.com/cube-js/cube/issues/8833)) ([1fd7a3e](https://github.com/cube-js/cube/commit/1fd7a3e6920d47d391c776ac2c926f7410fb68d2))
34+
* **cubesql:** Top-down extractor for rewrites ([#8694](https://github.com/cube-js/cube/issues/8694)) ([e8fe6db](https://github.com/cube-js/cube/commit/e8fe6db3b382bab91d9b2e2b46886095b5f8b2e6))
35+
* OpenAPI - declare meta field ([#8840](https://github.com/cube-js/cube/issues/8840)) ([55b8f63](https://github.com/cube-js/cube/commit/55b8f637ce721e1145050699671051ea524f5b19))
36+
* OpenAPI - declare type field for Cube ([#8837](https://github.com/cube-js/cube/issues/8837)) ([578b90c](https://github.com/cube-js/cube/commit/578b90c9c89926d333498cfe6f2f155579688cb0))
37+
* **sqlplanner:** Base multi staging support ([#8832](https://github.com/cube-js/cube/issues/8832)) ([20ed3e0](https://github.com/cube-js/cube/commit/20ed3e0ac23d3664372b9ee4b5450b0c35f04e91))
38+
39+
40+
41+
42+
43+
## [1.0.1](https://github.com/cube-js/cube/compare/v1.0.0...v1.0.1) (2024-10-16)
44+
45+
46+
### Features
47+
48+
* **cubesql:** QueryRouter - remove some MySQL functionality ([#8818](https://github.com/cube-js/cube/issues/8818)) ([5935964](https://github.com/cube-js/cube/commit/59359641cab81bdea55db83075a1e009b52087a7))
49+
* **firebolt-driver:** Use driver's own test connection method, thanks [@ptiurin](https://github.com/ptiurin) ([#8815](https://github.com/cube-js/cube/issues/8815)) ([70a36d8](https://github.com/cube-js/cube/commit/70a36d800868238baaa5ff0f1202329e329c5160))
50+
51+
52+
53+
54+
655
# [1.0.0](https://github.com/cube-js/cube/compare/v0.36.11...v1.0.0) (2024-10-15)
756

857

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ By contributing to Cube Dev, Inc., You accept and agree to the terms and conditi
3434

3535
### Prerequisites
3636

37-
Cube works with Node.js 10+ and uses Yarn as a package manager.
37+
Cube works with Node.js 20+ and uses Yarn as a package manager.
3838

3939
### Cube Docker
4040

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
<p align="center">
22
<a href="https://cube.dev?ref=github-readme"><img src="https://raw.githubusercontent.com/cube-js/cube/master/docs/content/cube-logo-with-bg.png" alt="Cube — Semantic Layer for Data Applications" width="300px"></a>
33
</p>
4-
5-
<p align="center">
6-
<a href="https://cube.registration.goldcast.io/events/e0bdd44b-6e9a-4581-be45-9b46fae010b8?ref=github-readme">
7-
<img src="https://ucarecdn.com/459df450-5984-42da-9211-a1d70a96e6a5/"/>
8-
</a>
9-
</p>
104
<br/>
115

126
[Website](https://cube.dev?ref=github-readme)[Getting Started](https://cube.dev/docs/getting-started?ref=github-readme)[Docs](https://cube.dev/docs?ref=github-readme)[Examples](https://cube.dev/docs/examples?ref=github-readme)[Blog](https://cube.dev/blog?ref=github-readme)[Slack](https://slack.cube.dev?ref=github-readme)[Twitter](https://twitter.com/the_cube_dev)

docs/pages/product/caching/using-pre-aggregations.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ second.
290290

291291
When you define additional indexes, you don't incur any additional costs on
292292
the data warehouse side. However, the pre-aggregation build time for a
293-
particular pre-aggregation increases with each index.
293+
particular pre-aggregation increases with each index because all indexes for pre-aggregation are built during ingestion time.
294294

295295
### When to use indexes?
296296

docs/theme.config.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ const config: DocsThemeConfig = {
111111
extraContent: (
112112
<div>
113113
<br/>
114-
<a target="_blank" href="https://cube.registration.goldcast.io/events/e0bdd44b-6e9a-4581-be45-9b46fae010b8?ref=github-readme">
115-
<img src="https://ucarecdn.com/79c21019-78d0-4d33-a380-f04409cb807b/"/>
114+
<a target="_blank" href="https://cube.dev/blog/cube-cloud-named-fast-moving-leader-in-gigaoms-2024-sonar-report?utm_source=cube&utm_medium=docs">
115+
<img src="https://ucarecdn.com/a16cd6ee-4310-4507-a528-3caeda0777c2/"/>
116116
</a>
117117
</div>
118118
)

lerna-publish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ BUMP=$1
1111
if [ "x$BUMP" == "x" ]; then
1212
BUMP=patch
1313
fi
14-
yarn lerna version --create-release=github --conventional-commits $BUMP
14+
yarn lerna version --create-release=github --conventional-commits --exact $BUMP

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.0.0",
2+
"version": "1.0.3",
33
"npmClient": "yarn",
44
"useWorkspaces": true,
55
"packages": [

0 commit comments

Comments
 (0)