Repository navigation
This release makes exports and copies give back what your database stores, mostly through community fixes, and makes the Ask/SQL switch easy to find.
🙌 Thank you
- @jayhemnani9910: four fixes to SQL exports. Mixed-case Postgres names and per-database quoting (#368), dates without quotes in CSV and Markdown (#373), MySQL backslashes (#378), and MySQL datetimes (#380). #368 was their first contribution.
- @mateuscmtropical: DATE columns now show the stored day (#377), and Copy Selection As writes dates without quotes (#376). These were their first contributions.
Thank you both. More good first issues are open.
📤 Exports that load back
- Prisma-style Postgres schemas export and restore (#368). Export database stopped with
relation "public.post" does not existon any table with capitals in its name, and the partial file would have restored with lowercased names. Names with capitals are now quoted. SQL exports also quote for the connection's database: backticks on MySQL, brackets on SQL Server. - MySQL SQL exports import cleanly. Backslashes are escaped, so
C:\new\table, a trailing\, and JSON with quotes come back exactly (#378). DATETIME and TIMESTAMP values are written as2024-01-15 10:00:00, the time the database stores. They used to be written in an ISO form that MySQL rejects, and outside UTC that time was shifted too (#380). A zero date (0000-00-00 00:00:00) is written asNULL. - Dates in CSV and Markdown exports have no quotes (#373). A timestamp used to land in a spreadsheet as
"""2026-01-15T10:30:00.000Z""".
📅 Dates show the stored day
- DATE columns on Postgres and MySQL come back as
YYYY-MM-DD(#377). They were turned into a timestamp at local midnight, so east of UTC the grid, exports, and copy showed the previous day, and west of UTC they showed a time the column doesn't have. Chart axes label the right day too. - Copy Selection As and single-cell copy write dates without quotes (#376), and find in results matches the same text.
💬 Ask or SQL, at a glance
- The composer has an Ask / SQL switch (#379). Tab switches modes even when the input is empty, the placeholder and send button follow the mode, and when the mode was picked for you it says "Looks like SQL" or "Looks like a question". Escape leaves the composer. Tab no longer moves focus out of the composer; Shift+Tab still does.
- Light mode is easier to read. Hints, key caps, placeholders, timestamps, and grid row numbers use full-strength muted text instead of faded greys. In Add Connection, the ClickHouse and SQLite icons show on a light background, and the selected database stands out.
- Native scrollbars follow dark mode.
⚠️ Worth knowing
- On Postgres, a cross-tab
@refto a result column with capitals now needs quotes, for example"authorId", the same as when you query the real table. - Time Machine snapshots taken before this release show DATE cells as changed once when compared with a new snapshot. New snapshots compare normally.
Free for personal use · MIT source · macOS / Windows / Linux · https://datapeek.dev
What's Changed
- feat(web): lead the AI story with your existing Claude Code, Codex, or Antigravity plan by @Rohithgilla12 in #367
- fix: pass the connection's dialect to SQL result exports by @jayhemnani9910 in #368
- feat(web): start the Black Friday sale now (2026-11-18) by @Rohithgilla12 in #369
- README: announce the Black Friday sale by @Rohithgilla12 in #366
- fix(web): live header version, and an Ask-on-your-subscription loop in the AI section by @Rohithgilla12 in #370
- [ImgBot] Optimize images by @imgbot[bot] in #371
- docs(blog): publish posts for find in results, Copy Selection As, and Ask's read gate by @Rohithgilla12 in #372
- fix: write dates without quotes in CSV and Markdown exports by @jayhemnani9910 in #373
- fix: return date-only columns as YYYY-MM-DD strings by @mateuscmtropical in #377
- fix: copy dates without quotes in Copy Selection As by @mateuscmtropical in #376
- fix: escape backslashes in MySQL SQL exports by @jayhemnani9910 in #378
- fix(ask): make the Ask/SQL switch visible and fix light-mode contrast by @Rohithgilla12 in #379
- fix: write MySQL datetimes in a form MySQL accepts in SQL exports by @jayhemnani9910 in #380
New Contributors
- @jayhemnani9910 made their first contribution in #368
- @mateuscmtropical made their first contribution in #377
Full Changelog: v0.39.1...v0.40.0