Skip to content

feat!: v3.0.0 — dynamic Ollama model selection and TanStack AI#117

Merged
anjerodev merged 2 commits into
mainfrom
feat/v3.0.0-ollama-overhaul
Jun 17, 2026
Merged

feat!: v3.0.0 — dynamic Ollama model selection and TanStack AI#117
anjerodev merged 2 commits into
mainfrom
feat/v3.0.0-ollama-overhaul

Conversation

@anjerodev

@anjerodev anjerodev commented Jun 17, 2026

Copy link
Copy Markdown
Owner

Summary

Major release (3.0.0) modernizing Commitollama around live Ollama models, better commit quality, and CI/tooling updates.

  • Replace preset model enum with dynamic Ollama model tags and a first-run quick pick (project or user settings)
  • Add Commitollama: Switch Model command in Source Control and the Command Palette
  • Migrate commit generation to TanStack AI structured outputs with Zod validation
  • Add security hardening (endpoint/header validation, untrusted diff wrapping, redacted errors)
  • Improve summarization, staged-diff handling, commit quality checks, and error messages
  • Migrate package management from npm to pnpm and update GitHub Actions workflows accordingly
  • Update README for the new model workflow and known model compatibility limits

Breaking changes

  • Removed commitollama.model enum presets (Llama, Custom, etc.) — use Ollama tags like llama3.2:latest
  • Removed commitollama.custom.model
  • Removed commitollama.runOllamaPull command

Version

3.0.0 (major) — breaking configuration and command changes.

Release workflow

Per .github/workflows/release.yml:

  1. Review and merge this PR without the Release label to land changes on main
  2. When ready to publish to the Marketplace, either:
    • Open a follow-up version PR via Actions → Version Bump (not needed — version is already 3.0.0), or
    • Add the Release label to this PR before merging to trigger packaging, GitHub release, and VS Code Marketplace publish on merge

Test plan

  • pnpm install --frozen-lockfile
  • pnpm run build
  • pnpm test (41 passing)
  • Manual: first-run model picker + storage target selection
  • Manual: switch model from SCM toolbar
  • Manual: generate commit message from staged changes
  • Manual: verify CI passes on this PR

Made with Cursor

anjerodev and others added 2 commits June 17, 2026 12:06
BREAKING CHANGE: removes preset model enum, commitollama.custom.model, and the pull-model command. Models are now Ollama tags chosen via quick pick, with project or user settings storage and a switch-model command. Migrates generation to TanStack AI with structured outputs, security hardening, and improved commit quality handling.

Co-authored-by: Cursor <cursoragent@cursor.com>
Let pnpm/action-setup read the version from packageManager in package.json.

Co-authored-by: Cursor <cursoragent@cursor.com>
@anjerodev anjerodev merged commit 188f51e into main Jun 17, 2026
1 check passed
This was linked to issues Jun 17, 2026
@anjerodev anjerodev deleted the feat/v3.0.0-ollama-overhaul branch June 17, 2026 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to generate commit Add support for gpt-oss models

1 participant