From c52a7fd3dd3ff2bfce2b69008984a3c9e987aefd Mon Sep 17 00:00:00 2001 From: Yevhen Cherkes Date: Sat, 23 Mar 2024 15:34:49 +0200 Subject: [PATCH] Update vulnerable libraries (#7) * 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 https://github.com/advisories/GHSA-868x-rg4c-cjqg) * license, readme, release notes --- LICENSE | 2 +- README.md | 6 +++--- .../Samples.Akka.Streams.Kafka.csproj | 2 -- .../Samples.Confluent.Kafka.csproj | 6 ------ .../YCherkes.SchemaRegistry.Serdes.Avro.csproj | 17 +++++++++++------ ...erkes.SchemaRegistry.Serdes.UnitTests.csproj | 1 - 6 files changed, 15 insertions(+), 19 deletions(-) diff --git a/LICENSE b/LICENSE index f21d674..a6b0f42 100644 --- a/LICENSE +++ b/LICENSE @@ -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 diff --git a/README.md b/README.md index 13028b8..9957b2a 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/src/Samples/Samples.Akka.Streams.Kafka/Samples.Akka.Streams.Kafka.csproj b/src/Samples/Samples.Akka.Streams.Kafka/Samples.Akka.Streams.Kafka.csproj index f78312d..5a5b6bd 100644 --- a/src/Samples/Samples.Akka.Streams.Kafka/Samples.Akka.Streams.Kafka.csproj +++ b/src/Samples/Samples.Akka.Streams.Kafka/Samples.Akka.Streams.Kafka.csproj @@ -7,8 +7,6 @@ - - diff --git a/src/Samples/Samples.Confluent.Kafka/Samples.Confluent.Kafka.csproj b/src/Samples/Samples.Confluent.Kafka/Samples.Confluent.Kafka.csproj index f8bbe96..89267de 100644 --- a/src/Samples/Samples.Confluent.Kafka/Samples.Confluent.Kafka.csproj +++ b/src/Samples/Samples.Confluent.Kafka/Samples.Confluent.Kafka.csproj @@ -5,12 +5,6 @@ net8.0 - - - - - - diff --git a/src/YCherkes.SchemaRegistry.Serdes.Avro/YCherkes.SchemaRegistry.Serdes.Avro.csproj b/src/YCherkes.SchemaRegistry.Serdes.Avro/YCherkes.SchemaRegistry.Serdes.Avro.csproj index 6615050..8c31d3d 100644 --- a/src/YCherkes.SchemaRegistry.Serdes.Avro/YCherkes.SchemaRegistry.Serdes.Avro.csproj +++ b/src/YCherkes.SchemaRegistry.Serdes.Avro/YCherkes.SchemaRegistry.Serdes.Avro.csproj @@ -4,21 +4,22 @@ netstandard2.0 true Avro deserializer for reading messages serialized with multiple schemas. - Copyright 2021 Yevhen Cherkes. + Copyright 2021-$([System.DateTime]::Now.Year) Yevhen Cherkes. Yevhen Cherkes Kafka;Confluent;librdkafka;multiple event types https://github.com/ycherkes/multi-schema-avro-desrializer https://github.com/ycherkes/multi-schema-avro-desrializer LICENSE - 1.0.4 - Added SpecificTypes helper. + 1.0.5 + Updated vulnerable Apache.Avro 1.10.2 library and all dependants. + README.md - - - + + + @@ -26,6 +27,10 @@ True + + True + \ + diff --git a/src/YCherkes.SchemaRegistry.Serdes.UnitTests/YCherkes.SchemaRegistry.Serdes.UnitTests.csproj b/src/YCherkes.SchemaRegistry.Serdes.UnitTests/YCherkes.SchemaRegistry.Serdes.UnitTests.csproj index 97d5d9d..c2517bf 100644 --- a/src/YCherkes.SchemaRegistry.Serdes.UnitTests/YCherkes.SchemaRegistry.Serdes.UnitTests.csproj +++ b/src/YCherkes.SchemaRegistry.Serdes.UnitTests/YCherkes.SchemaRegistry.Serdes.UnitTests.csproj @@ -7,7 +7,6 @@ -