Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
291 commits
Select commit Hold shift + click to select a range
5402042
docs(core): accept ADRs 0051, 0052, 0054 and 0056 after G0 (#4517)
datlechin Nov 25, 2026
f5e5ea6
refactor(core): move the generated /v2 client into tablepro-cloud-api…
datlechin Nov 25, 2026
e0f17c7
feat(onboarding): setup guide, import hand-off and shortcut presets o…
datlechin Nov 25, 2026
20eab6b
feat(ios): sign in to a TablePro account through the shared core (#4492)
datlechin Nov 25, 2026
fdc66a8
feat(core): tablepro-records crate for synced kinds (#4518)
datlechin Nov 25, 2026
79e19fc
feat(core): tablepro-keys crate for the end-to-end design (#4519)
datlechin Nov 25, 2026
3dfce83
feat(core): store models, change journal and store generation (#4560)
datlechin Nov 25, 2026
fcb8da7
docs(core): ADR 0059, key errors name the expected signer and two lib…
datlechin Nov 25, 2026
01be1a3
docs(core): ADR 0060, the change journal names the records each write…
datlechin Nov 25, 2026
052faa7
docs(core): ADR 0061, the records crate settles six record rules (#4569)
datlechin Nov 25, 2026
743a2e0
docs(core): ADR 0062, a stopped scope records why it stopped (#4574)
datlechin Nov 25, 2026
5edaa79
test(ci): iOS runs on the shortcut presets now that it links the core…
datlechin Nov 26, 2026
018f999
docs(core): ADR 0064, a team restart waits for a word comparison, and…
datlechin Nov 26, 2026
e0cbe8e
docs(core): ADR 0063, the macOS app holds its results in the core bef…
datlechin Nov 26, 2026
295f67b
perf(editor): redraw only the lines a caret move or edit changes (#4570)
datlechin Nov 26, 2026
f8cacd7
perf(editor): parse edits off the main thread without copying the doc…
datlechin Nov 26, 2026
9221796
perf(autocomplete): size the completion popup before showing it and u…
datlechin Nov 26, 2026
594d9f7
docs(core): ADR 0065 and 0066, the WAL timeline check, refused change…
datlechin Nov 26, 2026
08bdd75
fix(core-storage): copy history.db into a name that does not exist ye…
datlechin Nov 26, 2026
3968cbd
fix(core): G1 round 1 fixes for tablepro-keys vectors and hardening (…
datlechin Nov 26, 2026
b055e28
feat(core): UUID record ids for synced kinds (#4587)
datlechin Nov 26, 2026
ba7b463
feat(core): sync crate contracts, FFI sync surface and fakes (#4572)
datlechin Nov 26, 2026
25b1d50
feat(core): store parity for the Mac library (ids, icons, SSH/TLS fie…
datlechin Nov 26, 2026
68b47a8
perf(import): read transaction state only when it can move, and trans…
datlechin Nov 26, 2026
4e39c02
feat(ios): connection library on the core store models (#4608)
datlechin Nov 26, 2026
b40e760
perf(export): start an export from the catalog's row estimate, not an…
datlechin Nov 26, 2026
0ddc1f4
perf(export): read a dump's table DDL once per schema (#4592)
datlechin Nov 26, 2026
baf645f
perf(connections): read the catalog side kinds in one round trip per …
datlechin Nov 26, 2026
4643c81
perf(editor): bound the memory each document's undo history holds (#4…
datlechin Nov 26, 2026
b2791c6
perf(editor): answer attributedString() with the text storage (#4562)
datlechin Nov 26, 2026
c2524df
perf(connections): reconnect when the network returns and ping less w…
datlechin Nov 26, 2026
d1e2db4
feat(macos): saved queries and history on the core stores (#4611)
datlechin Nov 26, 2026
9c5bfa3
perf(autocomplete): run completion requests off the main thread with …
datlechin Nov 26, 2026
77cff41
perf(redis): page keys from a saved scan cursor and send cluster pipe…
datlechin Nov 26, 2026
9df1cb2
fix(core): replace_library refuses a file that changed since it was r…
datlechin Nov 26, 2026
7b91fec
perf(ssh): share one session per route, use the probe channel, keep l…
datlechin Nov 26, 2026
3552158
test(editor): queue each TreeSitter edit burst before any of it can p…
datlechin Nov 26, 2026
10857f3
chore(windows): add changelog.d and towncrier notes (#4612)
datlechin Nov 26, 2026
2e551d4
perf(export): stream gzip while writing a dump and while reading one …
datlechin Nov 26, 2026
62b1297
perf(drivers): decode ClickHouse and SQL Server cells without per-fie…
datlechin Nov 26, 2026
971456a
feat(core): re-vendor /v2 with sync and key operations, and RFC 9470 …
datlechin Nov 26, 2026
917c297
perf(editor): scan a large script's run controls off the main thread …
datlechin Nov 26, 2026
1f3363e
perf(sidebar): match ASCII names by bytes and filter each container o…
datlechin Nov 26, 2026
6400623
perf(connections): use the idle session for the first listing and rea…
datlechin Nov 26, 2026
32b4099
perf(idle): save tabs only after a change and let the app nap with a …
datlechin Nov 27, 2026
0a2120f
perf(connections): send session setup with the connect instead of in …
datlechin Nov 27, 2026
cc50546
perf(editor): keep each query tab's document when switching tabs (#4588)
datlechin Nov 27, 2026
8c47b6c
test(memory): pin that a closed tab lets go of its rows and its resul…
datlechin Nov 27, 2026
ee20f01
ci(ios): install the simulator runtime when the runner image lacks it…
datlechin Nov 27, 2026
2dc1d14
ci(linux): pull Docker Hub images through mirror.gcr.io instead of an…
datlechin Nov 27, 2026
fec5b18
test(core): let each step-up test permit release one sign-in page (#4…
datlechin Nov 27, 2026
422d6ac
test(ios): fail the sync merge save with a read-only folder, not a de…
datlechin Nov 27, 2026
22f3ad1
fix(core-postgres): read the catalogs of PostgreSQL 10 to 13 (#4613)
datlechin Nov 27, 2026
98f6883
test(windows): live-server tests for PostgreSQL (#4614)
datlechin Nov 27, 2026
4079a88
fix(plugin-oracle): follow TNS listener redirects (#4610)
datlechin Nov 27, 2026
20770d4
ci(deps): bump the actions group across 1 directory with 2 updates (#…
dependabot[bot] Nov 27, 2026
873fc11
perf(memory): build each result row at its exact size in every driver…
datlechin Nov 27, 2026
d465598
perf(results): run the adapter's side of every driver call off the ma…
datlechin Nov 27, 2026
f51edc1
perf(autocomplete): rank table names from a prebuilt index instead of…
datlechin Nov 27, 2026
e60d667
fix(ios): a library write after the core's file went missing writes i…
datlechin Nov 27, 2026
3fd812b
perf(data-grid): read large text, JSON and binary cells as a head and…
datlechin Nov 27, 2026
d42bb33
fix(results): check for Stop just before a user statement reaches the…
datlechin Nov 27, 2026
c5d735a
feat(connections): projects that keep one product's connections, quer…
datlechin Nov 27, 2026
bb6d4a3
perf(sqlite): run SQLite statements on their own thread, not Swift's …
datlechin Nov 27, 2026
7407caf
perf(postgresql): read rows in libpq chunks instead of one result per…
datlechin Nov 27, 2026
5b45237
perf(mongodb): read each document's BSON once with libbson's iterator…
datlechin Nov 27, 2026
f1dffe0
feat(core-ai): tool calling for both provider protocols (#4630)
datlechin Nov 27, 2026
0404813
feat(windows): per-shortcut rebinding with a recorder (#4627)
datlechin Nov 27, 2026
cb48f3e
feat(windows): command palette / quick switcher (#4628)
datlechin Nov 27, 2026
f0fc0b5
feat(core): query-plan model, parsers and FFI (#4622)
datlechin Nov 27, 2026
e753de7
feat(core): SSH and credential profiles go through the checked librar…
datlechin Nov 27, 2026
67d604f
fix(linux): read the assistant message text through ChatMessage::text…
datlechin Nov 27, 2026
065acfd
perf(paging): seek on the primary key for next, previous and last pag…
datlechin Nov 27, 2026
90fe85f
fix(plugin-oracle): load the sidebar, long values and CLOBs on Oracle…
datlechin Nov 27, 2026
8af8705
fix(theme): stop a themed window covering the sidebar in full screen …
datlechin Nov 27, 2026
03d311e
fix(theme): make selections visible in every built-in theme (#4636)
datlechin Nov 27, 2026
98bb0b7
feat(core): end-to-end sync engine, accounts and keys (ADR 0044, 0056…
datlechin Nov 27, 2026
dc15243
fix(windows): make the command palette's commit event args a class (#…
datlechin Nov 27, 2026
ddafb12
test(core-storage): the report test builds its profile without serde_…
datlechin Nov 27, 2026
806d4c9
fix(windows): mark ShortcutRecorderButton partial for the AOT publish…
datlechin Nov 27, 2026
8271f51
fix(core-sync): a reopened service waits for its state file, and key …
datlechin Nov 27, 2026
e50a954
docs(core): ADR 0068 moves the pending-edit tracker and undo to the c…
datlechin Nov 27, 2026
051bb76
feat(core): sync connection projects (#4642)
datlechin Nov 27, 2026
2cce543
feat(core): the host peeks and acknowledges the library writes the co…
datlechin Nov 27, 2026
f28a8b6
feat(core): Team Library connections cross as library records, and ev…
datlechin Nov 27, 2026
ec95fcc
docs(core): ADRs 0069 to 0075 settle the full-sync milestone's ruling…
datlechin Nov 28, 2026
6bedf84
fix(macos): stop typing in the connection form's Tags field from cras…
datlechin Nov 28, 2026
ea66de3
fix(macos): open row context menus from VoiceOver and the keyboard (#…
datlechin Nov 28, 2026
4d4925a
feat(core-sync): sync passwords end to end as personal envelopes (#4665)
datlechin Nov 28, 2026
bed162f
fix(windows): run the shortcuts UI test serially and scroll to its ca…
datlechin Nov 28, 2026
c89f096
feat(core): grid copy and display text into the core (C-11) (#4653)
datlechin Nov 28, 2026
eeff06a
feat(windows): agent mode for the AI assistant (1b, 1c, 2) (#4657)
datlechin Nov 28, 2026
0a7066e
fix(core): no state transaction held across a nested begin or a netwo…
datlechin Nov 28, 2026
a262573
feat(core): table structure/DDL and SQL dump/import through the FFI (…
datlechin Nov 28, 2026
d8e4772
fix(core): list and decide sync approvals per record, show them in th…
datlechin Nov 28, 2026
d970079
fix(macos): build the menu anchor test's selection without the reduce…
datlechin Nov 28, 2026
6afee86
feat(core): script runner with a batch error policy into the core (C-…
datlechin Nov 28, 2026
bb41eb8
fix(linux): drop the icu deps the app no longer uses (#4670)
datlechin Nov 28, 2026
4a57f48
feat(core): move the pending-edit tracker and undo to the core, keyed…
datlechin Nov 28, 2026
1b5d480
fix(core): route a personal approval to the engine that listed it (#4…
datlechin Nov 28, 2026
38ea5cc
fix(core-sync): a refused envelope waits for its record, never as a r…
datlechin Nov 28, 2026
bfc26fc
fix(core-sync): the app's synced secrets host takes every kind it nam…
datlechin Nov 28, 2026
5a8deb8
fix(windows): compare stored shortcut values in the shortcuts UI test…
datlechin Nov 28, 2026
3c7e87a
fix(core-sync): the engine opens with the server out of reach and kee…
datlechin Nov 28, 2026
8583a18
fix(core): settle SSH profile names by lowest id, as credential profi…
datlechin Nov 28, 2026
4b0e421
fix(core): a log sink set from any thread never turns tracing off for…
datlechin Nov 28, 2026
97e2b02
test(windows): expect the integer rendering for a toggled boolean cel…
datlechin Nov 28, 2026
ca28319
fix(core): name signed-out key devices and log a public code with eve…
datlechin Nov 28, 2026
7cb317c
test(core): name the captured log line type in the log code tests (#4…
datlechin Nov 28, 2026
dc43cf4
test(core): the project import fakes return the credential write resu…
datlechin Nov 28, 2026
f9adcff
feat(core-sync): team connection secrets as team envelopes (#4682)
datlechin Nov 28, 2026
9ebc4f0
test(ios): lock the folder a failing sync merge save writes to, since…
datlechin Nov 28, 2026
10a30d0
fix(core): a Team Library copy carries no device credential path, and…
datlechin Nov 28, 2026
b85cf95
fix(macos): a Team Library or linked-folder row asks before it uses t…
datlechin Nov 28, 2026
07a3028
feat(windows): TablePro Sync settings, status and end-to-end encrypti…
datlechin Nov 28, 2026
99b8ec6
fix(core): a run's times cross in microseconds, so a run under a mill…
datlechin Nov 28, 2026
6d09ec8
fix(core-sync): a server that never answers is out of reach in second…
datlechin Nov 28, 2026
61457a0
fix(windows): passwords sync under TablePro Sync by default (#4689)
datlechin Nov 28, 2026
ce1706f
fix(macos): start a new folder's rename and keep a rename across a re…
datlechin Nov 28, 2026
1d3292c
fix(macos): keep a rename's caret and selection across a Favorites re…
datlechin Nov 28, 2026
018bb66
test(macos): the history downgrade probe checks the stores 0.88.0 rea…
datlechin Nov 28, 2026
d02dfdb
fix(windows): settings cards set Content only when there is one (#4693)
datlechin Nov 28, 2026
c8beb2d
fix(macos): explain a feature a company license leaves out instead of…
datlechin Nov 28, 2026
6876e08
ci(ios): boot an iPhone on the selected Xcode's simulator runtime and…
datlechin Nov 28, 2026
bebe73c
fix(macos): a file row's sign-in question names the file it opens on …
datlechin Nov 28, 2026
3bb881e
build(linux): drop indexmap from the app, unused since pending edits …
datlechin Nov 28, 2026
39682c2
feat(macos): TablePro Sync on the core, with keys, approvals, passwor…
datlechin Nov 28, 2026
b25a198
fix(sync): show the Passwords switch off while the server does not sy…
datlechin Nov 28, 2026
7b99547
docs(sync): changelog fragments for the Passwords switch fix (#4700)
datlechin Nov 28, 2026
05f8078
ci(macos): give macOS Tests 150 minutes, since a cold Rust cache push…
datlechin Nov 28, 2026
e2514e4
fix(core-sync): a key rotation never keeps a key device no device row…
datlechin Nov 28, 2026
600f6c8
fix(core-sync): split the replace keep list out of complete_replace t…
datlechin Nov 28, 2026
4e98fe6
fix(sync): Keep Theirs keeps a team connection's password, and an edi…
datlechin Nov 28, 2026
5a7de60
fix(sync): a device signed in again after its removal takes over its …
datlechin Nov 28, 2026
82f4b5a
fix(windows): choosing a sync provider through UI Automation no longe…
datlechin Nov 29, 2026
c174e92
fix(sync): a contested team member waits only for Keep Mine or Keep T…
datlechin Nov 29, 2026
93adb15
fix(cassandra): Amazon Keyspaces IAM sign-in signs with the ISO 8601 …
datlechin Nov 29, 2026
1b985e4
feat(er-diagram): connect relationship lines to their columns (#4715)
datlechin Nov 29, 2026
01a958a
fix(account): removing a device of an account with end-to-end keys go…
datlechin Nov 29, 2026
340b687
test(linux): quick open query tests wait for the catalog's outcome (#…
datlechin Nov 29, 2026
e09c65b
build(macos): list the icu decimal crates the core now links in the t…
datlechin Nov 29, 2026
2ff06aa
fix(sync): the end-to-end encryption page never spins for good on a M…
datlechin Nov 29, 2026
4feb33a
fix(sync): a move from iCloud whose last pass can't run goes ahead wi…
datlechin Nov 29, 2026
00f2e2d
fix(macos): Save at quit finishes before the app quits, and the Local…
datlechin Nov 29, 2026
3b15a1b
fix(core-sync): profile name clashes number the same on every device …
datlechin Nov 29, 2026
328c6fb
fix(macos): a shared row's SSH tunnel dials the chain its approval re…
datlechin Nov 29, 2026
e2f6b5c
fix(account): a confirmation that timed out says so with Try Again, S…
datlechin Nov 29, 2026
7b10463
fix(core-sync): a history window larger than a page pulls in pages th…
datlechin Nov 29, 2026
2c18541
feat(core): connect a Team Library copy with only the secrets it is g…
datlechin Nov 29, 2026
0870d03
feat(windows): Team Library connections connect with the team's passw…
datlechin Nov 29, 2026
a954a9d
feat(windows): the team keys page lists the credentials someone who l…
datlechin Nov 29, 2026
2f25558
fix(sync): an edit made while a pulled value waits for review syncs, …
datlechin Nov 29, 2026
612552b
feat(windows): print the recovery key (#4731)
datlechin Nov 29, 2026
ac210fa
fix(windows): the toolchain script installs clang-cl and survives rus…
datlechin Nov 29, 2026
4f4c711
fix(core): saved query and folder name clashes number the same on eve…
datlechin Nov 29, 2026
99d5280
feat(account): every app asks for a license the same way, as support,…
datlechin Nov 29, 2026
dad95ab
fix(windows): the license ask state keeps the settings' own list type…
datlechin Nov 29, 2026
c3ccfa3
fix(core-sync): team passwords survive a lost seat, a publish with no…
datlechin Nov 29, 2026
d1035cc
feat(windows): keep a connection Local only, from its form and the Co…
datlechin Nov 29, 2026
747957b
feat(windows-sync): sync the app's settings by category, core ADR 009…
datlechin Nov 29, 2026
cb7f876
fix(windows): the publish menu takes the list it is given, as CA1859 …
datlechin Nov 30, 2026
1fb09d1
fix(windows): the license ask names the WinUI timer, which Windows.Sy…
datlechin Nov 30, 2026
673d35f
fix(sync): a connection synced again after Local only meets the serve…
datlechin Nov 30, 2026
67eebb1
feat(linux-account): sign in to a company server and read the organiz…
datlechin Nov 30, 2026
b9c3ba9
fix(deps): update curve25519-dalek to 5.1.0 for RUSTSEC-2026-0620 (#4…
datlechin Nov 30, 2026
436349e
fix(sync): a new or recovered device joins a team at its current key,…
datlechin Nov 30, 2026
d5ceaf9
fix(sync): push-back keeps no released key device, a removal takes th…
datlechin Nov 30, 2026
12b97f9
feat(sync): approved devices tell the person when another device asks…
datlechin Nov 30, 2026
876d286
feat(windows): Your words shows the fingerprint QR code, encoded in t…
datlechin Nov 30, 2026
03419c0
feat(windows): sync parity with the Mac for approvals, company server…
datlechin Nov 30, 2026
1d61172
feat(windows): the sync service opens at launch for every signed-in a…
datlechin Nov 30, 2026
49f3c46
feat(windows): managed policy from the registry with ADMX templates, …
datlechin Nov 30, 2026
43e0cd6
test(windows): the required-provider policy test allows the launch-ti…
datlechin Nov 30, 2026
97329b5
fix(core): entitlements and licenses refuse a crit header, a revoked …
datlechin Nov 30, 2026
9d09c54
feat(core): give each OS user on a machine a device row of its own (#…
datlechin Nov 30, 2026
7ee063d
fix(windows): the approvals page field no longer clashes with the app…
datlechin Nov 30, 2026
33930e7
fix(mysql): a Stop that lands before the driver registers a statement…
datlechin Nov 30, 2026
47f6d11
fix(drivers): a Stop just before a SQLite or ClickHouse statement sta…
datlechin Nov 30, 2026
b4dc53b
fix(drivers): a Trino, Cloudflare D1, LibSQL or Qdrant request a Stop…
datlechin Nov 30, 2026
ab54a3c
fix(postgresql): a Stop that lands before the driver registers a stat…
datlechin Nov 30, 2026
259c901
fix(sync): a deleted connection's history deletions sync, pulls keep …
datlechin Nov 30, 2026
cc80916
fix(windows): word the account.no_install_id error (#4764)
datlechin Nov 30, 2026
fccab13
fix(sync): a key reset that keeps your data gets past the server, sta…
datlechin Nov 30, 2026
2cb1566
fix(sync): a dismissed step-up notice for a lost reset stays dismisse…
datlechin Nov 30, 2026
3c8ce05
fix(sync): a move without iCloud's last pass keeps the deletions iClo…
datlechin Nov 30, 2026
3adbe1e
fix(redis): a Stop that lands before a user command is registered kee…
datlechin Nov 30, 2026
7c08ac2
fix(sync): moves between providers recover, and TablePro Sync after O…
datlechin Nov 30, 2026
618fc25
docs(changelog): TablePro Sync notes name what is end-to-end encrypte…
datlechin Nov 30, 2026
579ccd9
docs(core): the threat model says AI provider keys stay on each devic…
datlechin Nov 30, 2026
b1083e2
fix(drivers): a Stop that lands while a DuckDB, MongoDB, Cassandra, D…
datlechin Nov 30, 2026
2dec8ad
feat(linux-editor): snippets move into keyword saved queries (#4744)
datlechin Nov 30, 2026
3e3939d
fix(linux-l10n): translate the 60 untranslated Vietnamese strings (#4…
datlechin Nov 30, 2026
d96366f
fix(windows): a conflict between this PC and your other devices reads…
datlechin Nov 30, 2026
b4a9a87
fix(sync): an edit made before a review keeps its place, Local only d…
datlechin Nov 30, 2026
664b105
fix(history): Linux runs and MCP queries keep the database they ran i…
datlechin Nov 30, 2026
386d445
chore(linux): name the bug in the Vietnamese catalog fragment (#4776)
datlechin Nov 30, 2026
9b4bb84
fix(sync): a removal's owed team rotations keep its marks, wait for s…
datlechin Nov 30, 2026
b8277eb
fix(core-sync): a profile deleted on another device reaches the conne…
datlechin Nov 30, 2026
8dae915
fix(ssh): the macOS tunnel harness builds again with isProductionStor…
datlechin Nov 30, 2026
83676f3
fix(results): a Stop holds back a script's next statement, which reac…
datlechin Nov 30, 2026
ef6edea
feat(account): trust the next production entitlement key, held in AWS…
datlechin Nov 30, 2026
8495d30
docs(release): 0.89.0 fragments name the bug, fit 120 characters and …
datlechin Nov 30, 2026
28c7fa1
fix(sync): a removal reads the server's rows, an unanswered replace i…
datlechin Nov 30, 2026
7ea9961
ci(linux): download lintian with the build dependencies and lint the …
datlechin Nov 30, 2026
82ba939
ci(linux): the mirror pull test reports the registry's error, not a m…
datlechin Nov 30, 2026
f2adcfd
fix(oracle): follow a listener redirect through the connection's SSH …
datlechin Nov 30, 2026
2816e63
fix(drivers): a Stop that reaches MySQL or PostgreSQL late never skip…
datlechin Nov 30, 2026
76fe312
docs(release): the 4784 fragment fits 120 characters (#4786)
datlechin Nov 30, 2026
87a3ec4
test(plugins): an in-app statement's context carries the user-stateme…
datlechin Nov 30, 2026
dccecad
fix(macos): perf audit bugs in tab restore, shortcuts, the cell edito…
datlechin Dec 1, 2026
a159262
fix(sync): a device waiting for approval in a team finishes a confirm…
datlechin Dec 1, 2026
09565f3
fix(windows): approving with matching words no longer closes the app,…
datlechin Dec 1, 2026
fbb840f
refactor(core-sync): the sync host moves out of ffi into tablepro-syn…
datlechin Dec 1, 2026
276eae5
fix(core-storage): a new history.db finishes its migrations before th…
datlechin Dec 1, 2026
b631749
test(windows): close the Start menu the desktop step leaves open, and…
datlechin Dec 1, 2026
62ddf7a
fix(sync): print the recovery key page instead of a blank one (#4796)
datlechin Dec 1, 2026
ac63cbf
fix(sync): an approval request waiting on macOS's notification permis…
datlechin Dec 1, 2026
eb94469
fix(sync): a reopen after a sign-in change gives way to a provider a …
datlechin Dec 1, 2026
7f3d11f
fix(core-sync): Sign Out deletes the Team Library data on the service…
datlechin Dec 1, 2026
c093606
fix(account): a license key's sign-in says so, and the account sign-i…
datlechin Dec 1, 2026
f691d54
feat(server-dashboard): size saved query tiles, show the rows that fi…
datlechin Dec 1, 2026
b224520
feat(inspector): show the server and its version, and keep Engine for…
datlechin Dec 1, 2026
bbd41b0
ci(macos): build the core without LTO in the test jobs, and save each…
datlechin Dec 1, 2026
610ef86
fix(sync): foreground and a network return wake the core's scheduler,…
datlechin Dec 1, 2026
51e8eba
docs(core): ADR 0114, personal records go up sealed under keyed ids a…
datlechin Dec 1, 2026
4bdc198
feat(windows-sync): only Team Library changes wait for approval, core…
datlechin Dec 1, 2026
5a0691f
feat(core-sync): only a team's changes wait for approval, and rows ol…
datlechin Dec 1, 2026
75c2d7f
feat(sync): the Mac reviews only Team Library changes and says person…
datlechin Dec 1, 2026
4568bc3
fix(core-sync): the downgrade mirror keeps an unsettled waiting value…
datlechin Dec 1, 2026
b68080c
feat(core-sync): personal records go up sealed under the personal key…
datlechin Dec 1, 2026
c898d8a
fix(sync): the move sheet counts only the Local only connections and …
datlechin Dec 1, 2026
552fff9
fix(core-sync): a moved secret goes back only once its record lands, …
datlechin Dec 1, 2026
be5b6f8
fix(sync): the approvals count leaves out personal rows an earlier bu…
datlechin Dec 1, 2026
994a996
fix(core-sync): a secret a landing takes out is marked in the state f…
datlechin Dec 1, 2026
d60fabc
fix(core-sync): the approvals list and count name only a team's value…
datlechin Dec 1, 2026
2a51d3b
fix(core-sync): a locked device that asks to be approved again reads …
datlechin Dec 2, 2026
fc3b98c
fix(sync): a Mac connect uses a stored secret only where the library …
datlechin Dec 2, 2026
25e99d6
fix(account): a gate names the plan its feature needs, and a paid acc…
datlechin Dec 2, 2026
4111ebf
docs(core): record keyless image signing and the LicenseSigner role i…
datlechin Dec 2, 2026
05f10dc
fix(core-sync): Off and back on the same account no longer asks about…
datlechin Dec 2, 2026
8f66892
fix(core-sync): close waits for Team Library's store writes, and Keep…
datlechin Dec 2, 2026
b36d61c
fix(sync): the status names what stays out of sync and a key state th…
datlechin Dec 2, 2026
962bbbc
docs(ci): xcode-27 is GitHub's standard Xcode 27 image, not a preview…
datlechin Dec 2, 2026
770797a
fix(core-sync): a restored store sends no synced password sealed for …
datlechin Dec 2, 2026
c6739fc
fix(sync): the launch reads the open move, and a file connection show…
datlechin Dec 2, 2026
d5eb4ea
fix(core-sync): an envelope's floor moves when the server takes the c…
datlechin Dec 2, 2026
4aad026
fix(sync): an open editor's read secrets go only where the library st…
datlechin Dec 2, 2026
352d6f0
feat(sidebar): filter tables and columns by comment as well as name (…
datlechin Dec 2, 2026
888689c
fix(core-sync): a secret a landing took out stays marked until its re…
datlechin Dec 2, 2026
848d5d1
chore(release): move release/0.89 to main 888689c560 for v0.89.0-beta.7
datlechin Dec 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude/rules/ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ paths:

## Runners

- Xcode jobs run on `xcode-27`, a GitHub preview image. `setup-xcode` pins the Xcode build.
- Xcode jobs run on `xcode-27`, GitHub's standard Xcode 27 image, free for a public repository. `macos-latest` carries no Xcode 27. `setup-xcode` pins the Xcode build.
- Every job runs on a GitHub-hosted runner of the Free plan. There is no self-hosted or larger runner. `core.yml` and `windows.yml` use `windows-2025`, `windows-11-arm` and `macos-15`. `release-windows.yml` also installs on `windows-2022`, the oldest Windows a hosted runner has.
- At most 5 hosted macOS jobs and 20 jobs in all run at once.

Expand Down
2 changes: 1 addition & 1 deletion .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
self-hosted-runner:
# GitHub's Xcode 27 preview image, newer than the label list in actionlint 1.7.12.
# GitHub's standard Xcode 27 image, newer than the label list in actionlint 1.7.12.
labels:
- xcode-27
paths:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -332,33 +332,32 @@ public enum MSSQLSchemaQueries {
tables(in: .schema(schema))
}

/// The same listing over one schema, a named set of them, or every schema `schemas` returns. The
/// last filters by that query itself rather than dropping the schema predicate, so a table is
/// listed here exactly when its schema is listed there. Both multi-schema listings project each
/// row's schema as a third column.
// The all-schemas scope filters by the `schemas` query itself, so a table is listed here exactly when its schema
// is listed there. The comment is `MS_Description`, the property Edit Comment writes, joined by name through
// sys.objects: an OBJECT_ID per row was 1.4 to 1.6 times slower over 3,007 objects on SQL Server 2022.
public static func tables(in scope: MSSQLTableListingScope) -> String {
let schemaFilter: String
let schemaColumn: String
let orderBy: String
switch scope {
case .schema(let schema):
schemaFilter = "t.TABLE_SCHEMA = \(MSSQLStringLiteral.quoted(schema))"
schemaColumn = ""
orderBy = "t.TABLE_NAME"
case .schemas(let schemas):
schemaFilter = schemas.isEmpty
? "1 = 0"
: "t.TABLE_SCHEMA IN (\(schemas.map(MSSQLStringLiteral.quoted).joined(separator: ", ")))"
schemaColumn = ", t.TABLE_SCHEMA"
orderBy = "t.TABLE_SCHEMA, t.TABLE_NAME"
case .allSchemas:
schemaFilter = "t.TABLE_SCHEMA IN (\n\(listedSchemaNames)\n)"
schemaColumn = ", t.TABLE_SCHEMA"
orderBy = "t.TABLE_SCHEMA, t.TABLE_NAME"
}
return """
SELECT t.TABLE_NAME, t.TABLE_TYPE\(schemaColumn)
SELECT t.TABLE_NAME, t.TABLE_TYPE, t.TABLE_SCHEMA, CAST(ep.value AS NVARCHAR(MAX)) AS TABLE_COMMENT
FROM INFORMATION_SCHEMA.TABLES t
LEFT JOIN sys.schemas s ON s.name = t.TABLE_SCHEMA
LEFT JOIN sys.objects o ON o.schema_id = s.schema_id AND o.name = t.TABLE_NAME
LEFT JOIN sys.extended_properties ep
ON ep.class = 1 AND ep.major_id = o.object_id AND ep.minor_id = 0 AND ep.name = 'MS_Description'
WHERE \(schemaFilter)
AND t.TABLE_TYPE IN ('BASE TABLE', 'VIEW')
ORDER BY \(orderBy)
Expand Down Expand Up @@ -660,11 +659,13 @@ public struct MSSQLTableRow: Sendable, Equatable {
public let name: String
public let isView: Bool
public let schema: String?
public let comment: String?

public init(name: String, isView: Bool, schema: String? = nil) {
public init(name: String, isView: Bool, schema: String? = nil, comment: String? = nil) {
self.name = name
self.isView = isView
self.schema = schema
self.comment = comment
}
}

Expand Down Expand Up @@ -828,7 +829,8 @@ public extension MSSQLSchemaQueries {
static func parseTableRow(_ row: [String?]) -> MSSQLTableRow? {
guard let name = row[safe: 0] ?? nil else { return nil }
let typeRaw = (row[safe: 1] ?? nil) ?? "BASE TABLE"
return MSSQLTableRow(name: name, isView: typeRaw == "VIEW", schema: row[safe: 2] ?? nil)
let comment = (row[safe: 3] ?? nil).flatMap { $0.isEmpty ? nil : $0 }
return MSSQLTableRow(name: name, isView: typeRaw == "VIEW", schema: row[safe: 2] ?? nil, comment: comment)
}

static func parseColumnRow(_ row: [String?]) -> MSSQLColumnRow? {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public enum TeradataSchemaQueries {

public static func listTables(database: String) -> String {
"""
SELECT TableName, TableKind FROM DBC.TablesV \
SELECT TableName, TableKind, CommentString FROM DBC.TablesV \
WHERE DatabaseName = \(quoteLiteral(database)) \
AND TableKind IN ('T', 'O', 'Q', 'V') \
ORDER BY TableName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ struct MSSQLSchemaQueriesTests {
let sql = MSSQLSchemaQueries.tables(in: .schema("sales"))
#expect(sql == MSSQLSchemaQueries.tables(schema: "sales"))
#expect(sql.contains("WHERE t.TABLE_SCHEMA = N'sales'"))
#expect(sql.hasPrefix("SELECT t.TABLE_NAME, t.TABLE_TYPE\n"))
#expect(sql.hasPrefix("SELECT t.TABLE_NAME, t.TABLE_TYPE, t.TABLE_SCHEMA, CAST(ep.value AS NVARCHAR(MAX)) AS TABLE_COMMENT\n"))
#expect(sql.hasSuffix("ORDER BY t.TABLE_NAME"))
#expect(!sql.contains("INFORMATION_SCHEMA.SCHEMATA"))
}
Expand All @@ -72,7 +72,7 @@ struct MSSQLSchemaQueriesTests {
let sql = MSSQLSchemaQueries.tables(in: .allSchemas)
#expect(sql.contains("WHERE t.TABLE_SCHEMA IN (\n\(MSSQLSchemaQueries.listedSchemaNames)\n)"))
#expect(!sql.contains("ORDER BY SCHEMA_NAME"))
#expect(sql.hasPrefix("SELECT t.TABLE_NAME, t.TABLE_TYPE, t.TABLE_SCHEMA\n"))
#expect(sql.hasPrefix("SELECT t.TABLE_NAME, t.TABLE_TYPE, t.TABLE_SCHEMA, CAST(ep.value AS NVARCHAR(MAX)) AS TABLE_COMMENT\n"))
#expect(sql.contains("AND t.TABLE_TYPE IN ('BASE TABLE', 'VIEW')"))
#expect(sql.hasSuffix("ORDER BY t.TABLE_SCHEMA, t.TABLE_NAME"))
}
Expand All @@ -81,7 +81,7 @@ struct MSSQLSchemaQueriesTests {
let sql = MSSQLSchemaQueries.tables(in: .schemas(["sales", "dbo"]))
#expect(sql.contains("WHERE t.TABLE_SCHEMA IN (N'sales', N'dbo')\n"))
#expect(!sql.contains("INFORMATION_SCHEMA.SCHEMATA"))
#expect(sql.hasPrefix("SELECT t.TABLE_NAME, t.TABLE_TYPE, t.TABLE_SCHEMA\n"))
#expect(sql.hasPrefix("SELECT t.TABLE_NAME, t.TABLE_TYPE, t.TABLE_SCHEMA, CAST(ep.value AS NVARCHAR(MAX)) AS TABLE_COMMENT\n"))
#expect(sql.contains("AND t.TABLE_TYPE IN ('BASE TABLE', 'VIEW')"))
#expect(sql.hasSuffix("ORDER BY t.TABLE_SCHEMA, t.TABLE_NAME"))
}
Expand All @@ -108,6 +108,28 @@ struct MSSQLSchemaQueriesTests {
#expect(MSSQLSchemaQueries.parseTableRow(["orders", "BASE TABLE"])?.schema == nil)
}

@Test func testEveryListingReadsEachObjectsDescription() {
let scopes: [MSSQLTableListingScope] = [.schema("sales"), .schemas(["sales"]), .allSchemas]
for sql in scopes.map(MSSQLSchemaQueries.tables(in:)) {
#expect(sql.contains("""
LEFT JOIN sys.schemas s ON s.name = t.TABLE_SCHEMA
LEFT JOIN sys.objects o ON o.schema_id = s.schema_id AND o.name = t.TABLE_NAME
LEFT JOIN sys.extended_properties ep
ON ep.class = 1 AND ep.major_id = o.object_id AND ep.minor_id = 0 AND ep.name = 'MS_Description'
"""))
}
}

@Test func testParseTableRowReadsTheCommentAndAnEmptyOneIsNone() {
#expect(
MSSQLSchemaQueries.parseTableRow(["customers", "BASE TABLE", "sales", "客户表"])
== MSSQLTableRow(name: "customers", isView: false, schema: "sales", comment: "客户表")
)
#expect(MSSQLSchemaQueries.parseTableRow(["v", "VIEW", "sales", ""])?.comment == nil)
#expect(MSSQLSchemaQueries.parseTableRow(["v", "VIEW", "sales", nil])?.comment == nil)
#expect(MSSQLSchemaQueries.parseTableRow(["v", "VIEW"])?.comment == nil)
}

@Test func testColumnsQueryIncludesIdentityAndPrimaryKey() {
let sql = MSSQLSchemaQueries.columns(schema: "dbo", table: "Users")
#expect(sql.contains("IsIdentity"))
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import TableProTeradataCore
import Testing

struct TeradataSchemaQueriesTests {
@Test("The table listing reads each object's comment in its third column")
func listingReadsComments() {
#expect(TeradataSchemaQueries.listTables(database: "shop") == """
SELECT TableName, TableKind, CommentString FROM DBC.TablesV \
WHERE DatabaseName = 'shop' \
AND TableKind IN ('T', 'O', 'Q', 'V') \
ORDER BY TableName
""")
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ public enum SidebarNameMatchTier: Int, Comparable, Sendable {
case exact
case prefix
case substring
// The name missed and the object's comment holds the text.
case comment

public static func < (lhs: SidebarNameMatchTier, rhs: SidebarNameMatchTier) -> Bool {
lhs.rawValue < rhs.rawValue
Expand All @@ -15,15 +17,24 @@ public enum SidebarNameMatchTier: Int, Comparable, Sendable {
public struct SidebarNameQuery: Equatable, Sendable {
public let text: String
// The query folded to lower-case ASCII bytes, when it is ASCII and the locale folds ASCII letters the way bytes do.
// Nil sends every name to the locale-aware search.
private let asciiNeedle: [UInt8]?
// The query as scalars, ASCII folded, when it is Han and ASCII only. Nil for both sends every name to the locale.
private let hanNeedle: [UInt32]?

public init(_ query: String) {
let text = query.trimmingCharacters(in: .whitespaces)
self.text = text
self.asciiNeedle = text.utf8.allSatisfy { $0 < 0x80 } && AsciiFolding.matchesLocale()
? text.utf8.map(AsciiFolding.fold)
: nil
let foldsLikeBytes = AsciiFolding.matchesLocale()
if foldsLikeBytes, text.utf8.allSatisfy({ $0 < 0x80 }) {
asciiNeedle = text.utf8.map(AsciiFolding.fold)
hanNeedle = nil
} else if foldsLikeBytes, text.unicodeScalars.allSatisfy({ $0.value < 0x80 || AsciiFolding.isHan($0.value) }) {
asciiNeedle = nil
hanNeedle = text.unicodeScalars.map { AsciiFolding.fold($0.value) }
} else {
asciiNeedle = nil
hanNeedle = nil
}
}

public var isEmpty: Bool {
Expand All @@ -35,6 +46,9 @@ public struct SidebarNameQuery: Equatable, Sendable {
if let asciiNeedle, let answer = AsciiFolding.tier(of: candidate, needle: asciiNeedle) {
return answer.tier
}
if let hanNeedle, let answer = AsciiFolding.tier(of: candidate, hanNeedle: hanNeedle) {
return answer.tier
}
let candidateString = candidate as NSString
let range = candidateString.localizedStandardRange(of: text)
guard range.location != NSNotFound else { return nil }
Expand All @@ -43,34 +57,94 @@ public struct SidebarNameQuery: Equatable, Sendable {
}
}

// An ASCII name against an ASCII query is a byte search: `localizedStandardRange` folds nothing there but case, and a
// catalog of 100,000 names costs it about 20 ms a key where bytes cost 2. Any other name takes the locale-aware search.
// `localizedStandardRange` costs about ten times a byte search, so text it would search no differently is searched as
// scalars here: ASCII folds case, a Han character matches only itself, and kana, Hangul and CJK punctuation stand in
// as a value no query holds. Any other text takes the locale-aware search.
enum AsciiFolding {
struct Answer {
let tier: SidebarNameMatchTier?
}

private static let inert: UInt32 = 0x11_0000

static func fold(_ byte: UInt8) -> UInt8 {
(byte &- 0x41) < 26 ? byte | 0x20 : byte
}

// Nil when the name is not ASCII, or its bytes are not contiguous, so the caller asks the locale.
static func fold(_ value: UInt32) -> UInt32 {
(value &- 0x41) < 26 ? value | 0x20 : value
}

static func isHan(_ value: UInt32) -> Bool {
(0x4E00...0x9FFF).contains(value) || (0x3400...0x4DBF).contains(value)
}

// Nil when the text holds a character the locale may fold or skip, so the caller asks the locale.
static func tier(of candidate: String, needle: [UInt8]) -> Answer? {
candidate.utf8.withContiguousStorageIfAvailable { bytes -> Answer? in
let ascii: Answer?? = candidate.utf8.withContiguousStorageIfAvailable { bytes -> Answer? in
for byte in bytes where byte >= 0x80 { return nil }
let count = needle.count
guard count <= bytes.count else { return Answer(tier: nil) }
var start = 0
search: while start <= bytes.count - count {
for offset in 0..<count where fold(bytes[start + offset]) != needle[offset] {
start += 1
continue search
return search(bytes, needle: needle, fold: fold)
}
if case .some(.some(let answer)) = ascii { return answer }
return scalarTier(of: candidate, needle: needle.map(UInt32.init), keepsHan: false)
}

static func tier(of candidate: String, hanNeedle: [UInt32]) -> Answer? {
scalarTier(of: candidate, needle: hanNeedle, keepsHan: true)
}

private static func scalarTier(of candidate: String, needle: [UInt32], keepsHan: Bool) -> Answer? {
withUnsafeTemporaryAllocation(of: UInt32.self, capacity: candidate.utf8.count) { buffer -> Answer? in
var count = 0
for scalar in candidate.unicodeScalars {
let value = scalar.value
if value < 0x80 {
buffer[count] = fold(value)
} else if keepsHan, isHan(value) {
buffer[count] = value
} else if isInert(value, beside: keepsHan) {
buffer[count] = inert
} else {
return nil
}
guard start == 0 else { return Answer(tier: .substring) }
return Answer(tier: count == bytes.count ? .exact : .prefix)
count += 1
}
return search(UnsafeBufferPointer(rebasing: buffer[0..<count]), needle: needle) { $0 }
}
}

// Each one a single UTF-16 unit that `localizedStandardRange` neither folds to ASCII nor skips beside ASCII letters or
// digits, measured on macOS 26 and 27 in en, zh, ja, ko, vi, fr, de and tr. Left out: every full-width form, U+3000
// and the quotation marks U+301D-U+301F, which match their ASCII ones beside a digit, Suzhou numerals, and the
// combining marks U+3099, U+309A and U+302A-U+302F, which it skips. A compatibility ideograph is one only for an
// ASCII query, since it matches the Han character it stands for.
private static func isInert(_ value: UInt32, beside han: Bool) -> Bool {
switch value {
case 0x4E00...0x9FFF, 0x3400...0x4DBF: return true
case 0xF900...0xFAFF: return !han
case 0x3040...0x3098, 0x309B...0x309F, 0x30A0...0x30FF, 0x3100...0x312F, 0xAC00...0xD7A3: return true
case 0x3001...0x3006, 0x3008...0x301C, 0x3020, 0x3030...0x303F: return true
default: return false
}
}

private static func search<Element: Equatable>(
_ haystack: UnsafeBufferPointer<Element>,
needle: [Element],
fold: (Element) -> Element
) -> Answer {
let count = needle.count
guard count <= haystack.count else { return Answer(tier: nil) }
var start = 0
search: while start <= haystack.count - count {
for offset in 0..<count where fold(haystack[start + offset]) != needle[offset] {
start += 1
continue search
}
return Answer(tier: nil)
} ?? nil
guard start == 0 else { return Answer(tier: .substring) }
return Answer(tier: count == haystack.count ? .exact : .prefix)
}
return Answer(tier: nil)
}

private static let verdicts = OSAllocatedUnfairLock<[String: Bool]>(initialState: [:])
Expand All @@ -90,11 +164,12 @@ enum AsciiFolding {
}
}

// Read back exact, prefix, substring: the stable sort by tier, without sorting.
// Read back exact, prefix, substring, comment: the stable sort by tier, without sorting.
public struct SidebarRankedMatches<Element> {
private var exact: [Element] = []
private var prefix: [Element] = []
private var substring: [Element] = []
private var comment: [Element] = []

public init() {}

Expand All @@ -103,11 +178,12 @@ public struct SidebarRankedMatches<Element> {
case .exact: exact.append(element)
case .prefix: prefix.append(element)
case .substring: substring.append(element)
case .comment: comment.append(element)
}
}

public var elements: [Element] {
exact + prefix + substring
exact + prefix + substring + comment
}
}

Expand Down
Loading
Loading