Skip to content

Commit 225c19a

Browse files
authored
Merge branch 'master' into feature/clickhouse_utf8_filter_order
2 parents a62eb42 + 9956ad7 commit 225c19a

File tree

159 files changed

+969
-563
lines changed

Some content is hidden

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

159 files changed

+969
-563
lines changed

.github/workflows/cloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
- name: Install Rust
7272
uses: actions-rust-lang/setup-rust-toolchain@v1
7373
with:
74-
toolchain: nightly-2024-07-15
74+
toolchain: 1.84.1
7575
# override: true # this is by default on
7676
rustflags: ""
7777
components: rustfmt

.github/workflows/drivers-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
- name: Install Rust
105105
uses: actions-rust-lang/setup-rust-toolchain@v1
106106
with:
107-
toolchain: nightly-2024-07-15
107+
toolchain: 1.84.1
108108
# override: true # this is by default on
109109
rustflags: ""
110110
components: rustfmt

.github/workflows/master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- name: Install Rust
5656
uses: actions-rust-lang/setup-rust-toolchain@v1
5757
with:
58-
toolchain: nightly-2024-07-15
58+
toolchain: 1.84.1
5959
# override: true # this is by default on
6060
rustflags: ""
6161
components: rustfmt

.github/workflows/post-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Install Rust
3333
uses: actions-rust-lang/setup-rust-toolchain@v1
3434
with:
35-
toolchain: nightly-2024-07-15
35+
toolchain: 1.84.1
3636
# override: true # this is by default on
3737
rustflags: ""
3838
components: rustfmt

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install Rust
2323
uses: actions-rust-lang/setup-rust-toolchain@v1
2424
with:
25-
toolchain: nightly-2024-07-15
25+
toolchain: 1.84.1
2626
# override: true # this is by default on
2727
rustflags: ""
2828
components: rustfmt
@@ -95,7 +95,7 @@ jobs:
9595
- name: Install Rust
9696
uses: actions-rust-lang/setup-rust-toolchain@v1
9797
with:
98-
toolchain: nightly-2024-07-15
98+
toolchain: 1.84.1
9999
# override: true # this is by default on
100100
rustflags: ""
101101
components: rustfmt
@@ -185,7 +185,7 @@ jobs:
185185
- name: Install Rust
186186
uses: actions-rust-lang/setup-rust-toolchain@v1
187187
with:
188-
toolchain: nightly-2024-07-15
188+
toolchain: 1.84.1
189189
# override: true # this is by default on
190190
rustflags: ""
191191
components: rustfmt
@@ -260,7 +260,7 @@ jobs:
260260
- name: Install Rust
261261
uses: actions-rust-lang/setup-rust-toolchain@v1
262262
with:
263-
toolchain: nightly-2024-07-15
263+
toolchain: 1.84.1
264264
# override: true # this is by default on
265265
rustflags: ""
266266
components: rustfmt

.github/workflows/push.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
- name: Install Rust
7373
uses: actions-rust-lang/setup-rust-toolchain@v1
7474
with:
75-
toolchain: nightly-2024-07-15
75+
toolchain: 1.84.1
7676
# override: true # this is by default on
7777
rustflags: ""
7878
components: rustfmt
@@ -152,7 +152,7 @@ jobs:
152152
- name: Install Rust
153153
uses: actions-rust-lang/setup-rust-toolchain@v1
154154
with:
155-
toolchain: nightly-2024-07-15
155+
toolchain: 1.84.1
156156
# override: true # this is by default on
157157
rustflags: ""
158158
components: rustfmt
@@ -215,7 +215,7 @@ jobs:
215215
- name: Install Rust
216216
uses: actions-rust-lang/setup-rust-toolchain@v1
217217
with:
218-
toolchain: nightly-2024-07-15
218+
toolchain: 1.84.1
219219
# override: true # this is by default on
220220
rustflags: ""
221221
components: rustfmt
@@ -337,7 +337,7 @@ jobs:
337337
- name: Install Rust
338338
uses: actions-rust-lang/setup-rust-toolchain@v1
339339
with:
340-
toolchain: nightly-2024-07-15
340+
toolchain: 1.84.1
341341
# override: true # this is by default on
342342
rustflags: ""
343343
components: rustfmt
@@ -414,7 +414,7 @@ jobs:
414414
- name: Install Rust
415415
uses: actions-rust-lang/setup-rust-toolchain@v1
416416
with:
417-
toolchain: nightly-2024-07-15
417+
toolchain: 1.84.1
418418
# override: true # this is by default on
419419
rustflags: ""
420420
components: rustfmt
@@ -641,7 +641,7 @@ jobs:
641641
- name: Install Rust
642642
uses: actions-rust-lang/setup-rust-toolchain@v1
643643
with:
644-
toolchain: nightly-2024-07-15
644+
toolchain: 1.84.1
645645
# override: true # this is by default on
646646
rustflags: ""
647647
components: rustfmt

.github/workflows/rust-cubesql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Install Rust
3333
uses: actions-rust-lang/setup-rust-toolchain@v1
3434
with:
35-
toolchain: nightly-2024-07-15
35+
toolchain: 1.84.1
3636
# override: true # this is by default on
3737
rustflags: ""
3838
components: rustfmt, clippy
@@ -138,7 +138,7 @@ jobs:
138138
- name: Install Rust
139139
uses: actions-rust-lang/setup-rust-toolchain@v1
140140
with:
141-
toolchain: nightly-2024-07-15
141+
toolchain: 1.84.1
142142
# override: true # this is by default on
143143
rustflags: ""
144144
components: rustfmt
@@ -244,7 +244,7 @@ jobs:
244244
- name: Install Rust
245245
uses: actions-rust-lang/setup-rust-toolchain@v1
246246
with:
247-
toolchain: nightly-2024-07-15
247+
toolchain: 1.84.1
248248
# override: true # this is by default on
249249
rustflags: ""
250250
components: rustfmt
@@ -327,7 +327,7 @@ jobs:
327327
- name: Install Rust
328328
uses: actions-rust-lang/setup-rust-toolchain@v1
329329
with:
330-
toolchain: nightly-2024-07-15
330+
toolchain: 1.84.1
331331
# override: true # this is by default on
332332
rustflags: ""
333333
components: rustfmt

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.5](https://github.com/cube-js/cube/compare/v1.2.4...v1.2.5) (2025-02-13)
7+
8+
9+
### Bug Fixes
10+
11+
* **cubesql:** Fix SELECT DISTINCT on pushdown ([#9144](https://github.com/cube-js/cube/issues/9144)) ([6483f66](https://github.com/cube-js/cube/commit/6483f66c826ad9a638af8770850219d923b3e7d9))
12+
13+
14+
### Features
15+
16+
* Upgrade rust to 1.84.1 (stable) ([#9222](https://github.com/cube-js/cube/issues/9222)) ([cfc95b5](https://github.com/cube-js/cube/commit/cfc95b5e5601166d2a0aa388a211d4be66630cd8))
17+
18+
19+
20+
21+
622
## [1.2.4](https://github.com/cube-js/cube/compare/v1.2.3...v1.2.4) (2025-02-11)
723

824
### Bug Fixes

docs/components/mdx/YouTubeVideo/YouTubeVideo.tsx

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,22 @@ const cn = classnames.bind(styles);
66

77
export type YouTubeVideoProps = {
88
url: string;
9+
aspectRatio?: number;
910
};
1011

11-
export const YouTubeVideo = ({ url }: YouTubeVideoProps) => {
12+
function formatAspectRatioAsPercentage(aspectRatio: number) {
13+
return `${((1 / aspectRatio) * 100).toFixed(2)}%`;
14+
}
15+
16+
export const YouTubeVideo = ({ url, aspectRatio = 16/9 }: YouTubeVideoProps) => {
1217
return (
1318
<div
1419
className={cn('YoutubeVideo__Wrapper')}
15-
style={{ position: 'relative', paddingBottom: '56.25%', height: 0 }}
20+
style={{
21+
position: 'relative',
22+
paddingBottom: formatAspectRatioAsPercentage(aspectRatio),
23+
height: 0
24+
}}
1625
>
1726
<iframe
1827
src={url}

docs/pages/guides/recipes/auth/sql-api-ldap.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ API](/product/apis-integrations/sql-api) with a LDAP catalog. You can use
55
this approach to enable single sign-on (SSO) experience in BI tools
66
connecting to Cube for your end users.
77

8-
<YouTubeVideo url="https://www.youtube.com/embed/vGF7n4WWriA?si=RIk7G3a4lO2DnNJj"/>
8+
<YouTubeVideo
9+
url="https://www.youtube.com/embed/vGF7n4WWriA"
10+
aspectRatio={4/2.25}
11+
/>
912

1013
## Use case
1114

0 commit comments

Comments
 (0)