Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.207.2 #1661

Open
wants to merge 6 commits into
base: p--release-0.207.2-updates--01
Choose a base branch
from
Open
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
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 06, 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))
- pdate 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 06, 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))
- Uspdate 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
3 changes: 3 additions & 0 deletions metricflow-semantics/metricflow_semantics/__about__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from __future__ import annotations

__version__ = "0.2.1"
6 changes: 4 additions & 2 deletions metricflow-semantics/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ build-backend = "hatchling.build"

[project]
name = "metricflow-semantics"
version = "0.2.1.dev0"
description = "Modules for semantic understanding of a MetricFlow query."
readme = "README.md"
requires-python = ">=3.9,<3.13"
Expand All @@ -25,7 +24,10 @@ classifiers = [
]

# Dependencies are specified through the `hatch-requirements-txt` plug-in.
dynamic = ["dependencies"]
dynamic = ["dependencies", "version"]

[tool.hatch.version]
path = "metricflow_semantics/__about__.py"

[tool.hatch.metadata.hooks.requirements_txt]
files = [
Expand Down
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",),
# )