bun-pty
Version:
Cross-platform pseudoterminal (PTY) implementation for Bun with native performance
133 lines (97 loc) • 4.37 kB
Markdown
Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
# [0.4.8] - 2026-01-15
## Fixed
- Use TextDecoder streaming mode to handle UTF-8 across chunk boundaries (#33)
- Enables TextDecoder's streaming mode to properly handle multi-byte UTF-8 characters split across read boundaries
- Fixes garbled output when UTF-8 sequences are split between chunks
# [0.4.7] - 2026-01-10
## Changed
- Use glibc 2.17 via cargo-zigbuild for Linux builds (#30)
- Updated build process to use cargo-zigbuild targeting glibc 2.17
- Improves compatibility with older Linux distributions
- Ensures binaries work on systems with glibc 2.17 and newer
# [0.4.6] - 2026-01-05
## Fixed
- Restore .d.ts type declarations for TypeScript compatibility (#28)
- Added TypeScript declaration file generation to build process
- Ensures proper type definitions are available for TypeScript users
- Includes dist directory in published package for type declarations
# [0.4.5] - 2026-01-01
## Fixed
- Fixed build script to skip building when libraries already exist
- Build script now checks for existing libraries before attempting to build
- Prevents build failures in CI/CD when pre-built libraries are already present
- Allows publish workflow to work without requiring Rust installation in publish job
- Improves build performance by skipping unnecessary rebuilds
# [0.4.4] - 2025-12-31
## Fixed
- Enable bun compile support by shipping TypeScript source (#25)
- Ship TypeScript source instead of bundled JS for static analysis
- Add statically analyzable require() for native library embedding
- Fix Windows library name (no 'lib' prefix)
- Fix spaces in Windows exe path handling
- Add Windows-specific tests
- Add compile test script to verify bun build --compile works
- Fixes: https://github.com/sursaone/bun-pty/issues/19
# [0.4.3] - 2025-12-30
## Fixed
- Use ubuntu-22.04 for GLIBC 2.35 compatibility (#23)
- Updated CI/CD pipeline to use ubuntu-22.04 to ensure GLIBC 2.35 compatibility
- Ensures built binaries work on systems with GLIBC 2.35 and newer
# [0.4.2] - 2025-12-01
## Fixed
- Fixed argument parsing to properly preserve arguments with spaces and special characters (#15)
- Arguments containing spaces, quotes, or special characters are now correctly quoted
- Prevents arguments from being incorrectly split into multiple tokens
- Uses POSIX-style single quotes compatible with shell_words::split
- Thanks to @snomiao for the initial implementation
# [0.4.1] - 2025-12-02
## Changed
- Updated examples and documentation
- Improved example code with better TypeScript usage patterns
# [0.4.0] - 2025-12-01
## Added
- Support for passing environment variables via options (#9)
## Fixed
- Fixed data loss in PTY read operations (#8)
- Fixed capture of actual exit code from child process (#10)
- Fixed build process and configuration
## Changed
- Removed rust build artifacts and updated .gitignore (#7)
# [0.3.2] - 2025-06-20
## Changed
- Updated package.json version
- Updated example to work with installed bun-pty package
## Fixed
- Removed erroneous console log (#4)
# [0.3.1] - 2025-05-15
## Fixed
- Fixed path resolution on Docker environments
# [0.3.0] - 2025-05-15
## Fixed
- Fixed release pipeline configuration
# [0.2.1] - 2025-05-15
## Fixed
- Fixed encoding issues with binary data from Docker and other applications
- Updated Rust code to properly handle non-UTF8 terminal control sequences
- Improved error handling in PTY read/write operations
# [0.2.0] - 2025-05-14
## Added
- Improved TypeScript support with complete type definitions
- Added TypeScript usage examples
- Enhanced documentation with TypeScript usage instructions
## Changed
- Optimized package size by excluding unnecessary files
- Improved build process for more reliable type generation
# [0.1.0] - 2025-05-13
## Added
- Initial release
- Cross-platform PTY support for macOS, Linux, and Windows
- Basic API for terminal process management
- Core PTY functionality: spawn, read, write, resize, and kill
- Process ID retrieval support
- TypeScript type definitions
- Integration tests