OpenAI Codex CLI v0.140.0 Changelog
What changed in Codex CLI v0.140.0, released 2026-06-15 β explained in plain English.
- Boosted performance on large codebases using smart caching, and resolved bugs related to external tool connections and background tasks.
Want a heads-up when OpenAI Codex CLI updates?
We email you the moment a new OpenAI Codex CLI version drops β plus plain-English release notes like these. No spam.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
This update is all about giving you more control over your AI coding assistant. Whether you want to track how much data you're using, import your work from other tools, or just enjoy a faster, more stable app, this release makes your coding sessions smoother and more secure.
What's new
- Track your AI usage: Use the new
/usagecommand to see how many "tokens" (the basic units of text and code that the AI processes) you've used daily, weekly, or overall. - Import from Claude Code: If you've been using Claude Code (another AI assistant), you can now use
/importto bring your settings, project setups, and recent chats right into Codex. - Better file and tool tagging: Just type
@to open a quick menu that lets you easily tag files, plugins, and skills in your chat. - Secure credential storage: Your login keys (like those for Amazon Bedrock and other services) are now safely encrypted and stored on your computer.
- Safely delete sessions: You can now permanently delete chat sessions and clean up background tasks using the
/deletecommand, complete with safety checks so you don't delete things by accident. - Keep large inputs intact: When setting a goal with
/goal, the tool won't lose large chunks of pasted text or image attachments anymore, even in remote sessions.
Improvements
- Faster performance on big projects: Codex is now much quicker when working with large codebases. It avoids reading history twice and uses smart caching (temporary storage) to speed up how it displays changes.
- Better guides for contributors: The documentation now has clearer instructions for developers looking to help build Codex on Windows, Mac, and Linux.
Fixes
- Automatic database recovery: If Codex's internal database gets corrupted or broken, the app will now automatically back it up and rebuild it so you don't lose your setup.
- No more
/reviewcrashes: Pressing theEsckey during a code review will no longer crash the app, and it will safely keep any notes you had already typed. - Reliable tool connections: Fixed several bugs with the Model Context Protocol (MCP)βthe system that connects Codex to external toolsβmaking it better at handling login issues and retrying failed connections.
- Working "Don't Remind Me" button: Dismissing update notifications actually works now, so the app won't keep bugging you to update.
- Smoother background tasks: You can now safely stop background tasks using
Ctrl+Cwithout losing the work they already finished.
Breaking changes
- Voice controls removed: The experimental
/realtimevoice controls and their audio files have been removed from the terminal interface.
How to upgrade
Update to OpenAI Codex CLI v0.140.0 by running:
codex --upgrade
This is our plain-language summary. Read the complete, official notes on the OpenAI Codex CLI official changelog β.
