v17 should use swashbuckle 10 #20902
Replies: 4 comments 9 replies
-
|
Hi @bielu Thanks for reaching out with this 💪 It's been on our radar, but we have chosen to forego this for a few reasons. First of all, the v10.0 release of The main reason, however, is that we're investigating a move to Of course, one does not necessarily exclude the other, but... since both bring about breaking changes for anyone generating custom schemas, we don't want to introduce additional breakage in Umbraco 17, if we're going to replace the whole thing and break it all over again in Umbraco 18+. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, To add some extra information - we have already seen two issues raised for this against the uSync repo
But upgrading to v10.* is a big breaking change (to be honest it's a shocking breaking change by Microsoft this one!). The Missing The core base class having this might mitigate the issue, but there is also the fact that they have moved the namespace for the models. so the if this changed before the release it would break all packages that use IOperationFilters or indeed have Custom SwaggerGenOption configure code ? (e.g almost all of them?) |
Beta Was this translation helpful? Give feedback.
-
|
Hi both of you 👋
☝️ This just goes to show that the Umbraco community is the best! 💯 We're going to have to reevaluate matters based on the EOL of the
None of these options are any kind of desirable. As of right now, the latter option is likely the most realistic one. I will get back to you with more information early next week. |
Beta Was this translation helpful? Give feedback.
-
|
Although it can probably not always be avoided, I really REALLY would hate breaking changes in minor versions. That goes against the idea of having major versions. Isn't there a way - if it cant get into the v17 release on time - to solve this non breaking by keeping the old in as obsolete? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When upgrading my code to v17 i noticed umbraco v17-rc2 is using swashbuckle v 9.0.6, however for .net 10 is better to use v10.
For reference release logs for v10:
https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases/tag/v10.0.0
I recommend using 10.0.1 however with small fixes :)
There is upgrade guide:
https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/master/docs/migrating-to-v10.md
There is a lot important changes in v10, like proper support for openapi 3.1. :)
Beta Was this translation helpful? Give feedback.
All reactions