From 5d537c20aecb1ed300f7abac33ee2d8869ab1232 Mon Sep 17 00:00:00 2001 From: z3z1ma Date: Sun, 5 Jan 2025 18:05:03 -0700 Subject: [PATCH] chore: bump version, trigger release --- .changes/1.1.7.md | 6 ++++++ CHANGELOG.md | 20 +++++++++++++++----- pyproject.toml | 2 +- uv.lock | 2 +- 4 files changed, 23 insertions(+), 7 deletions(-) create mode 100644 .changes/1.1.7.md diff --git a/.changes/1.1.7.md b/.changes/1.1.7.md new file mode 100644 index 0000000..772e386 --- /dev/null +++ b/.changes/1.1.7.md @@ -0,0 +1,6 @@ +## 1.1.7 - 2025-01-05 +### Added +* better default str dumping for multiline strings in dbt yamls +* working dbt proxy speaking mysql protocol, part of an experiment but could be useful as is +### Changed +* force dbt 1.9 compat via uv dep override, we need to keep streamlit pinned to where it is to to a breaking change which affects our material UI components diff --git a/CHANGELOG.md b/CHANGELOG.md index b56aa69..eccc541 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,11 +6,17 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), and is generated by [Changie](https://github.com/miniscruff/changie). -## 1.1.6 - 2025-01-04 +## 1.1.7 - 2025-01-05 +### Added +* better default str dumping for multiline strings in dbt yamls +* working dbt proxy speaking mysql protocol, part of an experiment but could be useful as is +### Changed +* force dbt 1.9 compat via uv dep override, we need to keep streamlit pinned to where it is to to a breaking change which affects our material UI components -[Migrating from 0.1.x](https://z3z1ma.github.io/dbt-osmosis/docs/migrating) +## 1.1.6 - 2025-01-04 ### Added + * Seeds now require a `+dbt-osmosis: ` in `dbt_project.yml`, or dbt-osmosis raises an exception. * Added a pluggy-based plugin system for custom fuzzy matching of column names (prefix, case transforms, etc.). * Configuration can now be set at multiple levels (folder-level, node-level, column-level), merging with global defaults. @@ -21,19 +27,23 @@ and is generated by [Changie](https://github.com/miniscruff/changie). * Added logging improvements and auto-apply parameters for better usability and traceability. * Introduced support for environment variables in discovery functions, improving dynamic configuration options. * Resolved sorting issues in YAML column ordering, allowing directory/node-level configurations for alphabetical sorting. + ### Changed + * Migrated `vars.dbt-osmosis` structure to nest sources under `sources:` key (e.g., `vars: dbt-osmosis: sources:`). * Renamed flags: - - `--char-length` → `--string-length` - - `--numeric-precision` → `--numeric-precision-and-scale` - - `--catalog-file` → `--catalog-path` + * `--char-length` → `--string-length` + * `--numeric-precision` → `--numeric-precision-and-scale` + * `--catalog-file` → `--catalog-path` * Organized and refactored prompts for file moves unless `--auto-apply` is passed. * Child docs no longer overwrite existing downstream descriptions unless `--force-inherit-descriptions` is used. The old `osmosis_keep_description` is deprecated. * Child meta merges with upstream meta instead of overwriting it, giving precedence to the node being merged into for conflicting keys. * Refactored the entire package to follow a more hybrid functional programming (FP) and Go-style approach, emphasizing simplicity and functions operating on pure data structures. * Improved LLM context handling with additional test coverage and enhanced input structure. * Topological sorting now ensures consistent operation order during `_iter` traversal. + ### Removed + * The `diff` code and command are removed. * The dbt bottle server was removed. * The vendored dbt core interface was removed, folding into the core library, reducing unnecessary complexity and dependencies. diff --git a/pyproject.toml b/pyproject.toml index 21d9253..e9c251f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "dbt-osmosis" -version = "1.1.6" +version = "1.1.7" description = "A dbt utility for managing YAML to make developing with dbt more delightful." readme = "README.md" license = { text = "Apache-2.0" } diff --git a/uv.lock b/uv.lock index f7aff65..59c25b6 100644 --- a/uv.lock +++ b/uv.lock @@ -393,7 +393,7 @@ wheels = [ [[package]] name = "dbt-osmosis" -version = "1.1.6" +version = "1.1.7" source = { editable = "." } dependencies = [ { name = "click" },