Releases: dbt-labs/semantic-layer-sdk-python
Releases · dbt-labs/semantic-layer-sdk-python
0.11.0
0.10.0
v0.10.0 - 2025-04-09
Features
- Add support to pass in typed group by
Chore
- Make
pyrightrun onstrictmode and addmypy.
0.9.1
v0.9.1 - 2025-03-31
Fixes
- Added
FlexibleEnumMetato make enums non-breaking when we add a new value to the API.
Chore
- Fix release CI tags pattern
- Add code quality check on merge to
mainand on publish to PyPI
0.9.0
v0.9.0 - 2025-03-24
Deprecations
ExponentialBackoff.timeout_msis now deprecated. Prefer settingtotal_timeoutin the globalTimeoutOptions.
Features
- Added
timeoutparameter to Semantic Layer client and to the underlying GraphQL clients - Added new
Connect,ExecuteandRetrysubclasses forTimeoutError
Under the Hood
- Create CODEOWNERS file
Chore
- Fix Github Actions workflow for tagging releases
0.8.0
0.7.0
v0.7.0 - 2024-11-14
Features
- Support for adhoc queries with only groupby. This is equivalent to listing dimension values.
Fixes
- Fixes issue with
orderByandwherewhen going via GraphQL
Chore
- Fix release PR action to use correct title for PR
0.6.0
v0.6.0 - 2024-10-21
Breaking Changes
order_byclause of queries using saved queries no longer support string inputs and require explicitOrderByMetricorOrderByGroupBy
Deprecations
- Deprecate
TimeGranularityenum and all other fields that used it
Features
- Specifying order by with
OrderByMetricandOrderByGroupBy - Add support for custom time granularity
Fixes
- Order by for
compile_sqlnow works as expected
Under the Hood
- Improved internal representation of query parameters and added better validation
- Improve error display
- Add new mechanisms to deprecate fields and classes
0.5.0
v0.5.0 - 2024-09-23
Features
compile_sqlmethod for getting the compiled SQL of a query- Allow saved queries in
queryandcompile_sql
Fixes
- Fixed wrong annotation for
saved_queriesin sync client.
Under the Hood
- Better error messages
- Client-side validation of query parameters
0.4.0
v0.4.0 - 2024-08-20
Features
- Add
Exportlist toSavedQuery - Add
SavedQueryQueryParamlist toSavedQuery
Dependencies
- Lower minimum PyArrow version to
12.0.0
Chore
- Removed some files that were added accidentally
0.3.1
v0.3.1 - 2024-08-09
Dependencies
- Relaxed dependency constraints