Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to .NET 8 #1162

Merged
merged 21 commits into from
Nov 15, 2023
Merged

Update to .NET 8 #1162

merged 21 commits into from
Nov 15, 2023

Conversation

martincostello
Copy link
Member

@martincostello martincostello commented May 4, 2023

  • Update to .NET 8.
  • Remove redundant --configuration Release.
  • Use new artifacts output.

@martincostello martincostello added enhancement dependencies Pull requests that update a dependency file .NET Pull requests that update .net code labels May 4, 2023
@codecov
Copy link

codecov bot commented May 16, 2023

Codecov Report

Attention: 40 lines in your changes are missing coverage. Please review.

Comparison is base (af15259) 79.30% compared to head (5b0c04c) 78.96%.
Report is 1 commits behind head on main.

Files Patch % Lines
...rc/JustSaying/Messaging/Monitoring/LogOperation.cs 61.53% 4 Missing and 1 partial ⚠️
...tSaying/AwsTools/MessageHandling/SnsTopicByName.cs 73.33% 3 Missing and 1 partial ⚠️
...t/ServiceResolver/ServiceBuilderServiceResolver.cs 69.23% 2 Missing and 2 partials ⚠️
.../Messaging/Middleware/Backoff/BackoffMiddleware.cs 25.00% 0 Missing and 3 partials ⚠️
...wsTools/MessageHandling/ForeignTopicArnProvider.cs 0.00% 2 Missing ⚠️
.../SubscriptionGroups/SubscriptionGroupCollection.cs 66.66% 0 Missing and 2 partials ⚠️
...ng/Middleware/ExactlyOnce/ExactlyOnceMiddleware.cs 83.33% 2 Missing ⚠️
.../AwsTools/MessageHandling/LocalTopicArnProvider.cs 0.00% 1 Missing ⚠️
...ing/AwsTools/MessageHandling/SqsQueueByNameBase.cs 85.71% 1 Missing ⚠️
...JustSaying/Fluent/MessagingConfigurationBuilder.cs 0.00% 1 Missing ⚠️
... and 15 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1162      +/-   ##
==========================================
- Coverage   79.30%   78.96%   -0.35%     
==========================================
  Files         138      138              
  Lines        3330     3232      -98     
  Branches      453      451       -2     
==========================================
- Hits         2641     2552      -89     
+ Misses        454      449       -5     
+ Partials      235      231       -4     
Flag Coverage Δ
linux 78.96% <85.96%> (-0.35%) ⬇️
macos 48.96% <64.56%> (-0.66%) ⬇️
windows 49.40% <65.26%> (-0.21%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@martincostello martincostello force-pushed the dotnet-vnext branch 2 times, most recently from d81609f to 16766dd Compare May 17, 2023 09:09
martincostello added a commit to martincostello/JustSaying that referenced this pull request May 18, 2023
Cherry-pick various changes from justeattakeaway#1162.
martincostello added a commit that referenced this pull request May 18, 2023
Cherry-pick various changes from #1162.
@martincostello martincostello force-pushed the dotnet-vnext branch 2 times, most recently from 23b8361 to 2e59499 Compare May 22, 2023 13:14
@martincostello martincostello force-pushed the dotnet-vnext branch 2 times, most recently from e514a5f to 79ce1ea Compare June 20, 2023 09:49
@martincostello martincostello force-pushed the dotnet-vnext branch 2 times, most recently from 8d008ed to 95251bc Compare June 23, 2023 10:44
martincostello and others added 11 commits November 9, 2023 07:06
The Microsoft.SourceLink.GitHub package is now added automatically by the .NET SDK.
* Update .NET SDK

Update .NET SDK to version 8.0.100-preview.6.23330.14.

---
updated-dependencies:
- dependency-name: Microsoft.NET.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: jet-codeflow-maintainer[bot] <131594757+jet-codeflow-maintainer[bot]@users.noreply.github.com>

* Bump .NET NuGet packages

Bumps .NET dependencies to their latest versions for the .NET 8.0.100-preview.6.23330.14 SDK.

Bumps Microsoft.Extensions.Configuration.EnvironmentVariables from 8.0.0-preview.5.23280.8 to 8.0.0-preview.6.23329.7.
Bumps Microsoft.Extensions.Configuration.Json from 8.0.0-preview.5.23280.8 to 8.0.0-preview.6.23329.7.
Bumps Microsoft.Extensions.DependencyInjection from 8.0.0-preview.5.23280.8 to 8.0.0-preview.6.23329.7.
Bumps Microsoft.Extensions.DependencyInjection.Abstractions from 1.1.0 to 1.1.1.
Bumps Microsoft.Extensions.Hosting from 8.0.0-preview.5.23280.8 to 8.0.0-preview.6.23329.7.
Bumps Microsoft.Extensions.Logging from 8.0.0-preview.5.23280.8 to 8.0.0-preview.6.23329.7.
Bumps Microsoft.Extensions.Logging.Abstractions from 2.0.0 to 2.2.0.
Bumps Microsoft.Extensions.Logging.Console from 8.0.0-preview.5.23280.8 to 8.0.0-preview.6.23329.7.

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.Configuration.EnvironmentVariables
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.Configuration.Json
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.DependencyInjection
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.DependencyInjection.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Extensions.Hosting
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.Logging
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.Logging.Abstractions
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: Microsoft.Extensions.Logging.Console
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: jet-codeflow-maintainer[bot] <131594757+jet-codeflow-maintainer[bot]@users.noreply.github.com>

* Revert baseline versions

Undo package updates to baseline packages.

---------

Signed-off-by: jet-codeflow-maintainer[bot] <131594757+jet-codeflow-maintainer[bot]@users.noreply.github.com>
Co-authored-by: jet-codeflow-maintainer[bot] <131594757+jet-codeflow-maintainer[bot]@users.noreply.github.com>
Co-authored-by: Martin Costello <[email protected]>
Update .NET SDK to version 8.0.100-preview.7.23376.3.

---
updated-dependencies:
- dependency-name: Microsoft.NET.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: jet-codeflow-maintainer[bot] <131594757+jet-codeflow-maintainer[bot]@users.noreply.github.com>
Bumps .NET dependencies to their latest versions for the .NET 8.0.100-preview.7.23376.3 SDK.

Bumps Microsoft.Extensions.Configuration.EnvironmentVariables from 8.0.0-preview.6.23329.7 to 8.0.0-preview.7.23375.6.
Bumps Microsoft.Extensions.Configuration.Json from 8.0.0-preview.6.23329.7 to 8.0.0-preview.7.23375.6.
Bumps Microsoft.Extensions.DependencyInjection from 8.0.0-preview.6.23329.7 to 8.0.0-preview.7.23375.6.
Bumps Microsoft.Extensions.Hosting from 8.0.0-preview.6.23329.7 to 8.0.0-preview.7.23375.6.
Bumps Microsoft.Extensions.Logging from 8.0.0-preview.6.23329.7 to 8.0.0-preview.7.23375.6.
Bumps Microsoft.Extensions.Logging.Console from 8.0.0-preview.6.23329.7 to 8.0.0-preview.7.23375.6.

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.Configuration.EnvironmentVariables
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.Configuration.Json
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.DependencyInjection
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.Hosting
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.Logging
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.Logging.Console
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: jet-codeflow-maintainer[bot] <131594757+jet-codeflow-maintainer[bot]@users.noreply.github.com>
Update .NET SDK to version 8.0.100-rc.1.23455.8.

---
updated-dependencies:
- dependency-name: Microsoft.NET.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: jet-codeflow-maintainer[bot] <131594757+jet-codeflow-maintainer[bot]@users.noreply.github.com>
Co-authored-by: jet-codeflow-maintainer[bot] <131594757+jet-codeflow-maintainer[bot]@users.noreply.github.com>
Update .NET SDK to version 8.0.100-rc.1.23463.5.

---
updated-dependencies:
- dependency-name: Microsoft.NET.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: jet-codeflow-maintainer[bot] <131594757+jet-codeflow-maintainer[bot]@users.noreply.github.com>
Co-authored-by: jet-codeflow-maintainer[bot] <131594757+jet-codeflow-maintainer[bot]@users.noreply.github.com>
Update NuGet packages for RC1.
- Set SuppressTfmSupportBuildWarnings to silence warning for `net461`.
- Remove redundant references.
- Fix-up indentation.
- Use primary constructors where relevant.
- Use collection literals where relevant.
- Adopt various IDE suggestions.
- Fix typos.
- Remove redundant suppressions.
_ Skip test locally that needs AWS.
- Fix new code analysis warnings/suggestions.
* Update .NET SDK

Update .NET SDK to version 8.0.100-rc.2.23502.2.

---
updated-dependencies:
- dependency-name: Microsoft.NET.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: jet-codeflow-maintainer[bot] <131594757+jet-codeflow-maintainer[bot]@users.noreply.github.com>

* Bump .NET NuGet packages

Bumps .NET dependencies to their latest versions for the .NET 8.0.100-rc.2.23502.2 SDK.

Bumps Microsoft.Extensions.Configuration.EnvironmentVariables from 8.0.0-rc.1.23419.4 to 8.0.0-rc.2.23479.6.
Bumps Microsoft.Extensions.Configuration.Json from 8.0.0-rc.1.23419.4 to 8.0.0-rc.2.23479.6.
Bumps Microsoft.Extensions.DependencyInjection from 8.0.0-rc.1.23419.4 to 8.0.0-rc.2.23479.6.
Bumps Microsoft.Extensions.Hosting from 8.0.0-rc.1.23419.4 to 8.0.0-rc.2.23479.6.
Bumps Microsoft.Extensions.Logging from 8.0.0-rc.1.23419.4 to 8.0.0-rc.2.23479.6.
Bumps Microsoft.Extensions.Logging.Console from 8.0.0-rc.1.23419.4 to 8.0.0-rc.2.23479.6.

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.Configuration.EnvironmentVariables
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.Configuration.Json
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.DependencyInjection
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.Hosting
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.Logging
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.Logging.Console
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: jet-codeflow-maintainer[bot] <131594757+jet-codeflow-maintainer[bot]@users.noreply.github.com>

---------

Signed-off-by: jet-codeflow-maintainer[bot] <131594757+jet-codeflow-maintainer[bot]@users.noreply.github.com>
Co-authored-by: jet-codeflow-maintainer[bot] <131594757+jet-codeflow-maintainer[bot]@users.noreply.github.com>
Use the new MSBuild terminal logger.
* Update .NET SDK

Update .NET SDK to version 8.0.100.

---
updated-dependencies:
- dependency-name: Microsoft.NET.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: jet-codeflow-maintainer[bot] <131594757+jet-codeflow-maintainer[bot]@users.noreply.github.com>

* Bump .NET NuGet packages

Bumps .NET dependencies to their latest versions for the .NET 8.0.100 SDK.

Bumps Microsoft.Extensions.Configuration.EnvironmentVariables from 8.0.0-rc.2.23479.6 to 8.0.0.
Bumps Microsoft.Extensions.Configuration.Json from 8.0.0-rc.2.23479.6 to 8.0.0.
Bumps Microsoft.Extensions.DependencyInjection from 8.0.0-rc.2.23479.6 to 8.0.0.
Bumps Microsoft.Extensions.Hosting from 8.0.0-rc.2.23479.6 to 8.0.0.
Bumps Microsoft.Extensions.Logging from 8.0.0-rc.2.23479.6 to 8.0.0.
Bumps Microsoft.Extensions.Logging.Console from 8.0.0-rc.2.23479.6 to 8.0.0.

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.Configuration.EnvironmentVariables
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.Configuration.Json
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.DependencyInjection
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.Hosting
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.Logging
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.Extensions.Logging.Console
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: jet-codeflow-maintainer[bot] <131594757+jet-codeflow-maintainer[bot]@users.noreply.github.com>

---------

Signed-off-by: jet-codeflow-maintainer[bot] <131594757+jet-codeflow-maintainer[bot]@users.noreply.github.com>
Co-authored-by: jet-codeflow-maintainer[bot] <131594757+jet-codeflow-maintainer[bot]@users.noreply.github.com>
@martincostello martincostello marked this pull request as ready for review November 14, 2023 16:35
@martincostello martincostello requested a review from a team as a code owner November 14, 2023 16:35
@martincostello martincostello enabled auto-merge (squash) November 14, 2023 16:36
This was referenced Nov 14, 2023
Update Serilog.Extensions.Logging to 8.0.0.
@martincostello martincostello merged commit b97240d into main Nov 15, 2023
13 of 14 checks passed
@martincostello martincostello deleted the dotnet-vnext branch November 15, 2023 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement .NET Pull requests that update .net code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants