Skip to content

Commit

Permalink
Upgrading to the latest versions of dependencies
Browse files Browse the repository at this point in the history
* Moving to more recent versions of almost all dependencies in
preparation for move to SDK 1.0.4.
* This should make the move to the released SDK smoother with more
compatible versions of the various libraries.
* We leave the MSTest libs alone for now as the later versions exhibit
different behavior.
  • Loading branch information
ebekker committed Jun 28, 2017
1 parent ba15258 commit 2a0062c
Show file tree
Hide file tree
Showing 14 changed files with 86 additions and 71 deletions.
13 changes: 8 additions & 5 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"projects": [
"src",
"test"
],
"sdk": {
"version": "1.0.0-preview2-003131"
}
},
"projects": [
"src",
"src/bundles",
"test",
"test/client",
"test/server"
]
}
10 changes: 5 additions & 5 deletions src/Tug.Base/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
},

"dependencies": {
"Microsoft.Composition": "1.0.30",
"Microsoft.Composition": "1.0.31",
"Microsoft.Extensions.PlatformAbstractions": "1.1.0",
"Microsoft.Extensions.DependencyModel": "1.1.0",
"Microsoft.Extensions.DependencyModel": "1.1.2",

"Microsoft.Extensions.Logging": "1.1.0",
"Microsoft.Extensions.Configuration": "1.1.0",
"Microsoft.Extensions.Logging": "1.1.2",
"Microsoft.Extensions.Configuration": "1.1.2",

"Microsoft.AspNetCore.Mvc": "1.1.0"
"Microsoft.AspNetCore.Mvc": "1.1.3"
},

"frameworks": {
Expand Down
20 changes: 10 additions & 10 deletions src/Tug.Client/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@
},

"dependencies": {
"Microsoft.Extensions.Logging.Console": "1.1.0",
"NLog.Extensions.Logging": "1.0.0-rtm-alpha5",
"Microsoft.Extensions.CommandLineUtils": "1.1.0",
"Microsoft.Extensions.Configuration.Json": "1.1.0",
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.1.0",
"Microsoft.Extensions.Configuration.CommandLine": "1.1.0",
"Microsoft.Extensions.Configuration.UserSecrets": "1.1.0",
"Microsoft.Extensions.Configuration.Binder": "1.1.0",
"Microsoft.Extensions.Logging.Console": "1.1.2",
"NLog.Extensions.Logging": "1.0.0-rtm-beta5",
"Microsoft.Extensions.CommandLineUtils": "1.1.1",
"Microsoft.Extensions.Configuration.Json": "1.1.2",
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.1.2",
"Microsoft.Extensions.Configuration.CommandLine": "1.1.2",
"Microsoft.Extensions.Configuration.UserSecrets": "1.1.2",
"Microsoft.Extensions.Configuration.Binder": "1.1.2",

"Newtonsoft.Json": "9.0.1",
"Newtonsoft.Json": "10.0.3",

"Tug.Base": {
"target": "project"
Expand All @@ -55,7 +55,7 @@
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.1"
"version": "1.1.2"
},

// For System.Net.WebProxy and others
Expand Down
6 changes: 3 additions & 3 deletions src/Tug.Server.Base/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
},

"dependencies": {
"Microsoft.Extensions.Logging": "1.1.0",
"Microsoft.Extensions.Configuration": "1.1.0",
"Microsoft.Extensions.Logging": "1.1.2",
"Microsoft.Extensions.Configuration": "1.1.2",

"Microsoft.AspNetCore.Mvc": "1.1.1",
"Microsoft.AspNetCore.Mvc": "1.1.3",

"Tug.Base": {
"target": "project"
Expand Down
8 changes: 8 additions & 0 deletions src/Tug.Server.FaaS.AwsLambda/FunctionMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@ protected void ResolveHostConfig()
}
}

// We no longer need to do this kludge since this PR was accepted:
// https://github.com/aws/aws-lambda-dotnet/pull/75
//
// We will delete this bit of old reference code in a forthcoming
// commit after testing and some usage confirms expected behavior

/*
#region -- Temporary Binary Response Content Kludge --
// We've temporarily re-implemented some of the functionality in the base class so that
Expand Down Expand Up @@ -195,5 +202,6 @@ public class MyAPIGatewayProxyResponse : APIGatewayProxyResponse
// }
#endregion -- Temporary Binary Response Content Kludge --
*/
}
}
49 changes: 26 additions & 23 deletions src/Tug.Server.FaaS.AwsLambda/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,39 +26,42 @@
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.1"
"version": "1.1.2"
},

"Microsoft.Extensions.Configuration.Json": "1.1.0",
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.1.0",
"Microsoft.Extensions.Configuration.FileExtensions": "1.1.0",
"Microsoft.Extensions.Configuration.Binder": "1.1.0",
"Microsoft.Extensions.Logging": "1.1.0",
"Microsoft.Extensions.Options.ConfigurationExtensions": "1.1.0",
"Microsoft.Extensions.Configuration.Json": "1.1.2",
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.1.2",
"Microsoft.Extensions.Configuration.FileExtensions": "1.1.2",
"Microsoft.Extensions.Configuration.Binder": "1.1.2",
"Microsoft.Extensions.Logging": "1.1.2",
"Microsoft.Extensions.Options.ConfigurationExtensions": "1.1.2",

// For testing out on dev-local
"Microsoft.AspNetCore.Server.Kestrel": "1.1.0",
"Microsoft.AspNetCore.Server.IISIntegration": "1.1.0",
"Microsoft.AspNetCore.Server.Kestrel": "1.1.2",
"Microsoft.AspNetCore.Server.IISIntegration": "1.1.2",

"Microsoft.AspNetCore.Hosting": "1.1.0",
"Microsoft.AspNetCore.Mvc": "1.1.1",
"Microsoft.AspNetCore.Routing": "1.1.0",
"Microsoft.AspNetCore.Hosting": "1.1.2",
"Microsoft.AspNetCore.Mvc": "1.1.3",
"Microsoft.AspNetCore.Routing": "1.1.2",

"AWSSDK.Core": "3.3.8.2",
"AWSSDK.Extensions.NETCore.Setup": "3.3.0.3",
"AWSSDK.DynamoDBv2": "3.3.2.1",
"AWSSDK.S3": "3.3.5.7",
"AWSSDK.CloudFront": "3.3.2.3",
"AWSSDK.Core": "3.3.14.2",
"AWSSDK.IdentityManagement":"3.3.4",
"AWSSDK.CloudFormation":"3.3.5.3",
"AWSSDK.Extensions.NETCore.Setup": "3.3.1",
"AWSSDK.DynamoDBv2": "3.3.4.13",
"AWSSDK.S3": "3.3.7",
"AWSSDK.CloudFront": "3.3.4.1",
"AWSSDK.Lambda":"3.3.7",

"Amazon.Lambda.Core": "1.0.0",
"Amazon.Lambda.APIGatewayEvents": "1.0.2",
"Amazon.Lambda.Serialization.Json": "1.0.1",
"Amazon.Lambda.AspNetCoreServer": "0.9.0-preview1",
"Amazon.Lambda.Logging.AspNetCore": "1.0.0",
"Amazon.Lambda.APIGatewayEvents": "1.1.0",
"Amazon.Lambda.Serialization.Json": "1.1.0",
"Amazon.Lambda.AspNetCoreServer": "0.10.2-preview1",
"Amazon.Lambda.Logging.AspNetCore": "1.1.0",

"Amazon.Lambda.Tools": {
"type": "build",
"version": "1.3.0-preview1"
"version": "1.6.0"
},

"Tug.Base": {
Expand All @@ -70,7 +73,7 @@
},

"tools": {
"Amazon.Lambda.Tools" : "1.3.0-preview1"
"Amazon.Lambda.Tools" : "1.6.0"
},

"publishOptions": {
Expand Down
1 change: 1 addition & 0 deletions src/Tug.Server/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
using Microsoft.Extensions.Logging;
using Newtonsoft.Json.Converters;
using NLog.Extensions.Logging;
using NLog.Web;
using Tug.Server.Configuration;
using Tug.Server.Filters;
using Tug.Server.Util;
Expand Down
28 changes: 14 additions & 14 deletions src/Tug.Server/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,22 +62,22 @@
},

"dependencies": {
"Microsoft.Extensions.Logging.Console": "1.1.0",
"NLog.Extensions.Logging": "1.0.0-rtm-alpha5",
"Microsoft.Extensions.Logging.Console": "1.1.2",
"NLog.Web.AspNetCore": "4.4.1",

"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.1.0",
"Microsoft.Extensions.Configuration.FileExtensions": "1.1.0",
"Microsoft.Extensions.Configuration.Json": "1.1.0",
"Microsoft.Extensions.Configuration.CommandLine": "1.1.0",
"Microsoft.Extensions.Configuration.UserSecrets": "1.1.0",
"Microsoft.Extensions.Options.ConfigurationExtensions": "1.1.0",
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.1.2",
"Microsoft.Extensions.Configuration.FileExtensions": "1.1.2",
"Microsoft.Extensions.Configuration.Json": "1.1.2",
"Microsoft.Extensions.Configuration.CommandLine": "1.1.2",
"Microsoft.Extensions.Configuration.UserSecrets": "1.1.2",
"Microsoft.Extensions.Options.ConfigurationExtensions": "1.1.2",

"Microsoft.AspNetCore.Diagnostics": "1.1.0",
"Microsoft.AspNetCore.Routing": "1.1.0",
"Microsoft.AspNetCore.Mvc": "1.1.1",
"Microsoft.AspNetCore.Diagnostics": "1.1.2",
"Microsoft.AspNetCore.Routing": "1.1.2",
"Microsoft.AspNetCore.Mvc": "1.1.3",

"Microsoft.AspNetCore.Server.IISIntegration": "1.1.0",
"Microsoft.AspNetCore.Server.Kestrel": "1.1.0",
"Microsoft.AspNetCore.Server.IISIntegration": "1.1.2",
"Microsoft.AspNetCore.Server.Kestrel": "1.1.2",

"Tug.Base": {
"target": "project"
Expand All @@ -102,7 +102,7 @@
"Microsoft.NETCore.App": {
// This will generate a framework-dependent deployment
"type": "platform",
"version": "1.0.1"
"version": "1.1.2"
},
"System.Security.Cryptography.Algorithms": "4.3.0"
}
Expand Down
2 changes: 1 addition & 1 deletion test/Tug.Ext-tests-aux/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.1"
"version": "1.1.2"
}
}
},
Expand Down
6 changes: 3 additions & 3 deletions test/Tug.Ext-tests/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
// "xunit": "2.1.0",
// "dotnet-test-xunit": "1.0.0-rc2-192208-24"

"Microsoft.Extensions.Logging": "1.1.0",
"Microsoft.Extensions.Logging": "1.1.2",

"dotnet-test-mstest": "1.1.2-preview",
"MSTest.TestFramework": "1.1.11",
"MSTest.TestFramework": "1.1.18",

// Assemblies under test
"Tug.Base": {
Expand All @@ -46,7 +46,7 @@
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.1"
"version": "1.1.2"
},
"System.Runtime.Loader": "4.3.0"
}
Expand Down
2 changes: 1 addition & 1 deletion test/Tug.UnitTesting/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.1"
"version": "1.1.2"
}
},
"imports": [
Expand Down
2 changes: 1 addition & 1 deletion test/client/Tug.Client-tests/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.1"
"version": "1.1.2"
}
},
"imports": [
Expand Down
4 changes: 2 additions & 2 deletions test/server/Tug.Server-itests/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"MSTest.TestFramework": "1.1.11",

// ASP.NET Core Test Host
"Microsoft.AspNetCore.TestHost": "1.1.0",
"Microsoft.AspNetCore.TestHost": "1.1.2",

// Assemblies with additional test support
"Tug.UnitTesting": {
Expand Down Expand Up @@ -67,7 +67,7 @@
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.1"
"version": "1.1.2"
},
"System.Security.Cryptography.Algorithms": "4.3.0"
}
Expand Down
6 changes: 3 additions & 3 deletions test/server/Tug.Server.FaaS.AwsLambda-tests/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.1"
"version": "1.1.2"
},

"Microsoft.DotNet.InternalAbstractions": "1.0.0",

"Amazon.Lambda.Core": "1.0.0*",
"Amazon.Lambda.APIGatewayEvents": "1.0.2",
"Amazon.Lambda.APIGatewayEvents": "1.1.0",
"Amazon.Lambda.TestUtilities": "1.0.0",

"xunit": "2.1.0-*",
"xunit": "2.2.0-*",
"dotnet-test-xunit": "2.2.0-*",

"Tug.Server.FaaS.AwsLambda": {
Expand Down

0 comments on commit 2a0062c

Please sign in to comment.