Skip to content

Commit

Permalink
Updates to project dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocav committed Jan 27, 2024
1 parent 652a7f6 commit 8a4944d
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 27 deletions.
2 changes: 1 addition & 1 deletion extensions/Worker.Extensions.Tables/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- My change description (#PR/#issue)
-->

### Microsoft.Azure.Functions.Worker.Extensions.Tables 1.2.2
### Microsoft.Azure.Functions.Worker.Extensions.Tables 1.3.0

- Updating `Microsoft.Azure.WebJobs.Extensions.Tables` reference to 1.2.1
- Updating `Azure.Data.Tables` dependency to 12.8.2
Expand Down
6 changes: 5 additions & 1 deletion release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,8 @@

### Microsoft.Azure.Functions.Worker.Grpc 1.16.0

- Updating `Azure.Core` to 1.37.0
- Updating `Azure.Core` to 1.37.0
- Updating `Google.Protobuf` to 3.25.2
- Updating `Grpc.Net.Client` to 2.60.0
- Updating `Grpc.Net.ClientFactory` to 2.60.0
- Updating `Grpc.Core` to 2.46.6 (netstandard2.0 only)
2 changes: 0 additions & 2 deletions samples/EntityFramework/EntityFramework.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.1.0" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.16.4" />
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.20.1" />

<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.1">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand All @@ -18,7 +17,6 @@
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="System.Net.NameResolution" Version="4.3.0" />


<!--
The following references have been promoted from transitive dependencies due to CVE impacted versions
brought by Microsoft.EntityFrameworkCore.SqlServer 8.0.1. Once there's a new version with updated dependencies, these
Expand Down
8 changes: 4 additions & 4 deletions src/DotNetWorker.Grpc/DotNetWorker.Grpc.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<ItemGroup>
<PackageReference Include="Azure.Core" Version="1.37.0" />
<PackageReference Include="Google.Protobuf" Version="3.23.3" />
<PackageReference Include="Google.Protobuf" Version="3.25.2" />
<PackageReference Include="Grpc.Tools" Version="2.60.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand All @@ -32,15 +32,15 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' != 'netstandard2.0'">
<PackageReference Include="Grpc.Net.Client" Version="2.55.0" />
<PackageReference Include="Grpc.Net.ClientFactory" Version="2.55.0" />
<PackageReference Include="Grpc.Net.Client" Version="2.60.0" />
<PackageReference Include="Grpc.Net.ClientFactory" Version="2.60.0" />
</ItemGroup>

<!--For applications using the .NET Standard 2.0 target/.NET Framework apps
we use the legacy Grpc.Core package instead, due to limitations with the current
Grpc.Net.Client implementation-->
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="Grpc.Core" Version="2.45.0" />
<PackageReference Include="Grpc.Core" Version="2.46.6" />
<Compile Remove="NativeHostIntegration/**" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ public void StorageFunctions()

AssertDictionary(extensions, new Dictionary<string, string>
{
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Queues", "5.1.3" },
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Blobs", "5.2.0" },
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Queues", "5.2.1" },
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Blobs", "5.2.2" },
});

void ValidateQueueTrigger(ExpandoObject b)
Expand Down Expand Up @@ -267,7 +267,7 @@ public void BlobStorageFunctions_SDKTypeBindings()

AssertDictionary(extensions, new Dictionary<string, string>
{
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Blobs", "5.2.0" },
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Blobs", "5.2.2" },
});

var blobClientToBlobStringFunction = functions.Single(p => p.Name == "BlobClientToBlobStringFunction");
Expand Down Expand Up @@ -353,7 +353,7 @@ public void BlobCollectionFunctions_SDKTypeBindings()

AssertDictionary(extensions, new Dictionary<string, string>
{
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Blobs", "5.2.0" },
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Blobs", "5.2.2" },
});

var blobStringToBlobClientEnumerable = functions.Single(p => p.Name == "BlobStringToBlobClientEnumerable");
Expand Down Expand Up @@ -454,7 +454,7 @@ public void TableFunctions_SDKTypeBindings()

AssertDictionary(extensions, new Dictionary<string, string>
{
{ "Microsoft.Azure.WebJobs.Extensions.Tables", "1.2.0" },
{ "Microsoft.Azure.WebJobs.Extensions.Tables", "1.2.1" },
});

var tableEntityFunction = functions.Single(p => p.Name == "TableEntityFunction");
Expand Down Expand Up @@ -546,7 +546,7 @@ public void QueueStorageFunctions_SDKTypeBindings()

AssertDictionary(extensions, new Dictionary<string, string>
{
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Queues", "5.1.3" },
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Queues", "5.2.1" },
});

var queueMessageTriggerFunction = functions.Single(p => p.Name == nameof(SDKTypeBindings_Queue.QueueMessageTrigger));
Expand Down Expand Up @@ -604,8 +604,8 @@ public void MultiOutput_OnReturnType()

AssertDictionary(extensions, new Dictionary<string, string>
{
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Queues", "5.1.3" },
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Blobs", "5.2.0" },
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Queues", "5.2.1" },
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Blobs", "5.2.2" },
});

void ValidateQueueTrigger(ExpandoObject b)
Expand Down Expand Up @@ -670,7 +670,7 @@ public void MultiOutput_OnReturnType_WithHttp()

AssertDictionary(extensions, new Dictionary<string, string>
{
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Queues", "5.1.3" }
{ "Microsoft.Azure.WebJobs.Extensions.Storage.Queues", "5.2.1" }
});

void ValidateHttpTrigger(ExpandoObject b)
Expand Down Expand Up @@ -806,7 +806,7 @@ public void CardinalityManyFunctions(string functionName, string entryPoint, boo
b => ValidateTrigger(b, cardinalityMany));

AssertDictionary(extensions, new Dictionary<string, string>(){
{ "Microsoft.Azure.WebJobs.Extensions.EventHubs", "6.0.1" }
{ "Microsoft.Azure.WebJobs.Extensions.EventHubs", "6.0.2" }
});

void ValidateTrigger(ExpandoObject b, bool many)
Expand Down Expand Up @@ -978,7 +978,7 @@ public void ServiceBus_SDKTypeBindings()

AssertDictionary(extensions, new Dictionary<string, string>
{
{ "Microsoft.Azure.WebJobs.Extensions.ServiceBus", "5.13.4" },
{ "Microsoft.Azure.WebJobs.Extensions.ServiceBus", "5.13.5" },
});

var serviceBusTriggerFunction = functions.Single(p => p.Name == nameof(SDKTypeBindings_ServiceBus.ServiceBusTriggerFunction));
Expand Down Expand Up @@ -1031,7 +1031,7 @@ public void EventHubs_SDKTypeBindings()

AssertDictionary(extensions, new Dictionary<string, string>
{
{ "Microsoft.Azure.WebJobs.Extensions.EventHubs", "6.0.1" },
{ "Microsoft.Azure.WebJobs.Extensions.EventHubs", "6.0.2" },
});

var eventHubTriggerFunction = functions.Single(p => p.Name == nameof(SDKTypeBindings_EventHubs.EventHubTriggerFunction));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public async ValueTask ExecuteAsync(FunctionContext context)
private IFunctionExecutor CreateDefaultExecutorInstance(FunctionContext context)
{
var defaultExecutorFullName = "Microsoft.Azure.Functions.Worker.Invocation.DefaultFunctionExecutor, Microsoft.Azure.Functions.Worker.Core, Version=1.16.1.0, Culture=neutral, PublicKeyToken=551316b6919f366c";
var defaultExecutorFullName = "Microsoft.Azure.Functions.Worker.Invocation.DefaultFunctionExecutor, Microsoft.Azure.Functions.Worker.Core, Version=1.17.0.0, Culture=neutral, PublicKeyToken=551316b6919f366c";
var defaultExecutorType = Type.GetType(defaultExecutorFullName);
return ActivatorUtilities.CreateInstance(context.InstanceServices, defaultExecutorType) as IFunctionExecutor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ public partial class FunctionExecutorGeneratorTests
typeof(QueueMessage).Assembly,
typeof(EventData).Assembly,
typeof(BlobInputAttribute).Assembly,
typeof(LoggingServiceCollectionExtensions).Assembly,
typeof(ServiceProviderServiceExtensions).Assembly,
typeof(ServiceCollection).Assembly,
typeof(ILogger).Assembly,
typeof(IConfiguration).Assembly,
typeof(HostBuilder).Assembly,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public sealed class NotGeneratedTests
typeof(FunctionAttribute).Assembly,
typeof(LoggingServiceCollectionExtensions).Assembly,
typeof(ServiceProviderServiceExtensions).Assembly,
typeof(ServiceCollection).Assembly,
typeof(ILogger).Assembly,
typeof(IConfiguration).Assembly,
typeof(HostBuilder).Assembly,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public sealed class NotGeneratedTests
{
typeof(HttpTriggerAttribute).Assembly, typeof(FunctionAttribute).Assembly,
typeof(LoggingServiceCollectionExtensions).Assembly,
typeof(ServiceProviderServiceExtensions).Assembly, typeof(ServiceCollection).Assembly,
typeof(ServiceProviderServiceExtensions).Assembly,
typeof(ILogger).Assembly, typeof(IConfiguration).Assembly, typeof(HostBuilder).Assembly,
typeof(IHostBuilder).Assembly
};
Expand Down
4 changes: 2 additions & 2 deletions test/SdkE2ETests/PublishTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ private async Task RunPublishTest(string outputDir, string additionalParams = nu
"Microsoft.Azure.WebJobs.Extensions.FunctionMetadataLoader.Startup, Microsoft.Azure.WebJobs.Extensions.FunctionMetadataLoader, Version=1.0.0.0, Culture=neutral, PublicKeyToken=551316b6919f366c",
@"./.azurefunctions/Microsoft.Azure.WebJobs.Extensions.FunctionMetadataLoader.dll"),
new Extension("AzureStorageBlobs",
"Microsoft.Azure.WebJobs.Extensions.Storage.AzureStorageBlobsWebJobsStartup, Microsoft.Azure.WebJobs.Extensions.Storage.Blobs, Version=5.2.0.0, Culture=neutral, PublicKeyToken=92742159e12e44c8",
"Microsoft.Azure.WebJobs.Extensions.Storage.AzureStorageBlobsWebJobsStartup, Microsoft.Azure.WebJobs.Extensions.Storage.Blobs, Version=5.2.2.0, Culture=neutral, PublicKeyToken=92742159e12e44c8",
@"./.azurefunctions/Microsoft.Azure.WebJobs.Extensions.Storage.Blobs.dll"),
new Extension("AzureStorageQueues",
"Microsoft.Azure.WebJobs.Extensions.Storage.AzureStorageQueuesWebJobsStartup, Microsoft.Azure.WebJobs.Extensions.Storage.Queues, Version=5.1.3.0, Culture=neutral, PublicKeyToken=92742159e12e44c8",
"Microsoft.Azure.WebJobs.Extensions.Storage.AzureStorageQueuesWebJobsStartup, Microsoft.Azure.WebJobs.Extensions.Storage.Queues, Version=5.2.1.0, Culture=neutral, PublicKeyToken=92742159e12e44c8",
@"./.azurefunctions/Microsoft.Azure.WebJobs.Extensions.Storage.Queues.dll")
}
});
Expand Down

0 comments on commit 8a4944d

Please sign in to comment.