Skip to content

Commit

Permalink
feat :修改版本号,推送到nuget
Browse files Browse the repository at this point in the history
  • Loading branch information
KawhiWei committed Aug 19, 2023
1 parent a66aec6 commit 9089fea
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
# Luck.Framework
+ ## change 2.0.2 version
+ ### Add
+ **1、Luck.Framework**
+ 添加System.Text.Json自定义序列化扩展;
```c#
builder.Services.AddControllers()
.AddJsonOptions(c =>
{
c.JsonSerializerOptions.Converters.Add(new SystemTextJsonConvert.TimeOnlyJsonConverter());
c.JsonSerializerOptions.Converters.Add(new SystemTextJsonConvert.DateOnlyJsonConverter());
c.JsonSerializerOptions.Converters.Add(new SystemTextJsonConvert.TimeOnlyNullJsonConverter());
c.JsonSerializerOptions.Converters.Add(new SystemTextJsonConvert.DateOnlyNullJsonConverter());
c.JsonSerializerOptions.Converters.Add(new SystemTextJsonConvert.DateTimeConverter());
c.JsonSerializerOptions.Converters.Add(new SystemTextJsonConvert.DateTimeNullConverter());
c.JsonSerializerOptions.Converters.Add(new SystemTextJsonConvert.DateTimeOffsetConverter());
c.JsonSerializerOptions.Converters.Add(new SystemTextJsonConvert.DateTimeOffsetNullConverter());
});
```

+ ## change 2.0.1 version
+ ### Update
+ **1Luck.DDD.Domain**
Expand Down
2 changes: 1 addition & 1 deletion src/common.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Version>2.0.1</Version>
<Version>2.0.2</Version>
<NoWarn>$(NoWarn);CS1591;CS0436</NoWarn>
<PackageLicenseExpression>LGPL-3.0-only</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
Expand Down

0 comments on commit 9089fea

Please sign in to comment.