Releases: BetterDB-inc/vscode
BetterDB for Valkey v1.5.0
Import & Export Keys
Export keys from the key browser to plain text (.txt) or binary (.rdb) format. Plain text exports generate Redis commands. Binary exports use JSONL with base64-encoded DUMP payloads for exact byte-level fidelity.
Import from either format with three conflict strategies: Skip, Overwrite, or Abort. Both export and import use streaming I/O, so large keyspaces won't blow up memory. Operations are cancellable via the progress indicator.
The default filename includes the connection name. Access via toolbar buttons in the Keys view, the command palette (BetterDB: Export Keys / BetterDB: Import Keys), or the connection context menu.
Inline TTL Editing
Edit a key's TTL directly from the key tree. Right-click a key and select Edit TTL..., or click the pencil icon for a quick-pick menu. Set a new TTL in seconds, or enter -1 to persist the key. Input is validated - 0 and non-integer values are rejected.
Changes update the tree tooltip immediately (optimistic update with rollback on failure). Any open key editor panel syncs the new TTL live.
Rename Keys
Right-click a key and select Rename Key.... If a key with the new name already exists, you'll be prompted to confirm the overwrite. The old editor tab closes and a new one opens under the renamed key automatically.
Other Improvements
- Edit Key quick-pick (pencil icon) provides fast access to both TTL editing and renaming
- Shared description/tooltip builders for cleaner tree item rendering
bindValkeyCallhelper centralizes raw Valkey call binding- Improved zset score parsing for
+inf/-inf - 25 new tests (10 export, 15 import) - 89 total
Install or update from the VS Code Marketplace or Open VSX Registry.
BetterDB for Valkey v1.4.0
Valkey Search index browser
Adds first-class support for Valkey Search in the VS Code extension.
Search Indexes panel - a new section in the sidebar lists all FT indexes on the active connection. Each index shows document count and indexing state. Expand an index to see its full field schema with type annotations: [TEXT], [TAG], [NUMERIC], and [VECTOR Nd METRIC].
Schema-aware key editor - when you open a hash key that belongs to an indexed prefix, field type badges appear inline next to each field name. No extra steps - the extension detects the index schema automatically.
Capability detection - the Search panel only appears when the connected instance has Valkey Search loaded. Standard Valkey instances are unaffected.
Requires Valkey Search (available via valkey/valkey-bundle) - https://github.com/valkey-io/valkey-search/releases/tag/1.2.0
BetterDB for Valkey v1.3.0
SSH Tunnel Support — Connect to remote Valkey/Redis instances through an SSH tunnel directly from the extension. No manual port forwarding or VS Code Remote-SSH needed.
Password and private key authentication
Works with AWS ElastiCache, MemoryDB, and any instance behind a firewall
TLS connections through the tunnel
Multiple simultaneous tunnels
Descriptive error messages for SSH auth failures, timeouts, and unreachable hosts
Install
VS Code Marketplace · Open VSX
BetterDB for Valkey v1.2.0
What's New
Server Stats Panel
Monitor your Valkey instance health at a glance with real-time metrics:
- Version, role, and uptime
- Memory usage (current and peak)
- Operations per second
- Cache hit rate
- Total keys and evicted keys
- Auto-refreshes every 5 seconds (pauses when collapsed to save resources)
CLI from Command Palette
Open CLI now works from the command palette (Cmd+Shift+P / Ctrl+Shift+P → BetterDB: Open CLI). If multiple databases are connected, you'll be prompted to select one.
Improvements
- Connection client name set to
BetterDB-for-Valkeyfor easier debugging in server logs - Cleaner command palette — context-only commands (Connect, Disconnect, Delete Key, etc.) are now hidden
- Extracted CSS to separate files for better maintainability
BetterDB for Valkey v1.1.0
What's New
JSON Support added - CRUD for JSON values with full syntax highlighting, validation, and auto-formatting powered by Monaco. Supports both native JSON type/module and an "Edit as JSON" toggle for Hash, List, Set, and Sorted Set keys.
Fixes
- Fixed connection icon not updating when disconnecting from a server
BetterDB for Valkey v1.0.0
The first VS Code extension built specifically for Valkey.
Browse keys, edit values, and run commands without leaving your editor. Works with Valkey 7.2+ and Redis 6.0+.
Features
Connection Management
- Save and manage multiple connections
- Credentials stored securely in VS Code's SecretStorage
- TLS/SSL support
Key Browser
- Scan and filter keys by pattern (
user:*,session:*, etc.) - View key types and TTLs at a glance
- Pagination for large keyspaces
Value Editor
- Type-aware editors for all data types:
- String
- Hash
- List
- Set
- Sorted Set
- Stream (read-only)
- Create, read, update, and delete operations
Integrated CLI
- Execute commands with syntax-highlighted output
- Persistent command history across sessions
- Keyboard shortcuts for efficient navigation
Installation
VS Code Marketplace
ext install betterdb.betterdb-for-valkey
Manual Installation (Cursor, VSCodium, etc.)
Download betterdb-for-valkey.vsix from this release, then:
code --install-extension betterdb-for-valkey.vsixLinks
License
MIT
