Releases: godbus/dbus
v5.1.0
What's Changed
- fix: remove redundant type conversions by @liaohanqin in #278
- fix: fix dbus.Variant Store Method Bug by @golangaccount in #280
- prop: add the Prop.Introspection() method by @ibazhitov in #279
- fix: type check slice of struct by @boeglid in #286
- Fix a data race between Conn creation and its automatic closing by @ibazhitov in #291
- store: fix shrinking slice during store by @gjabell in #293
- build on zos by @SteeleDesmond in #284
- fix: better error for struct without exported fields by @guelfey in #292
- doc: clarify Signal channel behavior by @guelfey in #294
- fileExists: simplify by @kolyshkin in #300
- GHA CI improvements by @kolyshkin in #301
- Improved encoding error handling by @guelfey in #297
- homedir: revamp by @kolyshkin in #304
- CI: add codespell by @kolyshkin in #303
- Introduce and use EscapeBusAddressValue by @kolyshkin in #302
- auth: handle improperly formatted OK correctly by @guelfey in #309
- doc: clarify struct order and link to spec for types by @guelfey in #311
- conn: don't send message if context is already cancelled by @guelfey in #312
- prop: copy initial values and store as pointers internally by @guelfey in #310
- TestObjectSignalHandling: fix/improve by @kolyshkin in #313
Full Changelog: v5.0.6...v5.1.0
v5.0.6
Add missing WithHandler call to DialHandler
examples: Add client to partner server
fix missing SendNullByte on NetBSD
conn: add new method SessionBusPrivateNoAutoStartup
fix: remove unneccessary semicolon
fix auth under root with syscall.Seteuid(uid)
v5.0.5
Various encoder and decoder improvements.
v5.0.4
Fix singleton can no longer be used after being closed
example: prop.go handle unhandle error
prop: add EmitConst
Add more match options
Fix Conn.exportMethodTable
Improve error message in export()
Fix function documentation name
Fix spelling mistakes
prop: fix set property
sequential_handler: convert queue to from a list to a slice
sequential_handler: simplify to use less goroutines
conn: reduce channel capacity to 1 in Conn.send()
conn: centralise (most) serial handling to sendMessageAndIfClosed
Mention another project that uses godbus/dbus
Add Add/RemoveMatchSignal versions that accept a context
fix compilation error on FreeBSD 13 CURRENT
declare error type once
Remove type assertion
Add tests, catch case where developer does not handle error
Add ExportAll option so objects can ignore Error requirement
Allow the Store for Variants and Properties.
Fix panic on call to method with pointer arguments
Allow race-free implementation of the State Caching Proxy Pattern.
Add playerbm to projects that use godbus in readme
Update tests to use Connect functions
Add Connect tests
Update examples to use Connect methods
Add Connect* functions
v5.0.3
Add example for BecomeMonitor
Fix go.mod for v5
v5.0.2 Update go.mod to v5
Fix darwin build
Fix darwin compilation tryDiscoverDbusSessionBusAddress is missing in conn_darwin.go, but is referred to from conn.go.
Use semantic versioning
v5.0.0 always invoke (Add|Remove)MatchSignal on bus object, add additional f…
API changes cleaning up connection creation
v5.0 always invoke (Add|Remove)MatchSignal on bus object, add additional f…
v4.1.0
- Expose the default handlers
- Allow implementations to decide when to make signal handling asynchronous.
- Fix Object.Call blocking
- introduce MakeVariantWithSignature
- Update README.markdown
- make transport endian aware
- add a bluetooth example
- system bus adress lookup was not system specific
- Ensure dbus-launch is always installed in the test environment
- Rework support for more go types.
- Fix a few bugs related to storing values.
- Add support for more of go's basic types
- Change the DBusError interface
- Fix generic error handling
- Add support for mapping the empty interface to Variants where appropriate.
- Add integration for travis-ci
- MAINTAINERS: add John Southworth
- Fixed typo in docstring
- dbus: Only dereference dest in store if Kind is Interface or Ptr.
- fix comments for FreeBSD
- Refactor connection implementation details
- added bool to indicate when the signal channels have been closed This fixes #45 - panic after Close() with send on closed channel.
- fix TestTcpConnection on OpenBSD
- SendNullByte implementation for OpenBSD
- add a FreeBSD unixcred.