Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
This will need to work with middleware, hooks, error handlers, media handlers, etc.
See also: #1055
Hey there @kgriffs,
I was wondering what you thought the timeline on this would be? I have a project where I am going to use websockets for real-time collaboration. I'm not trying to rush you or anything like that; I know this release will include big changes. I'm currently writing the core api in falcon and trying to decide if I should use Sanic or something else as a microservice specifically for the web socket stuff just so I have a way ahead.
Thanks for taking the time to respond.
Hi, sorry for the delayed response. We decided to focus on shipping 2.0 first (RC1 is currently available on PyPI) so that we could drop Python 2.7 and 3.4 support in 3.0 and do a cleaner ASGI implementation.
3.0 development just opened on the master branch and we anticipate this milestone cycle to be significantly shorter than 2.0 (i.e., 4-5 months instead of 12-14 months), with the primary focus being on ASGI and improved form data parsing. We'll be sprinting on the 3.0 milestone at PyCon US so stay tuned!
You can see what is currently planned here: https://github.com/falconry/falcon/milestone/33
Hi, for those interested, here is a gist demonstrated the proposed interface. Feedback is welcome. In the meantime, I'm prototyping the implementation and should have some code to share soon.
…quest/Response Partially-Implements: falconry#1358
* refactor(requrest): avoid duplication of prefix, add get_media to wsgi method * refactor(response): add render_body to wsgi response. Also unify data and media behavior between asgi and wsgi * test(response): additional tests to render_body * docs: add newsfragment * docs: fix typo in changelog * doc(falcon.Response): Expand news fragment for render_body() * doc(Response): Update docstrings for render_body() * doc(Response): Update docstrings for media and get_body() * doc(Request): Add news fragment re get_media() Fixes #1679 Partially-Implements #1358 Co-authored-by: Vytautas Liuolia <firstname.lastname@example.org> Co-authored-by: Kurt Griffiths <email@example.com>