@@ -5,6 +5,33 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.1.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 1.3.5] ( https://github.com/SocketDev/socket-lib/releases/tag/v1.3.5 ) - 2025-10-26
9+
10+ ### Added
11+
12+ - Added ` createEnvProxy() ` utility function to ` env ` module for Windows-compatible environment variable access
13+ - Provides case-insensitive environment variable access (e.g., PATH, Path, path all work)
14+ - Smart priority system: overrides > exact match > case-insensitive fallback
15+ - Full Proxy implementation with proper handlers for get, set, has, ownKeys, getOwnPropertyDescriptor
16+ - Opt-in helper for users who need Windows env var compatibility
17+ - Well-documented with usage examples and performance notes
18+ - Added ` findCaseInsensitiveEnvKey() ` utility function to ` env ` module
19+ - Searches for environment variable keys using case-insensitive matching
20+ - Optimized with length fast path to minimize expensive ` toUpperCase() ` calls
21+ - Useful for cross-platform env var access where case may vary (e.g., PATH vs Path vs path)
22+ - Added comprehensive test suite for ` env ` module with 71 tests
23+ - Covers ` envAsBoolean() ` , ` envAsNumber() ` , ` envAsString() ` conversion utilities
24+ - Tests ` createEnvProxy() ` with Windows environment variables and edge cases
25+ - Validates ` findCaseInsensitiveEnvKey() ` optimization and behavior
26+
27+ ### Fixed
28+
29+ - Fixed ` spawn ` module to preserve Windows ` process.env ` Proxy behavior
30+ - When no custom environment variables are provided, use ` process.env ` directly instead of spreading it
31+ - Preserves Windows case-insensitive environment variable access (PATH vs Path)
32+ - Fixes empty CLI output issue on Windows CI runners
33+ - Only spreads ` process.env ` when merging custom environment variables
34+
835## [ 1.3.4] ( https://github.com/SocketDev/socket-lib/releases/tag/v1.3.4 ) - 2025-10-26
936
1037### Added
0 commit comments