Releases: Ericsunsk/Pocketbase-CLI
Releases · Ericsunsk/Pocketbase-CLI
v0.1.7
Full Changelog: v0.1.6...v0.1.7
v0.1.6
Full Changelog: v0.1.5...v0.1.6
v0.1.5
Full Changelog: v0.1.4...v0.1.5
PocketBase CLI v0.1.4
Release date: 2026-03-28
This release focuses on hardening output safety, streamlining large file handling, and closing state persistence gaps introduced by real operator and automation workflows.
Highlights
- Sensitive remote output is redacted by default across both success and error paths.
- File-token workflows now require an explicit opt-in before printing signed URLs or temporary tokens to stdout.
- Backup and binary upload/download paths now stream file data instead of buffering entire payloads in memory.
- Session persistence and REPL history handling were tightened to behave more predictably under concurrent and interrupted usage.
Behavioral Changes
files tokennow confirms token generation without printing the live token value.files url --with-tokenreturns redacted token fields by default; add--reveal-tokenonly when you intentionally need sensitive output.- Remote responses that include fields such as
token,password,secret, or signed URLs are sanitized before being emitted in CLI or--jsonoutput. - Invalid
POCKETBASE_CLI_BASE_URLvalues no longer prevent the CLI from starting; the problem is surfaced throughinfoand command-level validation instead.
Fixes Included
- Streamed backup upload/download handling and binary record uploads to reduce memory spikes on large files.
- Fixed session state save races by combining merged writes with stronger lock ownership checks.
- Preserved REPL history persistence for commands that exit early and aligned REPL
rawhistory redaction with one-shot CLI execution. - Fixed
--binary-file <field>=<path>parsing when the local file path contains=. - Restored proper mutual exclusion between
--file -and--stdin-json. - Normalized
batchrequestmethodandurlvalues after validation. - Restored local auth target validation for
records auth-refresh <collection>. - Kept CLI runtime version and default
User-Agentaligned from a single package version source.
Compatibility Notes
- Existing encrypted session state remains compatible.
- Any automation that previously parsed live tokens from
files tokenorfiles url --with-tokenoutput must switch tofiles url --with-token --reveal-token. - No local PocketBase process behavior was added; the CLI remains remote-only.
Validation
The release candidate was validated with:
npm run typechecknpm run lintnpm testnpm run build
v0.1.3
Full Changelog: v0.1.2...v0.1.3
v0.1.2
Full Changelog: v0.1.1...v0.1.2
v0.1.1
Changelog
All notable changes to this project will be documented in this file.
v0.1.1
Fixed
- Hardened integer option validation across the CLI to prevent silent truncation and ignored malformed numeric input.
- Fixed
records delete-by-filter --expect-countso invalid numeric values can no longer bypass the count safety check. - Improved REPL history redaction for
auth loginflows to avoid leaking passwords during mistaken--password-stdinusage. - Rejected unterminated quoted REPL input instead of parsing and executing partial commands.
- Updated
backups downloadto write downloaded archives with private local file permissions. - Removed tokenized backup download URLs from success output to reduce accidental secret exposure in logs and JSON output.
- Changed corrupted
session.jsonhandling to fail fast instead of silently resetting to an empty session.
Validation
npm run typechecknpm testnpm run build
Reference
- Commit:
b87ef81ce756fbeb0455cc59316414669a7cf01f
Full Changelog: https://github.com/Ericsunsk/Pocketbase-CLI/commits/v0.1.1