Security
- Project Root Deployment Protection:
validateDistDirectorystrictly rejects deploying the repository or project root (dist_path: "."), requiring a genuine build directory to prevent inadvertent exposure of source code,.git,.env, andnode_modules. - Sensitive File Exclusion in Archiver: Added strict filters in
createArchive(isSensitiveArchiveEntry) excluding.env*,.git,.github,.gitlab,.vscode,node_modules, and credentials even if placed inside the distribution directory. - OAuth PKCE Loopback Hardening: Non-OAuth requests (e.g.
/favicon.icoor port scanners) return HTTP 404, authorization codes are exchanged before rendering browser success, and idle sockets are closed withcloseIdleConnections. - Credential Sanitization & Secret Stripping: Stripped HTTP Basic Auth credentials from target URLs in error logs, and automatically stripped
api_keyand secrets when cloning environments (cloneEnvironment).
Added
- Added
client.delete()toKodallNodeClientsupporting automatic handling of HTTP 204 No Content responses. - Added
deleteCookie()method toCookieStore.
Fixed
- Monorepo Ancestor Workspace Resolution: Traverses ancestor directories up to the filesystem root to detect
pnpm-workspace.yaml,turbo.json,lerna.json, and root lockfiles when executing inside nested package folders. - Nuxt / Nitro DevProxy Path Duplication: Added
prependPath: falseto prevent Nitro from duplicating route prefixes, and stripped hop-by-hop headers in proxy forwarding. - Rollback Engine & Negative Steps: Added support for negative step syntax (e.g.
-R -1or--steps 2), comma-separated environments (-e dev,staging), and safe rollback metadata recording. - CLI Argument Routing & Equals Syntax: Handled options preceding subcommands (
kodall-deploy -c custom.json use dev), short options with equals syntax (-e=dev,-R=137), and bare--add-envinteractive prompts. - Headless & CI Guards: Added non-interactive fail-fast guards across interactive commands to prevent hanging on CI runners.