Skip to content

Commit a2b4211

Browse files
authored
Release 0.207.2 (#1661)
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.
1 parent e8ea328 commit a2b4211

File tree

10 files changed

+13792
-5004
lines changed

10 files changed

+13792
-5004
lines changed

.changes/0.207.2.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
## MetricFlow 0.207.2 - February 21, 2025
2+
3+
### Features
4+
5+
- Allow setting aliases for queried metrics ([#1573](https://github.com/dbt-labs/metricflow/issues/1573))
6+
7+
### Fixes
8+
9+
- Always treat metric_time and the agg_time_dimension the same in the JoinToTimeSpineNode. ([#1541](https://github.com/dbt-labs/metricflow/issues/1541))
10+
- 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))
11+
- Update mf tutorial flow to always create / use the sample dbt project. ([#1651](https://github.com/dbt-labs/metricflow/issues/1651))
12+
13+
### Contributors
14+
- [@courtneyholcomb](https://github.com/courtneyholcomb) ([#1541](https://github.com/dbt-labs/metricflow/issues/1541), [#1544](https://github.com/dbt-labs/metricflow/issues/1544))
15+
- [@plypaul](https://github.com/plypaul) ([#1651](https://github.com/dbt-labs/metricflow/issues/1651))
16+
- [@serramatutu](https://github.com/serramatutu) ([#1573](https://github.com/dbt-labs/metricflow/issues/1573))

.changes/unreleased/Features-20241213-110407.yaml

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

.changes/unreleased/Fixes-20241121-073923.yaml

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

.changes/unreleased/Fixes-20241121-140607.yaml

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

.changes/unreleased/Fixes-20250129-152608.yaml

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

ATTRIBUTION.md

Lines changed: 13744 additions & 4971 deletions
Large diffs are not rendered by default.

CHANGELOG.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,24 @@
55
- "Breaking changes" listed under a version may require action from end users or external maintainers when upgrading to that version.
66
- 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)
77

8+
## MetricFlow 0.207.2 - February 21, 2025
9+
10+
### Features
11+
12+
- Allow setting aliases for queried metrics ([#1573](https://github.com/dbt-labs/metricflow/issues/1573))
13+
14+
### Fixes
15+
16+
- Always treat metric_time and the agg_time_dimension the same in the JoinToTimeSpineNode. ([#1541](https://github.com/dbt-labs/metricflow/issues/1541))
17+
- 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))
18+
- Update mf tutorial flow to always create / use the sample dbt project. ([#1651](https://github.com/dbt-labs/metricflow/issues/1651))
19+
20+
### Contributors
21+
- [@courtneyholcomb](https://github.com/courtneyholcomb) ([#1541](https://github.com/dbt-labs/metricflow/issues/1541), [#1544](https://github.com/dbt-labs/metricflow/issues/1544))
22+
- [@plypaul](https://github.com/plypaul) ([#1651](https://github.com/dbt-labs/metricflow/issues/1651))
23+
- [@serramatutu](https://github.com/serramatutu) ([#1573](https://github.com/dbt-labs/metricflow/issues/1573))
24+
25+
826
## MetricFlow 0.207.1 - January 24, 2025
927

1028
### Breaking Changes
@@ -70,7 +88,6 @@
7088
- [@serramatutu](https://github.com/serramatutu) ([#1451](https://github.com/dbt-labs/metricflow/issues/1451), [#1494](https://github.com/dbt-labs/metricflow/issues/1494))
7189
- [@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))
7290

73-
7491
## MetricFlow 0.206.0 - June 11, 2024
7592

7693
### Breaking Changes
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from __future__ import annotations
22

3-
__version__ = "0.2.1.dev0"
3+
__version__ = "0.2.1"

metricflow/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from __future__ import annotations
22

3-
__version__ = "0.207.2.dev0"
3+
__version__ = "0.207.2"

scripts/ci_tests/run_package_build_tests.py

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,15 @@ class PackageBuildTestFailureException(Exception): # noqa: D101
112112
)
113113

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

0 commit comments

Comments
 (0)