Claude Code v1.0.38 ·
Major Features
EntryKind: in v1.0.38,
ChangesSection of the release
Hook System (New)
- Pre/Post Tool Hooks: Execute custom commands before and after tool operations
PreToolUse - Run commands before tools execute (e.g., validation, logging)PostToolUse - Run commands after tools complete (e.g., notifications, cleanup)Stop - Execute commands when Claude stops respondingNotification - Trigger commands for system notifications- Hook Configuration: Configure hooks with matchers to target specific tools or patterns
- Support for regex and pipe-separated matchers
- Hooks can approve/block operations or provide feedback
- JSON output parsing for structured hook responses
- 60-second timeout with automatic cancellation
Enhanced Search Tool (Grep)
- New Grep Tool: Powerful search based on ripgrep with advanced features
- Multiple output modes:
content, files_with_matches, count - Context lines support with
-A, -B, -C flags - Line numbers with
-n flag - Case-insensitive search with
-i flag - File type filtering with
type parameter - Glob pattern support for file filtering
- Multiline mode: Search across line boundaries with
multiline: true - Head limit to control output size
- Optimized for correct permissions and file access
- Never invokes
grep or rg as bash commands directly
See this entry in the whole of v1.0.38 →