v1.185.0

nautechsystems/nautilus_traderv1.185.0Jan 26, 2024by github-actions[bot]

AI Summary

The update introduces warning logs for bypassing logging and improved serialization, alongside breaking changes to StreamingConfig and module consolidation.

Key Highlights

  • Added warning log when bypass_logging is set true for a LIVE context
  • Improved register_serializable_object to also add type to internal types
  • Improved Interactive Brokers expiration contract parsing

Breaking Changes

  • Changed StreamingConfig.include_types type from tuple[str] to list[type]
  • Consolidated clock module into component module
  • Consolidated logging module into component module

Full Release Notes

# NautilusTrader 1.185.0 Beta

Released on 26th January 2024 (UTC).

### Enhancements
- Add warning log when `bypass_logging` is set true for a `LIVE` context
- Improved `register_serializable object` to also add type to internal `_EXTERNAL_PUBLIHSABLE_TYPES`
- Improved Interactive Brokers expiration contract parsing, thanks @fhill2

### Breaking Changes
- Changed `StreamingConfig.include_types` type from `tuple[str]` to `list[type]` (better alignment with other type filters)
- Consolidated `clock` module into `component` module (reduce binary wheel size)
- Consolidated `logging` module into `component` module (reduce binary wheel size)

### Fixes
- Fixed Arrow serialization of `OrderUpdated` (`trigger_price` type was incorrect), thanks @benjaminsingleton
- Fixed `StreamingConfig.include_types` behavior (was not being honored for instrument writers), thanks for reporting @doublier1
- Fixed `ImportableStrategyConfig` type assignment in `StrategyFactory` (#1470), thanks @rsmb7z