Skip to content

Commit

Permalink
Update vulnerable libraries (#7)
Browse files Browse the repository at this point in the history
* v 1.0.5
Update all libraries because Apache.Avro < 1.11.0 has vulnerabilities (see https://www.nuget.org/packages/Apache.Avro/1.10.2 and GHSA-868x-rg4c-cjqg)
* license, readme, release notes
  • Loading branch information
ycherkes authored Mar 23, 2024
1 parent dff0623 commit c52a7fd
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 19 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 Yevhen Cherkes
Copyright (c) 2021-2014 Yevhen Cherkes

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
Avro deserializer for Multiple Event Types in the Same Topic.
===========================================================================================

[![nuget version](https://img.shields.io/badge/Nuget-v1.0.4-blue)](https://www.nuget.org/packages/YCherkes.SchemaRegistry.Serdes.Avro)
[![nuget version](https://img.shields.io/badge/Nuget-v1.0.5-blue)](https://www.nuget.org/packages/YCherkes.SchemaRegistry.Serdes.Avro)
[![nuget downloads](https://img.shields.io/nuget/dt/YCherkes.SchemaRegistry.Serdes.Avro?label=Downloads)](https://www.nuget.org/packages/YCherkes.SchemaRegistry.Serdes.Avro)

To install YCherkes.SchemaRegistry.Serdes.Avro from within Visual Studio, search for YCherkes.SchemaRegistry.Serdes.Avro in the NuGet Package Manager UI, or run the following command in the Package Manager Console:

```
Install-Package YCherkes.SchemaRegistry.Serdes.Avro -Version 1.0.4
Install-Package YCherkes.SchemaRegistry.Serdes.Avro -Version 1.0.5
```

To add a reference to a dotnet core project, execute the following at the command line:

```
dotnet add package -v 1.0.4 YCherkes.SchemaRegistry.Serdes.Avro
dotnet add package -v 1.0.5 YCherkes.SchemaRegistry.Serdes.Avro
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

<ItemGroup>
<PackageReference Include="Akka.Streams.Kafka" Version="1.5.15" />
<PackageReference Include="Apache.Avro" Version="1.11.3" />
<PackageReference Include="Confluent.SchemaRegistry" Version="2.3.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Apache.Avro" Version="1.11.3" />
<PackageReference Include="Confluent.Kafka" Version="2.3.0" />
<PackageReference Include="Confluent.SchemaRegistry" Version="2.3.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\YCherkes.SchemaRegistry.Serdes.Avro\YCherkes.SchemaRegistry.Serdes.Avro.csproj" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,33 @@
<TargetFramework>netstandard2.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Description>Avro deserializer for reading messages serialized with multiple schemas.</Description>
<Copyright>Copyright 2021 Yevhen Cherkes.</Copyright>
<Copyright>Copyright 2021-$([System.DateTime]::Now.Year) Yevhen Cherkes.</Copyright>
<Authors>Yevhen Cherkes</Authors>
<PackageTags>Kafka;Confluent;librdkafka;multiple event types</PackageTags>
<PackageLicenseExpression></PackageLicenseExpression>
<PackageProjectUrl>https://github.com/ycherkes/multi-schema-avro-desrializer</PackageProjectUrl>
<RepositoryUrl>https://github.com/ycherkes/multi-schema-avro-desrializer</RepositoryUrl>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<Version>1.0.4</Version>
<PackageReleaseNotes>Added SpecificTypes helper.</PackageReleaseNotes>
<Version>1.0.5</Version>
<PackageReleaseNotes>Updated vulnerable Apache.Avro 1.10.2 library and all dependants.</PackageReleaseNotes>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Confluent.Kafka" Version="1.8.1" />
<PackageReference Include="Confluent.SchemaRegistry" Version="1.8.1" />
<PackageReference Include="Confluent.SchemaRegistry.Serdes.Avro" Version="1.8.1" />
<PackageReference Include="Confluent.Kafka" Version="2.3.0" />
<PackageReference Include="Confluent.SchemaRegistry" Version="2.3.0" />
<PackageReference Include="Confluent.SchemaRegistry.Serdes.Avro" Version="2.3.0" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\LICENSE">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
<None Include="..\..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Confluent.SchemaRegistry.Serdes.Avro" Version="2.3.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="Moq" Version="4.20.70" />
<PackageReference Include="xunit" Version="2.7.0" />
Expand Down

0 comments on commit c52a7fd

Please sign in to comment.