Skip to content

canship 0.4.0

Choose a tag to compare

@Tasomei Tasomei released this 26 Sep 08:35
· 130 commits to main since this release

Added

  • Typed ESM API: scan(), summarize(), and listRules().
  • --changed-since=REF review view, preserving full-project scans and exit status.
  • Static cross-file evidence in terminal, HTML, JSON, SARIF, and fix prompts.
  • Authentication checks for Next.js Server Functions and SvelteKit form actions, including supported local helper imports, aliases, re-exports, and wrappers.
  • Supabase always-true RLS policy and public bucket listing checks.
  • Firebase Realtime Database rule checks and additional credential formats.

Fixed

  • Preserve SQL literal semantics, calibrate policy confidence, and report the current migration evidence.
  • Correct Git-history, middleware, public-environment, and inline CORS handling.
  • Report incomplete coverage when policy or bucket parsing limits are exceeded.

Usage

npx canship@0.4.0

Requires Node.js 18 or later; no runtime dependencies. Scans remain local and do not execute project code. Static findings do not verify credential validity or deployed state.

For the GitHub Action, explicitly set version: '0.4.0' with the pinned Action commit in the README.

npm package · Full changelog