Metricflow

Latest version: v0.206.0

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

0.111.1

Added
- A lightweight Visual Studio Code [extension for authoring configs](https://marketplace.visualstudio.com/items?itemName=Transform.metricflow) with simple support for inline schema validation and auto-completion! Local repo changes limited to JSON schema generation. (jack-transform)
- Metric model template for Shopify metrics - if you use Shopify, this template can get you up and running for tracking your Shopify metrics! (hesham-nawaz)

Fixed
- Fixed warehouse validation failures caused by interaction with measure-specific aggregation times (QMalcolm)
- Resolved intermittent semantic validation failures due to unpicklable pydantic objects (tlento)
- Fixed edge case with semi-additive measures failing on certain join dimension connections (WilliamDee)
- Restructured semantic container depedencies to eliminate certain classes of circular import errors (tlento)

Updated
- Replaced Pydantic objects with serializable Dataclasses to improve plan building speed. This can reduce time to generate dataflow plans by 10-20x for complex queries. (plypaul)
- Refactored validation logic to make it easier to reason about (QMalcolm)
- Modified inference detection rules to make it more likely to classify low cardinality string columns as categorical dimensions (tlento)

0.111.0

Added
- Early beta for data source inference - Snowflake users can now run a command to bootstrap data source definitions based on warehouse metadata for tables in a given schema. Check out `mf infer --help` for more details. Feedback welcome! (serramatutu)
- Support for semi-additive measures - semi-additive measures are measures which can be aggregated across some dimensions, but not others. The most common use case for this is an end-of-period measure, such as a statement balance or end of day inventory hold. As of this release we support semi-additive restrictions bound by any time dimension. See the description on [PR 183](https://github.com/transform-data/metricflow/pull/183) for more details on usage. (WilliamDee)
- Expanded data warehouse validations - data warehoue validation runs will now check to ensure all measures, identifiers, and dimensions defined in data sources are queryable. (QMalcolm)

Fixed
- Resolved serialization error on custom Pydantic objects in the model parser (tlento)
- Cleaned up error message handling and missing test depencies on model validation (tlento)
- Eliminated a class of circular import errors by forking reference classes from the specs module (WilliamDee)
- Fixed error state when specifying a where constraint with metric_time (plypaul)
- Removed unused jsonschema element (QMalcolm)

Updated
- Updated the tutorial to use metric_time instead of arbitrary time dimensions (plypaul)
- Increased strictness of typechecking enforcement (tlento)
- Removed unnecessary "all time" WHERE clause rendering for cases where time constraints were not provided (WilliamDee)
- Updated Click version from `^8.1.3` to `>=7.1.2` to temporarily resolve dependency issue for downstream Flask `1.1.4` usage (jack-transform)
- Updated Jinja2 version from `2.11.0` to `>=2.11.0` to allow downstream Flask `1.1.4` users to update to `2.x.x` (jpreillymb, tlento)

0.110.1

Fixed
- Cleaned up package metadata and broken links in external README viewers (tlento)
- Fixed cases where output columns were rendering in the wrong order (WilliamDee)

Updated
- Improved model config schema validation to return all jsonschema errors instead of one at a time (QMalcolm)
- Streamlined rendered SQL to use BETWEEN expressions for date range checks (WilliamDee)

0.110.0

Breaking Changes
- Updated query inputs for time series dimensions to use `metric_time` instead of dimension names, since it is now possible for measures to have different time dimensions for time series aggregation. This also removes the restriction that all data sources have the same primary time dimension name. However, users issuing queries might experience exceptions if they are not using `metric_time` as their requested primary time dimension. (plypaul)
- Added enforcement for new reserved keyword `metric_time` (tlento)
- Reordered column output to `time dimension, identifiers, dimensions, metrics`, which could break automation relying on order-dependent parsing of CLI output. We encourage affected users to switch to using the API, and to access the resulting data frame with order-independent (i.e., by name) access to column values. (WilliamDee)
- Removed support for SQLite - expected impact is minimal as the repo has been cut to DuckDB for in memory testing (plypaul)

Added
- Support for specifying measure-specific time dimensions for time series aggregations (plypaul)
- Validation against use of SQL reserved keywords as element names, which previously would have resulted in SQL errors at query time (QMalcolm)

Updated
- Improved code structure around the model validation process (QMalcolm)
- Improved readability of model validation errors in CLI output (QMalcolm)
- Cleaned up DuckDB documentation (yanghua)
- Fixed edge case with model parsing where a constraint like `ds = CURRENT_DATE()` would throw an error (tlento)
- Restructured config parser to rely more on Pydantic's built in object parsing, allowing for more - and more standardized - customization on input types and parsing mechanics (tlento)
- Removed framework operation comments from SQL explain plans by default, added a flag to override (WilliamDee, nhandel)
- Updated Click to 8.1.3 to resolve dependency conflicts and facilitate later addition of command completion (jack-transform)
- Improved developer documentation and workflows for PostgreSQL

0.100.2

Updated
- Updated numpy version to 1.23.0 to fix issues with operations on m1 macbooks (serramatutu)
- Downgraded DuckDB version to 0.3.4 to fix segfaults observed with multithreaded operations (plypaul)
- Added YAML linting to model validation process to catch syntax errors more explicitly (QMalcolm)

0.100.1

Updated
- Fixed CLI support for PostgreSQL (plypaul)
- Improved validation error messaging (QMalcolm)

Page 3 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.