Skip to content

Tern v0.4.0

Choose a tag to compare

@github-actions github-actions released this 17 Oct 18:17

What's new

  • Databases. Data in the title bar (Ctrl Shift D) looks at SQLite, Postgres, SQL Server (and Azure SQL), and Redis. Browse tables or keys, run queries with table and column completion, and see the first 1,000 rows of each result.
    • Connections are read-only unless you turn on Allow writes, and each database enforces it. With writes on, Tern asks before a query that changes data.
    • Passwords stay in your system keychain. SQL Server can sign in with your Windows account and use named instances.
    • Copy schema gives an agent every table and column in a few short lines. A result copies as the query plus a Markdown table, or as TSV, CSV, or JSON.
    • A .db or .sqlite file in a repo opens right in the file view.
  • More file views. Ctrl Shift V switches between the view and the source.
    • Images, with a before-and-after view (side by side or swipe) for changed pictures.
    • PDFs, in place.
    • JSON, YAML, and TOML as a tree you can fold. Mistakes show their line and column.
    • CSV and TSV as a table with a fixed header, up to 100 MB.
    • Logs that follow the file as it grows, with text or regex filters and errors marked.
  • Fixed: Markdown tables no longer squeeze short columns into one letter per line, and folder names in the file list read the right way.

Install notes

  • macOS: Tern is not notarized yet. Open it once, then go to System Settings → Privacy & Security and click Open Anyway. If macOS still says it is damaged, run xattr -dr com.apple.quarantine /Applications/Tern.app in Terminal.
  • Windows: if SmartScreen appears, click More info, then Run anyway.
  • Coming from 0.3.1: Tern updates itself. From 0.1 or 0.2, install this version by hand once.

Download

Download the file for your system below. See the install notes the first time you open Tern.

System File
Windows (most PCs) Tern_*_x64-setup.exe or Tern_*_x64_en-US.msi
Windows on ARM Tern_*_arm64-setup.exe
macOS, Apple Silicon (M1 and later) Tern_*_aarch64.dmg
macOS, Intel Tern_*_x64.dmg
Linux x64 .AppImage, .deb (Debian, Ubuntu), or .rpm (Fedora) with amd64 / x86_64
Linux ARM64 .AppImage, .deb, or .rpm with arm64 / aarch64