-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[kotlin] Ktor server upgrade (v1.5.2) #9088
Conversation
@rsinukov thanks for the PR. Is it a breaking change with or without fallback? |
I am not sure what exactly you mean by breaking change. It will generate projects with updated dependencies and update usage of Ktor to the newest API. So that generated code will be changed and users will need to update their code. In terms of the generator itself, I added one flag, that has the default value to support previous behaviour. So no breaking change here, only additive. |
Looks like a breaking change as the users will need to update their code accordingly so this change should target 6.0.x branch instead. I wonder if the new feature |
It can be in separate PR in theory, but to make it work as it is designed, it would still be a breaking change. |
To move it forward, I will include it in the upcoming "minor" release 5.2.0 and created kotlin-server-deprecated generator in case users want to stick with the current version/output. I'll merge this after the 5.1.1 release due shortly. |
Ok, I'll update PR and will keep old version in |
Please hold on ... |
Merged. Please file a PR to create |
Resolves #9087 |
#9087
Hi,
I am part of the Ktor team.
This PR updates Ktor server generator to the newest version of Kotlin and Ktor. Changes:
Locations
feature or default routingget
requests tooPR checklist
...
master
,5.1.x
,6.0.x
@jimschubert (2017/09), @dr4ke616 (2018/08) @karismann (2019/03) @Zomzog (2019/04) @andrewemery (2019/10) @4brunu (2019/11) @yutaka0m (2020/03)