Skip to main content
Claude Code Release Notes

Claude Code v2.1.22 Release Notes

Claude Code v2.1.22 fixes structured outputs for non-interactive mode, improving reliability for automated workflows and batch processing.

January 28, 2026 2 min read By Claude World

The Claude Code development team has released version 2.1.22, delivering an important fix that enhances the reliability of structured outputs when running in non-interactive mode. This targeted update addresses a key issue affecting users who rely on Claude Code for automated workflows and batch processing.

What’s New

Fixed Structured Outputs for Non-Interactive Mode

This release resolves an issue where structured outputs weren’t working correctly when Claude Code was run in non-interactive mode using the -p flag. This fix is particularly important for:

  • Automated Scripts: Users running Claude Code in CI/CD pipelines or automated deployment scripts
  • Batch Processing: Applications that process multiple requests without user interaction
  • API Integrations: Services that integrate Claude Code into larger automation workflows
  • Command-Line Tools: Scripts that rely on structured output formats for parsing and processing

The fix ensures that structured outputs maintain their expected format and reliability regardless of whether Claude Code is run interactively or in batch mode.

How to Update

To update to Claude Code v2.1.22:

  1. Check your current version with claude-code --version
  2. Update using your preferred package manager or download method
  3. Verify the installation with claude-code --version to confirm you’re running v2.1.22
  4. Test your non-interactive workflows to ensure the structured output fix resolves any previous issues