Skip to content

Releases

Fsdb 0.1.9

Choose a tag to compare

@HelgeSverre HelgeSverre released this 17 Nov 21:46

Fsdb 0.1.9

This stable patch release improves geographic compatibility and reduces
allocations during indexed queries in the .NET 10 F# library and
MySQL-protocol server.

Changes since 0.1.8

  • Replace sampled long-edge geographic crossings with a Sjöberg intersection
    calculation, fixing the remaining audited crossing and its distance error.
  • Support geographic ST_IsValid checks for polygon holes, multipolygons,
    and geometry collections, including polar cases and component contacts.
  • Add reproducible adversarial geographic corpora checked against pinned
    MySQL 8.4.11, and update the remaining compatibility gaps.
  • Compare indexed keys directly without constructing temporary zipped lists.
    The measured in-memory correlated-range workload allocated approximately
    11.6% fewer bytes per query; throughput measurements were noisy and do not
    establish a general performance improvement.

Validation includes all 3,957 tests, isolated package consumption, 5,845
geographic polygon comparisons across three seeds and three ellipsoids,
and 4,000 geographic control cases. The intersection fix also passed a
7,000-case oracle corpus. These checks cover the recorded cases, rather
than establishing full MySQL compatibility; remaining gaps are in GAPS.md.

For durable databases, back up a stopped data directory and test the new
version against a copy before upgrading. Cross-version migration and
downgrade compatibility are not yet guaranteed.

Fsdb 0.1.8

Choose a tag to compare

@HelgeSverre HelgeSverre released this 17 Nov 12:01

Fsdb 0.1.8

This stable patch release corrects geographic shared-endpoint topology in
the .NET 10 F# library and MySQL-protocol server.

Changes since 0.1.7

  • Classify exactly shared geographic segment endpoints before sampling long
    arcs, preventing spurious interior crossings.
  • Match pinned MySQL 8.4.11 for the audited long-segment ST_Intersects,
    ST_Crosses, ST_Touches, and ST_Distance case in all four orientations.
  • Restore the corresponding geographic polygon's ST_IsValid result.
  • Add a reproducible, dependency-locked oracle probe and update the reviewed
    geographic mismatch ledger.

Validation includes all 3,955 tests, isolated package consumption, 1,000
shared-endpoint triples, and 3,000 global rings against pinned MySQL 8.4.11.
The ring corpus retains one known nonadjacent crossing discrepancy, including
its distance error. This release does not establish general geographic
intersection parity; remaining gaps are tracked in GAPS.md.

For durable databases, back up a stopped data directory and test the new
version against a copy before upgrading. Cross-version migration and
downgrade compatibility are not yet guaranteed.

Fsdb 0.1.7

Choose a tag to compare

@HelgeSverre HelgeSverre released this 17 Nov 11:33

Fsdb 0.1.7

This stable patch release improves correlated range planning and diagnostics
in the .NET 10 F# library and MySQL-protocol server.

Changes since 0.1.6

  • Match pinned MySQL 8.4.11 warning counts for the audited indexed correlated
    DOUBLE BETWEEN cases, including repeated outer keys, empty results,
    empty tables, range setup, and candidate filtering.
  • Honor correlated equality index hints and retain forced range access when
    the ordinary range-cost threshold would prefer a scan.
  • Compare eligible ranges with estimated full-key owner-index cardinality,
    retaining distinct initial and refinement setup phases while preserving
    broad-candidate index intersections.
  • Accept exactly representable integer, unsigned integer, and DECIMAL bounds
    as DOUBLE range cuts. Bounds that lose precision retain a conservative
    fallback.
  • Suppress conversion diagnostics from outer LIMIT 0 metadata probes.
  • Reduce avoidable allocations in numeric index probes and empty view-catalog
    lookups, and reuse immutable range selections across refinement phases.
  • Add a regression confirming that an audited nested checked view LEFT JOINed
    to a window CTE remains read only, matching MySQL metadata and errors.

The correlated benchmark now exercises eligible numeric ranges; its earlier
failed-range-plan interpretation has been corrected in the reports. On that
eligible workload, the refinement reuse change improved median throughput
33.8% and reduced allocations 23.7% in its matched comparison. The selected
range path still has costs beyond the earlier equality fallback; these
measurements do not establish a general throughput improvement. See
benchmarks/results/2026-11-17-eligible-range-reuse.md for scope and evidence.

Broader optimizer statistics and cost parity, specialized correlated
intersections, and the other compatibility gaps remain tracked in GAPS.md.
The full suite and isolated package consumer are checked before tagging and
repeated by the publication workflow.

For durable databases, back up a stopped data directory and test the new
version against a copy before upgrading. Cross-version migration and
downgrade compatibility are not yet guaranteed.

Fsdb 0.1.5

Choose a tag to compare

@HelgeSverre HelgeSverre released this 08 Nov 19:07

Fsdb 0.1.5

This stable patch release improves spatial predicate behavior and layered
updatable views in the .NET 10 F# library and MySQL-protocol server.

Changes since 0.1.4

  • Expose geographic polygon boundary-crossing events for the audited spatial
    predicate cases. The remaining geographic overlay cases are tracked in
    GAPS.md.
  • Preserve logical NATURAL/USING join keys when an updatable nested view is
    expanded into physical joins. A window CTE can now follow a checked joined
    view in a writable outer view, matching MySQL 8.4.11 for metadata, updates,
    affected rows, and CHECK OPTION failures.

The focused view case was compared with pinned MySQL 8.4.11. The full test
suite and package consumer are checked before tagging and repeated in the
release workflow.

For durable databases, back up a stopped data directory and test the new
version against a copy before upgrading. Cross-version migration and
downgrade compatibility are not yet guaranteed.

Fsdb 0.1.4

Choose a tag to compare

@HelgeSverre HelgeSverre released this 08 Nov 18:34

Fsdb 0.1.4

This stable patch release improves correlated aggregate diagnostics and keeps
the .NET 10 F# library available separately from the MySQL-protocol CLI.

Changes since 0.1.3

  • Preserve MySQL 8.4's conversion-warning count for audited correlated
    nullable COUNT queries, including grouped and ordinary execution, IN
    candidates, and zero-row limits.
  • Return a missing qualified aggregate-column error before evaluating a
    correlated numeric predicate. This covers COUNT, COUNT(DISTINCT ...),
    SUM, and a derived source without a stray preceding warning.
  • Avoid deriving the same grouped correlated count shape twice on the first
    eligible outer key.

The focused cases were compared with MySQL 8.4.11. The 3,947-test suite and
package consumer pass locally; the release workflow repeats these checks on
the tagged source. The indexed correlated BETWEEN warning count remains an
open diagnostics gap, recorded in GAPS.md. Broader compatibility gaps also
remain there.

For durable databases, back up a stopped data directory and test the new
version against a copy before upgrading. Cross-version migration and
downgrade compatibility are not yet guaranteed.

Fsdb 0.1.3

Choose a tag to compare

@HelgeSverre HelgeSverre released this 08 Nov 16:33

Fsdb 0.1.3

This stable patch release extends correlated count planning for nullable
columns. It contains the .NET 10 F# library; the MySQL-protocol CLI remains
a separate project.

Changes since 0.1.2

  • Precompute ungrouped correlated COUNT(nullable_column) membership in
    HAVING predicates, including nullable columns from joined tables.
  • Extend the precomputed path to grouped queries with a fixed key, including
    joined nullable counts and mixed nullable and matched-row counts.
  • Keep the ordinary executor for shapes that do not meet the planner's exact
    key and fixed-group requirements.

The focused cases were compared with MySQL 8.4.11, and the 3,932-test suite,
package consumer, and CI passed on the release source. Other compatibility
gaps remain in GAPS.md. In particular, conversion-warning cardinality in
some correlated COUNT queries is still under investigation; query results
match the tested MySQL cases, but SHOW WARNINGS can differ.

For durable databases, back up a stopped data directory and test the new
version against a copy before upgrading. Cross-version migration and
downgrade compatibility are not yet guaranteed.

Fsdb 0.1.2

Choose a tag to compare

@HelgeSverre HelgeSverre released this 06 Nov 22:08

Fsdb 0.1.2

This stable patch release improves correlated counts, Japanese full-text
search, and joined-view write concurrency. It contains the .NET 10 F# library;
the MySQL-protocol CLI remains a separate project.

Changes since 0.1.1

  • Precompute correlated COUNT(nullable_column) over qualified physical
    columns using exact numeric join keys, while preserving SQL NULL counting.
    A MySQL 8.4.11 comparison and row-examination regression cover this path.
  • Restore hiragana and katakana full-text token distinctions for the Japanese
    utf8mb4_ja_0900_as_cs_ks collation. Differential searches across ngram
    sizes 1–10 matched MySQL in the tested corpus.
  • Joined-view updates now claim physical rows read through grouped and UNION
    derived sources. Concurrent changes to those sources are rechecked before
    the write, matching tested MySQL 8.4.11 cases.

These fixes cover the audited cases; other compatibility gaps remain in
GAPS.md.

For durable databases, back up a stopped data directory and test the new
version against a copy before upgrading. Cross-version migration and
downgrade compatibility are not yet guaranteed.

Fsdb 0.1.1

Choose a tag to compare

@HelgeSverre HelgeSverre released this 06 Nov 20:50

Fsdb 0.1.1

This patch release improves correlated aggregate execution and joined-view
concurrency. It contains the .NET 10 F# library; the MySQL-protocol CLI remains
a separate project.

Changes since 0.1.0

  • Precompute more correlated COUNT cases over non-null physical columns and
    cache the column-presence proof for the statement. The benchmark and MySQL
    differential results are in benchmarks/results/2026-11-06-count-column-presence-cache.md.
  • Joined-view updates now claim physical read rows inside a grouped derived
    source. After a concurrent change to that source commits, the update
    reevaluates view membership before writing. A pinned MySQL 8.4.11 comparison
    and transaction regression cover the case.
  • Add MySQL-checked regression coverage for WITH CHECK OPTION on a grouped
    NATURAL JOIN view.

The geographic line-relation differences documented after 0.1.0 remain open.
See GAPS.md for the current compatibility boundaries.

For durable databases, back up a stopped data directory and test the new
version against a copy before upgrading. Cross-version migration and
downgrade compatibility are not yet guaranteed.

Fsdb 0.1.0

Choose a tag to compare

@HelgeSverre HelgeSverre released this 06 Nov 19:35

Fsdb 0.1.0

This is the first stable NuGet package version of Fsdb for .NET 10, following
0.1.0-preview.50. The package contains the F# embedding library; the
command-line MySQL-protocol server remains a separate project.

Changes since preview.50

  • Correlated COUNT(*) and EXISTS queries use more indexed and grouped
    plans, including joined equality tuples, exact decimal keys, nullable
    <=> keys, and several HAVING forms.
  • Complex joined views retain writable physical targets beside windowed,
    DISTINCT, recursive, and set-operation read sources. More joined-view
    updates acquire the required source locks and rebase after concurrent
    writes.
  • CJK compatibility expanded through supplementary kana and ideographs,
    including exact legacy weights across planes two and three. Japanese
    kana-sensitive ordering and indexed ranges now match the audited MySQL
    corpus at ngram sizes 1–10.
  • Geographic distance and relation handling received additional edge-case
    corrections and MySQL differential coverage.

The release was checked against the pinned MySQL 8.4.11 oracle, the F# test
suite, and an isolated consumer that restores the package rather than
referencing the source project.

Scope and upgrades

Fsdb targets MySQL compatibility for its supported SQL surface; it does not
claim complete MySQL parity. See GAPS.md
for the current coverage and remaining differences. In particular,
general cost-based planning, concurrent writer throughput, geographic
line/polygon overlays, and exact Japanese WEIGHT_STRING bytes remain open.

For durable databases, back up a stopped data directory and test the new
version against a copy before upgrading. Cross-version migration and
downgrade compatibility are not yet guaranteed; the
operations guide
describes the procedure.

Fsdb 0.1.0-preview.43

Fsdb 0.1.0-preview.43 Pre-release
Pre-release

Choose a tag to compare

@HelgeSverre HelgeSverre released this 04 Nov 12:50

This preview continues MySQL 8.4 compatibility and performance work in correlated queries and concurrent ordered writes.

  • Reuses equality-index matches and physical-projection decisions within statements, reducing repeated planner work for audited correlated queries.
  • Makes limited ordered UPDATE and DELETE observe pending YEAR and ENUM secondary-index inserts, then reselect the correct row after commit. The ENUM path preserves declaration order.
  • Adds native-MySQL regression oracles for those write cases, geographic polygon validity counterexamples, and another CJK ngram block. The pinned MySQL build has no MeCab plugin, and fsdb matches its missing-plugin error.
  • Makes the release test gate sequenced to keep timing-sensitive concurrency tests reproducible.

The release tree passed 3,872 sequenced tests and the isolated NuGet package-consumer check.
The tagged trusted-publishing workflow rebuilt, tested, packed, and uploaded the package and symbols to NuGet.