Repository navigation
v0.2.0
[0.2.0] - 2025-08-14
Release Date: August 14, 2025
Status: Production Ready - Feature Complete Release
This is a major feature release that completes the implementation of the Deribit FIX specification, making the framework production-ready with comprehensive functionality.
🚀 New Features
Core Protocol Implementation
- Complete FIX 4.4 Support: Full implementation of FIX 4.4 protocol with Deribit extensions
- Advanced Session Management: Enhanced logon/logout, heartbeat, and sequence management
- Message Recovery: Comprehensive resend request and gap detection mechanisms
- SSL/TLS Support: Production-grade encrypted connections for both test and production environments
Trading Operations
- Order Management System: Complete order lifecycle management (New Order Single, Cancel, Replace)
- Mass Operations: Order Mass Cancel Request and Order Mass Status Request
- Position Management: Real-time position tracking and reporting (Request For Positions, Position Report)
- Execution Reporting: Real-time order status updates and fill notifications
Market Data
- Real-time Streaming: Market Data Request with live feed subscriptions
- Market Snapshots: Market Data Snapshot/Full Refresh for complete market state
- Incremental Updates: Efficient Market Data Incremental Refresh
- Security Information: Security List Request and Security Definition Request
- Instrument Status: Security Status Request and Security Status updates
Advanced Trading Features
- Market Making: Mass Quote submission, Quote Request, and Quote Cancel
- RFQ System: Request for Quote (RFQ Request, Quote Status Report)
- Risk Management: MMProtection Limits and MMProtection Reset
- Trade Reporting: TradeCaptureReportRequest and TradeCaptureReport
Authentication & Security
- SHA256 Authentication: Secure credential-based authentication with nonce support
- Application Registration: Support for registered applications with DeribitAppSig
- Cancel on Disconnect: Automatic order cancellation on connection loss
- User Management: User Request and User Response messages
🏗️ Technical Improvements
Architecture
- Async/Await: Full async support with Tokio runtime
- Connection Management: Automatic reconnection with configurable backoff strategies
- Message Validation: Comprehensive FIX message parsing and validation
- Type Safety: Strongly typed message structures and enums
- Error Handling: Detailed error types with rich context
Performance
- Zero-Copy Parsing: Optimized message parsing for low latency
- Connection Pooling: Efficient resource utilization
- Memory Management: Optimized memory usage patterns
- Async I/O: Non-blocking network operations
Development Experience
- Rich Examples: 11 comprehensive examples covering all major use cases
- Extensive Documentation: 100% public API documentation coverage
- Development Tools: Complete Makefile with all necessary commands
- Testing Suite: 90%+ code coverage with unit and integration tests
📚 Examples Added
- Basic Client: Simple client setup and connection
- Session Management: Advanced session handling and monitoring
- Order Management: Complete order lifecycle examples
- Position Management: Position tracking and reporting
- Market Data Streaming: Real-time market data consumption
- Error Handling: Comprehensive error scenarios and recovery
- Login Test: Authentication flow examples
- Heartbeat Example: Connection keep-alive handling
- Test Request Example: Connection health monitoring
- Resend Request Example: Message recovery patterns
- Reject Example: Error handling and rejection scenarios
🧪 Testing & Quality
- Unit Tests: 100+ unit tests covering all modules
- Integration Tests: End-to-end scenarios with mock servers
- Coverage Reporting: Automated coverage reporting with tarpaulin
- Continuous Integration: Automated testing and quality checks
- Benchmarking: Performance regression testing
- Linting: Strict code quality enforcement with Clippy
🛠️ Developer Tools
- Makefile: Comprehensive build and development commands
- Pre-push Hooks: Automated quality checks before commits
- Documentation Generation: Automated README generation from lib.rs
- Coverage Reports: HTML and XML coverage report generation
- Benchmarking: Performance benchmarking with criterion
📖 Documentation
- Complete API Documentation: All public APIs fully documented
- Usage Examples: Practical examples for all major features
- Architecture Guide: Detailed technical architecture documentation
- Contributing Guide: Clear guidelines for contributors
- Installation Guide: Step-by-step setup instructions
🔧 Configuration
- Flexible Configuration: Builder pattern for easy configuration
- Environment Support: Both production and test environment support
- Logging Integration: Configurable logging with tracing support
- Timeout Management: Configurable timeouts for all operations
🚨 Breaking Changes
None - This is a new major release building on the foundation of 0.1.x
📋 Migration Guide
For users upgrading from 0.1.x versions:
- Update your
Cargo.tomlto use version0.2.0 - Review the new examples for updated usage patterns
- Consider using the new advanced features for enhanced functionality
- Update import statements to use the
preludemodule for convenience