Skip to content

Commit 8eb4e23

Browse files
authored
Merge pull request #20 from lorddev/develop
Develop to main for v7.0.1
2 parents 7ce4305 + 58827ae commit 8eb4e23

File tree

64 files changed

+1353
-1382
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+1353
-1382
lines changed

.github/workflows/package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
dotnet-version: 8.0.x
1818

1919
- name: Build release
20-
run: dotnet build src/Devlord.Utilities/Devlord.Utilities.csproj --configuration Release
20+
run: dotnet build --configuration Release
2121
- name: Pack prerelease with build number
2222
if: "github.event.release.prerelease"
2323
run: |
42.1 KB
Binary file not shown.
34.8 KB
Binary file not shown.

Devlord.Utilities.sln

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,20 @@ EndProject
1010
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{33918F2B-0111-483C-B796-328D8AB07E35}"
1111
ProjectSection(SolutionItems) = preProject
1212
appveyor.yml = appveyor.yml
13-
LICENSE = LICENSE
13+
LICENSE.txt = LICENSE.txt
1414
README.md = README.md
15+
images\devlord-105.png = images\devlord-105.png
16+
.github\workflows\dotnet.yml = .github\workflows\dotnet.yml
17+
.github\workflows\package.yml = .github\workflows\package.yml
1518
EndProjectSection
1619
EndProject
1720
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{D98FBDA4-114C-469D-A722-A8DB70F42BFE}"
1821
EndProject
1922
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{F789018F-60C1-4E97-8E2F-5FFD41A008D1}"
2023
EndProject
21-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Encryptamajig", "src\Encryptamajig\Encryptamajig.csproj", "{E5BACB77-AE20-4834-9AAA-DED949436118}"
24+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Devlord.Utilities.Mail", "src\Devlord.Utilities.Mail\Devlord.Utilities.Mail.csproj", "{5336A7B7-3BA1-4025-B39D-B831DEA65668}"
2225
EndProject
23-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Encryptamajig.Tests", "test\Encryptamajig.Tests\Encryptamajig.Tests.csproj", "{239FCC70-2688-4EAF-8C19-85A348840E34}"
26+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Devlord.Utilities.MapsApi", "src\Devlord.Utilities.MapsApi\Devlord.Utilities.MapsApi.csproj", "{C6AEABA2-94DD-4642-8DD8-8795DAAE797C}"
2427
EndProject
2528
Global
2629
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -36,23 +39,23 @@ Global
3639
{F41E3A90-DCB2-4E86-B9A1-DC45B0DFB998}.Debug|Any CPU.Build.0 = Debug|Any CPU
3740
{F41E3A90-DCB2-4E86-B9A1-DC45B0DFB998}.Release|Any CPU.ActiveCfg = Release|Any CPU
3841
{F41E3A90-DCB2-4E86-B9A1-DC45B0DFB998}.Release|Any CPU.Build.0 = Release|Any CPU
39-
{E5BACB77-AE20-4834-9AAA-DED949436118}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
40-
{E5BACB77-AE20-4834-9AAA-DED949436118}.Debug|Any CPU.Build.0 = Debug|Any CPU
41-
{E5BACB77-AE20-4834-9AAA-DED949436118}.Release|Any CPU.ActiveCfg = Release|Any CPU
42-
{E5BACB77-AE20-4834-9AAA-DED949436118}.Release|Any CPU.Build.0 = Release|Any CPU
43-
{239FCC70-2688-4EAF-8C19-85A348840E34}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
44-
{239FCC70-2688-4EAF-8C19-85A348840E34}.Debug|Any CPU.Build.0 = Debug|Any CPU
45-
{239FCC70-2688-4EAF-8C19-85A348840E34}.Release|Any CPU.ActiveCfg = Release|Any CPU
46-
{239FCC70-2688-4EAF-8C19-85A348840E34}.Release|Any CPU.Build.0 = Release|Any CPU
42+
{5336A7B7-3BA1-4025-B39D-B831DEA65668}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
43+
{5336A7B7-3BA1-4025-B39D-B831DEA65668}.Debug|Any CPU.Build.0 = Debug|Any CPU
44+
{5336A7B7-3BA1-4025-B39D-B831DEA65668}.Release|Any CPU.ActiveCfg = Release|Any CPU
45+
{5336A7B7-3BA1-4025-B39D-B831DEA65668}.Release|Any CPU.Build.0 = Release|Any CPU
46+
{C6AEABA2-94DD-4642-8DD8-8795DAAE797C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
47+
{C6AEABA2-94DD-4642-8DD8-8795DAAE797C}.Debug|Any CPU.Build.0 = Debug|Any CPU
48+
{C6AEABA2-94DD-4642-8DD8-8795DAAE797C}.Release|Any CPU.ActiveCfg = Release|Any CPU
49+
{C6AEABA2-94DD-4642-8DD8-8795DAAE797C}.Release|Any CPU.Build.0 = Release|Any CPU
4750
EndGlobalSection
4851
GlobalSection(SolutionProperties) = preSolution
4952
HideSolutionNode = FALSE
5053
EndGlobalSection
5154
GlobalSection(NestedProjects) = preSolution
5255
{BDA4FCBB-3582-42E0-B383-1BAB2BC69547} = {D98FBDA4-114C-469D-A722-A8DB70F42BFE}
5356
{F41E3A90-DCB2-4E86-B9A1-DC45B0DFB998} = {F789018F-60C1-4E97-8E2F-5FFD41A008D1}
54-
{E5BACB77-AE20-4834-9AAA-DED949436118} = {D98FBDA4-114C-469D-A722-A8DB70F42BFE}
55-
{239FCC70-2688-4EAF-8C19-85A348840E34} = {F789018F-60C1-4E97-8E2F-5FFD41A008D1}
57+
{5336A7B7-3BA1-4025-B39D-B831DEA65668} = {D98FBDA4-114C-469D-A722-A8DB70F42BFE}
58+
{C6AEABA2-94DD-4642-8DD8-8795DAAE797C} = {D98FBDA4-114C-469D-A722-A8DB70F42BFE}
5659
EndGlobalSection
5760
GlobalSection(CodealikeProperties) = postSolution
5861
SolutionGuid = 786e0001-a81c-40a8-96b1-bd100ef383c7

Devlord.Utilities.sln.DotSettings

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
22
<s:String x:Key="/Default/CodeStyle/FileHeader/FileHeaderText/@EntryValue">--------------------------------------------------------------------------------------------------------------------&#xD;
3-
&lt;copyright file="$FILENAME$" company="Lord Design"&gt;&#xD;
4-
© $CURRENT_YEAR$ Lord Design&#xD;
3+
&lt;copyright file="${File.FileName}" company="Lord Design"&gt;&#xD;
4+
© ${CurrentDate.Year} Lord Design&#xD;
55
&lt;/copyright&gt;&#xD;
66
&lt;license type="GPL-3.0"&gt;&#xD;
77
You may use freely and commercially without modification; if you make changes, please share back to the&#xD;
88
community. &#xD;
99
&lt;/license&gt;&#xD;
10-
&lt;author&gt;$USER_NAME$&lt;/author&gt;&#xD;
10+
&lt;author&gt;${User.Name}&lt;/author&gt;&#xD;
1111
--------------------------------------------------------------------------------------------------------------------&#xD;
1212
</s:String>
1313
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=DR/@EntryIndexedValue">DR</s:String>
1414
<s:Boolean x:Key="/Default/Environment/Filtering/ExcludeCoverageFilters/=Devlord_002EUtilities_003B_002A_003BDevlord_002EUtilities_002EProperties_002E_002A_003B_002A/@EntryIndexedValue">True</s:Boolean>
1515
<s:Boolean x:Key="/Default/Environment/Filtering/ExcludeCoverageFilters/=Devlord_002EUtilities_003B_002A_003BDevlord_002EUtilities_002EResources_002E_002A_003B_002A/@EntryIndexedValue">True</s:Boolean>
1616
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EdotCover_002EIde_002ECore_002EFilterManagement_002EModel_002ESolutionFilterSettingsManagerMigrateSettings/@EntryIndexedValue">True</s:Boolean>
17+
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EFeature_002EServices_002ECodeCleanup_002EFileHeader_002EFileHeaderSettingsMigrate/@EntryIndexedValue">True</s:Boolean>
1718
<s:String x:Key="/Default/FilterSettingsManager/CoverageFilterXml/@EntryValue">&lt;data&gt;&lt;IncludeFilters /&gt;&lt;ExcludeFilters&gt;&lt;Filter ModuleMask="Devlord.Utilities" ModuleVersionMask="*" ClassMask="Devlord.Utilities.Properties.*" FunctionMask="*" IsEnabled="True" /&gt;&lt;Filter ModuleMask="Devlord.Utilities" ModuleVersionMask="*" ClassMask="Devlord.Utilities.Resources.*" FunctionMask="*" IsEnabled="True" /&gt;&lt;/ExcludeFilters&gt;&lt;/data&gt;</s:String>
1819
<s:Boolean x:Key="/Default/UserDictionary/Words/=botmail/@EntryIndexedValue">True</s:Boolean>
1920
<s:Boolean x:Key="/Default/UserDictionary/Words/=Devlord/@EntryIndexedValue">True</s:Boolean>
File renamed without changes.

README.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
devlord utilities
1+
Devlord.Utilities
22
====================
33

4+
A useful class library for universal utilities like consuming RESTful APIs.
45

5-
A useful class library for universal utilities like encryption, sending emails, and consuming RESTful APIs.
6-
7-
| Master | Develop | NuGet |
8-
| ----- | ----- | ----- |
9-
| [![Build status](https://ci.appveyor.com/api/projects/status/i0us4v5jxi6llk3e/branch/master?svg=true)](https://ci.appveyor.com/project/lorddev/utilities/branch/master) | [![Build status](https://ci.appveyor.com/api/projects/status/i0us4v5jxi6llk3e/branch/develop?svg=true)](https://ci.appveyor.com/project/lorddev/utilities/branch/develop) | [![NuGet Package](https://buildstats.info/nuget/Devlord.Utilities)](https://www.nuget.org/packages/Devlord.Utilities/) |
6+
| Main | Develop | NuGet |
7+
| ----- | ----- | ----- |
8+
| [![.NET](https://github.com/lorddev/utilities/actions/workflows/dotnet.yml/badge.svg)](https://github.com/lorddev/utilities/actions/workflows/dotnet.yml) | [![.NET](https://github.com/lorddev/utilities/actions/workflows/dotnet.yml/badge.svg?branch=develop)](https://github.com/lorddev/utilities/actions/workflows/dotnet.yml) | [![NuGet](https://img.shields.io/badge/nuget-%23004880.svg?style=for-the-badge&logo=nuget&logoColor=white)](https://www.nuget.org/packages/Devlord.Utilities/) |
109

1110
To install Devlord.Utilities, run the following command in the Package Manager Console:
1211

@@ -16,13 +15,20 @@ Or from the command-line:
1615

1716
dotnet add package Devlord.Utilities
1817

18+
### Breaking Changes
19+
20+
* Mail utilities have been moved to the Devlord.Utilities.Mail package.
21+
* Maps API utilities have been moved to the Devlord.Utilities.MapsApi package.
22+
* Encryption has been deprecated because the protocols are no longer recommended.
23+
* UnderscoreContractResolver has been removed in favor of System.Text.Json snake case handling.
24+
* ValueText.Value has been changed from string to decimal.
25+
1926
### Feature Summary
2027

2128
* .NET Core compatibility
2229
* System.Threading.Timers service clocks
2330
* Email throttling to help you avoid being suspended by your ISP
2431
* Generic HTTP API wrappers
25-
* Two-way AES encryption
2632
* "Micro-ORM" DataReader mapper for when using a full-featured ORM would be overkill
2733

2834
More details below, but for even _more_ details, see the [project wiki](https://github.com/lorddev/utilities/wiki).
@@ -89,11 +95,6 @@ A multithreaded SMTP queued mail sender, has a configurable throttle for mail fr
8995
}
9096
```
9197

92-
### Crypt
93-
94-
Bidirectional encryption methods useful for storing credit cards or encrypting passwords or API keys to save in a project's
95-
configuration files. (Not recommend for use with user's site credentials as those should use one-way encryption.)
96-
9798
### DRMapper
9899

99100
Allows mapping of an `IDataReader` to POCO classes using reflection. It's faster than you might expect.

images/devlord-105.png

12.3 KB
Loading
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
// <author>aaron@lorddesign.net</author>
77
// --------------------------------------------------------------------------------------------------------------------
88

9-
using System.Collections.Generic;
10-
11-
namespace Devlord.Utilities
9+
namespace Devlord.Utilities.Mail
1210
{
1311
/// <summary>
1412
/// The botmail.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
<VersionPrefix>7.0.1</VersionPrefix>
8+
<Company>Devlords Cooperative</Company>
9+
<Authors>devlord</Authors>
10+
<PackageProjectUrl>https://github.com/lorddev/utilities</PackageProjectUrl>
11+
<Copyright>Copyright © 2026 Aaron Lord</Copyright>
12+
<PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression>
13+
<PackageIcon>devlord-105.png</PackageIcon>
14+
<RepositoryUrl>https://github.com/lorddev/utilities</RepositoryUrl>
15+
<RepositoryType>Git</RepositoryType>
16+
<PackageTags>utils utilities email gmail mailbot</PackageTags>
17+
<PackageSummary>Utilities class library so you don't have to rewrite your utilities on every project.</PackageSummary>
18+
<PackageReadmeFile>README.md</PackageReadmeFile>
19+
20+
</PropertyGroup>
21+
22+
<ItemGroup>
23+
<None Include="..\..\LICENSE.txt" Pack="true" PackagePath="" />
24+
<None Include="README.md" Pack="true" PackagePath="\" />
25+
<None Include="..\..\images\devlord-105.png" Pack="true" PackagePath="" />
26+
</ItemGroup>
27+
28+
<ItemGroup>
29+
<ProjectReference Include="..\Devlord.Utilities\Devlord.Utilities.csproj" />
30+
<PackageReference Include="MailKit" Version="4.15.0" />
31+
</ItemGroup>
32+
33+
</Project>

0 commit comments

Comments
 (0)