Skip to content

Commit

Permalink
Release 0.207.2 (#1661)
Browse files Browse the repository at this point in the history
The `0.207.2` release adds a number of commits from `main` that were
previously excluded in `0.207.1` due to the breaking
`dbt-semantic-interfaces` version change. The goal was to include many
commits so that more fixes are included, and so that future backports
would be easier to do. The backported commits can be viewed by comparing the [p--release-0.207.2-updates--01](https://github.com/dbt-labs/metricflow/tree/p--release-0.207.2-updates--01)
branch and the
[release-0.027.2](https://github.com/dbt-labs/metricflow/tree/release-0.207.2)
branch. I left those cherry-picks in a branch since the PR would not
load reasonably.

More commits could be included, but there are more complex conflicts to
resolve.
  • Loading branch information
plypaul authored Feb 23, 2025
1 parent e8ea328 commit a2b4211
Show file tree
Hide file tree
Showing 10 changed files with 13,792 additions and 5,004 deletions.
16 changes: 16 additions & 0 deletions .changes/0.207.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## MetricFlow 0.207.2 - February 21, 2025

### Features

- Allow setting aliases for queried metrics ([#1573](https://github.com/dbt-labs/metricflow/issues/1573))

### Fixes

- Always treat metric_time and the agg_time_dimension the same in the JoinToTimeSpineNode. ([#1541](https://github.com/dbt-labs/metricflow/issues/1541))
- Apply time constraints after time offsets to avoid filtering out values that will change later in the query. ([#1544](https://github.com/dbt-labs/metricflow/issues/1544))
- Update mf tutorial flow to always create / use the sample dbt project. ([#1651](https://github.com/dbt-labs/metricflow/issues/1651))

### Contributors
- [@courtneyholcomb](https://github.com/courtneyholcomb) ([#1541](https://github.com/dbt-labs/metricflow/issues/1541), [#1544](https://github.com/dbt-labs/metricflow/issues/1544))
- [@plypaul](https://github.com/plypaul) ([#1651](https://github.com/dbt-labs/metricflow/issues/1651))
- [@serramatutu](https://github.com/serramatutu) ([#1573](https://github.com/dbt-labs/metricflow/issues/1573))
6 changes: 0 additions & 6 deletions .changes/unreleased/Features-20241213-110407.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/unreleased/Fixes-20241121-073923.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions .changes/unreleased/Fixes-20241121-140607.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/unreleased/Fixes-20250129-152608.yaml

This file was deleted.

18,715 changes: 13,744 additions & 4,971 deletions ATTRIBUTION.md

Large diffs are not rendered by default.

19 changes: 18 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,24 @@
- "Breaking changes" listed under a version may require action from end users or external maintainers when upgrading to that version.
- Do not edit this file directly. This file is auto-generated using [changie](https://github.com/miniscruff/changie). For details on how to document a change, see [the contributing guide](https://github.com/dbt-labs/metricflow/blob/main/CONTRIBUTING.md)

## MetricFlow 0.207.2 - February 21, 2025

### Features

- Allow setting aliases for queried metrics ([#1573](https://github.com/dbt-labs/metricflow/issues/1573))

### Fixes

- Always treat metric_time and the agg_time_dimension the same in the JoinToTimeSpineNode. ([#1541](https://github.com/dbt-labs/metricflow/issues/1541))
- Apply time constraints after time offsets to avoid filtering out values that will change later in the query. ([#1544](https://github.com/dbt-labs/metricflow/issues/1544))
- Update mf tutorial flow to always create / use the sample dbt project. ([#1651](https://github.com/dbt-labs/metricflow/issues/1651))

### Contributors
- [@courtneyholcomb](https://github.com/courtneyholcomb) ([#1541](https://github.com/dbt-labs/metricflow/issues/1541), [#1544](https://github.com/dbt-labs/metricflow/issues/1544))
- [@plypaul](https://github.com/plypaul) ([#1651](https://github.com/dbt-labs/metricflow/issues/1651))
- [@serramatutu](https://github.com/serramatutu) ([#1573](https://github.com/dbt-labs/metricflow/issues/1573))


## MetricFlow 0.207.1 - January 24, 2025

### Breaking Changes
Expand Down Expand Up @@ -70,7 +88,6 @@
- [@serramatutu](https://github.com/serramatutu) ([#1451](https://github.com/dbt-labs/metricflow/issues/1451), [#1494](https://github.com/dbt-labs/metricflow/issues/1494))
- [@tlento](https://github.com/tlento) ([#1011](https://github.com/dbt-labs/metricflow/issues/1011), [#1011](https://github.com/dbt-labs/metricflow/issues/1011), [#1011](https://github.com/dbt-labs/metricflow/issues/1011), [#1240](https://github.com/dbt-labs/metricflow/issues/1240), [#1011](https://github.com/dbt-labs/metricflow/issues/1011), [#1280](https://github.com/dbt-labs/metricflow/issues/1280), [#1011](https://github.com/dbt-labs/metricflow/issues/1011), [#1299](https://github.com/dbt-labs/metricflow/issues/1299))


## MetricFlow 0.206.0 - June 11, 2024

### Breaking Changes
Expand Down
2 changes: 1 addition & 1 deletion metricflow-semantics/metricflow_semantics/__about__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from __future__ import annotations

__version__ = "0.2.1.dev0"
__version__ = "0.2.1"
2 changes: 1 addition & 1 deletion metricflow/__about__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from __future__ import annotations

__version__ = "0.207.2.dev0"
__version__ = "0.207.2"
17 changes: 12 additions & 5 deletions scripts/ci_tests/run_package_build_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,15 @@ class PackageBuildTestFailureException(Exception): # noqa: D101
)

# Test building the `dbt-metricflow` package.
_run_package_build_test(
package_directory=metricflow_repo_directory.joinpath("dbt-metricflow"),
package_test_script=metricflow_repo_directory.joinpath("scripts/ci_tests/dbt_metricflow_package_test.py"),
optional_package_dependencies_to_install=("dbt-duckdb",),
)
# TODO: Re-enable once `metricflow==0.207.2` is published.
# This is because the `dbt-metricflow` package specifies a published version of `metricflow` as a dependency, so a
# a change that affects both `metricflow` and `dbt-metricflow` requires the following steps:
# * Publish a new version of `metricflow`
# * Update the dependency in `dbt-metricflow` to the new version.
# * Re-enable this test.
# * Publish a new version of `dbt-metricflow`.
# _run_package_build_test(
# package_directory=metricflow_repo_directory.joinpath("dbt-metricflow"),
# package_test_script=metricflow_repo_directory.joinpath("scripts/ci_tests/dbt_metricflow_package_test.py"),
# optional_package_dependencies_to_install=("dbt-duckdb",),
# )

0 comments on commit a2b4211

Please sign in to comment.