Skip to content

Releases: hypfvieh/dbus-java

dbus-java-5.2.0

21 Dec 14:37

Choose a tag to compare

What's Changed

  • removed properties from dbus-java.version which causes issues with reproducable builds (PR#279)
  • Re-Implemented DBusMatchRule
    • The new implementation can be found in org.freedesktop.dbus.matchrules.DBusMatchRule, the old DBusMatchRule class still exists and is now a subclass
      of the new implementation but is deprecated.
    • use DBusMatchRuleBuilder to create instances of the new DBusMatchRule
    • the AbstractConnection.addSigHandler(DBusMatchRule, SigHandler) is now public and can be used to register arbitrary rules
    • the new implementation supports additional MatchRules as defined by DBus Specification (except eavesdrop)
    • Extended EmbeddedDBusDaemon to properly support MatchRules
  • Improved InterfaceCodeGenerator to properly create Tuple classes and create empty signal classes as well
  • Dependency updates
  • Plugin updates
  • Increased minimum required Maven version from 3.6.3 to 3.9.3
  • Update site descriptors
  • Addressed a few PMD findings
  • Fixed issue when using DBusPath("/") in getRemoteObject method (#290)

Full Changelog: dbus-java-parent-5.1.1...dbus-java-parent-5.2.0

dbus-java 5.1.1

14 Mar 10:22

Choose a tag to compare

What's Changed

  • Added new Helper class VariantBuilder to allow creating Variants which contain Maps or Collections without messing with the required DBus type arguments
  • Fixed wrong/missing increment when resolving nested structs or deeply nested objects in Marshalling.getDBusType (#265)
  • Fixed wrong import when generating Tuple containing Struct (#264)
  • Added support for argument prefix for methods and constructors in InterfaceCodeGenerator (to e. g. allow generating code using similar code style like dbus-java with prefixing every argument with _)
  • Fixed printed version information in InterfaceCodeGenerator was always null
  • Smaller code cleanup in InterfaceCodeGenerator to prevent creating multiple empty lines
  • Dependency updates
  • Added support for EmitsChangedSignal (PR#267), thanks to GeVa2072
  • Tighten PMD rules to disallow usage of var keyword
  • Updated Maven plugins
  • Improved documentation
  • Fixed issue with arrays, primitive arrays and Collection when used in signal constructors (#268)
  • Improvements when using library in Kotlin projects (PR#270), thanks to vicr123
  • Fixed exporting of methods which used a Tuple return type caused ClassCastException (#271)
  • Deprecated ObjectPath, use DBusPath instead
  • Added of(String...) factory method to DBusPath
  • Smaller refactorings to reduce duplicated code
  • Added additional getRemoteObject methods which uses DBusPath as argument
  • Smaller improvements in empty array creation and other minor Improvements (PR#276), thanks to joerg1985

Full Changelog: dbus-java-parent-5.1.0...dbus-java-parent-5.1.1