Skip to content

Commit 0645cd7

Browse files
authored
Release/0.6.0 (#11)
* NET 7 * Support additional frameworks * Refactor * Publish.bat
1 parent bd19d9a commit 0645cd7

File tree

8 files changed

+90
-46
lines changed

8 files changed

+90
-46
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
publish.bat
21
**/PublishProfiles/**
32
secrets.txt
43
**/MrPMorris.snk

Docs/releases.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Releases
22

3+
## New in 0.6.0
4+
* Support .Net Standard 2 & 2.1; .Net 4.7.2 & 4.8; .Net 8
5+
*
6+
## New in 0.5.0
7+
* Support .NET 7
8+
* Remove frameworks no longer supported by Microsoft
9+
310
## New in 0.4.0
411
* Code refactoring
512
* Ability to optimize Delta when calling sub-state reducers ([#8](https://github.com/mrpmorris/Reducible/issues/8))

Publish.bat

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
cls
2+
@echo **** 0.6.0 : UPDATED THE VERSION NUMBER IN THE PROJECT *AND* BATCH FILE? ****
3+
pause
4+
5+
cls
6+
@call Test.bat
7+
8+
@echo
9+
@echo
10+
@echo
11+
@echo ======================
12+
13+
set /p ShouldPublish=Publish 0.6.0 [yes]?
14+
@if "%ShouldPublish%" == "yes" (
15+
@echo PUBLISHING
16+
dotnet nuget push .\Source\Morris.Reducible\bin\Release\Reducible.0.6.0.nupkg -k %MORRIS.NUGET.KEY% -s https://api.nuget.org/v3/index.json
17+
)
18+

Source/.editorconfig

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,17 @@ dotnet_style_qualification_for_method = false:suggestion
7979
#prefer properties not to be prefaced with this. or Me. in Visual Basic
8080
dotnet_style_qualification_for_property = false:suggestion
8181
csharp_indent_labels = one_less_than_current
82+
csharp_using_directive_placement = outside_namespace:silent
83+
csharp_prefer_simple_using_statement = true:suggestion
84+
csharp_prefer_braces = true:silent
85+
csharp_style_namespace_declarations = block_scoped:silent
86+
csharp_style_prefer_method_group_conversion = true:silent
87+
csharp_style_prefer_top_level_statements = true:silent
88+
csharp_style_expression_bodied_constructors = false:silent
89+
csharp_style_expression_bodied_operators = false:silent
90+
csharp_style_expression_bodied_indexers = true:silent
91+
csharp_style_expression_bodied_lambdas = true:silent
92+
csharp_style_expression_bodied_local_functions = false:silent
8293

8394
[*.{cs,vb}]
8495
#### Naming styles ####
@@ -131,3 +142,17 @@ dotnet_style_operator_placement_when_wrapping = beginning_of_line
131142
tab_width = 2
132143
indent_size = 2
133144
end_of_line = crlf
145+
dotnet_style_coalesce_expression = true:suggestion
146+
dotnet_style_null_propagation = true:suggestion
147+
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion
148+
dotnet_style_prefer_auto_properties = true:silent
149+
dotnet_style_object_initializer = true:suggestion
150+
dotnet_style_collection_initializer = true:suggestion
151+
dotnet_style_prefer_simplified_boolean_expressions = true:suggestion
152+
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
153+
dotnet_style_prefer_conditional_expression_over_return = true:silent
154+
dotnet_style_explicit_tuple_names = true:suggestion
155+
dotnet_style_prefer_inferred_tuple_names = true:suggestion
156+
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
157+
dotnet_style_prefer_compound_assignment = true:suggestion
158+
dotnet_style_prefer_simplified_interpolation = true:suggestion

Source/Directory.Build.props

Lines changed: 0 additions & 28 deletions
This file was deleted.

Source/Morris.Reducible.sln

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{3E99524B-1E44-42D4-836A-4AC6C0E68374}"
77
ProjectSection(SolutionItems) = preProject
88
.editorconfig = .editorconfig
9-
Directory.Build.props = Directory.Build.props
109
..\README.md = ..\README.md
1110
EndProjectSection
1211
EndProject
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<Project>
2+
<PropertyGroup>
3+
<LangVersion>11</LangVersion>
4+
<Version>0.6.0</Version>
5+
<AssemblyVersion>0.6.0.0</AssemblyVersion>
6+
<FileVersion>0.6.0.0</FileVersion>
7+
<TargetFrameworks>netstandard2.0;netstandard2.1;net472;net48;net6.0;net7.0;net8.0</TargetFrameworks>
8+
<Nullable>enable</Nullable>
9+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
10+
</PropertyGroup>
11+
12+
<PropertyGroup>
13+
<Authors>Peter Morris</Authors>
14+
<Company />
15+
<Copyright>Peter Morris</Copyright>
16+
<PackageLicenseFile></PackageLicenseFile>
17+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
18+
19+
<PackageId>Reducible</PackageId>
20+
<Product>Morris.Reducible</Product>
21+
<Description>A State Reducer library for .NET</Description>
22+
<PackageIcon>small-logo.png</PackageIcon>
23+
<PackageTags>Immutable Reduce Reducible DotNet CSharp</PackageTags>
24+
<PackageProjectUrl>https://github.com/mrpmorris/Reducible</PackageProjectUrl>
25+
<PackageIconUrl />
26+
<RepositoryUrl>https://github.com/mrpmorris/Reducible</RepositoryUrl>
27+
<RepositoryType>git</RepositoryType>
28+
</PropertyGroup>
29+
30+
<PropertyGroup Condition="'$(Configuration)'=='Release'">
31+
<SignAssembly>true</SignAssembly>
32+
<DelaySign>false</DelaySign>
33+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
34+
<AssemblyOriginatorKeyFile>..\..\MrPMorris.snk</AssemblyOriginatorKeyFile>
35+
</PropertyGroup>
36+
</Project>
Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,14 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
5-
<LangVersion>10</LangVersion>
6-
<Nullable>enable</Nullable>
7-
</PropertyGroup>
8-
9-
<PropertyGroup Condition="'$(Configuration)'=='Release'">
10-
<PackageId>Reducible</PackageId>
11-
<Product>Morris.Reducible</Product>
12-
<Description>A State Reducer library for .NET</Description>
13-
<PackageIcon>small-logo.png</PackageIcon>
14-
<PackageTags>Immutable Reduce Reducible DotNet CSharp</PackageTags>
15-
<SignAssembly>True</SignAssembly>
16-
<AssemblyOriginatorKeyFile>..\..\MrPMorris.snk</AssemblyOriginatorKeyFile>
17-
</PropertyGroup>
18-
193
<ItemGroup Condition="'$(Configuration)'=='Release'">
204
<None Include="..\..\Images\small-logo.png">
215
<Pack>True</Pack>
226
<PackagePath></PackagePath>
237
</None>
8+
</ItemGroup>
9+
10+
<ItemGroup>
11+
<PackageReference Include="System.Collections.Immutable" Version="7.0.0" />
2412
</ItemGroup>
2513

2614
</Project>

0 commit comments

Comments
 (0)