Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update embedded-hal-mock requirement from =0.10.0 to =0.11.1 #203

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 3, 2024

Updates the requirements on embedded-hal-mock to permit the latest version.

Changelog

Sourced from embedded-hal-mock's changelog.

0.11.1 - 2024-06-02

This release only includes a documentation fix (with regards to default-enabled Cargo features), but no code changes.

0.11.0 - 2024-05-30

This release adds support for various async APIs as defined in embedded-hal-async. To use these features, you need to enable the embedded-hal-async Cargo feature.

If you're upgrading from an earlier version, please note that the pin module was renamed to digital to match embedded-hal.

Added

  • Add ToggleableOutputPin support for eh0::digital::Mock (#89)
  • Add StatefulOutputPin support for eh1::digital::Mock (#89)
  • Async support for eh1::i2c::Mock (#119)
  • Async support for eh1::digital::Mock (#91)
  • Async delay for NoopDelay / StdSleep (#104)
  • New CheckedDelay mock that supports both sync and async delays (#104)

Changed

  • Rename pin module to digital to match embedded-hal (#113)
  • Improve top level usage docs (#117)

0.10.0 - 2024-01-10

This release contains a big change: embedded-hal-mock now supports both embedded-hal 0.x and 1.x! The two variants are accessible through embedded_hal_mock::eh0::* and embedded_hal_mock::eh1::*. If there are any issues, leave feedback in the GitHub issue tracker.

Additionally, tests now fail if you forgot to call .done(). This should reduce the chance of accidentally writing a broken test.

This release contains commits by 12 different people, thanks a lot for the contributions!

Migrating to 0.10.0

  • Update your imports: Change use embedded_hal_mock::* to use embedded_hal_mock::eh0::*
  • Rename all .expect(...) calls on mocks to .update_expectations(...)
  • Rename all eh0::delay::MockNoop usages to eh0::delay::NoopDelay
  • Run your tests to ensure that you don't have any missing .done() calls in

... (truncated)

Commits
  • 6b69d2f Release v0.11.1
  • 67e64cb README: Switch patched dependency from eh0 to eh1
  • a11431d Fix bug in documentation (eh1 is enabled by default)
  • 93ceef8 Release v0.11.0
  • 7ea451b Merge pull request #89 from cdunster/feat/toggleable-output-pin
  • 2654fc4 Add StatefulOutputPin support for eh1::digital::Mock
  • 9024ffb Add ToggleableOutputPin support for eh0::digital::Mock
  • 989059f Implement embedded_hal_async::Wait for eh1::digital::Mock (#91)
  • d1e353c Merge pull request #120 from dbrgn/cleanup
  • 8627c77 Rename "buff" to "buf" everywhere for consistency
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [embedded-hal-mock](https://github.com/dbrgn/embedded-hal-mock) to permit the latest version.
- [Changelog](https://github.com/dbrgn/embedded-hal-mock/blob/main/CHANGELOG.md)
- [Commits](dbrgn/embedded-hal-mock@v0.10.0...v0.11.1)

---
updated-dependencies:
- dependency-name: embedded-hal-mock
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 3, 2024
@auto-assign auto-assign bot requested a review from caemor June 3, 2024 21:47
@caemor caemor closed this Oct 28, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 28, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/cargo/embedded-hal-mock-eq-0.11.1 branch October 28, 2024 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant