Skip to content

Release 0.4.17 - #883

Merged
ZhuchkaTriplesix merged 101 commits into
mainfrom
release/0.4.17-to-main
Sep 20, 2026
Merged

ZhuchkaTriplesix merged 101 commits into
mainfrom
release/0.4.17-to-main

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Release 0.4.17

Summary

Cuts Querya Desktop 0.4.17 (0.4.17+1) from dev into main. Driver and grid correctness after 0.4.16: Table Browser schema vs missing PK, SQLite implicit rowid, Mongo write/filter/discard, Postgres / MySQL / SQLite / Redis session, type, and Save fixes.

origin/main had Auto Version Bump 0.4.17+2 from the 0.4.16 cut; this PR keeps 0.4.17+1 so the tag and zip names match the changelog section.

After merge: tag 0.4.17 on this merge commit immediately (do not tag the follow-up Auto Version Bump to 0.4.18+…). Tag push runs the Release workflow.

Closes #880


Highlights

See CHANGELOG.md [0.4.17].

Hidden bugs pass 2 (#867#873) and algorithm/perf (#874#879) are not in this tag — they stay Unreleased for the next patch. QA 120 Hz DevTools remains #739 (not a blocker).

Test plan

  • ./scripts/extract-changelog-section.sh 0.4.17
  • CI analyze + tests
  • After merge: tag 0.4.17 on the merge commit, not the auto-bump

ZhuchkaTriplesix and others added 30 commits September 20, 2026 11:30
Table Browser no longer sends GENERATED ALWAYS / AUTO_INCREMENT ids or empty serial cells. Writable SQLite files use WAL so Overview and the table view can share a file without SQLITE_BUSY.

Closes #792
Closes #810
Closes #801
fix(grid): omit generated INSERT columns and enable SQLite WAL
Find/update/list still authenticate from an in-memory session URI after getters are nulled, and one Db is reused per database instead of opening a socket on every call.

Closes #780
fix(mongo): keep session auth after scrubCredentials
Extended protocol Parse cannot contain multiple commands, so BEGIN/UPDATE/COMMIT must not go through one execute.

Closes #784
fix(postgres): execute Save DML as separate statements
Cancelling the iterable result at the UI cap left COM_QUERY unread; the next statement waited for connectionEstablished. Inject LIMIT like Postgres and drain leftover rows so the session is ready.

Closes #808
fix(mysql): cap SELECT on the server and drain rowsStream
SET without KEEPTTL or EX clears expiry, so session keys became immortal after an edit. Redis 6+ uses KEEPTTL XX; older servers fall back to TTL then SET EX. Expired keys are not recreated.

Closes #811
fix(redis): keep existing TTL when saving a string key
Home, Close workspace, tree/object changes, and the matching palette commands go through UnsavedWorkRegistry so a dirty staging buffer is not torn down until Discard.

Closes #771
fix(grid): confirm before discarding Table Browser edits on navigate
A concurrent edit or stale PK can make UPDATE match no rows; the transaction now rolls back, the staging buffer is kept, and Save Failed is shown instead of toasting success from statement count.

Closes #773
fix(grid): treat 0-row DML as a failed save
The document editor used JsonEncoder (ObjectId became a string via toJson) or toString() for DateTime/BinData, so Save could not rebuild the _id filter. Relaxed EJSON keeps ObjectId and dates typed.

Closes #779
fix(mongo): round-trip BSON types through Extended JSON
fix(mongo): field codec must not coerce ObjectId / ISO dates / numeric strings
fix(mongo): inspector Apply / Ctrl+Enter is a no-op (Save to DB required)
…er-session

fix(postgres): do not share the SQL-editor read-write socket with Table Browser
…-session

fix(sqlite): do not share the SQL-editor Database with Table Browser
…session

fix(mysql): do not share the SQL-editor socket with Table Browser
Opening a DB and Home Refresh were replacing the singleton Redis
socket, so keep-alive Overview and Explorer killed each other.
fix(redis): do not kill the keep-alive Overview socket when opening a DB
JOIN, comma-FROM, and subquery results stay read-only instead of
building WHERE from every displayed column (or the literal table name).
fix(postgres): SQL result-grid Save must use PK and column types
ZhuchkaTriplesix and others added 27 commits September 20, 2026 15:50
…tains

Substring matching blocked inserted_at / dropped_at and allowed a second
statement after SELECT. WITH … INSERT is a write; TABLE / VALUES / (SELECT)
stay allowed.
CI treats analyzer info as failure (dangling_library_doc_comments).
…allowlist

fix(postgres): custom-SQL allowlist must not use substring matching
Without a CA, Use SSL/TLS stays sslmode=require (encrypt, MITM possible).
URI sslmode= still wins. The form documents the tradeoff.
fix(postgres): host/port SSL checkbox should offer verify-full
… grid

Schema uses udt_name so ARRAY / USER-DEFINED reach formatLiteral.
Display uses ISO timestamps, \x hex, JSON text, and PG array literals.
fix(postgres): round-trip timestamptz / bytea / jsonb / arrays in the grid
Browse stays read-only. Row totals use reltuples so a sequential COUNT
cannot forceClose the pooled socket. Stale estimates below the page
leave Next enabled.
fix(postgres): browse on read-only; page with ORDER BY PK; do not block on COUNT(*)
Track BEGIN/COMMIT/ROLLBACK on the session so SELECT-only
transactions keep the SQL-tab badge on. Fall back to xact_start
(PG 9+) instead of pg_current_xact_id_if_assigned.
fix(postgres): inOpenTransaction must detect BEGIN without an assigned XID
json.decode left _id as a string, so find never matched BSON ObjectId.
Accept $oid / $date and wrap a 24-character hex _id. Hint when a
string _id still matches nothing.
fix(mongo): JSON filter cannot match ObjectId / DateTime fields
fix(mongo): confirm before discarding a dirty document editor
fix(mongo): replace full-document Save instead of $set merge
fix(mongo): fail update/delete when 0 documents match
fix(sqlite): edit Table Browser rows via implicit rowid
…ng-pk

fix(grid): distinguish schema load failure from missing PK
Bump pubspec/About to 0.4.17, point Unreleased CHANGELOG and docs at
hidden-bugs pass 2 plus perf (#867#879), tracking #880.
chore(release): open the 0.4.17 cut
Move Unreleased Fixed into dated ## [0.4.17]; keep pass 2 / perf
(#867#879) as Planned for the next patch.
@github-actions github-actions Bot added this to the 0.4.17 milestone Sep 20, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 0581df1 into main Sep 20, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(release): Querya Desktop 0.4.17 — hidden bugs pass 2 + perf

1 participant