Skip to content

SRS Client Info and gRPC client authentication

Compare
Choose a tag to compare
@dutchie032 dutchie032 released this 29 Oct 20:22
· 4 commits to main since this release

DCS-gRPC 0.8.0 Released!

We are pleased to announce version 0.8.0 of DCS-gRPC
Main features of this release are improved SRS interfacing, with connect and disconnect events and the ability to get all clients with their frequency, and a optional gRPC client authentication layer for more fine grained control of applications connecting to the rust-server.

Aside from these changes there have been more APIs for DCS functionality exposed.
We have added a summary of currently implemented APIs online which can be viewed here. For full documentation of current APIs see the 0.8.0 API Documentation page.

Changelog

Breaking Changes

  • Renamed TtsService to SrsService

Added

  • Added ActivateGroup API which allows to activate groups with late activation.
  • Added DestroyGroup API which removes the entire group from the game world.
  • Added DestroyUnit API
  • Added GetClients to SrsService, which retrieves a list of units that are connected to SRS and the frequencies they are connected to.
  • Added SrsConnectEvent and SrsDisconnectEvent events
  • Added GetDrawArgumentValue API for units, which returns the value for drawing. (useful for "hook down", "doors open" checks)
  • Added MetadataService with GetHealth and GetVersion for quick checks on health (even when DCS mission is unresponsive) and version.
  • Added Authentication Interceptor. This enables authentication on a per client basis.

Fixed

  • Fixed MarkAddEvent, MarkChangeEvent and MarkRemoveEvent position
  • Fixed crash of concurrent Windows TTS synthesis (#223)
  • Fixed file handler left open: Closing config file again after reading it in LUA
  • Fixed the config value for tts.defaultProvider for Google Cloud to be lowercase gcloud (instead of gCloud)
  • Fixed error with getCategory due to API changes in DCS (#246)
  • Fixed export of airbase objects by filtering out ships that are no longer part of a group due to damage
  • Fixed `onPlayerTrySendChat``returning a value and therefore stopping other scripts from reacting to the event