Skip to content

Releases: lorddev/utilities

6.0.0

05 Dec 21:23
Compare
Choose a tag to compare
  • Upgraded .NET targets to netstandard2.1 and net6.0
  • Refactored configuration for MailbotFactory and Throttles (see README)
  • Fixed bugs in API querystrings

Fixed configuration bug

10 Apr 17:46
Compare
Choose a tag to compare

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

06 Apr 08:17
Compare
Choose a tag to compare
  • 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

03 Apr 20:55
Compare
Choose a tag to compare

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 the Instance 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 in Devlord.Utilities.Settings, copy devlord.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

27 Mar 18:42
Compare
Choose a tag to compare

This is the same version released on Nuget as 4.0.1

4.0 DataReader Mapper

19 Mar 01:50
Compare
Choose a tag to compare

New version of Devlords Utilities allows fast mapping between concrete types and datareader result sets.