Release 0.4.17 - #883
Merged
Merged
Release 0.4.17#883
Conversation
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
…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
chore(release): open the 0.4.17 cut
17 tasks
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.
Release 0.4.17
Summary
Cuts Querya Desktop 0.4.17 (
0.4.17+1) fromdevintomain. Driver and grid correctness after 0.4.16: Table Browser schema vs missing PK, SQLite implicitrowid, Mongo write/filter/discard, Postgres / MySQL / SQLite / Redis session, type, and Save fixes.origin/mainhad Auto Version Bump0.4.17+2from the 0.4.16 cut; this PR keeps0.4.17+1so the tag and zip names match the changelog section.After merge: tag
0.4.17on this merge commit immediately (do not tag the follow-up Auto Version Bump to0.4.18+…). Tag push runs the Release workflow.Closes #880
Highlights
rowid(fix(sqlite): allow Table Browser edits on implicit rowid tables #774); 0-row DML fails closed (fix(grid): treat 0-row DML as a failed save, not success #773); discard on navigate (fix(grid): do not discard Table Browser edits on tree / Home / Close #771).replaceOne(fix(mongo): full-document Save uses $set and cannot unset deleted fields #778); dirty editor Back confirms (fix(mongo): dirty document editor is discarded on breadcrumb Back #782); Extended JSON / hex_idfilter (fix(mongo): JSON filter cannot match ObjectId / DateTime fields #783).COUNT(*); typed cells (timestamptz/bytea/jsonb, BOOLEAN/BIT/BLOB, BLOB/TEXT).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.170.4.17on the merge commit, not the auto-bump