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 interprocess from 1.2.1 to 2.2.2 in /src-tauri #278

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 1, 2025

Bumps interprocess from 1.2.1 to 2.2.2.

Release notes

Sourced from interprocess's releases.

2.2.1

Reverted the change from hardcoded /tmp to $TMPDIR for SpecialDirUdSocket on non-Android platforms. On Android, the hardcoded path is now /data/local/tmp.

2.2.0 – Tokio unnamed pipes

  • Tokio-based unnamed pipes, with subpar performance on Windows due to OS API limitations
  • Examples for unnamed pipes, both non-async and Tokio
  • Impersonation for Windows named pipes
  • Improvements to the implementation of Windows pipe flushing on Tokio

2.1.1

  • Removed async Incoming and futures::Stream ("AsyncIterator") implementations on local_socket::traits::Listener implementors – those were actually completely broken, so this change is not breaking in practice and thus does not warrant a bump to 3.0.0
  • Fixed ListenerOptionsExt::mode() behavior in umask fallback mode and improved its documentation
  • Moved examples to their own dedicated files with the help of the doctest-file crate

2.1.0 – listeners are now iterators

  • Fixes #49
  • Adds Iterator impl on local socket listeners (closes #64)
  • Miscellaneous documentation fixes

2.0.1 – fix for non-x86 platforms

  • Fixed a portability bug that broke the build on Android (#62, #63)
  • Minor documentation adjustments

2.0.0

The long-awaited 2.0.0 release brings substantial API enhancements that constitute breaking changes, countless bugfixes, better portability, some future-proofing, a grand refactor and significant scope creep mitigation.

You can upgrade to the new version by changing your Cargo.toml to depend on Interprocess 2.0.0 instead of 1.2.1 and fixing the compilation errors that ensue. The behavioral changes have been made in a manner that avoids the introduction of bugs that successfully compile. The Rustdoc documentation contains all the information that's needed to write code that uses Interprocess 2.0.0, and, by extension, all the information that's needed to port dependents of Interprocess 1.2.1.

  • Many bugs have been fixed
    • A comprehensive set of testing utilities has been added to prevent new bugs of the embarrassing variety
  • The minimum Rust version has been bumped to 1.75.0, bringing many improvements to both the API and the internals, including RAII of file descriptors and handles and use of RPITITs
  • Platform support has been clarified and expanded
  • Windows named pipe support has been largely remade:
    • The API has been overhauled to be more idiomatic to Rust with expanded use of generics
    • A "limbo" is now used to prevent in-flight data from being lost when dropping connections
  • Small API deficiencies, such as inaccurate types that unnecessarily made invalid options representable, have been corrected
  • Windows security descriptors have received a proper API
  • Numerous improvements to local sockets
    • They have been made more uniform across platforms – the portability magic that is now in place has eliminated the need to explicitly acknowledge the platform differences in most practical programs
      • Ud-socket local socket listeners now clean up corpse socket files when dropped
    • The new API allows explicit selection of the underlying implementation: every possible backend of local sockets has its own public API, and all of them implement the new local socket traits
    • The name type and the name creation API have been overhauled to facilitate the changes
    • Streams are now splittable by value and readable + writable by reference
  • Some functionality has been offloaded to the recvmsg crate – it is now part of the public API of Interprocess
  • Ud-sockets have been outsourced to the standard library
  • Signal support has been removed in favor of signal_hook
Commits

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

Bumps [interprocess](https://github.com/kotauskas/interprocess) from 1.2.1 to 2.2.2.
- [Release notes](https://github.com/kotauskas/interprocess/releases)
- [Commits](kotauskas/interprocess@1.2.1...2.2.2)

---
updated-dependencies:
- dependency-name: interprocess
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jan 1, 2025
@AmyrAhmady AmyrAhmady closed this Jan 2, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 2, 2025

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.

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/src-tauri/interprocess-2.2.2 branch January 2, 2025 01:42
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 rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant