Releases: PunGrumpy/better-commit
@better-commit/[email protected]
Major Changes
-
704fd10: AI, prompts, and core runtime
Optional AI message generation (registry, cloud/subprocess/local providers), interactive prompts and form fields, git helpers, validation against resolved rules, diff sanitization, and retry cache.
-
704fd10: Build & breaking note
ESM output via tsdown (
dist/index.mjs,dist/public-config.mjsfor@better-commit/cli/config). Major release: new public API and config shape; no automated migration from older JSON-based config. -
704fd10: CLI commands
Commander-based
bcbinary: defaultbc commit(interactive),bc init,bc doctor,bc check,bc fix,bc retry, plus flags such as--dry-runand--no-ai. -
fc4c9a3: CLI parsing, init safety, and check rules
- Breaking:
bc init --quietno longer overwrites an existingcommit.config.ts; use--forcewith--quietto replace it. - Entry uses
parseAsyncand a top-leveltry/catchso async command failures surface reliably. bc checkrequires--fromand--totogether and disallows combining--editwith a range.bc commit --dry-runuses the same explicit success exit path as other commands.bc fixmatchesbc commitforprovider: "auto"(including the use-AI prompt when detection is ambiguous).bc doctoremits a one-line failure summary (failed check names) on exit.- Duplicate plugin merge errors surface as
ConfigLoadErrorwith codeduplicate_plugin. --helpnotesbc/better-commitandBETTER_COMMIT_NO_AI; README coversfix,retry, and check modes.
- Breaking:
-
704fd10: Commit config & plugins
Single
commit.config.tswithdefineConfig, typed plugins (conventionalCommits, optionalaiSuggest), jiti-based loading, merge/validation viamergeUserConfig, and the@better-commit/cli/configpackage export for apps and libraries.