Skip to content

Commit b7671c0

Browse files
authored
Merge branch 'master' into add-ca-certificates
2 parents 0b7a200 + 174eb00 commit b7671c0

File tree

170 files changed

+2608
-1021
lines changed

Some content is hidden

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

170 files changed

+2608
-1021
lines changed

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,40 @@
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.11](https://github.com/cube-js/cube/compare/v1.2.10...v1.2.11) (2025-02-25)
7+
8+
### Bug Fixes
9+
10+
- **cubesql:** Break cost symmetry for (non)-push-to-Cube WrappedSelect ([#9155](https://github.com/cube-js/cube/issues/9155)) ([2c0e443](https://github.com/cube-js/cube/commit/2c0e443dc18379490e35a3d83b3888f66e12ade0))
11+
- **cubesql:** Generate proper projection wrapper for duplicated members in CubeScanNode ([#9233](https://github.com/cube-js/cube/issues/9233)) ([aba6430](https://github.com/cube-js/cube/commit/aba643082acc440cf5b3fe9828c2c38ac1a833c9))
12+
13+
## [1.2.10](https://github.com/cube-js/cube/compare/v1.2.9...v1.2.10) (2025-02-24)
14+
15+
### Bug Fixes
16+
17+
- **redshift-driver:** Fix empty tableColumnTypes for external (Spectrum) tables ([#9251](https://github.com/cube-js/cube/issues/9251)) ([fa318a1](https://github.com/cube-js/cube/commit/fa318a144ed6ef484e2ac101cd71ab6ab6ca7abf))
18+
- **schema-compiler:** Fix sql generation for rolling_window queries with multiple time dimensions ([#9124](https://github.com/cube-js/cube/issues/9124)) ([52a664e](https://github.com/cube-js/cube/commit/52a664e4d0643d78464f75cc48c4a1f686455ebe))
19+
20+
### Features
21+
22+
- **cubejs-server-core:** support proxy in http agent transport ([#9263](https://github.com/cube-js/cube/issues/9263)) ([89c74ce](https://github.com/cube-js/cube/commit/89c74cec2be96f63f51990b5eec59096749e967b))
23+
24+
## [1.2.9](https://github.com/cube-js/cube/compare/v1.2.8...v1.2.9) (2025-02-21)
25+
26+
### Bug Fixes
27+
28+
- **schema-compiler:** Fix allowNonStrictDateRangeMatch pre-agg match for dateRange queries without granularities ([#9258](https://github.com/cube-js/cube/issues/9258)) ([00fe682](https://github.com/cube-js/cube/commit/00fe6825418e7ad6681b0856fee11175dfcc649e))
29+
30+
## [1.2.8](https://github.com/cube-js/cube/compare/v1.2.7...v1.2.8) (2025-02-21)
31+
32+
### Bug Fixes
33+
34+
- **backend-native:** Handle closed channel on Rust side ([#9242](https://github.com/cube-js/cube/issues/9242)) ([1203291](https://github.com/cube-js/cube/commit/120329146046f2bffc0b8ff252dcee1cc285d1ef))
35+
36+
### Features
37+
38+
- **cubeclient:** Add `short_title` to dimensions and measures ([#9256](https://github.com/cube-js/cube/issues/9256)) ([584b3dc](https://github.com/cube-js/cube/commit/584b3dcefedb7c01b849e7f18a59445bd3542b7e))
39+
640
## [1.2.7](https://github.com/cube-js/cube/compare/v1.2.6...v1.2.7) (2025-02-20)
741

842
### Bug Fixes

docs/pages/product/deployment/cloud/pricing.mdx

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -103,17 +103,20 @@ terms][ref-enterprise-premier-tier-support], and [limits][ref-cloud-limits].
103103

104104
The following resource types incur CCU consumption (measured in 5-minute intervals):
105105

106-
| Resource type | CCUs per hour |
107-
| ------------------------- | :--------------------------------------------------: |
108-
| [Production Cluster][ref-production-cluster] | Depends on a [chosen tier](#deployment-tiers) |
109-
| [Development Instance][ref-development-instance] | Depends on a [chosen tier](#deployment-tiers) |
110-
| Cube API Instance | Depends on a [chosen tier](#deployment-tiers) |
111-
| Cube Store Worker | Depends on a [chosen tier](#cube-store-worker-tiers) |
112-
| [Semantic Catalog][ref-semantic-catalog] | Depends on a [chosen tier](#semantic-catalog-tiers) |
113-
| [Dedicated infrastructure][ref-dedicated-infra] | 3 |
114-
| [Query History][ref-query-history] | Depends on a [chosen tier](#query-history-tiers) |
115-
| [Monitoring Integrations][ref-monitoring-integrations] | Depends on a [chosen tier](#monitoring-integrations-tiers) |
116-
| [Audit Log][ref-audit-log] | Depends on a [chosen tier](#audit-log-tiers) |
106+
| Resource type | CCUs per hour | CCUs per request |
107+
| ------------------------- | :--------------------------------------------------: | :--------------------------------------------------: |
108+
| [Production Cluster][ref-production-cluster] | Depends on a [chosen tier](#deployment-tiers) ||
109+
| [Development Instance][ref-development-instance] | Depends on a [chosen tier](#deployment-tiers) ||
110+
| Cube API Instance | Depends on a [chosen tier](#deployment-tiers) ||
111+
| Cube Store Worker | Depends on a [chosen tier](#cube-store-worker-tiers) ||
112+
| [Semantic Catalog][ref-semantic-catalog] | Depends on a [chosen tier](#semantic-catalog-tiers) ||
113+
| [Dedicated infrastructure][ref-dedicated-infra] | 3 ||
114+
| [Query History][ref-query-history] | Depends on a [chosen tier](#query-history-tiers) ||
115+
| [Monitoring Integrations][ref-monitoring-integrations] | Depends on a [chosen tier](#monitoring-integrations-tiers) ||
116+
| [Audit Log][ref-audit-log] | Depends on a [chosen tier](#audit-log-tiers) ||
117+
| [AI API][ref-ai-api] || Depends on [configuration](#ai-requests-consumption) |
118+
| [AI Assistant][ref-ai-assistant] || Depends on [configuration](#ai-requests-consumption) |
119+
117120

118121
### Deployment tiers
119122

@@ -195,6 +198,16 @@ under the following tiers:
195198
| S | 4 ||
196199
| M | 6 | Audit Log data export |
197200

201+
### AI requests consumption
202+
203+
[AI API][ref-ai-api] and [AI Assistant][ref-ai-assistant] consume CCUs per request apart from
204+
[Enterprise and above][cube-pricing] product tiers where customers can provide their own suitable
205+
LLM if wanted and then will be exempt from this charge:
206+
207+
| <nobr>CCUs per request</nobr> |
208+
| :------------------------: |
209+
| 1 |
210+
198211
## Total cost examples
199212

200213
The following examples provide insight into the total cost to use Cube Cloud:
@@ -340,4 +353,6 @@ product tier level. Payments are non-refundable.
340353
[ref-cube-store-architecture]: /product/caching/running-in-production#architecture
341354
[ref-data-at-rest-encryption]: /product/caching/running-in-production#data-at-rest-encryption
342355
[ref-customer-managed-keys]: /product/workspace/encryption-keys
343-
[ref-semantic-catalog]: /product/workspace/semantic-catalog
356+
[ref-semantic-catalog]: /product/workspace/semantic-catalog
357+
[ref-ai-api]: /product/apis-integrations/ai-api
358+
[ref-ai-assistant]: /product/workspace/ai-assistant

docs/pages/reference/data-model/pre-aggregations.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,8 +1111,12 @@ refreshes.
11111111
### `allow_non_strict_date_range_match`
11121112

11131113
The `allow_non_strict_date_range_match` property can be used to allow queries to
1114-
match this pre-aggregation when using non-strict date ranges. This is useful
1115-
when using a visualization tools such as [Apache
1114+
match this pre-aggregation when using non-strict date ranges.
1115+
By default Cube checks if requested date range exactly matches pre-aggregation granularity.
1116+
For example if you're requesting half of a day or your date range filter is just one millisecond off for daily granularity pre-aggregation Cube would not use such a pre-aggregation by default.
1117+
Use this flag to lift this strict check.
1118+
This is useful
1119+
when using a visualization tools such as Tableau or [Apache
11161120
Superset][ref-config-downstream-superset] that use loose date ranges by default.
11171121

11181122
<CodeTabs>

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.7",
2+
"version": "1.2.11",
33
"npmClient": "yarn",
44
"command": {
55
"bootstrap": {

packages/cubejs-api-gateway/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,24 @@
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.11](https://github.com/cube-js/cube/compare/v1.2.10...v1.2.11) (2025-02-25)
7+
8+
**Note:** Version bump only for package @cubejs-backend/api-gateway
9+
10+
## [1.2.10](https://github.com/cube-js/cube/compare/v1.2.9...v1.2.10) (2025-02-24)
11+
12+
**Note:** Version bump only for package @cubejs-backend/api-gateway
13+
14+
## [1.2.9](https://github.com/cube-js/cube/compare/v1.2.8...v1.2.9) (2025-02-21)
15+
16+
**Note:** Version bump only for package @cubejs-backend/api-gateway
17+
18+
## [1.2.8](https://github.com/cube-js/cube/compare/v1.2.7...v1.2.8) (2025-02-21)
19+
20+
### Features
21+
22+
- **cubeclient:** Add `short_title` to dimensions and measures ([#9256](https://github.com/cube-js/cube/issues/9256)) ([584b3dc](https://github.com/cube-js/cube/commit/584b3dcefedb7c01b849e7f18a59445bd3542b7e))
23+
624
## [1.2.7](https://github.com/cube-js/cube/compare/v1.2.6...v1.2.7) (2025-02-20)
725

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

packages/cubejs-api-gateway/openspec.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ components:
127127
type: "string"
128128
title:
129129
type: "string"
130+
shortTitle:
131+
type: "string"
130132
description:
131133
type: "string"
132134
type:
@@ -150,6 +152,8 @@ components:
150152
type: "string"
151153
title:
152154
type: "string"
155+
shortTitle:
156+
type: "string"
153157
description:
154158
type: "string"
155159
type:

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.7",
5+
"version": "1.2.11",
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.7",
31-
"@cubejs-backend/shared": "1.2.7",
30+
"@cubejs-backend/native": "1.2.11",
31+
"@cubejs-backend/shared": "1.2.11",
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.7",
53+
"@cubejs-backend/linter": "1.2.11",
5454
"@types/express": "^4.17.21",
5555
"@types/jest": "^27",
5656
"@types/jsonwebtoken": "^9.0.2",

packages/cubejs-api-gateway/src/gateway.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@ class ApiGateway {
385385
res.setHeader('Transfer-Encoding', 'chunked');
386386

387387
try {
388+
await this.assertApiScope('data', req.context?.securityContext);
388389
await this.sqlServer.execSql(req.body.query, res, req.context?.securityContext);
389390
} catch (e: any) {
390391
this.handleError({

packages/cubejs-athena-driver/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@
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.11](https://github.com/cube-js/cube/compare/v1.2.10...v1.2.11) (2025-02-25)
7+
8+
**Note:** Version bump only for package @cubejs-backend/athena-driver
9+
10+
## [1.2.10](https://github.com/cube-js/cube/compare/v1.2.9...v1.2.10) (2025-02-24)
11+
12+
**Note:** Version bump only for package @cubejs-backend/athena-driver
13+
14+
## [1.2.9](https://github.com/cube-js/cube/compare/v1.2.8...v1.2.9) (2025-02-21)
15+
16+
**Note:** Version bump only for package @cubejs-backend/athena-driver
17+
18+
## [1.2.8](https://github.com/cube-js/cube/compare/v1.2.7...v1.2.8) (2025-02-21)
19+
20+
**Note:** Version bump only for package @cubejs-backend/athena-driver
21+
622
## [1.2.7](https://github.com/cube-js/cube/compare/v1.2.6...v1.2.7) (2025-02-20)
723

824
**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.7",
5+
"version": "1.2.11",
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.7",
33-
"@cubejs-backend/shared": "1.2.7",
32+
"@cubejs-backend/base-driver": "1.2.11",
33+
"@cubejs-backend/shared": "1.2.11",
3434
"sqlstring": "^2.3.1"
3535
},
3636
"devDependencies": {
37-
"@cubejs-backend/linter": "1.2.7",
38-
"@cubejs-backend/testing-shared": "1.2.7",
37+
"@cubejs-backend/linter": "1.2.11",
38+
"@cubejs-backend/testing-shared": "1.2.11",
3939
"@types/ramda": "^0.27.40",
4040
"typescript": "~5.2.2"
4141
},

0 commit comments

Comments
 (0)