Skip to content

v2.5.0 - #125

Merged
dinpraka merged 6 commits into
mainfrom
v2.5.0
Oct 27, 2026
Merged

v2.5.0#125
dinpraka merged 6 commits into
mainfrom
v2.5.0

Conversation

@ajayjayendran

@ajayjayendran ajayjayendran commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Changes

Python models

  • MWAA worker is the default compute. New .python.json files omit compute (Create Python Model defaults to Airflow worker). Set "compute": "kpo" and optional kpo_size to run on Kubernetes; pod presets remain in dags/_ext_/kpo_sizes.yml.
  • Airflow-aligned defaults for depends_on upstream inference. When DJ auto-fills trino upstream_sources from depends_on, catalog and schema resolve from dj.pythonModel.catalogName / dj.pythonModel.databaseName (mirrors Airflow Variables dj_python_model_catalog_name and dj_python_model_database_name), KPO env vars, then glue and python_source — not hardcoded org catalogs.
  • KPO and python models use the same Trino Variables as source ETL. Regenerated python_models/_trino_io.py and KPO pod env read dj_etl_trino_host, dj_etl_trino_user, and dj_etl_trino_password instead of legacy opus-etl-* names.

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.

Agent / CLI

  • CLI request examples in every workspace. Sample request files are copied to .dj/examples/ on activation, so dj <operation> --help and the agent skills point at files that exist in your project.

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.

Documentation

  • Single jaffle_shop example project. Consolidates the two duplicate example dbt projects into one at docs/examples/jaffle_shop, which now includes the Lightdash examples. Docs, links, and the example walkthroughs point at this single project.

nanic and others added 6 commits October 26, 2026 23:43
…time intervals (#118)

* feat(framework): dynamic Lightdash custom granularities and expanded time intervals

* fix(framework): address PR review comments
* add test in workflows before publish and prerelease

* Use materialization in Model Wizard output

* Remove default values from writing to model.json file for materialization fields.
Run format.

* run dj sync

* update fixtures

* npm run lint

* npm run format
* consolidate two duplicate example dbt projects into one

* fix path reference

* update example model to use materialization and format

* update tags in example project

* update fixtures

* fix npm test due to default text fixtures config

* format docs

* move cli examples to its own folder. copy the cli examples on activation to the dbt project under .dj.
* Initial changes: Add KPO compute for python models

* Fix: Model Lineage and Create Python model UI Form

* Update modelLineage.ts

* Updated kpo_factory

* Updated Auto discover of upstream sources & external sources

* Update skills

* Update python model skills

* chore(airflow): set xlarge KPO preset memory to 12Gi

Align kpo_factory fallbacks and kpo_sizes.yml with the xlarge pod memory target.

* fix(extension): default python models to Airflow worker

Omit compute in new .python.json unless KPO is chosen; document under 2.5.0 and bump extension version.

* Update dj_etl config keys

* Update FieldSelectSingle.tsx
* add scripts and git hook to verify npm package repository

* run npm audit fix

* run dj sync

* update registry to use public registry if npm config not set. run lint and format.
@gowthamrajj gowthamrajj changed the title V2.5.0 v2.5.0 Oct 27, 2026
@dinpraka
dinpraka merged commit 7e2482e into main Oct 27, 2026
5 checks passed
@dinpraka
dinpraka deleted the v2.5.0 branch October 27, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants