Skip to content

centraldogma-0.36.0

Choose a tag to compare

@trustin trustin released this 11 Mar 08:19
b28f705

New features

  • Client
    • Added a new Java client implementation that uses HTTP instead of Thrift. #350
      • See Specifying an access token for more information.
      • Use ArmeriaCentralDogmaBuilder instead of LegacyCentralDogmaBuilder.
      • Note that you must specify an access token if your server has authentication/authorization enabled.
        import com.linecorp.centraldogma.client.CentralDogma;
        import com.linecorp.centraldogma.client.armeria.ArmeriaCentralDogmaBuilder;
        
        final CentralDogma dogma = new ArmeriaCentralDogmaBuilder()
                .host("replica1.example.com")
                .host("replica2.example.com")
                .accessToken("appToken-cffed349-d573-457f-8f74-4727ad9341ce")
                .build();
    • Spring Boot integration now uses the new HTTP-based client and has its own configuration section in application.yml. #356
      • See Spring Boot integration for more information.
        centraldogma:
          hosts:
          - replica1.example.com
          - replica2.example.com
          access-token: appToken-cffed349-d573-457f-8f74-4727ad9341ce
  • Server
    • Added a new configuration property webAppTitle which will be shown in the header section of the web UI. You might find this useful when you want to show certain information such as DEV or PROD. #349 #352
    • Implemented the preview-diff operation in the HTTP API. This is the first release where the HTTP API has the same level of operations as in the Thrift API. #120 #350
    • Docker image is now based on OpenJDK 11. #348

Bug fixes

  • Server
    • Fixed an Unexpected exception during authorization error which occurs when a user sends an invalid or unexpected authorization header. #346

Deprecations

  • Client
    • LegacyCentralDogmaBuilder has been deprecated in favor of ArmeriaCentralDogmaBuilder. #350

Breaking changes

  • Client
    • Spring Boot integration will require an access token if your Central Server has authentication enabled. #350

Dependencies

  • Removed the dependency to commons-daemon which prevented us from upgrading from Java 8 to 11. #348
  • Armeria 0.80.0 -> 0.81.0
  • Caffeine 2.6.2 -> 2.7.0
  • Curator 4.0.1 -> 4.2.0
  • Guava 27.0.1 -> 27.1