Skip to content

Commit 106ec3c

Browse files
authored
Merge branch 'master' into patch-1
2 parents dd46e65 + 91d57de commit 106ec3c

File tree

480 files changed

+5132
-6990
lines changed

Some content is hidden

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

480 files changed

+5132
-6990
lines changed

.github/workflows/drivers-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,8 @@ jobs:
355355
DRIVERS_TESTS_CUBEJS_DB_DATABRICKS_TOKEN: ${{ secrets.DRIVERS_TESTS_CUBEJS_DB_DATABRICKS_TOKEN }}
356356
DRIVERS_TESTS_CUBEJS_DB_EXPORT_BUCKET_AWS_KEY: ${{ secrets.DRIVERS_TESTS_CUBEJS_DB_EXPORT_BUCKET_AWS_KEY }}
357357
DRIVERS_TESTS_CUBEJS_DB_EXPORT_BUCKET_AWS_SECRET: ${{ secrets.DRIVERS_TESTS_CUBEJS_DB_EXPORT_BUCKET_AWS_SECRET }}
358+
DRIVERS_TESTS_CUBEJS_DB_DATABRICKS_OAUTH_CLIENT_ID: ${{ secrets.DRIVERS_TESTS_CUBEJS_DB_DATABRICKS_OAUTH_CLIENT_ID }}
359+
DRIVERS_TESTS_CUBEJS_DB_DATABRICKS_OAUTH_CLIENT_SECRET: ${{ secrets.DRIVERS_TESTS_CUBEJS_DB_DATABRICKS_OAUTH_CLIENT_SECRET }}
358360

359361
# Redshift
360362
DRIVERS_TESTS_CUBEJS_DB_REDSHIFT_HOST: ${{ secrets.DRIVERS_TESTS_CUBEJS_DB_REDSHIFT_HOST }}

.github/workflows/master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
ref: 'main',
156156
inputs: {
157157
'cube-image': 'cubejs/cube:dev',
158-
'source-repo': context.repo.repo,
158+
'source-repo': `${context.repo.owner}/${context.repo.repo}`,
159159
'source-pr-url': prUrl,
160160
'source-commit-url': commitUrl,
161161
'initiator': '${{ github.actor }}'

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.14.0
1+
22.16.0

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,45 @@
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.3.19](https://github.com/cube-js/cube/compare/v1.3.18...v1.3.19) (2025-06-02)
7+
8+
### Bug Fixes
9+
10+
- **client-vue3:** Avoid Maximum recursive updates exceeded ([5d5f7da](https://github.com/cube-js/cube/commit/5d5f7da1dd7ad69b0db6ce9f33973efcc08879c5))
11+
- **cubesql:** Fix "Tracker memory shrink underflow" error ([#9624](https://github.com/cube-js/cube/issues/9624)) ([d3af150](https://github.com/cube-js/cube/commit/d3af1506d845276a5b7fd97c5d8543d2cf03a1e0))
12+
- **cubesql:** Quote subquery joins alias in SQL push down to cube ([#9629](https://github.com/cube-js/cube/issues/9629)) ([89b00cf](https://github.com/cube-js/cube/commit/89b00cf76dfbbfd06f0412d6e80178f0fdb9f46c))
13+
14+
### Features
15+
16+
- **cubesql:** Support `date_trunc != literal date` filter ([#9627](https://github.com/cube-js/cube/issues/9627)) ([2b36aae](https://github.com/cube-js/cube/commit/2b36aae5e93f88f4cca6059067bee047c32f4d24))
17+
- **cubesql:** Support round() function with two parameters ([#9594](https://github.com/cube-js/cube/issues/9594)) ([8cd1dfe](https://github.com/cube-js/cube/commit/8cd1dfec1b18b246ed8f24f4d7c33a91556a4afa))
18+
- Expose aliasMember for hierarchy in View ([#9636](https://github.com/cube-js/cube/issues/9636)) ([737caab](https://github.com/cube-js/cube/commit/737caabf2a43bc28ea0ad90085f44ffbaa1b292b))
19+
- **schema-compiler:** add quarter granularity support in SqliteQuery using CASE expression ([#9633](https://github.com/cube-js/cube/issues/9633)) ([c7ae936](https://github.com/cube-js/cube/commit/c7ae9365eaf333e995d2536101ebe7dec1daf16a))
20+
21+
## [1.3.18](https://github.com/cube-js/cube/compare/v1.3.17...v1.3.18) (2025-05-27)
22+
23+
### Bug Fixes
24+
25+
- **client:** Update main fields in package.json to cjs files, thanks @Graphmaxer ([#9620](https://github.com/cube-js/cube/issues/9620)) ([06f82e5](https://github.com/cube-js/cube/commit/06f82e5a68beb5471d676734cabefa23aeb8a701))
26+
- **schema-compiler:** exclude time dimensions w/o granularities from select list in base queries ([#9614](https://github.com/cube-js/cube/issues/9614)) ([c9ebfbc](https://github.com/cube-js/cube/commit/c9ebfbca8a791ba917b20c691476a336f92374c7))
27+
28+
### Features
29+
30+
- **docker:** Security upgrade node from 22.14.0 to 22.16.0 ([#9602](https://github.com/cube-js/cube/issues/9602)) ([efbb709](https://github.com/cube-js/cube/commit/efbb709b6ac7d9cbb7a0403d9036ed1fc3d80b49))
31+
32+
## [1.3.17](https://github.com/cube-js/cube/compare/v1.3.16...v1.3.17) (2025-05-22)
33+
34+
### Bug Fixes
35+
36+
- **cubesql:** Do not merge time dimension ranges in "or" filter into date range ([#9609](https://github.com/cube-js/cube/issues/9609)) ([803998f](https://github.com/cube-js/cube/commit/803998fc8e1799719542d0611c82032473409e01))
37+
- **cubestore:** Avoid empty result set with LocalDirRemoteFs:list_with_metadata on Windows ([#9598](https://github.com/cube-js/cube/issues/9598)) ([7b4e4ad](https://github.com/cube-js/cube/commit/7b4e4ad151274a16cd34154f1cad5bd048884bde))
38+
- **schema-compiler:** Avoid mutating context on first occasion of TD with granularity ([#9592](https://github.com/cube-js/cube/issues/9592)) ([93027d8](https://github.com/cube-js/cube/commit/93027d8bcb7f0e76d25679aeccad446ee9d265ad))
39+
- **schema-compiler:** Fix rolling window queries with expressions from SQL API ([#9603](https://github.com/cube-js/cube/issues/9603)) ([43f47d8](https://github.com/cube-js/cube/commit/43f47d890a5c17416dd818b1712d54cb958ee95c))
40+
41+
### Features
42+
43+
- **snowflake-driver:** Add support for export Buckets with paths ([#9587](https://github.com/cube-js/cube/issues/9587)) ([e1f22da](https://github.com/cube-js/cube/commit/e1f22daac005170f354a4f69ecdfa27273350d87))
44+
645
## [1.3.16](https://github.com/cube-js/cube/compare/v1.3.15...v1.3.16) (2025-05-19)
746

847
### Bug Fixes

docs/.claude/commands/move-page.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Move documentation page
2+
3+
I need to move a documentation page from its current location to a new one within our documentation site. Please help me with the full process including:
4+
5+
1. Moving the source file to the destination directory:
6+
- If there's a file with the same name in the destination directory, ask for the new name and rename the source file before moving it
7+
- Use the `mv` command to move the file to the new location
8+
9+
2. Updating relevant _meta.js files to maintain proper navigation:
10+
- Add the page to the destination directory's _meta.js file
11+
- Remove the page from the source directory's _meta.js file
12+
- If the source _meta.js file becomes empty (just contains `module.exports = {}`)
13+
- Delete it
14+
- Delete the directory where that _meta.js file was from the _meta.js file in its parent directory
15+
16+
3. Finding and updating all internal references/links to the moved page:
17+
- Search for references to the old URL path in all files
18+
- Pay special attention to link references at the bottom of files
19+
- Check plugins that might construct URLs programmatically
20+
21+
4. Adding a redirect from the old URL to the new one:
22+
- Add a new entry at the top of the redirects.json file
23+
- Format should follow existing entries with "permanent": true
24+
25+
Before starting, ask for:
26+
- Source page path (in URL format, e.g., /reference/configuration/environment-variables)
27+
- Destination page path (in URL format, e.g., /product/configuration/reference/environment-variables)

docs/CLAUDE.md

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
# CLAUDE.md
2+
3+
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
4+
5+
## Repository Overview
6+
7+
This repository contains the documentation site for Cube, a semantic layer for building data applications. The documentation is built using Next.js with the Nextra documentation theme and MDX for content authoring.
8+
9+
## Project Structure
10+
11+
- `/pages`: Contains all the documentation content in MDX format
12+
- `/components`: React components used throughout the documentation site
13+
- `/common`: General UI components like buttons, logos, etc.
14+
- `/layouts`: Page layout components
15+
- `/mdx`: Custom components for use within MDX content
16+
- `/overrides`: Components that override Nextra defaults
17+
- `/public`: Static assets (images, icons)
18+
- `/styles`: Global CSS styles
19+
- `/scripts`: Utility scripts for managing content
20+
21+
## Development Commands
22+
23+
```bash
24+
# Start development server
25+
npm run dev
26+
27+
# Build for production
28+
npm run build
29+
30+
# Start production server
31+
npm run start
32+
33+
# Utility commands for content management
34+
npm run create-redirects # Create redirect entries
35+
npm run migrate-content # Run content migration scripts
36+
npm run update-links # Update links in content files
37+
```
38+
39+
## Technology Stack
40+
41+
- **Framework**: Next.js with Nextra theme for documentation
42+
- **Content**: MDX (Markdown with JSX)
43+
- **Styling**: CSS/SCSS modules with Tailwind CSS
44+
- **Deployment**: Vercel
45+
46+
## Content Organization
47+
48+
The documentation follows a hierarchical structure:
49+
50+
1. Main sections are defined in `/pages/_meta.js`
51+
2. Each section has its own `_meta.js` file that defines the order and titles of pages
52+
3. Content is written in MDX files with frontmatter
53+
54+
## Component Usage in MDX
55+
56+
The documentation uses custom MDX components for specialized content presentation:
57+
58+
- `<AlertBox>` - For highlighting important information
59+
- `<CodeTabs>` - For code examples in multiple languages
60+
- `<Grid>` and `<GridItem>` - For creating responsive grids
61+
- `<YouTubeVideo>` - For embedding videos
62+
- `<Screenshot>` - For displaying screenshots
63+
64+
## Best Practices
65+
66+
1. **MDX Content**:
67+
- Use the appropriate custom components for different content types
68+
- Follow the existing section structure when adding new pages
69+
- Include proper frontmatter with title and description
70+
71+
2. **Component Development**:
72+
- Use CSS/SCSS modules for component styling
73+
- Follow the existing folder structure for new components
74+
- Export components through index files for cleaner imports
75+
76+
3. **Navigation**:
77+
- Update `_meta.js` files when adding new pages to ensure proper navigation
78+
79+
## Deployment
80+
81+
The site is deployed to Vercel. The deployment process is automated via GitHub integration.

docs/pages/_meta.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,4 @@ module.exports = {
3131
type: "page",
3232
title: "Documentation",
3333
},
34-
35-
reference: {
36-
type: "page",
37-
title: "Reference",
38-
},
39-
40-
guides: {
41-
type: "page",
42-
title: "Guides",
43-
},
4434
};

docs/pages/guides/_meta.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/pages/guides/recipes.mdx

Lines changed: 0 additions & 86 deletions
This file was deleted.

docs/pages/guides/recipes/_meta.js

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)