Skip to content

Commit 79373d6

Browse files
authored
Merge branch 'master' into feature/clickhouse_utf8_filter_order
2 parents d18b953 + 1203291 commit 79373d6

File tree

149 files changed

+582
-7168
lines changed

Some content is hidden

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

149 files changed

+582
-7168
lines changed

.github/workflows/push.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ on:
1313
- 'rust/cubeorchestrator/**'
1414
- 'rust/cubeshared/**'
1515
- 'rust/cubesqlplanner/**'
16-
- 'rust/cubetranspilers/**'
1716
- '.eslintrc.js'
1817
- '.prettierrc'
1918
- 'package.json'
@@ -33,7 +32,6 @@ on:
3332
- 'rust/cubeorchestrator/**'
3433
- 'rust/cubeshared/**'
3534
- 'rust/cubesqlplanner/**'
36-
- 'rust/cubetranspilers/**'
3735
- '.eslintrc.js'
3836
- '.prettierrc'
3937
- 'package.json'
@@ -57,15 +55,10 @@ jobs:
5755
node-version: [20.x, 22.x]
5856
python-version: [3.11]
5957
transpile-worker-threads: [false, true]
60-
transpile-native: [false, true]
61-
exclude:
62-
- transpile-worker-threads: true
63-
transpile-native: true
6458
fail-fast: false
6559

6660
env:
6761
CUBEJS_TRANSPILATION_WORKER_THREADS: ${{ matrix.transpile-worker-threads }}
68-
CUBEJS_TRANSPILATION_NATIVE: ${{ matrix.transpile-native }}
6962
steps:
7063
- id: get-tag-out
7164
run: echo "$OUT"
@@ -140,9 +133,6 @@ jobs:
140133
- name: Cargo test cubeshared
141134
run: |
142135
cargo test --manifest-path rust/cubeshared/Cargo.toml -j 1
143-
- name: Cargo test cubetranspilers
144-
run: |
145-
cargo test --manifest-path rust/cubetranspilers/Cargo.toml -j 1
146136
# - name: Cargo test cubesql
147137
# run: |
148138
# cargo test --manifest-path rust/cubesql/Cargo.toml -j 1
@@ -206,9 +196,6 @@ jobs:
206196
- name: Cargo fmt cubeshared
207197
run: |
208198
cargo fmt --manifest-path rust/cubeshared/Cargo.toml -- --check
209-
- name: Cargo fmt cubetranspilers
210-
run: |
211-
cargo fmt --manifest-path rust/cubetranspilers/Cargo.toml -- --check
212199
# - name: Cargo fmt cubesql
213200
# run: |
214201
# cargo fmt --manifest-path rust/cubesql/Cargo.toml -- --check
@@ -276,9 +263,6 @@ jobs:
276263
- name: Cargo build cubeshared
277264
run: |
278265
cargo build --manifest-path rust/cubeshared/Cargo.toml -j 4
279-
- name: Cargo build cubetranspilers
280-
run: |
281-
cargo build --manifest-path rust/cubetranspilers/Cargo.toml -j 4
282266
# - name: Cargo build cubesql
283267
# run: |
284268
# cargo build --manifest-path rust/cubesql/Cargo.toml -j 4

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
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.2.7](https://github.com/cube-js/cube/compare/v1.2.6...v1.2.7) (2025-02-20)
7+
8+
### Bug Fixes
9+
10+
- **schema-compiler:** hierarchies to respect prefix value ([#9239](https://github.com/cube-js/cube/issues/9239)) ([19d1b33](https://github.com/cube-js/cube/commit/19d1b33b7df6a98198aadfa25e290fd33b89ad33))
11+
12+
### Reverts
13+
14+
- **schema-compiler:** Revert breaking changes in models transpilation ([#9240](https://github.com/cube-js/cube/issues/9240)) ([28bca42](https://github.com/cube-js/cube/commit/28bca42a1bb92fff5895ddfe4946601c0ebc2746))
15+
616
## [1.2.6](https://github.com/cube-js/cube/compare/v1.2.5...v1.2.6) (2025-02-18)
717

818
### Bug Fixes

docs/pages/product/apis-integrations/rest-api/reference.mdx

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,16 @@ redirect_from:
55

66
# REST API reference
77

8-
[REST API][ref-rest-api] provides the following endpoints.
8+
The [REST API][ref-rest-api] provides the following endpoints.
99

10-
## `/v1/load`
10+
<InfoBox>
11+
12+
The `{base_path}` part of the endpoint URLs can be [configured][ref-basepath].
13+
By default, it's `/cubejs-api`.
14+
15+
</InfoBox>
16+
17+
## `{base_path}/v1/load`
1118

1219
Get the data for a query.
1320

@@ -90,7 +97,7 @@ values.
9097

9198
</WarningBox>
9299

93-
## `/v1/sql`
100+
## `{base_path}/v1/sql`
94101

95102
Get the SQL Code generated by Cube to be executed in the database.
96103

@@ -152,7 +159,7 @@ that Cube passes to an underlying data source driver later when executing the qu
152159

153160
</InfoBox>
154161

155-
## `/v1/meta`
162+
## `{base_path}/v1/meta`
156163

157164
Get meta-information for cubes and views defined in the data model. Information about cubes and views with `public: false` will not be returned.
158165

@@ -222,7 +229,7 @@ Example response:
222229
}
223230
```
224231

225-
## `/v1/pre-aggregations/jobs`
232+
## `{base_path}/v1/pre-aggregations/jobs`
226233

227234
Trigger pre-aggregation build jobs or retrieve statuses of such jobs.
228235

@@ -378,13 +385,8 @@ Example response:
378385

379386
## `/readyz`
380387

381-
Returns the ready state of the deployment.
382-
383-
**Single-tenant:** Ensures the orchestration layer is operational and tests the
384-
connection to the default `dataSource`.
385-
386-
**Multi-tenant:** Tests connections per-tenant. If no connections exist, it will
387-
report as successful.
388+
Reports if the deployment has successfully started. To do so, it will try to test
389+
the connection to the _default_ [data source][ref-datasources].
388390

389391
Example of a successful request:
390392

@@ -422,9 +424,8 @@ Keep-Alive: timeout=5
422424

423425
## `/livez`
424426

425-
Returns the liveness state of the deployment. This is confirmed by testing any
426-
existing connections to `dataSource`. If no connections exist, it will report as
427-
successful.
427+
Reports if the deployment is still healthy. This is confirmed by testing any
428+
existing connections to data sources.
428429

429430
Example of a successful response:
430431

@@ -460,6 +461,7 @@ Keep-Alive: timeout=5
460461
{"health":"DOWN"}
461462
```
462463

463-
[ref-recipes-data-blending]:
464-
/product/data-modeling/concepts/data-blending#data-blending
464+
[ref-recipes-data-blending]: /product/data-modeling/concepts/data-blending#data-blending
465465
[ref-rest-api]: /product/apis-integrations/rest-api
466+
[ref-basepath]: /product/apis-integrations/rest-api#base-path
467+
[ref-datasources]: /product/configuration/advanced/multiple-data-sources

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.2.6",
2+
"version": "1.2.7",
33
"npmClient": "yarn",
44
"command": {
55
"bootstrap": {

packages/cubejs-api-gateway/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
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.2.7](https://github.com/cube-js/cube/compare/v1.2.6...v1.2.7) (2025-02-20)
7+
8+
**Note:** Version bump only for package @cubejs-backend/api-gateway
9+
610
## [1.2.6](https://github.com/cube-js/cube/compare/v1.2.5...v1.2.6) (2025-02-18)
711

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

packages/cubejs-api-gateway/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@cubejs-backend/api-gateway",
33
"description": "Cube.js API Gateway",
44
"author": "Cube Dev, Inc.",
5-
"version": "1.2.6",
5+
"version": "1.2.7",
66
"repository": {
77
"type": "git",
88
"url": "https://github.com/cube-js/cube.git",
@@ -27,8 +27,8 @@
2727
"dist/src/*"
2828
],
2929
"dependencies": {
30-
"@cubejs-backend/native": "1.2.6",
31-
"@cubejs-backend/shared": "1.2.6",
30+
"@cubejs-backend/native": "1.2.7",
31+
"@cubejs-backend/shared": "1.2.7",
3232
"@ungap/structured-clone": "^0.3.4",
3333
"body-parser": "^1.19.0",
3434
"chrono-node": "^2.6.2",
@@ -50,7 +50,7 @@
5050
"uuid": "^8.3.2"
5151
},
5252
"devDependencies": {
53-
"@cubejs-backend/linter": "1.2.6",
53+
"@cubejs-backend/linter": "1.2.7",
5454
"@types/express": "^4.17.21",
5555
"@types/jest": "^27",
5656
"@types/jsonwebtoken": "^9.0.2",

packages/cubejs-athena-driver/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
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.2.7](https://github.com/cube-js/cube/compare/v1.2.6...v1.2.7) (2025-02-20)
7+
8+
**Note:** Version bump only for package @cubejs-backend/athena-driver
9+
610
## [1.2.6](https://github.com/cube-js/cube/compare/v1.2.5...v1.2.6) (2025-02-18)
711

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

packages/cubejs-athena-driver/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@cubejs-backend/athena-driver",
33
"description": "Cube.js Athena database driver",
44
"author": "Cube Dev, Inc.",
5-
"version": "1.2.6",
5+
"version": "1.2.7",
66
"repository": {
77
"type": "git",
88
"url": "https://github.com/cube-js/cube.git",
@@ -29,13 +29,13 @@
2929
"types": "dist/src/index.d.ts",
3030
"dependencies": {
3131
"@aws-sdk/client-athena": "^3.22.0",
32-
"@cubejs-backend/base-driver": "1.2.6",
33-
"@cubejs-backend/shared": "1.2.6",
32+
"@cubejs-backend/base-driver": "1.2.7",
33+
"@cubejs-backend/shared": "1.2.7",
3434
"sqlstring": "^2.3.1"
3535
},
3636
"devDependencies": {
37-
"@cubejs-backend/linter": "1.2.6",
38-
"@cubejs-backend/testing-shared": "1.2.6",
37+
"@cubejs-backend/linter": "1.2.7",
38+
"@cubejs-backend/testing-shared": "1.2.7",
3939
"@types/ramda": "^0.27.40",
4040
"typescript": "~5.2.2"
4141
},

packages/cubejs-backend-cloud/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
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.2.7](https://github.com/cube-js/cube/compare/v1.2.6...v1.2.7) (2025-02-20)
7+
8+
**Note:** Version bump only for package @cubejs-backend/cloud
9+
610
## [1.2.6](https://github.com/cube-js/cube/compare/v1.2.5...v1.2.6) (2025-02-18)
711

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

packages/cubejs-backend-cloud/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cubejs-backend/cloud",
3-
"version": "1.2.6",
3+
"version": "1.2.7",
44
"description": "Cube Cloud package",
55
"main": "dist/src/index.js",
66
"typings": "dist/src/index.d.ts",
@@ -25,15 +25,15 @@
2525
"devDependencies": {
2626
"@babel/core": "^7.24.5",
2727
"@babel/preset-env": "^7.24.5",
28-
"@cubejs-backend/linter": "1.2.6",
28+
"@cubejs-backend/linter": "1.2.7",
2929
"@types/fs-extra": "^9.0.8",
3030
"@types/jest": "^27",
3131
"jest": "^27",
3232
"typescript": "~5.2.2"
3333
},
3434
"dependencies": {
3535
"@cubejs-backend/dotenv": "^9.0.2",
36-
"@cubejs-backend/shared": "1.2.6",
36+
"@cubejs-backend/shared": "1.2.7",
3737
"chokidar": "^3.5.1",
3838
"env-var": "^6.3.0",
3939
"form-data": "^4.0.0",

0 commit comments

Comments
 (0)