blowdart / idunno.Authentication

A filled with self-loathing implementation of Basic Authentication, and Certificate Authentication to make me feel like a real security person, all for for ASP.NET Core
Apache License 2.0
406 stars 69 forks source link

Add build target for .NET 6.0 #50

Closed yang-er closed 2 years ago

yang-er commented 2 years ago

Checklists for Pull requests

About pull request itself:

Commits:

Licensing:

Branching:

Pull request description

blowdart commented 2 years ago

This did give me a suitable kick to fix up the build pipeline and add a new target, but your PR adds nullable support, which breaks everything before it. It'd no longer compile for netstandard2, or 3.1 which makes this a big break.

While it's possible to manage this through manually adding attribute definitions what do you think adding nullable support adds to the package?

yang-er commented 2 years ago

Not sure why adding nullable check would break compilation. Maybe add <LangVersion>8.0</LangVersion> could resolve this.

Actually nullable check is not a must for this nuget package, but I just wanted to align with what ASP.NET Core 5.0 did. :D

blowdart commented 2 years ago

Ah fair enough. I've gotten a fixed build pipeline done over the weekend (along with code signing which has bugged me forever). That also added a 6.0 target, so it'll fulfil that requirement for you, I just need to get code coverage back and working again now coverlet supports deterministic builds and I'll release a new version. Probably later today or tomorrow.

yang-er commented 2 years ago

Yeah, take your time.

BTW, seems the netcoreapp3.1 version worked well on net6.0 (and I have kept the situation for about 3 months), but I am not sure if there was some hidden bug so I just wanted a target framework upgrade :D

blowdart commented 2 years ago

OK 2.2.3 is up with .NET 6 support, it's up to you if you want the rebase fun and games and consider nullable support worth adding :)