finox 0.1.0-aarch64-linux → 0.2.0-aarch64-linux

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 18f21184d413361ffbf0ad85d22907c4724350f09f6281597f0b9bb43d35d9fc
4
- data.tar.gz: c08dab6b928bf8f6a3ffd660d549ed08e779774076c8661f08c4fd3091a2b3ab
3
+ metadata.gz: 470891ee672e11d4d6f513ef9144481b88ed8fc9e218b9ebfb0da420a8a39f60
4
+ data.tar.gz: 98cf85bbf345f331603ab93a286c10b4819262801dea9f135f15cc820787e133
5
5
  SHA512:
6
- metadata.gz: 59b950228afa6619227f20b001aac871d215c8940d26530dd2512f5a5fe9eeb97bbe55d4354982dacac0cb759e33739fba0248c9be83455ec59e5c2c9f92fa17
7
- data.tar.gz: 7828c02c5414fd5b94533a1d7b02a4df2011c542cac1080b1373f585a6e749dd1265ba428a812f29b50c9a7dc9684ab6d8b0f28022fc61cd84ab65f86d71c729
6
+ metadata.gz: 7ae6e2480540d018653e822c1cca58c31aca5552be13bff8e641887f91e9d0732a218455950ca6c1029a1c2805c3e1020939272541a0442d8dec636a1c57208f
7
+ data.tar.gz: 6886d4b7f2f32e0ba3ae45d431e717bf028e9224d49ca005e09d483e369e159fe9c86ad0d3354e971bf49846be68d420bda6ad6fe9507d6bcd22e7e5498a2008
data/CHANGELOG.md CHANGED
@@ -1,4 +1,28 @@
1
- ## [Unreleased]
1
+ ## [0.2.0] - 2026-07-18
2
+
3
+ - **Breaking:** `Finox.parse` now returns a `Finox::Result` instead of a plain Array.
4
+ - Add `Finox::Result#tables`, which returns the tables referenced across all
5
+ parsed statements (including joins, subqueries and DML targets), deduplicated
6
+ and excluding CTE names.
7
+ - Add `Finox::Result#columns`, which returns the columns referenced across all
8
+ parsed statements (including `INSERT` column lists and `UPDATE` assignment
9
+ targets), deduplicated.
10
+ - Add `Finox::Result#statement_types`, which returns the type of each parsed
11
+ statement (sqlparser's variant names, e.g. `"Query"`, `"Insert"`).
12
+ - Add `Finox::Result#select_tables`, `#dml_tables` and `#ddl_tables`, which
13
+ classify the referenced tables into read, written by DML and targeted by DDL
14
+ (a table appearing in multiple roles is listed in each).
15
+ - Add `Finox::Result#normalize`, which returns the SQL with literals replaced
16
+ by `?` placeholders, deparsed from the AST (normalizing formatting and
17
+ keyword case).
18
+ - Add `Finox::Result#fingerprint`, which returns a 64-bit hex hash of the
19
+ normalized SQL, for grouping queries that differ only in literals or
20
+ formatting. Fingerprints are not guaranteed to be stable across finox
21
+ versions.
22
+ - Add `Finox::Result#statements`, which returns the AST of each parsed
23
+ statement as plain Hashes/Arrays. All keys are Strings (previously enum
24
+ variant names were Strings but struct fields were Symbols).
25
+ - Precompiled gems now include a shared object for Ruby 4.0.
2
26
 
3
27
  ## [0.1.0] - 2026-07-17
4
28