Skip to content

Ship a 1.0 release #177

Closed
Closed

Description

@thejpster

Part of rust-embedded/wg#383

Settled blockers:

Open blockers:

Feel free to nominate issues also by commenting below

Activity

  1. jamesmunns commented on Mar 11, 2020

    @jamesmunns
    Member

    Here is a link to the video call discussion had by myself and most of the members of @rust-embedded/hal team. This includes initial decisions made, and justification/reasoning for each point. The next steps for this would be to codify this into an RFC, and get approval for it (though there is already general consensus within the embedded-hal team).

    by the way, this was the "issue with the list of big topics" we were looking for during the meeting :)

  2. added a commit that references this issue on Mar 16, 2020
  3. eldruin commented on May 6, 2020

    @eldruin
    Member

    I believe the only unresolved issue as of the list above is #172
    I would also add the dependency on rust-embedded/nb#20
    Then we need to think about the dev-dependencies which are at the moment stm32f3 and futures. I guess specially these will hold us back for a while.

  4. pinned this issue on May 25, 2020
  5. Disasm commented on Jun 10, 2020

    @Disasm
    Member

    This async story began just recently and I do not expect it to end in the coming year. Why should we block on it? We can always add this later. In the worst case, these async traits will be released in embedded-hal v2.0.0.

  6. therealprof commented on Jun 10, 2020

    @therealprof
    Contributor

    I also think we should keep async separate because it's a different paradigm and might need require a different approach anyway. I can imagine taking an approach similar to async-std vs std, i.e. have the async traits in a separate crate async-embedded-hal which would allow crates to move indepedently and express more clearly what is supported where.

  7. ryankurte commented on Jun 10, 2020

    @ryankurte
    Contributor

    i have mixed feelings about async being separate in the long term, but imo it very much depends whether we can find an approach (as is the case for one of the demonstrated ones) that allows everything to be a default impl on top of our base nb or poll traits as we have now with the blocking default methods, so we have one source of truth for integration, simplify the job of hal implementers, and you'll always have access to both. Or if these introduce fundamentally incompatible requirements and must be managed separately. this, however, is not something we can conclusively tell afaik.

    i posed here (#172 (comment)) that if we have a path towards a decision on the nb/futures swap I would be okay to hold, but so long as it's an open / unknown problem I would also prefer to keep moving and accept integrating async may be another breaking change down the line.

    (i would also very much like to hear the thoughts of @japaric if ya have a moment to look at all of this)

  8. added a commit that references this issue on Jun 16, 2020
  9. added this to the v1.0.0 milestone on Jul 15, 2020
  10. hannobraun commented on Oct 1, 2020

    @hannobraun
    Member

    I'd like to nominate #249 as a blocker for the 1.0 release.

  11. hannobraun commented on Oct 14, 2020

    @hannobraun
    Member

    @rust-embedded/hal Would you consider releasing 1.0-alpha.2? I'm working on a driver that I'd like to release soon, and it would be great if I had access to PinState.

  12. added a commit that references this issue on Oct 15, 2020
  13. ryankurte commented on Oct 15, 2020

    @ryankurte
    Contributor

    Thanks for the reminder, shipped in #255

  14. hannobraun commented on Oct 21, 2020

    @hannobraun
    Member

    I've recently learned something that I'd like to share, in case it isn't common knowledge yet: A cargo update will pick up alpha.2, if alpha.1 is specified in Cargo.toml. I think this is problematic, as new alpha releases might introduce breaking changes. HAL crates that would like to test-drive the alpha can't do so while guaranteeing semver stability.

    Maybe it would be best to yank the existing alpha releases and test the new changes in a 0.3 series instead? As far as I can see, the alternative would be breakage, inhibited adoption, or additional hoops to jump through (like hiding all alpha implementations behind a feature flag).

  15. 57 remaining items

  16. adamgreig commented on Nov 21, 2023

    @adamgreig
    Member

    After some discussion last week, we now plan to release the final 1.0 version on Dec 28th, assuming no major issues come up before then. Please keep testing the RC in the meantime!

  17. madsmtm commented on Nov 21, 2023

    @madsmtm

    Hey, I've opened a few issues pertaining to the API surface we're stabilizing: #523, #524, #526, #527 and to a lesser extent #525.

    I'll volunteer to do the work for each of these, if you think the changes are desired?

    Also, this is only the v1.0 release of the embedded-hal crate, right? E.g. the release of v1.0 of embedded-hal-async should probably wait until the async trait functionality reaches stable Rust - at which point its functionality will probably just be included in embedded-hal itself.

    Speaking of async, we should probably decide at least a rough plan for how that integration will look like, given that async fn in traits will be stable in 1.75.

  18. adamgreig commented on Nov 21, 2023

    @adamgreig
    Member

    Thank you for the review and issues!

    Not coincidentally, December 28th (the planned e-h 1.0 release) is the day Rust 1.75 is released, and thus the day async traits are in stable Rust, so I think (?) the plan is to release 1.0 of e-h-async at the same time. However, I don't know if there's still a plan to merge it into embedded-hal, though I haven't heard it discussed in some time.

  19. Finomnis commented on Nov 22, 2023

    @Finomnis

    I wouldn't be against it :) Although I don't think the plan to do so would interfere with an eh 1.0 release.

  20. Dirbaio commented on Nov 25, 2023

    @Dirbaio
    Member

    this was discussed when we did the split initially, the decision was to leave them split after 1.0.

  21. Dirbaio commented on Dec 14, 2023

    @Dirbaio
    Member

    📣 we just released v1.0.0-rc.3 with a small GPIO trait change (require &mut self in all methods, previously InputPin and StatefulOutputPin required only &self).

    We'd appreciate it if you could do another round of testing. Change looks small but InputPin is a quite foundational trait, and the change might have unintended consequences in type inference / method resolution, we'd love to hear if it's causing issues for you.

  22. eldruin commented on Dec 27, 2023

    @eldruin
    Member

    I have updated the list of pending issues here. @Dirbaio could you have a look?

  23. Florob commented on Dec 27, 2023

    @Florob

    I'd like to nominate #455 for the 1.0 release. I.e. specify whether I2C operations can return early like the SPI ones. If so: do we need a flush()?

  24. Dirbaio commented on Dec 27, 2023

    @Dirbaio
    Member

    thanks @eldruin @Florob for bringing these up, I've sent a few PRs and believe they're all cleared now.

  25. Dirbaio commented on Dec 28, 2023

    @Dirbaio
    Member

    No release today, it's going to be delayed a bit due to being blocked on #547

  26. eldruin commented on Jan 9, 2024

    @eldruin
    Member

    embedded-hal and embedded-hal-async 1.0.0 have now been released.
    Thank you so much to everyone that was worked and helped through all this time to make this a reality.
    🎉

  27. unpinned this issue on Jan 9, 2024
  28. dbrgn commented on Jan 10, 2024

    @dbrgn
    Contributor

    Thanks a lot to all people involved for pushing this forward week after week over the last 6 years! It's been a while 🙂

    Embedded Rust has a bright future ahead! 🦀

  29. hansfbaier commented on Jan 11, 2024

    @hansfbaier

    Awesome!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions