Skip to content

Version 2.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 18 Apr 16:40
  • 3d3a82b2 Methods that previously threw an ObjectDisposedException now simply return false if the instance has been disposed. Property getters return the default value and property setters silently fail to set the backing field.

  • d7371efc An InvalidOperationException is no longer thrown when a function is missing from the installed version of the wrapped libmdf library. Methods that previously threw in this case now simply return false while property getters return the default value and property setters silently fail (just as with 3d3a82b2).

  • 56215e44 The Deserialize and Move methods of the Message class and the Connect and Send methods of the MarketDataFeed class no longer throw an ArgumentNullException. Instead, these methods return false when an invalid (null) argument is supplied.

  • f414dfda The AddInt64 and AddUInt64 methods of the Message class no longer throw an ArgumentException when the decimals parameter is not between 0 and 19. Instead, they bypass the check to the wrapped libmdf implementation and return false if the argument is invalid.

  • 8bf8a133 The System.Runtime.InteropServices.NativeLibrary API is now internally used to load the wrapped libmdf library on supported (.NET Core 3.0 and later) platforms. This removes the dependency on libdl on Linux platforms.

  • d4ae641b MDF_F_CLOSEPRICEDATE, MDF_F_PRIIP00001, MDF_F_PRIIP00002, MDF_F_PRIIP00004, MDF_F_PRIIP00005, MDF_F_PRIIP00006, MDF_F_PRIIP00007, MDF_F_PRIIP00008, MDF_F_PRIIP00009, MDF_F_PRIIP00015, MDF_F_PRIIP00016, MDF_F_PRIIP00017, MDF_F_PRIIP00075, MDF_F_PRIIP00110, MDF_F_PRIIP01095, MDF_F_PRIIP01125, MDF_F_PRIIP02032, MDF_F_PRIIP02035, MDF_F_PRIIP02062, MDF_F_PRIIP02065, MDF_F_PRIIP02092, MDF_F_PRIIP02095, MDF_F_PRIIP02122, MDF_F_PRIIP02125, MDF_F_PRIIP02185, MDF_F_PRIIP02190, MDF_F_PRIIP02200, MDF_F_PRIIP02210, MDF_F_PRIIP02220, MDF_F_PRIIP04086, MDF_F_PRIIP04087, MDF_F_PRIIP04088, MDF_F_PRIIP04089, MDF_F_PRIIP04120, MDF_F_PRIIP04130, MDF_F_PRIIP04140, MDF_F_PRIIP04150, MDF_F_PRIIP04160, MDF_F_PRIIP06005, MDF_F_PRIIP07005, MDF_F_CLOSEPRICE4Y, MDF_F_CLOSEPRICE6, MDF_F_CLOSEPRICE7Y, MDF_F_CLOSEPRICE8Y, MDF_F_CLOSEPRICE9Y, MDF_F_CLOSEYIELD4Y, MDF_F_CLOSEYIELD6, MDF_F_CLOSEYIELD7Y, MDF_F_CLOSEYIELD8Y, MDF_F_CLOSEYIELD9Y, MDF_F_SWINGFACTORSUB, MDF_F_CLEARING, MDF_F_LASTMOD, MDF_F_APPLICABLENAV, MDF_F_FUNDCUTOFFTIME, MDF_F_AVGTURNOVER1W, MDF_F_AVGTURNOVER1M, MDF_F_AVGTURNOVER3M, MDF_F_AVGTURNOVER1Y and MDF_F_AVGTURNOVERYTD have been added to the Field enumeration

  • 95e9bf56 d1b22553 The default marshalling for strings is now internally used for the overloads of the AddDate, AddList, AddNumeric, AddTime and Deserialize methods of the Message class that accept string arguments, as well as for the Connect method of the MarketDataFeed class

  • b873ab4a The internal implementation of the MarketFeedData and Message classes now use the shared System.Buffers.ArrayPool<T> class instead of stack allocating data to be passed to the wrapped libmdf library

  • d50747c0 The System.Memory NuGet package dependency has been updated to version 4.5.5