You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reacted by Darin Gordon, krircc, Nugine, Sergey Cheung, kingxsp, luover, aheart, Alex, Mehmet Kürşat Aydın, Max Frai and 49 more
Reacted by Mehmet Kürşat Aydın, Dustin Bensing, CJ, Hubert Banaszewski, Z.Liu, jellybobbin, xujq1, Miles Granger, niulai6 and Tinh Phan
Reacted by Alex, Mehmet Kürşat Aydın, Antoine D, Banashek, vimpunk, Dustin Bensing, Juan Aguilar Santillana , Martin Tomasi, Tomoki Aonuma, mumteach and 14 more
Reacted by Mehmet Kürşat Aydın, vimpunk, Dustin Bensing, Zizheng Tai, CJ, Sathis Kumar Muthusamy, Z.Liu, Nikolai Hellwig, jellybobbin, Slanterns and 5 more
@fafhrd91 I compared it with 0.7.x, There does't multipart、pipeline support.
Another actix support not in this list, Is it in roadmap?
also The 1.0 is super cool, nice work, thank you
A crazy idea: have you considered renaming this to something else since the new version isn't based upon the actix framework? Like niko-web or something 😅. It would help greatly with ensuring existing blogs/documentation/examples for 0.7 could still be discovered.
Also I am assuming that some features are not implemented yet for the new stack, and some features are not going to be reimplemented. It would be great to include this distinction in the migration guide.
Are the public sub-dependencies (actix-net, etc..) going to be bumped to 1.0 as well? It would make sense if there are any exposed APIs to ensure lock-step with the main actix-web crate.
Reacted by Peita Lin, Darin Gordon, adrian5 and flopacero
i spend too much time on actix-web, it is not wise to abandon it.
migration doc will contain distinctions. but i expect to bring actors back in several weeks
I think it is not bad 1.0 like now. the stable is first importment. I think tokio maybe don't use futures 0.3.
Does actix-* will always dependent on tokio ? It's not good idea, Learning is hard when tokio has more and more libraries. it also own web frameworks(wrap/tower-web), when they get ready,users maybe Migrate there to reduce complexity.
Also actix-* can base on std Future to build own async runtime. Then no dependent problem forever.
I think the futures library is for some experiment features for one day into STD, if actix-* target production,It should dependent on std Future and then async/await, no futures library.
The compatibility situation is a bit complex. There are ways to convert futures 0.3 to futures 0.1 and vice-versa. But the important consideration is - which one does tokio actually 'run' internally? the answer is - currently, it runs a futures 0.1 Future. In the async/await 'preview', it will accept a futures 0.3 Future but internally translates it into a futures 0.1 Future before running.
I assume that this is temporary and that after async/await is stable, tokio will change to run futures 0.3 Futures internally, with futures 0.1 Futures requiring a compatibility shim. At this point actix-web will naturally want to upgrade as well, both to take advantage of async/await and to avoid the performance hit that the compatibility shim will incur.
Reacted by Proc, Christoph Grabo, james gilles, Roman Frołow and adrian5
I think that it's fine to release with futures 0.1. The async/await story for std lib is definitely not ready yet, lots of bikeshedding on the syntax is taking place, and a lot of other parts of the ecosystem need to catch up. It's going to be 6+ months until that all gets fleshed out.
There's nothing stopping releasing 1.0 now, and then when it's all ready, release a 2.0. It's just a number :)
Reacted by Roman Frołow, james gilles, Jean, kat, Sathis Kumar Muthusamy, Martin Schöpf and Trangar
Reacted by Darin Gordon, Dustin Bensing, Jean, Proc, Roman Frołow, tendersoft-mjb, Exegetech, Bob, golem131, Benjamin Salchow and 30 more
Reacted by Mustafa Paltun, Alexander Hammatt, Florian Dieminger, Yerkebulan Tulibergenov, christian-int, Max Frai, Miles Granger, Douglas H. Bradshaw, rabbitinspace, Alex and 15 more
Reacted by Andy Hayden, Sathis Kumar Muthusamy, Martin Schöpf, Evan Stoll, christian-int, Max Frai, Miles Granger, Alex, Manny 5th, niulai6 and 6 more
Reacted by lll, niulai6, Stoyan Dimkov and João Capucho
Reacted by Dustin Bensing, Samir, Roman Frołow, kat, MoQuEs, Andrew Champion, Marcin Pajkowski, Giacomo De Lazzari, Spencer Davies, Adrian Kappel and 1 more
Would the 1.0 documentation be updated to reflect on the deprecation of actix_web::dev:Handler and provide migration guide for Handler to actix_web::dev::Service?
Look this Update Tokio to use std::future, Tokio 0.2 will base on std::future NOT futures 0.3, It Will bring long-term stability,it will be a huge victory。So, what Actix-* 's Plan? @fafhrd91 Is It will base on Tokio or futures0.3 or std::future ?
To be clear, futures 0.3 uses std::future under the hood. futures 0.3 is just a bunch of extension traits on top of std::future, some of which will eventually end up in std. The whole Rust ecosystem (including tokio) is moving towards using std::future, to take advantage of async/await.
Reacted by Clément Renault, Darius Jahandarie and jinhua luo
Would the 1.0 documentation be updated to reflect on the deprecation of actix_web::dev:Handler and provide migration guide for Handler to actix_web::dev::Service?
@mys721tx This is the next section to work with actix/actix-website#90. Input is obviously welcome, but right now I am just trying to make a first pass at the book. Try to get all of the code working and lots of notes about things that have changed. After that the PR will definitely need some feedback and work from people that are more intimately familiar with the actix ecosystem. I am not really an expert, just someone who got tired of clicking on out dated docs when I googled how to do something! :)
Reacted by Yishen Miao, Proc, Martin Schöpf, Zeyi (Rice) Fan, Dustin Bensing and Yerkebulan Tulibergenov
Activity
fafhrd91 commentedon Mar 10, 2019
we should release 0.7.19 at the same time
fafhrd91 commentedon Mar 10, 2019
@actix/contributors
DoumanAsh commentedon Mar 10, 2019
Yes, if you want ping me before preparing 1.0 and I'll publish 0.7.19
Also I think we need to consider making considerable migration guide since 0,7 been there for a while
[-]actix-web 0.7 and 1.0[/-][+]actix-web 1.0[/+]krircc commentedon Mar 11, 2019
Super excited about this.
luover commentedon Mar 11, 2019
@fafhrd91 I compared it with 0.7.x, There does't multipart、pipeline support.
Another actix support not in this list, Is it in roadmap?
also The 1.0 is super cool, nice work, thank you
fafhrd91 commentedon Mar 11, 2019
@lcowell what do you mean by pipeline? multipart and client are a bit later
luover commentedon Mar 11, 2019
@fafhrd91 I does't look the source code(I will, It is time now), I mean pipeline
fafhrd91 commentedon Mar 11, 2019
pipeline is internal raw http implementation. it is in actix-http now
luover commentedon Mar 11, 2019
thanks for your explanation. I will look into.
f0cus3d commentedon Mar 11, 2019
Excited!
cetra3 commentedon Mar 11, 2019
A crazy idea: have you considered renaming this to something else since the new version isn't based upon the
actixframework? Likeniko-webor something 😅. It would help greatly with ensuring existing blogs/documentation/examples for0.7could still be discovered.Also I am assuming that some features are not implemented yet for the new stack, and some features are not going to be reimplemented. It would be great to include this distinction in the migration guide.
Are the public sub-dependencies (
actix-net, etc..) going to be bumped to1.0as well? It would make sense if there are any exposed APIs to ensure lock-step with the mainactix-webcrate.fafhrd91 commentedon Mar 11, 2019
i spend too much time on actix-web, it is not wise to abandon it.
migration doc will contain distinctions. but i expect to bring actors back in several weeks
fafhrd91 commentedon Mar 12, 2019
@cetra3 also there is future in 0.7 architecture, it is a dead end.
cetra3 commentedon Mar 12, 2019
To clarify:
0.7will no longer be developed, with the majority of the development taking place in1.0?26 remaining items
zmlzm commentedon May 6, 2019
I think it is not bad 1.0 like now. the stable is first importment. I think tokio maybe don't use futures 0.3.
Does actix-* will always dependent on tokio ? It's not good idea, Learning is hard when tokio has more and more libraries. it also own web frameworks(wrap/tower-web), when they get ready,users maybe Migrate there to reduce complexity.
Also actix-* can base on std Future to build own async runtime. Then no dependent problem forever.
I think the futures library is for some experiment features for one day into STD, if actix-* target production,It should dependent on std Future and then async/await, no futures library.
jesskfullwood commentedon May 6, 2019
The compatibility situation is a bit complex. There are ways to convert
futures 0.3tofutures 0.1and vice-versa. But the important consideration is - which one doestokioactually 'run' internally? the answer is - currently, it runs afutures 0.1Future. In the async/await 'preview', it will accept afutures 0.3Future but internally translates it into afutures 0.1Future before running.I assume that this is temporary and that after
async/awaitis stable,tokiowill change to runfutures 0.3Futures internally, withfutures 0.1Futures requiring a compatibility shim. At this pointactix-webwill naturally want to upgrade as well, both to take advantage ofasync/awaitand to avoid the performance hit that the compatibility shim will incur.cetra3 commentedon May 7, 2019
I think that it's fine to release with
futures 0.1. The async/await story for std lib is definitely not ready yet, lots of bikeshedding on the syntax is taking place, and a lot of other parts of the ecosystem need to catch up. It's going to be 6+ months until that all gets fleshed out.There's nothing stopping releasing 1.0 now, and then when it's all ready, release a 2.0. It's just a number :)
fafhrd91 commentedon May 18, 2019
1.0.0-rcis released. next release is1.0SuperHacker-liuan commentedon Jun 6, 2019
🎉 actix-web-1.0.0 released!
f0cus3d commentedon Jun 6, 2019
The user guide still references 0.7 https://actix.rs/docs/
Lewdwig-V commentedon Jun 6, 2019
You should probably fix the sample code on the Actix Web front page.
It does not compile on 1.0/rustc 1.35, complaining that module 'server' is private.
mys721tx commentedon Jun 14, 2019
Would the 1.0 documentation be updated to reflect on the deprecation of
actix_web::dev:Handlerand provide migration guide forHandlertoactix_web::dev::Service?0xpr03 commentedon Jun 14, 2019
I think this all falls under the point "update Book to 1.0".
A PR is always welcome! See also actix/actix-website#90
zmlzm commentedon Jun 15, 2019
Look this Update Tokio to use
std::future, Tokio 0.2 will base on std::future NOT futures 0.3, It Will bring long-term stability,it will be a huge victory。So, what Actix-* 's Plan? @fafhrd91 Is It will base on Tokio or futures0.3 or std::future ?jesskfullwood commentedon Jun 15, 2019
To be clear,
futures 0.3usesstd::futureunder the hood.futures 0.3is just a bunch of extension traits on top ofstd::future, some of which will eventually end up instd. The whole Rust ecosystem (includingtokio) is moving towards usingstd::future, to take advantage ofasync/await.cldershem commentedon Jun 15, 2019
@mys721tx This is the next section to work with actix/actix-website#90. Input is obviously welcome, but right now I am just trying to make a first pass at the book. Try to get all of the code working and lots of notes about things that have changed. After that the PR will definitely need some feedback and work from people that are more intimately familiar with the
actixecosystem. I am not really an expert, just someone who got tired of clicking on out dated docs when I googled how to do something! :)