Skip to content

0.7.0

Compare
Choose a tag to compare
@jakaplan jakaplan released this 12 May 19:07
· 104 commits to main since this release
b198606

This release adds numerous improvements that result in breaking changes.

Breaking changes

  • XPCServer's targetQueue property has been removed and replaced with a handlerQueue property with improved documentation. This queue is only used when running synchronous handlers. By default a concurrent queue is used to run synchronous handlers, but this can be set to a serial queue if desired.
  • XPCClient and XPCServer's serviceName property has been replaced by a connectionDescriptor property. This property returns a type of XPCConnectionDescriptor which describes the connection and for non-anonymous connections includes the name.
  • XPCServerEndpoint now also has a connectionDescriptor property which returns a value matching that of the XPCServer from which it was created.
  • Most of XPCError's cases now have named parameters for their associated values. For example XPCError.routeMismatch(routeName:description:).