Skip to content

0.40.0

Choose a tag to compare

@github-actions github-actions released this 27 Jan 21:57
· 11 commits to main since this release
91b1f70

Release notes

Enhancements

  • Added support for using compression in the live API:
    • Added compression() setter on the live client builder
    • Added compression() getter on the live client
  • A new Unknown(String) variant was added to the reference data enums Country,
    Currency, Event, and EventSubType. This allows for forward compatibility when
    new variants are added
  • Upgraded DBN version to 0.48.0:
    • Added initial support for splitting DBN files
    • Added new publisher for Blue Ocean ATS (OCEA_MEMOIR_OCEA)
  • Added http_client_builder method to the reference and historical client builders
    to allow more customization over the HTTP client used
  • Improved logging in Historical and Reference APIs
  • The following reference data enums now implement Display:
    • Country
    • Currency
    • Event
    • EventSubType
    • Frequency
    • OutturnStyle
    • SecurityType

Breaking changes

  • Refactor live::protocol messages to implement a new RawApiMsg trait
  • Move optional session parameters into SessionOptions struct which implements
    Default
  • As part of adding the new variant to the four reference data enums:
    • Country, Currency, Event, and EventSubType are no longer Copy
    • The Error type of the FromStr implementation was changed to Infallible: any
      unknown string will be parsed to the Unknown variant
    • The as_str method on these enums was removed: use as_ref instead
  • Event has been marked non-exhaustive
  • historical::ClientBuilder and reference::ClientBuilder are no longer Clone

Bug fixes

  • From DBN:
    • Fixed issue where AsyncDynReader instances created from with_buffer() would only
      decode the first frame of multi-frame Zstandard files