Skip to content

Commit

Permalink
version bump 1.6.0 - plus readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
calebjenkins committed Jan 20, 2024
1 parent f3658f4 commit a6dca13
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ To use this helper - register `IFileIO` is your `DI` with `FileIO` as the implme
- Description (enum)
- Description<ToDesc>(Enum)
- Parse<T>
- Parse <T, D>
- Parse <T, D>


## StringExtensions
- IsNotNullOrEmpty
Expand All @@ -72,7 +73,8 @@ To use this helper - register `IFileIO` is your `DI` with `FileIO` as the implme
## ListExtensions
- ToDelimitedList
- ToUpper
- AddRange - `IList<T>.AddRange(IList<T>)`
- AddRange - `IList<T>.AddRange(IList<T>)`
- AddUnlessBlank IList<string>.AddUnlessBlank(string)

## JsonExtensions
For both of these extension methods I'm using the `Newtonsoft.Json` library. I'm planning on migrating to `System.Text.Json` as soon as it is viable. Right now, Newtonsoft is easeir to serialize enums to thier ToString() value rather than index, and to deserialize the same. For example, by default - an enum is serialized to the index of the value. So an enum with (High, Med, Low) values would otherwise be serialiezed to a 2, instead of to "Med". Serializing to "Med" is my prefered behavior. I will continue to evailuate `System.Text.Json` against these unit tests and most likely migrate at some point.
Expand All @@ -94,3 +96,4 @@ Merges to `main` publish to nuget as a major release.
- 1.3.1 - suppressed some test warnings and updated the GH workflows
- 1.4.0 - added `CreatedDiretory` and `DeleteDirectory` to `IFileIO`
- 1.5.0 - Added package logo and `ToSafeString` for `ObjectExtensions`
- 1.6.0 - Added AddUnlessBlank to list extensions
2 changes: 1 addition & 1 deletion src/Extensions/Extensions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<Configurations>Debug;Release;NET7</Configurations>
<RootNamespace>Calebs.Extensions</RootNamespace>
<AssemblyName>Calebs.Extensions</AssemblyName>
<Version>1.5.0</Version>
<Version>1.6.0</Version>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>Caleb Jenkins</Authors>
<Company>Caleb Jenkins</Company>
Expand Down

0 comments on commit a6dca13

Please sign in to comment.