Skip to content

actix-web 1.0 #722

Closed
Closed

Description

@fafhrd91

I am planing to move 0.7 to separate branch and move 1.0 to master in 1 week.

Any thoughts, concerns?

High level tasks:

Activity

  1. fafhrd91 commented on Mar 10, 2019

    @fafhrd91
    MemberAuthor

    we should release 0.7.19 at the same time

  2. fafhrd91 commented on Mar 10, 2019

    @fafhrd91
    MemberAuthor

    @actix/contributors

  3. DoumanAsh commented on Mar 10, 2019

    @DoumanAsh
    Contributor

    we should release 0.7.19 at the same time

    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

  4. changed the title [-]actix-web 0.7 and 1.0[/-] [+]actix-web 1.0[/+] on Mar 10, 2019
  5. krircc commented on Mar 11, 2019

    @krircc
    Contributor

    Super excited about this.

  6. luover commented on Mar 11, 2019

    @luover

    @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

  7. fafhrd91 commented on Mar 11, 2019

    @fafhrd91
    MemberAuthor

    @lcowell what do you mean by pipeline? multipart and client are a bit later

  8. luover commented on Mar 11, 2019

    @luover

    @fafhrd91 I does't look the source code(I will, It is time now), I mean pipeline

  9. fafhrd91 commented on Mar 11, 2019

    @fafhrd91
    MemberAuthor

    pipeline is internal raw http implementation. it is in actix-http now

  10. luover commented on Mar 11, 2019

    @luover

    thanks for your explanation. I will look into.

  11. f0cus3d commented on Mar 11, 2019

    @f0cus3d
    Contributor

    Excited!

  12. cetra3 commented on Mar 11, 2019

    @cetra3
    Contributor

    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.

  13. fafhrd91 commented on Mar 11, 2019

    @fafhrd91
    MemberAuthor

    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

  14. fafhrd91 commented on Mar 12, 2019

    @fafhrd91
    MemberAuthor

    @cetra3 also there is future in 0.7 architecture, it is a dead end.

  15. cetra3 commented on Mar 12, 2019

    @cetra3
    Contributor

    To clarify:0.7 will no longer be developed, with the majority of the development taking place in 1.0?

  16. 26 remaining items

  17. zmlzm commented on May 6, 2019

    @zmlzm

    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.

  18. jesskfullwood commented on May 6, 2019

    @jesskfullwood
    Contributor

    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.

  19. cetra3 commented on May 7, 2019

    @cetra3
    Contributor

    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 :)

  20. pinned this issue on May 18, 2019
  21. fafhrd91 commented on May 18, 2019

    @fafhrd91
    MemberAuthor

    1.0.0-rc is released. next release is 1.0

  22. SuperHacker-liuan commented on Jun 6, 2019

    @SuperHacker-liuan
    Contributor

    🎉 actix-web-1.0.0 released!

  23. f0cus3d commented on Jun 6, 2019

    @f0cus3d
    Contributor
  24. Lewdwig-V commented on Jun 6, 2019

    @Lewdwig-V

    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.

  25. mys721tx commented on Jun 14, 2019

    @mys721tx

    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?

  26. 0xpr03 commented on Jun 14, 2019

    @0xpr03

    Would the 1.0 documentation

    I think this all falls under the point "update Book to 1.0".
    A PR is always welcome! See also actix/actix-website#90

  27. zmlzm commented on Jun 15, 2019

    @zmlzm

    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 ?

  28. jesskfullwood commented on Jun 15, 2019

    @jesskfullwood
    Contributor

    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.

  29. cldershem commented on Jun 15, 2019

    @cldershem
    Member

    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! :)

  30. unpinned this issue on Jul 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions