Skip to content

Commit

Permalink
Release v0.9.3 (#267)
Browse files Browse the repository at this point in the history
* Added documentation for exclude flag
([#265](#265)). A new
`exclude` flag has been added to the configuration file for our lab
tool, allowing users to specify a path to exclude from formatting during
lab execution. This release also includes corrections to grammatical
errors in the descriptions of existing flags related to catalog and
database settings, such as updating `seperated` to "separate".
Additionally, the flag descriptions for `publish` and `open-browser`
have been updated for clarification: `publish` now clearly controls
whether the dashboard is published after creation, while `open-browser`
controls whether the dashboard is opened in a web browser. These changes
are aimed at improving user experience and ease of use for our lab tool.
* Fixed dataclass field type in _row_to_sql
([#266](#266)). In this
release, we have addressed an issue related to
[#257](#257) by fixing the
dataclass field type in the `_row_to_sql` method of the `backends.py`
file. Additionally, we have made updates to the `_schema_for` method to
use a new `_field_type` class method. This change resolves a rare
problem where the `field.type` is a string instead of a type and ensures
compatibility with a pull request from an external repository
(<databrickslabs/ucx#2526>). The new
`_field_type` method attempts to load the type from `__builtins__` if
it's a string and logs a warning if it fails. The `_row_to_sql` method
now consistently uses the `_field_type` method to get the field type.
This ensures that the library functions seamlessly and consistently,
avoiding any potential issues in the future.
  • Loading branch information
nfx authored Sep 4, 2024
1 parent 21995fd commit e21699f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Version changelog

## 0.9.3

* Added documentation for exclude flag ([#265](https://github.com/databrickslabs/lsql/issues/265)). A new `exclude` flag has been added to the configuration file for our lab tool, allowing users to specify a path to exclude from formatting during lab execution. This release also includes corrections to grammatical errors in the descriptions of existing flags related to catalog and database settings, such as updating `seperated` to "separate". Additionally, the flag descriptions for `publish` and `open-browser` have been updated for clarification: `publish` now clearly controls whether the dashboard is published after creation, while `open-browser` controls whether the dashboard is opened in a web browser. These changes are aimed at improving user experience and ease of use for our lab tool.
* Fixed dataclass field type in _row_to_sql ([#266](https://github.com/databrickslabs/lsql/issues/266)). In this release, we have addressed an issue related to [#257](https://github.com/databrickslabs/lsql/issues/257) by fixing the dataclass field type in the `_row_to_sql` method of the `backends.py` file. Additionally, we have made updates to the `_schema_for` method to use a new `_field_type` class method. This change resolves a rare problem where the `field.type` is a string instead of a type and ensures compatibility with a pull request from an external repository (<https://github.com/databrickslabs/ucx/pull/2526>). The new `_field_type` method attempts to load the type from `__builtins__` if it's a string and logs a warning if it fails. The `_row_to_sql` method now consistently uses the `_field_type` method to get the field type. This ensures that the library functions seamlessly and consistently, avoiding any potential issues in the future.


## 0.9.2

* Make hatch a prerequisite ([#259](https://github.com/databrickslabs/lsql/issues/259)). In this commit, Eric Vergnaud has introduced a change to make the installation of `hatch` version 1.9.4 a prerequisite for the project to avoid errors related to `pip` command recognition. The Makefile has been updated to handle the installation of hatch automatically, and the `hatch env create` command is now used instead of `pip install hatch==1.7.0`. This change ensures that the development environment is consistent and reliable by maintaining the correct version of hatch and automatically handling its installation. Additionally, the `.venv/bin/python` and `dev` targets have been updated accordingly to reflect these changes. This commit also formats all files using the `make dev fmt` command, which helps maintain consistent code formatting throughout the project.
Expand Down
2 changes: 1 addition & 1 deletion src/databricks/labs/lsql/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.9.2"
__version__ = "0.9.3"

0 comments on commit e21699f

Please sign in to comment.