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

Add .net 7.0 TFM to all projects (except benchmark) #496

Merged
merged 1 commit into from
Jan 3, 2023

Conversation

cedwards-telis
Copy link

@cedwards-telis cedwards-telis commented Nov 14, 2022

Do so whilst maintaining the .net 6 TFM using multitargeting thus allowing project to be used by .net6 and .net 7 users and making tests run in both .net 6 and .net 7.

This fixes #475.

It is similar to the PR here #489 which only targets .net 7.

Also fix AddProblemDetails in sample project to use third party extension in .net 6 and built in service in .net 7 (doing this avoids naming collision because the third party library in use and the built in feature in .net 7 both use services.AddProblemDetails() ).

https://andrewlock.net/handling-web-api-exceptions-with-problemdetails-middleware/

…g .net 6 TFM. Also fix AddProblemDetails in sample project to use thrid party extension in .net 6 and built in service in .net 7 (doing this avoids naming collision).
@oscarjaergren
Copy link

Do we have any release plans for .net 7.0?

@qutayba
Copy link

qutayba commented Dec 1, 2022

Is there any plans for merging and releasing this PR?

@mnj
Copy link

mnj commented Dec 5, 2022

Would also like to know if there are any plans to release a new version with 7.0 support the changes in this PR should resolve it, it's really annoying to have to switch the project version to 6.0 to run the codegen for mapster, then switch back to 7.0 for the actual application all the time :)

@mnj
Copy link

mnj commented Dec 20, 2022

@andrerav is there any chance, we can get a new release with this PR?, it's really painful to use with .NET 7 as is :)

@andrerav
Copy link
Contributor

@mnj I will get you a pre-release package this week if everything goes to plan. Thank you for being so patient :)

@andrerav andrerav merged commit 6f858ec into MapsterMapper:development Jan 3, 2023
@andrerav
Copy link
Contributor

andrerav commented Jan 3, 2023

Pre-release packages targeting .NET 7 should be available in a few minutes on NuGet :) Thank you @cedwards-telis!

@andrerav andrerav mentioned this pull request Jan 3, 2023
@bgaprogrammer
Copy link

bgaprogrammer commented Jun 1, 2023

@cedwards-telis @andrerav When will be released the next stable version (7.4.0)?

@jeroenhabets
Copy link

@cedwards-telis @andrerav I have the same question: when do you plan to release 7.4.0 (the next stable version)?
Are there any show-stoppers?

(We are preparing a .Net8 upgrade and can only embrace this library if it is actively maintained / updates regularly released)

@andrerav
Copy link
Contributor

@bgaprogrammer and @jeroenhabets Apologies for the delays! What can I say, it's been a busy summer :) 7.4.0 has been released now, and I've opened a pull request that adds support for .NET 8 in #631. Thank you for the nudge :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants