Claude Code · Source-level changelog

Version 0.2.35

Package @anthropic-ai/claude-code Diff v0.2.34 → v0.2.35
2
Features & Changes
0
Bug Fixes
3
In Development
0
Env Vars / Flags

Changes

# Claude Code v0.2.35 Changelog

Import Optimizations

2 items

This version includes minor optimizations to module imports, focusing on more specific imports from Node.js built-in modules:

Stream Module Changes #

New
  • Optimized stream imports: Instead of importing entire modules, the code now imports only the specific classes needed:
  • Changed from import vR4 from "stream" to import { Readable as qR4 } from "stream"
  • Changed from import e20 from "node:stream" to import { PassThrough as so1 } from "node:stream"

Process Module Changes #

New
  • Optimized process imports: Similar optimization for the process module:
  • Changed from import gb2 from "node:process" to import { cwd as q00 } from "node:process"

Technical Details

3 items

These changes represent a move towards more efficient imports by using destructured imports rather than default imports. This can lead to:

  • Smaller bundle sizes through better tree-shaking
  • Clearer code intent by explicitly naming the imported functionality
  • Potential performance improvements by avoiding unnecessary module loading

Impact on Users

These are internal implementation changes with no impact on CLI functionality or user-facing features. All commands and interactions remain unchanged.