tag:github.com,2008:https://github.com/slackhq/hack-sql-fake/releasesRelease notes from hack-sql-fake2023-06-06T18:59:20Ztag:github.com,2008:Repository/197095478/v5.0.72023-06-06T19:03:43ZSupport another vector for ignoring index requirements<p>Add support for ignoring queries that violate an index requirement ba…</p>
<p>…sed on callstack</p>muglugtag:github.com,2008:Repository/197095478/v5.0.62023-06-01T18:07:57ZSupport flags for detecting more violations<p>This release supports detecting queries that scatter (where the <code>WHERE</code> columns don't reference Vitess indexes) and also detection of queries that hit primary databases.</p>muglugtag:github.com,2008:Repository/197095478/v5.0.52023-05-19T18:47:14ZImprove handling of multi-column indexesNo content.muglugtag:github.com,2008:Repository/197095478/v5.0.42023-05-15T15:11:45ZFix a small bug with JOIN index calculationNo content.muglugtag:github.com,2008:Repository/197095478/v5.0.32023-05-12T20:28:45ZUse indexes for pre-filtering `WHERE` resultsNo content.muglugtag:github.com,2008:Repository/197095478/v5.0.22023-05-11T18:17:17ZSupport index calculation<p>Calculate indexes for all rows (<a class="issue-link js-issue-link" href="https://github.com/slackhq/hack-sql-fake/pull/101">#101</a>)</p>
<p>* Use indexes for fast retrieval</p>
<p>* Remove WHERE index calculation for now</p>muglugtag:github.com,2008:Repository/197095478/v5.0.12023-05-09T01:12:32ZFix incorrect codegen typeNo content.muglugtag:github.com,2008:Repository/197095478/v5.0.02023-05-08T21:26:34ZUse TableSchema object to represent schema information<p>This changes hack-sql-fake's internal representation of its schema, which is a breaking change for anyone relying on the serialised version.</p>muglugtag:github.com,2008:Repository/197095478/v4.153.82023-05-08T20:57:10ZWhitespace fixes<p>Fixes whitespace</p>muglugtag:github.com,2008:Repository/197095478/v4.153.72023-02-20T23:23:58ZJson validation improvements<p>JSON validation should accept string 'null' to match MySQL behavior (<a class="issue-link js-issue-link" href="https://github.com/slackhq/hack-sql-fake/pull/97">#97</a></p>
<p><a class="issue-link js-issue-link" href="https://github.com/slackhq/hack-sql-fake/pull/97"></a>)</p>
<p>* make json validation accept the string 'null' and convert it to proper null in the database, which matches behavior in MySQL</p>
<p>* make the linter happy</p>
<p>---------</p>
<p>Co-authored-by: Kevin Tabb <ktabb@Kevins-MacBook-Pro.local></p>ssandler