Skip to content

v1.0.0

Compare
Choose a tag to compare
@harels harels released this 26 Jul 14:22
· 392 commits to main since this release
5a35ade

This is a the first major version release of Cosmos! Please notice there are quite a few breaking changes.
This release includes a simplified config interface and introduces dbt loading modes that align more closely with how users would expect dbt to behave.

Here's an example of the new config interface:
`from cosmos import DbtDag

profile_config = ProfileConfig(
    profile_name="default",
    target_name="dev",
    profile_mapping=PostgresUserPasswordProfileMapping(
        conn_id="airflow_db",
        profile_args={"schema": "public"},
    ),
)

my_cosmos_dag = DbtDag(
    project_config=ProjectConfig(
        "/usr/local/airflow/dags/my_dbt_project",
    ),
    profile_config=profile_config,
    # normal dag parameters
    schedule_interval="@daily",
    start_date=datetime(2023, 1, 1),
    catchup=False,
    dag_id="my_cosmos_dag",
)`

What's Changed

New Contributors

Full Changelog: astronomer-cosmos-v0.7.5...astronomer-cosmos-v1.0.0