Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions sql-insight-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.2.1](https://github.com/takaebato/sql-insight/compare/sql-insight-cli-v0.2.0...sql-insight-cli-v0.2.1) - 2026-06-28

### Added

- *(cli)* add --pretty option to format command ([#44](https://github.com/takaebato/sql-insight/pull/44)) by @takaebato in #44
- carry catalog resolution on written columns and lineage targets by @takaebato in #34
- *(cli)* show catalog resolution on write targets by @takaebato in #34
- carry catalog resolution on write targets (TableWrite) by @takaebato in #34

### Fixed

- correct extraction edge cases in CTEs, DML targets, lineage, and catalog ([#37](https://github.com/takaebato/sql-insight/pull/37)) by @takaebato in #37

### Other Changes

- add PR-title lint and release-plz release automation ([#40](https://github.com/takaebato/sql-insight/pull/40)) by @takaebato in #40
- remove the redundant flat table extractor by @takaebato in #34
4 changes: 2 additions & 2 deletions sql-insight-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ include = [
"LICENSE.txt",
]
readme = "README.md"
version = "0.2.0"
version = "0.2.1"
edition = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }
Expand All @@ -23,7 +23,7 @@ path = "src/main.rs"
doc = false

[dependencies]
sql-insight = { path = "../sql-insight", version = "0.2.0", features = ["serde"] }
sql-insight = { path = "../sql-insight", version = "0.3.0", features = ["serde"] }
clap = { version = "4.4.18", features = ["derive"] }
rustyline = "18.0.0"
serde = "1.0.228"
Expand Down
46 changes: 46 additions & 0 deletions sql-insight/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,52 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.3.0](https://github.com/takaebato/sql-insight/compare/v0.2.0...v0.3.0) - 2026-06-28

### Added

- bucket REPLACE / INSERT OVERWRITE as Create + Delete in CRUD by @takaebato in #36
- add Catalog::from_ddl_with_casing for casing-override alignment by @takaebato in #36
- fan in NATURAL JOIN merge columns (catalog-aware) by @takaebato in #36
- count GROUP BY / ORDER BY positional ordinals as reads by @takaebato in #35
- flag INSERT/MERGE arity mismatches for VALUES and column-less sources by @takaebato in #35
- carry catalog resolution on written columns and lineage targets by @takaebato in #34
- read the LIKE / CLONE shape source; CLONE feeds lineage by @takaebato in #34
- carry catalog resolution on write targets (TableWrite) by @takaebato in #34
- implement operator extraction: table & column lineage from SQL by @takaebato in #31
- normalize column lists, nested `IN` expressions, and unary operators by @piki in #7

### Fixed

- correct extraction edge cases in CTEs, DML targets, lineage, and catalog ([#37](https://github.com/takaebato/sql-insight/pull/37)) by @takaebato in #37
- don't duplicate a recursive CTE's anchor diagnostics by @takaebato in #36
- flag a non-table UPDATE target instead of dropping it silently by @takaebato in #36
- normalize a TOP constant quantity by @takaebato in #36
- flow the WITHIN GROUP value of an ordered-set aggregate by @takaebato in #36
- treat a parameterized FROM function as an opaque table factor by @takaebato in #35
- extract tuple SET (a, b) = … assignments by @takaebato in #35
- flow the LHS of IN (subquery) in value position by @takaebato in #35
- bind DELETE/UPDATE ORDER BY and LIMIT clauses by @takaebato in #35
- extract wildcard REPLACE (expr AS col) outputs by @takaebato in #35
- extract MERGE RETURNING / OUTPUT columns by @takaebato in #35
- bind QUALIFY against the post-projection scope by @takaebato in #35
- model DML reads as a data-flow source/sink split by @takaebato in #34
- attribute a multi-table UPDATE's SET targets to their own tables by @takaebato in #34
- extraction correctness pass: reads / lineage / DML classification / catalog, + binder refactors by @takaebato in #33

### Documentation

- note that normalization replaces all literals, including structural ones by @takaebato in #35

### Other Changes

- add PR-title lint and release-plz release automation ([#40](https://github.com/takaebato/sql-insight/pull/40)) by @takaebato in #40
- cover untested SQL constructs and public reference conversions by @takaebato in #35
- remove the redundant flat table extractor by @takaebato in #34
- migrate extractor/mod.rs to extractor.rs ([#25](https://github.com/takaebato/sql-insight/pull/25)) by @takaebato in #25
- upgrade sqlparser to 0.61.0 by @takaebato in #23
- upgrade sqlparser dependency to 0.56.0 by @piki in #9

## [v0.2.0](https://github.com/takaebato/sql-insight/tree/v0.2.0) (2024-07-05)

## What's Changed
Expand Down
2 changes: 1 addition & 1 deletion sql-insight/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ include = [
"LICENSE.txt",
]
readme = "README.md"
version = "0.2.0"
version = "0.3.0"
edition = { workspace = true }
rust-version = "1.89.0"
homepage = { workspace = true }
Expand Down