Release 0.5.0 - #179
Merged
Merged
Conversation
Performance and reliability release since 0.4.0. No breaking changes and no public export-surface changes. - New API: Diagnostics.unknownDependencyFallbackCount (#151) - Bug fix: diagnostics() reader-isolate SEGV under load - Perf: writer pipelining, selectBytes native-view transfer, Row/RowSchema lookup fast paths, six-param + nullable batch packing Bump resqlite 0.4.0 -> 0.5.0 and move README + workspace pins to ^0.5.0. Cut companion compatibility releases resqlite_vector/resqlite_js 0.1.0 -> 0.1.1 (require resqlite ^0.5.0) so extension users can upgrade alongside 0.5.0. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
danReynolds
force-pushed
the
danreynolds/serene-perlman-9e9d44
branch
from
June 16, 2026 18:11
a13aa95 to
6dd5e1a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Performance and reliability release since 0.4.0. No breaking changes and no changes to the public export surface (
lib/resqlite.dartunchanged) — safe to upgrade from 0.4.x.Wins at a glance
Up to 45% faster concurrent writes, ~1.8× faster large
selectBytesreads (>256 KB), fasterRow/batch operations, a new diagnostics counter for silent re-query fallbacks, and a reader-isolate crash fix fordiagnostics()under load.What's in it (with traceability)
New API —
Diagnostics.unknownDependencyFallbackCount: cumulative counter of writes that conservatively re-queried every registered stream because native dependency tracking overflowed its caps (or hit OOM). Previously unobservable. (#151)Bug fix —
Database.diagnostics()could intermittently SEGV a reader isolate when polled while readers were mid-query (it toggled SQLite memory accounting on liveNOMUTEXreader connections). Read workers now bracket each request with a real busy guard. (#156)Performance (accepted experiments, each linked to its PR + experiment doc):
selectBytesnative-view transferRow.containsKeyidentity fast pathcontainsKeylaneRowSchemalookup fast pathexecuteBatchp50 88 → 75 µsSee the benchmark dashboard for current cross-library numbers.
Versioning
resqlite0.4.0 → 0.5.0(pre-1.0 minor). README + workspace constraint pins moved^0.4.0 → ^0.5.0.resqlite_vector&resqlite_js0.1.0 → 0.1.1(now requireresqlite: ^0.5.0) so extension users can upgrade alongside 0.5.0.Verification
dart pub publish --dry-runcleandart test→ 303 passed (drift peer-benchmark codegen regenerated viabuild_runner)After merge + green CI on
main: publishresqlite0.5.0 + companions 0.1.1 to pub.dev, then tagv0.5.0.🤖 Generated with Claude Code