Skip to content

Releases: line/centraldogma

centraldogma-0.38.0

03 Apr 06:34
04334f5
Compare
Choose a tag to compare

New features

  • Server
    • HTTP API responses that contain an entry now include revision property. #310 #378
    • You can specify fsync.warningthresholdms ZooKeeper property to the additionalProperties section when using ZOOKEEPER replication mode. #366 #377

Performance

  • Server
    • The initial comparison of two Git trees, which is performed on wathFile() and watchRepository() operation, is now faster thanks to the various optimizations such as caching. #371 #372 #374 #375
    • A client request which has timed out already will be cancelled so that the server recovers faster from thundering herds. #373

Bug fixes

  • Server
    • Authentication failure response is now a proper JSON. #367
    • data/last_revision file is now updated on every change, reducing the chance of data integrity issues. #369

Dependencies

  • Armeria 0.82.0 -> 0.83.0

centraldogma-0.37.0

20 Mar 10:38
02ef258
Compare
Choose a tag to compare

New features

  • Client
    • You can now specify an access token when building a Thrift Java client using LegacyCentralDogmaBuilder.
      CentralDogma dogma = new LegacyCentralDogmaBuilder()
          .host("dogma.example.com")
          .accessToken("appToken-********")
          .build();

Bug fixes

  • Client
    • Spring Boot integration no longer ignores the centraldogma.access-token property.
  • Server
    • The server no longer rejects a commit without a conflict when the commit's base revision is -1. Previously, you sometimes got a 409 Conflict error.

Dependencies

  • Armeria 0.81.0 -> 0.82.0
  • jGit 5.2.1 -> 5.3.0
  • No longer depends on JNR

centraldogma-0.36.0

11 Mar 08:19
b28f705
Compare
Choose a tag to compare

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

centraldogma-0.35.1

19 Feb 05:53
73dd642
Compare
Choose a tag to compare

Dependencies

  • Armeria 0.79.0 -> 0.80.0
  • Hibernate Validator 6.0.14 -> 6.0.15
  • SLF4J 1.7.25 -> 1.7.26
  • Spring Boot 2.1.2 -> 2.1.3, 1.5.18 -> 1.5.19

centraldogma-0.35.0

23 Jan 09:33
4b6f7f8
Compare
Choose a tag to compare

Dependencies

  • Armeria 0.78.1 -> 0.79.0
  • hibernate-validator 6.0.13.Final -> 6.0.14.Final
  • jackson-datatype-jsr310 2.9.7 -> 2.9.8
  • Spring Boot 2.1.1.RELEASE -> 2.1.2.RELEASE

centraldogma-0.34.0

24 Dec 09:15
71c255b
Compare
Choose a tag to compare

New features

  • Added an API which can get a merged JSON file. #293
  • Client-side health check interval is now configurable. #335

Improvements

  • Redirected to the first requested URL after SAML SSO is performed. #328
  • Logged when HTTP API returns 500 Internal Server Error. #330
  • ZooKeeper has now only 3 snapshots to reduce disk usage. #332

Bug fixes

  • Fixed a bug where watch timeout is not reset when it is greater than the request timeout. #325
  • Fixed a bug where a JSON file is not updated when the property name contains ~ and /. #338
  • Fixed a bug where IndexOutOfBoundsException is raised when watching. #334

Breaking change

  • Removed all fields other than revision and entry from WatchResultDto.

Dependencies

  • Armeria 0.76.2 -> 0.78.1
  • Jackson 2.9.7 -> 2.9.8
  • Javassist 3.24.0 -> 3.24.1
  • Spring Boot 2.1.0 -> 2.1.1, 1.5.17 -> 1.5.18

centraldogma-0.33.0

28 Nov 07:54
f65c09d
Compare
Choose a tag to compare

New features

Bug fixes

  • Server
    • Added the path to Central Dogma bin directory to PATH environment variable in the docker image. #307
    • Fixed a bug where replica serverId autodetection fails when more than one NIC have the same IP address. #316

Breaking changes

  • From this release on, we distribute shaded JARs only. If you were using shaded JARs, you have to remove the -shaded suffix from all Central Dogma artifact IDs. You should not see any differences besides that because all Central Dogma artifacts are now distributed as shaded JARs by default.
  • Since we removed unnecessary dependencies from centraldogma-bom, your build might fail to resolve some of your dependencies if you relied on centraldogma-bom for the version numbers of non-Central Dogma dependencies.
  • Server

Dependencies

  • Armeria 0.75.0 -> 0.76.2
  • JSch 0.1.54 -> 0.1.55
  • JCommander is not an optional dependency. #306 #317

centraldogma-0.32.1

09 Nov 09:55
2d44143
Compare
Choose a tag to compare

Dependencies

  • Downgraded JCommander from 1.74 to 1.72 because it turned out to be unavailable in Maven Central.

centraldogma-0.32.0

09 Nov 09:01
e520ce1
Compare
Choose a tag to compare

New features

  • Embedded ZooKeeper for replicated setup so that an administrator does not have to set up a ZooKeeper cluster just for Central Dogma anymore. #278
  • Replicating is now possible even when in read-only mode #285
  • A user is able to add custom profiles on top of the official centraldogma-profiles.json profiles. #296

Bug fix

  • Fixed frontend-side route conflicts so that a user can create and access whose name is new, files, projects, etc from the web UI. #272

Improvement

  • Go client has a standard Go layout now. #284

Breaking changes

  • replicaId is not auto-generated. #278
  • Changed the type of replicaId from String to int. This is for using the replicaId as serverId in ZooKeeper. #278
  • Go client has a new import path: go.linecorp.com/centraldogma
  • Go client now has its own repository: https://github.com/line/centraldogma-go #284

Dependencies

  • Armeria 0.69.0 -> 0.75.0
  • jGit 5.0.2 -> 5.1.1
  • Go 1.11.1 -> 1.11.2
  • Spring Boot 1.5.14 -> 1.5.16

centraldogma-0.31.0

14 Aug 06:32
Compare
Choose a tag to compare

Dependencies

  • Armeria 0.68.1 -> 0.69.0
  • jGit 5.0.1 -> 5.0.2