Open martincostello opened 1 month ago
@martincostello Thoughts on updating the templates in 8.0 as well?
@captainsafia Do you mean the versions referenced by the templates in dotnet/aspnetcore? If so I'm happy to do that if that meets the backport bar.
@captainsafia Do you mean the versions referenced by the templates in dotnet/aspnetcore? If so I'm happy to do that if that meets the backport bar.
Yep, that's what I meant. I think we can make the case for it given that .NET 8 is LTS and the lack of support for net8.0 in 6.5.0 is a blocker for build-time doc gen.
OK cool - I'll do a PR for that tomorrow 👍
Maybe wait with the template update until 6.6.2 is released? Or even a bit longer to give people the chance to test the new version and report bugs.
Maybe wait with the template update until 6.6.2 is released? Or even a bit longer to give people the chance to test the new version and report bugs.
Good point! Given the volume of changes that were merged over the past few weeks, it might be good to give things more bake time.
Thoughts on updating the templates in 8.0 as well?
Is this actually feasible? I've just learned that no template changes for existing major .NET versions can be shipped without a "patching request" path and adding features/bumping versions would not meet the bar of value vs risk. Source: https://github.com/dotnet/test-templates/issues/388#issuecomment-2117461282
And .NET 9 templates will not include Swashbuckle at all (see dotnet/aspnetcore#54599).
It is yes feasible, yes - that's specifically what I already asked Safia already: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/2857#issuecomment-2110754418.
If a member of the .NET team thinks it's a good idea, then it's at least worth opening a PR as presumably they would support the PR getting approved by their process.
And .NET 9 templates will not include Swashbuckle at all
We know this - but this is a conversation about .NET 8, which is supported until November 2026.
I'll give 6.6.2 a few days to bed-in, then if we don't get any big new issues from 6.6.x I'll do the PR to the release/8.0 branch.
6.6.2 looks good and the documentation has already been updated. Will the templates be updated to 6.6.2 or do you want to wait for 6.7.0?
Thanks for the reminder, I'd forgotten about this.
@captainsafia Looking at the release/8.0 branch it seems like the templates are configured to always pull the latest version, so I don't think we actually need to do anything?
Isn't this the actual template file? That sets a version, and I think it gets it from here. See also https://github.com/dotnet/aspnetcore/pull/47861
Ah yes - clearly my Visual Studio Code search didn't find that.
Raise a pull request to edit getting-started-with-swashbuckle.md once Swashbuckle.AspNetCore 6.6.1 is released to:
See https://github.com/dotnet/AspNetCore.Docs/issues/32477#issuecomment-2099910191.