fix(readme): Update README to document 3.0.0+ changes: architecture refactor, streaming improvements, health check and circular dependency fixes
This commit is contained in:
16
readme.md
16
readme.md
@@ -904,15 +904,17 @@ async function healthCheckService() {
|
||||
|
||||
## 🆕 Recent Updates
|
||||
|
||||
### Version 2.1.0 - Architecture & Features
|
||||
### Version 3.0.0+ - Architecture & Stability
|
||||
|
||||
- ✨ **Clean OOP Architecture**: Refactored to Facade pattern with DockerHost as single entry point
|
||||
- ✨ **Container Streaming**: Added `streamLogs()`, `attach()`, and `exec()` methods
|
||||
- ✨ **Flexible Descriptors**: Support both string references and class instances
|
||||
- ✨ **Complete Container API**: All lifecycle methods (start, stop, remove, logs, inspect, stats)
|
||||
- ✨ **DockerResource Base Class**: Consistent patterns across all resources
|
||||
- 🔧 **Improved Type Safety**: Better TypeScript definitions throughout
|
||||
- 📚 **Enhanced Documentation**: Comprehensive examples and migration guides
|
||||
- ✨ **Container Streaming**: Real-time `streamLogs()`, `attach()`, and `exec()` methods for interactive containers
|
||||
- ✨ **Flexible Descriptors**: Support both string references and class instances in all creation methods
|
||||
- ✨ **Complete Container API**: Full lifecycle methods (start, stop, remove, logs, inspect, stats)
|
||||
- ✨ **DockerResource Base Class**: Consistent patterns and type safety across all resources
|
||||
- ✨ **Health Check Support**: New `ping()` method to verify Docker daemon availability
|
||||
- 🐛 **Fixed Circular Dependencies**: Resolved Node.js module loading issues with type-only imports
|
||||
- 🔧 **Improved Type Safety**: Better TypeScript definitions and interfaces throughout
|
||||
- 📚 **Enhanced Documentation**: Comprehensive examples, migration guides, and real-world use cases
|
||||
|
||||
## License and Legal Information
|
||||
|
||||
|
||||
Reference in New Issue
Block a user