Skip to content

Commit

Permalink
Removed Serilog dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
cengelha committed Jan 8, 2022
1 parent 895305a commit 6dd3ed3
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .github/changelogs/0.2.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Just removed a dependency to not force others to install or use it.

### Changed
* Removed Serilog dependency
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ All notable changes to this project will be documented in this file. It uses the
### Fixed
### Security

## 0.2.1 (2022-01-08)

### Changed
* Removed Serilog dependency

## 0.2.0 (2022-01-03)

### Added
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ Thanks to the following people for their help in one way or another.

## Dependencies

### libNOM.map

* [Microsoft.CodeAnalysis.PublicApiAnalyzers](https://www.nuget.org/packages/Microsoft.CodeAnalysis.PublicApiAnalyzers/) - Monitor changes to the public API.
* [Newtonsoft.Json](https://www.nuget.org/packages/Newtonsoft.Json/) - Handle JSON objects.
* [Octokit](https://www.nuget.org/packages/Octokit/) - Query MBINCompiler release information.
* [Serilog](https://www.nuget.org/packages/Serilog/) - Log mentionable events.
3 changes: 0 additions & 3 deletions libNOM.map/Mapping.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using libNOM.map.Extensions;
using libNOM.map.Json;
using Newtonsoft.Json.Linq;
using Serilog;

namespace libNOM.map;

Expand Down Expand Up @@ -168,8 +167,6 @@ private async Task<bool> DownloadAsync()
using Stream fileStream = new FileStream(PATH, FileMode.Create, FileAccess.Write, FileShare.None);
await contentStream.CopyToAsync(fileStream);

Log.Information($"Downloaded {version} of {FILE}");

// Deserialize the downloaded file.
contentStream.Position = 0;
JsonDownload = MappingJson.Deserialize(new StreamReader(contentStream).ReadToEnd());
Expand Down
3 changes: 1 addition & 2 deletions libNOM.map/libNOM.map.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<RepositoryUrl>https://github.com/zencq/libNOM.map</RepositoryUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Version>0.2.0</Version>
<Version>0.2.1</Version>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand All @@ -26,7 +26,6 @@
</PackageReference>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="Octokit" Version="0.50.0" />
<PackageReference Include="Serilog" Version="2.10.0" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 6dd3ed3

Please sign in to comment.