Releases: dbt-labs/dbt-semantic-interfaces
Releases · dbt-labs/dbt-semantic-interfaces
dbt-semantic-interfaces v0.4.0
dbt Semantic Interfaces 0.4.0 - October 26, 2023
Breaking Changes
- Fixes bug where we weren't validating the names of metrics (which may break peoples current metric names) (#181)
Features
- Begin validating
SavedQuery
names (#180) - Support for date_part for Dimension & TimeDimension (#188)
- Add exports configuration to YAML spec. (#189)
Fixes
- Rename
SavedQuery.group_bys
toSavedQuery.group_by
(#192) - Nest query params for saved queries. (#197)
Contributors
- @DevonFulcher (#188)
- @QMalcolm (#181, #180)
- @courtneyholcomb (#189, #197)
- @plypaul (#192)
dbt-semantic-interfaces v0.3.0
Features
- New SavedQuery Protocol (#144)
- Support for
Dimension.grain(...)
in where/filter (#None) - Begin supporting
label
attr on top level objects and semantic model elements (#143) - Add options to protocol for null value coalescing (#142)
- Allow metric filters and saved query where properties to accept lists of filter expressions (#147)
- Optional Time Granularity for Time Dimensions in the Where Filter (#175)
Fixes
- Disallow dunders semantic object names (#149)
- Change ordering of TimeDimension parameters to be backward compatible (#None)
- Throw an exception when invalid entity names are encountered in filter/group by parameters (#172)
Under the Hood
- Support for descending & date_part in the query interface (#None)
- Fix error message for entity in filter spec and where parameter (#None)
Dependencies
- Migrated jsonschema.RefResolver to referencing.Registry for jsonschema 4 compatibility (#160)
- relax more-itertools dependency (#174)
Contributors
v0.3.0b1
What's Changed
- Migrated jsonschema.RefResolver to referencing.Registry by @codecae in #160
- Add null value coalescing options to
MetricInputMeasure
protocol by @QMalcolm in #159 - Support
label
attribute by @QMalcolm in #158 - Fixed error message for entity in filter spec and where clause by @DevonFulcher in #168
New Contributors
Full Changelog: 0.3.0a2...v0.3.0b1
v0.2.2
v0.2.1
v0.2.0
What's Changed
- Adding Changie by @callum-mcdata in #4
- Adding Issue Templates by @callum-mcdata in #5
- Adding pre commits by @callum-mcdata in #23
- Adding PR Template by @callum-mcdata in #26
- Adding CONTRIBUTING.md by @callum-mcdata in #24
- Updating the README by @callum-mcdata in #28
- Cut metricflow/dbt_semantic_interfaces into repository by @QMalcolm in #31
- Adding a pytest PR workflow by @callum-mcdata in #34
- Adding type enums by @callum-mcdata in #33
- Adding measure protocol by @callum-mcdata in #35
- Update .gitignore to ignore OS / IDE files by @plypaul in #37
- update used gh actions ahead of node12 deprecation by @davidbloss in #52
- Change FilterRender to a WhereFilterTransform by @plypaul in #38
- Add py.typed to dbt_semantic_interfaces by @tlento in #60
- Bump mypy to 0.942 by @tlento in #62
- Add protocol definitions of semantic layer objects (with cleaner history) by @QMalcolm in #59
- Bump version to 0.1.0.dev1 by @QMalcolm in #63
- Rename
objects
lib toimplementations
by @QMalcolm in #43 - Packaging PR - Getting dbt-semantic-interfaces ready for PyPi by @callum-mcdata in #29
- Adding semantic manifest version by @QMalcolm in #64
- Revert to using WhereFilter.call_parameter_sets by @plypaul in #65
- Rename test fixtures to use
semantic manifest
terminology by @QMalcolm in #68 - Add Schema Consistency CI Check by @plypaul in #69
- Update mypy to 1.3.0 and fix type issues by @plypaul in #71
- Use Common Hatch Environment for Testing & Linting + Parallelize Tests by @plypaul in #72
- Change Definition Protocols to Use An Abstract Property by @plypaul in #74
- Change Validations to be Generic by @plypaul in #75
- Remove
--ignore-missing-imports
from Mypy and Add Pydantic Plugin by @plypaul in #76 - Change Transforms to be Generic by @plypaul in #77
- Add Protocol Hints by @plypaul in #78
- Rename MetricType.MEASURE_PROXY to MetricType.SIMPLE. by @plypaul in #80
- Add Defaults for SemanticModel by @plypaul in #79
- Bump version to 0.1.0.dev2 by @QMalcolm in #81
- Naming Clean Up by @plypaul in #82
- Bump version to 0.1.0.dev3 by @QMalcolm in #83
- Assorted Fixes by @plypaul in #84
- Add Validation for Semantic Model Defaults by @WilliamDee in #85
- Bump version to 0.1.0.dev5 by @WilliamDee in #87
- Qmalcolm better module packaging by @QMalcolm in #88
- Replace MetricType.EXPR with MetricType.DERIVED by @plypaul in #89
- Update release to 0.1.0.dev6 by @plypaul in #91
- Use Metrics Instead of Measures as Inputs to Ratio Metrics by @plypaul in #90
- Update release to 0.1.0.dev7 by @plypaul in #92
- Add Configuration Object to Semantic Manifest by @plypaul in #95
- Assorted Cleanup For schemas.py by @plypaul in #96
- Increment Version to dev8 by @plypaul in #97
- Remove debugging log line and increment package version by @plypaul in #98
- Drop
create_metric
from theMeasure
protocol by @QMalcolm in #100 - Fix minor issues with semantic model defaults validation by @tlento in #101
- Switch from
checked_agg_time_dimension
tochecked_agg_time_dimension_for_measure
by @QMalcolm in #113 - Bump version to 0.1.0dev10 by @QMalcolm in #114
- Relax Dependencies for Better Compatibility with Other Projects by @plypaul in #112
- Repin ruff to
0.0.260
by @QMalcolm in #115 - Add
call_parameter_sets
to theWhereFilter
Protocol by @plypaul in #110 - Bump version to
0.1.0rc1
by @QMalcolm in #116 - Fix
traceback.format_exception_only
calls for python 3.10+ by @QMalcolm in #119 - Ensure
WhereFilterParser
uses aSandboxedEnvironment
for jinja invocations by @QMalcolm in #122 - Default
validate_semantic_manifest
to operate synchronously by @QMalcolm in #126 - Add Primary Entity Field by @plypaul in #124
- Add
PrimaryEntityDimensionPairs
validation rule by @QMalcolm in #127 - Add
WhereFiltersAreParseable
Validation Rule by @QMalcolm in #131 - Add Primary Entity Prefix When Specifying Dimensions in the WhereFilter by @plypaul in #128
- Use CamelCase in the
WhereFilter
Template Calls by @plypaul in #130
New Contributors
- @davidbloss made their first contribution in #52
- @tlento made their first contribution in #60
- @WilliamDee made their first contribution in #85
Full Changelog: https://github.com/dbt-labs/dbt-semantic-interfaces/commits/v0.2.0