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

Bump serialport from 3.3.0 to 4.0.0 #66

Closed
wants to merge 1 commit into from

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps serialport from 3.3.0 to 4.0.0.

Changelog

Sourced from serialport's changelog.

[4.0.0] - 2020-12-17

Added

  • Added send_break() to TTYPort !69
  • Enable available_ports() for Linux musl targets and those without the libudev feature enabled by scanning /sys/ for ports. !72
  • ENOENT and EACCES errors are now exposed as NotFound and PermissionDenied errors on Linux !80
  • try_clone_native() was added to COMPort and TTYPort to complement SerialPort::try_clone() but returning the concrete type instead. !85
  • Added set_break() and clear_break() to SerialPort !70

Changed

  • Minimum supported Rust version is now 1.36.0 to support the mem::MaybeUninit feature.
  • The platform-specific TTYPort/BreakDuration and COMPort are now at the root level rather than under the posix and windows submodules respectively.
  • Opening SerialPort s now uses the builder pattern through serialport::new(). See the README for concrete examples. !73
  • SerialPorts s are no longer opened with a default timeout of 1ms
  • Under linux, the manufacturer and product fields of UsbPortInfo now take their values from the ID_VENDOR_FROM_DATABASE and ID_MODEL_FROM_DATABASE udev properties respectively, instead of the ID_VENDOR and ID_MODEL properties that were used before. When the _FROM_DATABASE values are not available, it falls back to the old behavior. !86
  • POSIX ports are no longer opened in exclusive mode. After opening they can be made exclusive via TTYPort::set_exclusive(). !98

Fixed

  • Raised the version specification for bitflags to 1.0.4. Previously it was set to 1.0.0, but this version of bitflags is actually incompatible with Rust 2018 style macro imports that serialport-rs requires. !83

Removed

  • Removed the serialport::prelude module. Types should be explicitly imported or can be glob-imported from the root like use serialport::*. !82
Commits
  • 6426b27 (cargo-release) version 4.0.0
  • 41d4127 Add useful references
  • 531b69d Correct 4.0.0 release link
  • 08149f1 Add more MR links to current version changelog
  • 9c62cff Fix hyperlinks
  • 0e3c3e3 Switch CHANGELOG from asciidoc to markdown
  • 6c34055 Bring back the pipeline badge
  • 4277126 Merge branch 'wcampbell0x2a/serialport-rs-cleanup'
  • 3b58178 Merge branch 'non_exclusive' into 'master'
  • 799b5e4 Clarify libudev header requirements
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Dec 18, 2020
@dependabot-preview
Copy link
Contributor Author

Superseded by #72.

@dependabot-preview dependabot-preview bot deleted the dependabot/cargo/serialport-4.0.0 branch April 19, 2021 05:29
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.

0 participants