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

fix(deps): update rust crate zbus to 3.15 - autoclosed #182

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 8, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
zbus dependencies minor 3.10 -> 3.15

Release Notes

dbus2/zbus (zbus)

v3.15.2: 🔖 zbus 3.15.2

Compare Source

To go with zbus_macros 3.15.2. Other changes:

  • 🚨 Fix clippy lints.
  • 🔥 Drop some unneeded imports.

v3.15.1: 🔖 zbus 3.15.1

Compare Source

  • 🚨 Impl Display instead of ToString for MatchRule.
  • 🔥 Remove some redundant imports.
  • 🚨 Fix some clippy warnings.

v3.15.0: 🔖 zbus 3.15.0

Compare Source

🐛 Add missing nix feature.
🏷️ Add ResponseDispatchNotifier type. A wrapper interface method response type that notifies the
caller of the response being sent off.
🚸 Specify service and object path for Monitoring & Debug.Stats proxies. These defaults to be
based on the interface name otherwise and that's not the expected bhaviour.
✏️ Fix a typo in docs.

v3.14.1: zbus 3.14.1

Compare Source

Brown paperbag release to fix a typo in the README/crate docs.

v3.14.0: 🔖 zbus 3.14.0

Compare Source

✨ Add arg0ns to match rule. arg0namespace has an overly restrictive type (InterfaceName), which
disallows valid values (e.g. those containing '-' or single-element names such as 'org'). Further
more, a MatchRule with arg0namespace previously would not match a message whose arg0 is not a
valid InterfaceName (even if it is a valid BusName). Fixes #​382.
✨ Derive Debug for MatchRuleBuilder.
✨ Implement Clone for MessageBuilder.
✨ Add a from_bytes constructor for Message. Closes #​326
✨ Allow unicast signals through the dbus_interface. Fixes #​374.
✨ Provide various string conversions from Guid.
✨ impl From for Guid.
✨ Implement Type, Serialize & Deserialize for Guid. So that this can be returned from
dbus_interface and dbus_proxy methods.
✨ Owned getters for ConnectionCredentials fields. For non-Copy fields (i-e those requiring
allocation).
✨ impl From<MessageHeader> for MessageBuilder.
✨ Add MessageStream::{max_queued,set_max_queued}. Add getter and setter for message queue
capacity. #​350.
🚑️ Fix how MatchRule handles arg0namespace. arg0.starts_with(arg0namespace) is not enough. For
example, namespace 'o' should not match 'org.foo'.
🚑️ Drop signature & fds from fields. when converting a MessageHeader into a MessageBuilder
since these fields are dependent on the body and that's specified later.
🚑️ Handle 0 bytes received from socket. Seems the assumption that we can't ever get 0 bytes is
wrong.
🐛 Don't choke on empty match rule arg values.
🩹 zb: Drop unneeded use of all in cfg attributes. New clippy warns about this.
🩹 fdo::DBus::get_id returns Guid instead of raw String. Theoretically, this is a breaking
change, but this is also a fix since the method should have been returning the more specific
type. To make things easier for users, we provide a more conversions from Guid to String and
&str.
🩹 Manual impl for Deserialize for Guid. So we can verify it's a valid UUID string.
⚡️ Box a large future. Fixes new clippy warning about large futures. Fixes #​330.
⬆️ Bump our MSRV. More and more dependencies are requiring Rust 1.64.0, so let's bump our MSRV to match.
⬆️ Require zbus_names 2.6.0.
⬆️ Require zvariant 3.15.0.
⬆️ Update enumflags2.
📝 Fix link to DBusError derive.
📝 Warn about example code requiring a session bus in README/crate docs. Fixes #​389.
📝 Update forgotten links to old book location.
📝 Clarify MatchRule::arg0namespace docs.
📝 Fix link to DBusError derive.
📝 Add IBus example for ConnectionBuilder::address. Fixes #​361.
🗑️ Deprecate MatchRule(Builder)::arg0namespace in favour of arg0ns.
🧪 Test empty args in match rules. Turns out we can't parse match rules with empty argument values.
➕ Add optional dep on blocking. If async-io is enbled, we now depend on blocking. This just
turns it into a direct dependency.
🎨 Code comments should also adhere to 100 character limit.
🎨 Minor formatting change.

v3.13.1: zbus 3.13.1

Compare Source

  • Don't use empty struct for body to start at 8-byte boundary.
  • Use latest zvariant_utils.

v3.13.0: zbus 3.13.0

Compare Source

  • Add Connection::peer_credentials method. Instead of adding multiple individual methods for each
    credential type, let's add a single method that returns all peer credentials.
  • API for creating ConnectionCredentials struct. This will mainly be useful for bus
    implementations to be able to create this struct for themselves (e.g on a
    DBus.GetConnectionCredentials D-Bus call for the bus itself).
  • Getters for fdo::ConnectionCredentials fields.
  • Add launchd address support for macOS. It follows D-Bus specification with the same rules.
  • Dependency changes:
    • New: async-process on MacOS target.
    • Enable process feature of tokio crate.
  • Deprecate Connection::peer_sid in favor of Connection::peer_credentials.
  • Deprecate fdo::ConnectionCredentials fields. If we ever need to add more fields to the struct,
    we can't do it without breaking the API. So let's deprecate the fields and have everyone use the
    new getters instead.
  • Disable code on MacOS that won't work on it.
  • Be specific in cfg for Windows.
  • Update all refs of gitlab to github.
  • Other internal fixes/improvements.

v3.12.0: zbus 3.12.0.

Compare Source

  • ObjectServer should dispatch calls without destination since p2p connections typically don't have destinations.
  • Only enable features of nix that we use.
  • Support server-side cookie auth. We already supported client-side cookie-auth. zbus won't manage the cookies for you though, that's left to the bus implementation.
  • Declare ConnectionBuilder as must_use. Instead of every builder method of it individually.
  • Avoid a few string allocations in handshake code.
  • Don't ignore errors from SID conversion to string.
  • Add missing cfg on an import. Otherwise we get a warning when building for non-unix.
  • Dependencies changed:
    • Home directory determination now split into a separate crate: xdg-home.
    • Drop lazy_static.
    • Drop now unneeded dirs dep.
    • Drop nix dep for non-unix (i-e Windows).

v3.11.1: zbus 3.11.1

Compare Source

Fix server example in the docs and README.

v3.11.0: zbus 3.11.0

Compare Source

  • ConnectionBuilder::build shouldn't assume executor ticking. This fixes a deadlock when internal
    executor is disabled and interface is added to the builder.
  • Don't panic in proxy builder. Return an error instead.
  • Some optimizations in handshake code.
  • Error out on invalid UTF-8 in the cookie auth data.
  • Add Error:MissingParameter variant.
  • Implement Clone for InterfaceRef.
  • Add SignalStream::name getter.
  • SignalStream's inner lifetime need to be tied to that of proxy's inner lifetime, not the proxy
    itself. In case of macros, we can declare it as '`static'.
  • Some fixes to docs.
  • Dependency changes:
    • Enable io feature of futures-util if async-io is enabled.
    • Add optional dep on async-fs.
    • update nix to 0.26.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title fix(deps): update rust crate zbus to 3.11 fix(deps): update rust crate zbus to 3.12 Apr 17, 2023
@hoodie hoodie force-pushed the main branch 3 times, most recently from 4b04a90 to dc94171 Compare April 29, 2023 19:02
@renovate renovate bot changed the title fix(deps): update rust crate zbus to 3.12 fix(deps): update rust crate zbus to 3.13 May 12, 2023
@renovate renovate bot changed the title fix(deps): update rust crate zbus to 3.13 fix(deps): update rust crate zbus to 3.14 Jun 28, 2023
@renovate renovate bot force-pushed the renovate/zbus-3.x branch 4 times, most recently from 04e25ab to a9823e7 Compare November 16, 2023 18:00
@renovate renovate bot force-pushed the renovate/zbus-3.x branch 3 times, most recently from c1072ef to 279fb03 Compare November 27, 2023 00:08
@renovate renovate bot changed the title fix(deps): update rust crate zbus to 3.14 fix(deps): update rust crate zbus to 3.15 Feb 5, 2024
@renovate renovate bot changed the title fix(deps): update rust crate zbus to 3.15 fix(deps): update rust crate zbus to 3.15 - autoclosed Apr 4, 2024
@renovate renovate bot closed this Apr 4, 2024
@renovate renovate bot deleted the renovate/zbus-3.x branch April 4, 2024 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants