Skip to content

centraldogma-0.39.0

Choose a tag to compare

@trustin trustin released this 25 Apr 01:56
051a483

New features

  • Client
    • You do not need to specify timeout parameter when calling CentralDogma.watchFile() or watchRepository() anymore. #391
    • You can now specify a default value with Watcher.awaitInitialValue(), so that you do not get an exception when a Central Dogma server is unavailable. #391
  • Server
    • You can now monitor a Central Dogma server using Prometheus. Scrape the metrics at /monitor/metrics. #389
    • You can now run a custom task when a Central Dogma server starts or stops using the plugins API. #353 #381
      • Internally, the Git-to-CD mirroring has been converted to a plugin.

Bug fixes

  • Client
    • ArmeriaCentralDogma now handles 204 No Content responses for some operations correctly. #394
    • ArmeriaClientConfigurator is now applied in correct order. #396
    • The watch timeout of CentralDogmaEndpointGroup has been increased to 20 seconds. It has too short timeout before. #383
    • CentralDogmaEndpointGroup does not wait for the initial endpoints anymore, to be consistent with other EndpointGroup implementations. #383
      • Use awaitInitialEndpoints() if you need to wait for the initial endpoints.
  • Server
    • GitRepository.compareTrees() operation is now cached properly. #382
    • The shutdown script now ends after the server is terminated completely. #386

Breaking changes

  • Client
    • CentralDogmaEndpointGroup does not wait for the initial endpoints anymore, to be consistent with other EndpointGroup implementations. #383
  • Server
    • CentralDogma.cacheStats() has been removed.

Dependencies

  • Armeria 0.83.0 -> 0.84.0
  • Spring Boot 2.1.3 -> 2.1.4, 1.5.19 -> 1.5.20
  • Javassist 3.24.1 -> 3.25.0