Skip to content

Releases: dbt-labs/semantic-layer-sdk-python

0.11.0

16 Apr 15:18
6c61837
Compare
Choose a tag to compare

v0.11.0 - 2025-04-16

Features

  • Add lazy parameter to clients which allows lazy loading of certain model fields.
  • Officially support Python 3.13

Fixes

  • Fix type of group_by in query method
  • Fix TimeDimension in group_by

0.10.0

09 Apr 15:12
978ab31
Compare
Choose a tag to compare

v0.10.0 - 2025-04-09

Features

  • Add support to pass in typed group by

Chore

  • Make pyright run on strict mode and add mypy.

0.9.1

31 Mar 16:38
f72a118
Compare
Choose a tag to compare

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

27 Mar 15:53
bfbd5e8
Compare
Choose a tag to compare

v0.9.0 - 2025-03-24

Deprecations

  • ExponentialBackoff.timeout_ms is now deprecated. Prefer setting total_timeout in the global TimeoutOptions.

Features

  • Added timeout parameter to Semantic Layer client and to the underlying GraphQL clients
  • Added new Connect, Execute and Retry subclasses for TimeoutError

Under the Hood

  • Create CODEOWNERS file

Chore

  • Fix Github Actions workflow for tagging releases

0.8.0

18 Dec 05:23
ef984bf
Compare
Choose a tag to compare

v0.8.0 - 2024-12-13

Features

  • Double the max message size

0.7.0

15 Nov 13:47
f5e4eb2
Compare
Choose a tag to compare

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 and where when going via GraphQL

Chore

  • Fix release PR action to use correct title for PR

0.6.0

21 Oct 12:45
c6c0866
Compare
Choose a tag to compare

v0.6.0 - 2024-10-21

Breaking Changes

  • order_by clause of queries using saved queries no longer support string inputs and require explicit OrderByMetric or OrderByGroupBy

Deprecations

  • Deprecate TimeGranularity enum and all other fields that used it

Features

  • Specifying order by with OrderByMetric and OrderByGroupBy
  • 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

23 Sep 12:57
59e91b6
Compare
Choose a tag to compare

v0.5.0 - 2024-09-23

Features

  • compile_sql method for getting the compiled SQL of a query
  • Allow saved queries in query and compile_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

20 Aug 14:16
34ff84c
Compare
Choose a tag to compare

v0.4.0 - 2024-08-20

Features

  • Add Export list to SavedQuery
  • Add SavedQueryQueryParam list to SavedQuery

Dependencies

  • Lower minimum PyArrow version to 12.0.0

Chore

  • Removed some files that were added accidentally

0.3.1

09 Aug 16:05
7630cbf
Compare
Choose a tag to compare

v0.3.1 - 2024-08-09

Dependencies

  • Relaxed dependency constraints