Releases: lorddev/utilities
6.0.0
Fixed configuration bug
Fixed bug where inclusion of "devlord.utilities.json" in the nuget package was causing the build to fail in projects that reference this library.
Some updates
- DRMapper is now case-insensitive, so you don't have to worry about making sure your model classes exactly match your database outputs.
- Extended compatibility to netstandard1.3
- Updated nuspec file. Now I have a better workflow for getting the packages up on NuGet.
- Updated unit tests to run for 3 target frameworks instead of 1.
- Removed parallelization of unit tests to get more accurate measurements in the service timer tests.
Download from NuGet: 5.0.113
5.0 .NET Core compatibility
To install Devlord.Utilities, run the following command in the Package Manager Console
PM> Install-Package Devlord.Utilities
-
Incremented major version to 5.0 because of breaking changes in .NET Core
- There is a question of whether these features are truly deprecated or just haven't been finished yet, because I've seen reports that some of the features will be added in .NET Core 2.0.
-
Changed service timers due to the .NET System.Timers.Timer class having been deprecated. I tried to keep the public interface intact,
as well as the behavior. But you'll need to change "ElapsedEventArgs" to "ServiceTimerState" in your events.private static void LoopedElapsed(object sender, ElapsedEventArgs e) { Console.WriteLine("Test message ONE"); } // to private static void LoopedElapsed(object sender, ServiceTimerState e) { Console.WriteLine("Test message ONE"); }
-
Added MailKit dependency when using this library in .NET Core.
-
Breaking changes to Mailbot class: Use
GetInstance(string smtpServer)
instead of theInstance
property. Throttles are now smtp-server-specific. -
Changed WebClient to HttpClient, made RssConvert async.
-
Absorbed Encryptamajig since it didn't appear to be maintained and I needed it updated to .NET Core.
-
Note that
RestRouteHandler
is only compatible with .NET v4.5.1. If you are using this feature, make sure you have the right target set. -
Had some trouble with future-compatibility for
app.config
, so we've converted to the newer "ConfigurationBuilder" method. To set your settings for
items inDevlord.Utilities.Settings
, copydevlord.utilities.json
into your project, and set "Copy to Output Directory" to either
"Copy if newer" or "Copy always". -
DRMapper.ParseRecord<T>
overload with rowIndex has been deprecated.
Update dependencies and package for Nuget
This is the same version released on Nuget as 4.0.1
4.0 DataReader Mapper
New version of Devlords Utilities allows fast mapping between concrete types and datareader result sets.