Connexion 3 alpha release is out now! 🎉 #1660
Replies: 14 comments 28 replies
-
Started testing the starlette app and found 2 issues:
|
Beta Was this translation helpful? Give feedback.
-
Further exploring the AsyncApp, why does AsyncApp.middleware_app.app return a Starlette Router rather than a Starlette app? (FlaskApp.middleware_app.app returns a flask app and the old AioHttp did the same) Context: trying to configure opentelemetry without writing custom a connexion middleware. Unfortunately this seems to require a starlette app rather than a Router |
Beta Was this translation helpful? Give feedback.
-
First off, congrats to the team for getting to the 3.0.0 release. Is there an expected migration path for 2.x projects built upon AioHttp? I'm guessing not, since AioHttp (to the best of my knowledge) is not ASGI compatioble and the team there seems to have given up on development of the 4.x branch. Or do I have this wrong? |
Beta Was this translation helpful? Give feedback.
-
Hi @RobbeSneyders , i created an issue, but i cant tag it with the 3.0.0 milestone: #1670 ... congratz on the release progress! looking forward! |
Beta Was this translation helpful? Give feedback.
-
According to the docs, "Connexion now exposes context, operation, receive, scope as global request-level context".
.. how would I access the request headers? Connexion 2.x EDIT: After some digging around I've found I can use
Is this what I am supposed to do? |
Beta Was this translation helpful? Give feedback.
-
Thanks for this work! I am migrating one of our applications to connexion 3 (with starlette) from connexion 2 (with flask). I am facing some difficulties is accessing form or files data. I am able to access query_params without any issues using I am able to port almost everything except for this error in reading uploaded files as multipart form field.
Even Even if I place this inside a try, catch, there are no error messages and the app isn't returning anything. |
Beta Was this translation helpful? Give feedback.
-
Ran into a peculiar issue - we have 2 APIs defined in OpenAPI yml - Since /exceptions/{exception-id} is defined before the /exceptions/dates API, Starlette routing picks up the first API all the time. This used to work with connexion 2.0. I am guessing the right fix is changing the order but wanted to bring it to your notice here. |
Beta Was this translation helpful? Give feedback.
-
Hi @RobbeSneyders Do you think CORS support be made part of the default implementation since the order in which the middleware is inserted matters? |
Beta Was this translation helpful? Give feedback.
-
Hi, thank you for all the hard work on Connexion. Is there a ballpark date for beta/rc? |
Beta Was this translation helpful? Give feedback.
-
It seems to have gone awfully quiet with this project, can we get an update please? |
Beta Was this translation helpful? Give feedback.
-
Hi, first things first: congrats! I was wondering if it would be possible to easily migrate to v3 and migrate flask to quart (=keep the migration fairly short but enables async coding). According to the docs, this will not be possible, because automatic routing / parameter injection / response serialization will not be available. Can this somehow be added "manually" (without implementing it explicitly :))? or is this not foreseen? |
Beta Was this translation helpful? Give feedback.
-
I don't have a question but I need to congratulate you somehow! Ported a Connexion 2 application that uses Django's ORM behind the scenes in a few hours. So far everything just works. |
Beta Was this translation helpful? Give feedback.
-
excited for final release |
Beta Was this translation helpful? Give feedback.
-
Connexion 3 is out now! 🎉 |
Beta Was this translation helpful? Give feedback.
-
We've been working on Connexion 3 for about a year now, and we're happy to finally be able to release a first alpha release. The goal of the alpha release is to provide users the ability to test the new version and provide feedback while we further polish the codebase and update the documentation.
🛠️ Connexion 3 brings some major changes:
AsyncApp
based on Starlette which is almost a drop-in replacement for the FlaskApp.But these are only the highlights. There's a whole list of changes, fixes, and improvements, which you can read about in the changelog.
📃 Documentation
We still need to update the documentation for Connexion 3, but in the meantime, we've created a single page which provides high level documentation to get started with the new version here.
📣 Feedback
We would really love to hear from you. By trying Connexion 3 now and providing feedback, you get the opportunity to make sure that updating your application will be as painless as possible, while helping to create a more stable GA release.
Beta Was this translation helpful? Give feedback.
All reactions