Releases: hypfvieh/dbus-java
Releases · hypfvieh/dbus-java
dbus-java-5.2.0
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 oldDBusMatchRuleclass still exists and is now a subclass
of the new implementation but is deprecated. - use
DBusMatchRuleBuilderto create instances of the newDBusMatchRule - the
AbstractConnection.addSigHandler(DBusMatchRule, SigHandler)is nowpublicand can be used to register arbitrary rules - the new implementation supports additional MatchRules as defined by DBus Specification (except eavesdrop)
- Extended
EmbeddedDBusDaemonto properly support MatchRules
- The new implementation can be found in
- Improved
InterfaceCodeGeneratorto 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("/")ingetRemoteObjectmethod (#290)
Full Changelog: dbus-java-parent-5.1.1...dbus-java-parent-5.2.0
dbus-java 5.1.1
What's Changed
- Added new Helper class
VariantBuilderto 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
InterfaceCodeGeneratorwas alwaysnull - Smaller code cleanup in
InterfaceCodeGeneratorto prevent creating multiple empty lines - Dependency updates
- Added support for
EmitsChangedSignal(PR#267), thanks to GeVa2072 - Tighten PMD rules to disallow usage of
varkeyword - Updated Maven plugins
- Improved documentation
- Fixed issue with arrays, primitive arrays and
Collectionwhen used in signal constructors (#268) - Improvements when using library in Kotlin projects (PR#270), thanks to vicr123
- Fixed exporting of methods which used a
Tuplereturn type causedClassCastException(#271) - Deprecated
ObjectPath, useDBusPathinstead - Added
of(String...)factory method toDBusPath - Smaller refactorings to reduce duplicated code
- Added additional
getRemoteObjectmethods which usesDBusPathas 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