Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All releases Home olderv2.0.45 v2.0.47newer

Claude Code v2.0.46

5 entries read diff v2.0.45 → v2.0.46 Markdown

Version 2.0.46 introduces effort level configuration - a new feature that allows users to control Claude's reasoning intensity through CLI flags, environment variables, or settings files. This release also includes internal improvements to image compression reliability and code modernization.

Find
Pick an entry · j / k steps through
5 entries

Changesopen

Effort Level Configuration#

What: Control Claude's reasoning effort/intensity for tasks through multiple configuration methods

How to use:

# Via environment variable
export CLAUDE_CODE_EFFORT_LEVEL=high
claude

# Supported values: "low", "medium", "high", or numeric values
export CLAUDE_CODE_EFFORT_LEVEL=75
claude

# Disable with "unset"
export CLAUDE_CODE_EFFORT_LEVEL=unset
claude

Details:

  • Configuration priority: CLI flags (highest) → environment variable → settings file (lowest)
  • Set via CLAUDE_CODE_EFFORT_LEVEL environment variable
  • Configure in settings file with effortLevel field
  • Supports string presets: "low", "medium", "high"
  • Supports numeric values (integers)
  • Use "unset" to explicitly disable effort configuration
  • Integrates with Claude API's output_config.effort parameter using beta flag effort-2025-11-24
  • Evidence: New function a10() at line 341081 retrieves configuration from multiple sources; function nR3() at line 491217 sets API parameters; replaces empty stub uR3() at line 491090 from v2.0.45

Enhanced Image Compression Format Handling#

What: Image compression now explicitly passes the original file's media type to prevent format detection failures

Details:

  • Caller (Fw5() at line 315499) now extracts file extension and constructs media type string before compression
  • Function kiQ() at line 156042 (renamed from TiQ) accepts new media type parameter and forwards to compression handler
  • Prevents incorrect format handling when Sharp's automatic detection fails (e.g., PNG images incorrectly treated as JPEG)
  • No user-facing API changes - internal reliability improvement
  • Evidence: Function signature changed from TiQ(A, Q) at line 156040 in v2.0.45 to kiQ(A, Q, B) at line 156042 in v2.0.46

Date Format Token Validation#

What: Implemented validation for deprecated uppercase date format tokens

Details:

  • Function vB9() at line 458852 now validates year tokens (Y, YY, YYYY)
  • Warns users when using deprecated uppercase tokens that should be lowercase
  • Prevents confusion between ISO week-numbering years (Y) and calendar years (y)
  • Previously stubbed in v2.0.45 (vB9 = () => {} at line 458887), now fully implemented
  • Part of date-fns Unicode token validation system
  • Evidence: Implementation added at vB9() at line 458852, used in format validation at line 458914

Import Statement Modernization#

  • Migrated from default imports to named imports in multiple modules for better tree-shaking
  • Examples: import { Transform as Xw6 } from "node:stream" at line 225107, import { spawn as WH5, spawnSync as XH5 } from "child_process" at line 303217
  • No new module dependencies added - all imports from existing Node.js standard library
  • Both import styles coexist during transition period

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

Code Refactoring#

  • Renamed function HG1() to EG1() at line 494207 for global hooks configuration getter
  • Various internal identifier changes due to minification/obfuscation updates
  • No functional behavior changes from refactoring

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

Verbatim
Official · Anthropic

Anthropic’s official release notes

Published verbatim by Anthropic for v2.0.46. Text is unmodified from the upstream changelog. Everything else on this page came out of the bundle instead, which is why the two lists don't match.

  • Fixed image files being reported with incorrect media type when format cannot be detected from metadata
System prompt

The system prompt was not captured for this release, so this page cannot say whether it moved.