Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/cd-marketplace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ jobs:
npm install
fi

- name: Run tests
run: npm test

- name: Package extension
env:
VSIX: ${{ steps.pkg.outputs.vsix }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/cd-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ jobs:
npm install
fi

- name: Run tests
run: npm test

- name: Package extension
env:
VSIX: ${{ steps.pkg.outputs.vsix }}
Expand Down
9 changes: 3 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,14 @@
},
"json.schemas": [
{
"fileMatch": [
"*.model.json"
],
"fileMatch": ["*.model.json"],
"url": ".dj/schemas/model.schema.json"
},
{
"fileMatch": [
"*.source.json"
],
"fileMatch": ["*.source.json"],
"url": ".dj/schemas/source.schema.json"
}
],
"dj.dbtProjectNames": ["jaffle_shop"],
"dj.dataExplorer.autoRefresh": false
}
8 changes: 8 additions & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,20 @@ web/
.eslintrc.json
.eslintcache
.gitignore
.markdownlint.json
.prettierrc
.prettierignore
.tagignore

CONTRIBUTORS.md
DEVELOPMENT_SETUP.md
Makefile
ROADMAP.md

Dockerfile
esbuild.mjs
eslint.config.mjs
jest.config.js
jest.config.ts
tsconfig.json

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## 2.5.0

### Model Wizard

- **Create and edit models with `materialization` instead of deprecated top-level fields.** The wizard writes `materialization` (string or nested strategy/partitions) rather than `materialized`, `incremental_strategy`, and `partitioned_by`. Saving an edit removes those legacy keys from the file. jaffle_shop examples use the new shape.

### Framework

- **Dynamic Lightdash custom granularities and expanded time intervals.** Custom time granularities defined in `lightdash.config.yml` (under `custom_granularities`) are dynamically discovered and loaded into model schemas and editor autocomplete. Built-in time intervals also now include `MINUTE`, `SECOND`, and `MILLISECOND`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"group": "customers",
"topic": "profiles",
"name": "clean",
"materialized": "ephemeral",
"materialization": "ephemeral",
"from": {
"source": "development__jaffle_shop_dev_seeds.raw_customers"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"group": "products",
"topic": "catalog",
"name": "catalog",
"materialized": "ephemeral",
"materialization": "ephemeral",
"from": {
"source": "development__jaffle_shop_dev_seeds.raw_products"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"group": "sales",
"topic": "items",
"name": "order_details",
"materialized": "ephemeral",
"materialization": "ephemeral",
"from": {
"source": "development__jaffle_shop_dev_seeds.raw_items"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"group": "sales",
"topic": "orders",
"name": "standardized",
"materialized": "ephemeral",
"materialization": "ephemeral",
"from": {
"source": "development__jaffle_shop_dev_seeds.raw_orders"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"group": "sales",
"topic": "stores",
"name": "locations",
"materialized": "ephemeral",
"materialization": "ephemeral",
"from": {
"source": "development__jaffle_shop_dev_seeds.raw_stores"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"group": "supply_chain",
"topic": "supplies",
"name": "inventory",
"materialized": "ephemeral",
"materialization": "ephemeral",
"from": {
"source": "development__jaffle_shop_dev_seeds.raw_supplies"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"group": "customers",
"topic": "profiles",
"name": "clean",
"materialized": "ephemeral",
"materialization": "ephemeral",
"from": {
"source": "development__jaffle_shop_lightdash_dev_seeds.raw_customers"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"group": "products",
"topic": "catalog",
"name": "catalog",
"materialized": "ephemeral",
"materialization": "ephemeral",
"from": {
"source": "development__jaffle_shop_lightdash_dev_seeds.raw_products"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"group": "sales",
"topic": "items",
"name": "order_details",
"materialized": "ephemeral",
"materialization": "ephemeral",
"from": {
"source": "development__jaffle_shop_lightdash_dev_seeds.raw_items"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"group": "sales",
"topic": "orders",
"name": "standardized",
"materialized": "ephemeral",
"materialization": "ephemeral",
"from": {
"source": "development__jaffle_shop_lightdash_dev_seeds.raw_orders"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"group": "sales",
"topic": "stores",
"name": "locations",
"materialized": "ephemeral",
"materialization": "ephemeral",
"from": {
"source": "development__jaffle_shop_lightdash_dev_seeds.raw_stores"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"group": "supply_chain",
"topic": "supplies",
"name": "inventory",
"materialized": "ephemeral",
"materialization": "ephemeral",
"from": {
"source": "development__jaffle_shop_lightdash_dev_seeds.raw_supplies"
},
Expand Down
99 changes: 45 additions & 54 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1054,4 +1054,4 @@
"brace-expansion@2": "^2.1.7",
"brace-expansion@5": "^5.0.12"
}
}
}
Loading
Loading