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 #475

Merged
merged 21 commits into from
Nov 14, 2023
Merged

Update to .NET 8 #475

merged 21 commits into from
Nov 14, 2023

Conversation

martincostello
Copy link
Member

@martincostello martincostello commented May 4, 2023

  • Update to .NET 8.
  • Remove redundant --configuration Release.
  • Use new output artifacts layout.
  • Update TFMs to add net6.0 and net462 and drop net5.0, netstandard2.1 and net461.

@martincostello martincostello added enhancement dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code labels May 4, 2023
@martincostello martincostello changed the title Update to .NET 8 preview 3 Update to .NET 8 May 4, 2023
@codecov
Copy link

codecov bot commented May 4, 2023

Codecov Report

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

Comparison is base (f533ef8) 89.76% compared to head (00bc7ad) 89.85%.
Report is 1 commits behind head on main.

Files Patch % Lines
...tatsD/EndpointLookups/DnsLookupIpEndpointSource.cs 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #475      +/-   ##
==========================================
+ Coverage   89.76%   89.85%   +0.08%     
==========================================
  Files          27       27              
  Lines         606      601       -5     
  Branches      127      127              
==========================================
- Hits          544      540       -4     
+ Misses         31       30       -1     
  Partials       31       31              
Flag Coverage Δ
linux 89.18% <94.11%> (+0.07%) ⬆️
macos 89.51% <94.11%> (+0.57%) ⬆️
windows 89.51% <94.11%> (-0.26%) ⬇️

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 added a commit to martincostello/JustEat.StatsD that referenced this pull request May 18, 2023
Cherry-pick various changes from justeattakeaway#475.
martincostello added a commit that referenced this pull request May 18, 2023
Cherry-pick various changes from #475.
@martincostello martincostello force-pushed the dotnet-vnext branch 2 times, most recently from ed13668 to 6332f42 Compare May 22, 2023 13:14
@martincostello martincostello force-pushed the dotnet-vnext branch 2 times, most recently from 40090f7 to 27dfef7 Compare June 23, 2023 10:44
@martincostello martincostello force-pushed the dotnet-vnext branch 2 times, most recently from f2af627 to 9fadb38 Compare July 13, 2023 14:34
@martincostello martincostello force-pushed the dotnet-vnext branch 4 times, most recently from 1d8df4f to d52ec78 Compare August 10, 2023 09:18
@martincostello martincostello force-pushed the dotnet-vnext branch 2 times, most recently from 4cfe562 to 4439cb3 Compare September 5, 2023 15:41
martincostello and others added 2 commits November 9, 2023 08:16
- Update to preview 3 of .NET 8.
- Fix CS8350 warnings.
- Fix new code analysis warnings.
- Enable CI for the `dotnet-vnext` branch.
- Drop unsupported TFM from benchmarks.
- Remove redundant `--configuration Release`.
- Use `$PSScriptRoot`.
- Apply suggestions from Visual Studio to simplify code.
Update .NET SDK to version 8.0.100-preview.4.23260.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>
martincostello and others added 16 commits November 9, 2023 08:16
Use `UseArtifactsOutput=true` instead of explicitly setting the output path, as well as dropping explicit use of `--configuration` now that the default is `Release`.
Set the executable bit for Linux and macOS.
* Update .NET SDK

Update .NET SDK to version 8.0.100-preview.5.23303.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>

* Suppress CA1861

Suppress CA1861 in test code for readability.

---------

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 <martin@martincostello.com>
Update `Microsoft.Extensions.DependencyInjection.*` packages from preview 3.
The Microsoft.SourceLink.GitHub package is now added automatically by the .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>
Co-authored-by: jet-codeflow-maintainer[bot] <131594757+jet-codeflow-maintainer[bot]@users.noreply.github.com>
Bump `Microsoft.Extensions.DependencyInjection` and `Microsoft.Extensions.DependencyInjection.Abstractions` to .NET 8 preview versions.
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>
Co-authored-by: jet-codeflow-maintainer[bot] <131594757+jet-codeflow-maintainer[bot]@users.noreply.github.com>
Update Microsoft.Extensions.* packages to 8.0.0-preview.7.23375.6.
- Fix packages after bad rebase.
- Revert `scoped` changes after change to use C# 10.
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 packages for RC.1.
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>
- Use target-typed new expressions.
- Simplify using statements.
- Remove redundant suppressions.
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>
Co-authored-by: jet-codeflow-maintainer[bot] <131594757+jet-codeflow-maintainer[bot]@users.noreply.github.com>
Update NuGet packages for RC2
martincostello and others added 3 commits November 14, 2023 12:41
- Add `net6.0`.
- Add `net462`.
- Remove `net5.0`, `netstandard2.1` and `net461`.
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>
Co-authored-by: jet-codeflow-maintainer[bot] <131594757+jet-codeflow-maintainer[bot]@users.noreply.github.com>
Use stable package versions for .NET 8.
@martincostello martincostello marked this pull request as ready for review November 14, 2023 16:29
@martincostello martincostello requested a review from a team as a code owner November 14, 2023 16:29
@martincostello martincostello enabled auto-merge (squash) November 14, 2023 16:31
@martincostello martincostello merged commit db6b187 into main Nov 14, 2023
13 checks passed
@martincostello martincostello deleted the dotnet-vnext branch November 14, 2023 16:38
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.

None yet

1 participant