diff --git a/Messages/FIX40/QuickFix.FIX40.csproj b/Messages/FIX40/QuickFix.FIX40.csproj index 1dd0c2fa7..123c2b6a1 100644 --- a/Messages/FIX40/QuickFix.FIX40.csproj +++ b/Messages/FIX40/QuickFix.FIX40.csproj @@ -1,7 +1,7 @@ - net8.0;net10.0 + net10.0 QuickFIX/n FIX4.0 Messages QuickFIXn.FIX40 $(Title) diff --git a/Messages/FIX41/QuickFix.FIX41.csproj b/Messages/FIX41/QuickFix.FIX41.csproj index 8ecf74674..2ddc15def 100644 --- a/Messages/FIX41/QuickFix.FIX41.csproj +++ b/Messages/FIX41/QuickFix.FIX41.csproj @@ -1,7 +1,7 @@ - net8.0;net10.0 + net10.0 QuickFIX/n FIX4.1 Messages QuickFIXn.FIX41 $(Title) diff --git a/Messages/FIX42/QuickFix.FIX42.csproj b/Messages/FIX42/QuickFix.FIX42.csproj index ef43967b9..38ca12943 100644 --- a/Messages/FIX42/QuickFix.FIX42.csproj +++ b/Messages/FIX42/QuickFix.FIX42.csproj @@ -1,7 +1,7 @@ - net8.0;net10.0 + net10.0 QuickFIX/n FIX4.2 Messages QuickFIXn.FIX42 $(Title) diff --git a/Messages/FIX43/QuickFix.FIX43.csproj b/Messages/FIX43/QuickFix.FIX43.csproj index 526759a5c..acb9a8147 100644 --- a/Messages/FIX43/QuickFix.FIX43.csproj +++ b/Messages/FIX43/QuickFix.FIX43.csproj @@ -1,7 +1,7 @@ - net8.0;net10.0 + net10.0 QuickFIX/n FIX4.3 Messages QuickFIXn.FIX43 $(Title) diff --git a/Messages/FIX44/QuickFix.FIX44.csproj b/Messages/FIX44/QuickFix.FIX44.csproj index c271ce6b1..aa9c47f7e 100644 --- a/Messages/FIX44/QuickFix.FIX44.csproj +++ b/Messages/FIX44/QuickFix.FIX44.csproj @@ -1,7 +1,7 @@ - net8.0;net10.0 + net10.0 QuickFIX/n FIX4.4 Messages QuickFIXn.FIX44 $(Title) diff --git a/Messages/FIX50/QuickFix.FIX50.csproj b/Messages/FIX50/QuickFix.FIX50.csproj index 9ea3569cc..45915a58e 100644 --- a/Messages/FIX50/QuickFix.FIX50.csproj +++ b/Messages/FIX50/QuickFix.FIX50.csproj @@ -1,7 +1,7 @@ - net8.0;net10.0 + net10.0 QuickFIX/n FIX5.0 Messages QuickFIXn.FIX50 $(Title) diff --git a/Messages/FIX50SP1/QuickFix.FIX50SP1.csproj b/Messages/FIX50SP1/QuickFix.FIX50SP1.csproj index 19b51aaca..ea227c2ad 100644 --- a/Messages/FIX50SP1/QuickFix.FIX50SP1.csproj +++ b/Messages/FIX50SP1/QuickFix.FIX50SP1.csproj @@ -1,7 +1,7 @@ - net8.0;net10.0 + net10.0 QuickFIX/n FIX5.0 SP1 Messages QuickFIXn.FIX50SP1 $(Title) diff --git a/Messages/FIX50SP2/QuickFix.FIX50SP2.csproj b/Messages/FIX50SP2/QuickFix.FIX50SP2.csproj index 40dc44894..70034791b 100644 --- a/Messages/FIX50SP2/QuickFix.FIX50SP2.csproj +++ b/Messages/FIX50SP2/QuickFix.FIX50SP2.csproj @@ -1,7 +1,7 @@ - net8.0;net10.0 + net10.0 QuickFIX/n FIX5.0 SP2 Messages QuickFIXn.FIX50SP2 $(Title) diff --git a/Messages/FIXT11/QuickFix.FIXT11.csproj b/Messages/FIXT11/QuickFix.FIXT11.csproj index c0e35bd82..a0b3b7029 100644 --- a/Messages/FIXT11/QuickFix.FIXT11.csproj +++ b/Messages/FIXT11/QuickFix.FIXT11.csproj @@ -1,7 +1,7 @@ - net8.0;net10.0 + net10.0 QuickFIX/n FIXT1.1 Messages QuickFIXn.FIXT11 $(Title) diff --git a/QuickFIXn/Fields/Converters/DateTimeConverter.cs b/QuickFIXn/Fields/Converters/DateTimeConverter.cs index 11b431a0b..44caf2b3d 100644 --- a/QuickFIXn/Fields/Converters/DateTimeConverter.cs +++ b/QuickFIXn/Fields/Converters/DateTimeConverter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; @@ -547,81 +547,6 @@ public static string ToFIXTimeOnly(TimeOnly time, TimeStampPrecision precision) public static string ToFIXTimeOnly(DateTime dt, TimeStampPrecision precision) => ToFIXTimeOnly(TimeOnly.FromDateTime(dt), precision); - [Obsolete("The 'precision' parameter is no longer needed. This form of the function will be deleted in v1.15.")] - public static DateTime ParseToTimeOnly(string str, TimeStampPrecision precision = TimeStampPrecision.Millisecond) { - return ParseToTimeOnly(str); - } - - [Obsolete("Use ParseToDateTime(string str) instead. The 'precision' parameter is not needed. This function will be deleted in v1.15.")] - public static DateTime ConvertToDateTime(string str, TimeStampPrecision precision = TimeStampPrecision.Millisecond) { - return ParseToDateTime(str); - } - - [Obsolete("Renamed to ParseToDateOnly(str). This is a legacy wrapper that will be deleted in v1.15.")] - public static DateTime ConvertToDateOnly(string str) { - return ParseToDateOnly(str); - } - - [Obsolete("Renamed to ParseToTimeOnly(str, precision). This is a legacy wrapper that will be deleted in v1.15.")] - public static DateTime ConvertToTimeOnly(string str, TimeStampPrecision precision = TimeStampPrecision.Millisecond) { - return ParseToTimeOnly(str, precision); - } - - /// - /// Converts the specified string to a . - /// The string must be in the format "HH:mm:ss" optionally followed by fractional seconds - /// and then optionally followed by UTC offset information. - /// - /// A containing the characters that represent a time to convert. - /// - /// A value representing the time in . - /// The value is unaffected by UTC offset information in . - /// For example, for the string "11:03:15 +05:30" the returned will be equivalent - /// to 11:03:15. - /// - /// - /// This method supports parsing spans containing fractional seconds of arbitrary precision. - /// However, the conversion can be lossy since objects can only retain - /// fractional second precision to 100ns. - ///

- /// This method calls - /// which returns a - /// and, when UTC offset information is present, a containing that information. - /// Consider calling the latter for flexibility. - ///
- /// The conversion cannot be performed successfully. - [Obsolete("QF/n doesn't use this, so it will be deleted in v1.15. Copy it into your own application if you need it.")] - public static TimeSpan ConvertToTimeSpan(string str) => ParseToTimeOnly(str, out _).ToTimeSpan(); - - [Obsolete("Use ToFIX(dt, precision) instead. This will be deleted in v1.15.")] - public static string Convert(DateTime dt, bool includeMilliseconds = true) { - return includeMilliseconds - ? ToFIX(dt, TimeStampPrecision.Millisecond) - : ToFIX(dt, TimeStampPrecision.Second); - } - - [Obsolete("Renamed to ToFIX(dt, precision). This is a legacy wrapper that will be deleted in v1.15.")] - public static string Convert(DateTime dt, TimeStampPrecision precision) { - return ToFIX(dt, precision); - } - - [Obsolete("Renamed to ToFIXDateOnly(dt). This is a legacy wrapper that will be deleted in v1.15.")] - public static string ConvertDateOnly(DateTime dt) { - return ToFIXDateOnly(dt); - } - - [Obsolete("Renamed to ToFixTimeOnly(dt, precision). This is a legacy wrapper that will be deleted in v1.15.")] - public static string ConvertTimeOnly(DateTime dt, TimeStampPrecision precision) { - return ToFIXTimeOnly(dt, precision); - } - - [Obsolete("Use ToFIXTimeOnly(dt, precision) instead. This function will be deleted in v1.15.")] - public static string ConvertTimeOnly(DateTime dt, bool includeMilliseconds = true) { - return includeMilliseconds - ? ToFIXTimeOnly(dt, TimeStampPrecision.Millisecond) - : ToFIXTimeOnly(dt, TimeStampPrecision.Second); - } - [Obsolete("Don't use this function, it probably doesn't do what you think it does. Will be removed in v1.16.")] public static DateTime ParseToTimeOnly(string str) => InternalParseToTimeOnly(str); } diff --git a/QuickFIXn/Parser.cs b/QuickFIXn/Parser.cs index 0566fea58..6ee8d70f9 100755 --- a/QuickFIXn/Parser.cs +++ b/QuickFIXn/Parser.cs @@ -30,9 +30,6 @@ public Parser(Encoding encoding) _checkSumBytes = encoding.GetBytes('\u0001' + "10="); } - [Obsolete("Use AddToStream(ReadOnlySpan) instead. This will be removed in v1.15")] - public void AddToStream(byte[] data, int bytesAdded) => AddToStream(new ReadOnlySpan(data, 0, bytesAdded)); - public void AddToStream(ReadOnlySpan data) { // We attempt to copy the new bytes into the existing buffer. diff --git a/QuickFIXn/QuickFix.csproj b/QuickFIXn/QuickFix.csproj index e074e8787..7f0978d4f 100644 --- a/QuickFIXn/QuickFix.csproj +++ b/QuickFIXn/QuickFix.csproj @@ -1,7 +1,7 @@ - net8.0;net10.0 + net10.0 QuickFIX/n enable true diff --git a/QuickFIXn/SettingsDictionary.cs b/QuickFIXn/SettingsDictionary.cs index 62cf9ada4..bac49b4a2 100755 --- a/QuickFIXn/SettingsDictionary.cs +++ b/QuickFIXn/SettingsDictionary.cs @@ -64,7 +64,7 @@ public string GetString(string key) throw new ConfigError($"No value for key: {key}"); } - [Obsolete("Will be removed in a future release because the engine doesn't use it")] + [Obsolete("This function will be removed in 1.16 (because it's unused)")] public String GetString(string key, bool capitalize) { string s = GetString(key); diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index a162819ac..fb02edf9b 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -38,7 +38,12 @@ What's New * **There are breaking changes between 1.10 and 1.11! Please review the 1.11.0 notes below.** -### next release (v1.14.1 or higher) +### v1.15.0 +* #1021 - remove .NET 8 support; remove expired deprecations + + +### v1.14.1 + * #841 - experimental support for CME Enhanced Resend (gbirchmeier) * #961 - new GenerateKeys app to create Example-app SSL certs (dckorben/gbirchmeier) * #1001 - AcceptanceTests bug: double.Parse with InvariantCulture (gbirchmeier)