Recent updates to Claude Code introduce several new features and improvements. These include an optional environment variable for project directory naming, a new keybinding action, and integration with GitLab for merge request status display.
Key Points
- An optional CLAUDE_CODE_PROJECT_DIR_NAME environment variable allows hosts to specify a short name for per-project transcript directories.
- A selection:clear keybinding action has been added to clear in-app text selections, functioning in both the main interface and agents view.
- A GitLab merge request badge now appears in the footer and statusline for repositories with a GitLab remote and an authenticated glab CLI, showing MR !N with draft, pending, or green states.
- Claude Code automatically continues sessions when a claude.ai usage limit resets, a feature that can be disabled in the
/configsettings. - Claude is now instructed to use account emails solely for identification, preventing their transmission to unrelated services unless explicitly requested.
- Security enhancements include rejecting Windows NT-namespace (
\??\) paths for remote file reads, session restore, CLAUDE.md includes, workflow scripts, and file uploads. - A fix addresses auto mode in long sessions, preventing repeated re-checking and denial of sandboxed commands' network access after conversation compaction.
Context
According to the Claude Code changelog, these updates aim to enhance user experience, improve integration with development workflows, and strengthen security measures within the application.
Why It Matters
These updates offer builders more control over their development environment and improve the security posture of Claude Code, particularly for those working with GitLab or requiring stricter path handling.
What To Do
- Note the new CLAUDE_CODE_PROJECT_DIR_NAME environment variable for managing project directories.
- Explore the selection:clear keybinding action for improved text selection management.
- Observe the new GitLab merge request badge if using GitLab for version control.
- Review the
/configsettings to manage the automatic session continuation feature related to claude.ai usage limits. - Be aware of the enhanced security measures regarding Windows NT-namespace paths.
