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
pyright
run onstrict
mode and addmypy
.
0.9.1
v0.9.1 - 2025-03-31
Fixes
- Added
FlexibleEnumMeta
to 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
main
and on publish to PyPI
0.9.0
v0.9.0 - 2025-03-24
Deprecations
ExponentialBackoff.timeout_ms
is now deprecated. Prefer settingtotal_timeout
in the globalTimeoutOptions
.
Features
- Added
timeout
parameter to Semantic Layer client and to the underlying GraphQL clients - Added new
Connect
,Execute
andRetry
subclasses 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
orderBy
andwhere
when 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_by
clause of queries using saved queries no longer support string inputs and require explicitOrderByMetric
orOrderByGroupBy
Deprecations
- Deprecate
TimeGranularity
enum and all other fields that used it
Features
- Specifying order by with
OrderByMetric
andOrderByGroupBy
- Add support for custom time granularity
Fixes
- Order by for
compile_sql
now 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_sql
method for getting the compiled SQL of a query- Allow saved queries in
query
andcompile_sql
Fixes
- Fixed wrong annotation for
saved_queries
in 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
Export
list toSavedQuery
- Add
SavedQueryQueryParam
list 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