Skip to content

centraldogma-0.28.0

Choose a tag to compare

@trustin trustin released this 15 Jun 06:37
e3ccda8

Improvements

  • Server
    • HTTP API responses now have the following format:

      {
        "exception": "<fully qualified class name of the exception> (optional)",
        "message": "<human-readable error message>"
      }

Bug fixes

  • Client: Golang
    • Fixed a bug where Go client does not provide an error message. #246
  • Server
    • JSON paths were not evaluated when watching a file using the HTTP API. #240
    • Jumping to a revision in web UI's file list view did not work. #243
    • A user or a mirroring service was able to see a partially created project, which can cause unexpected exceptions. #245 #247
      • Due to this fix, it is impossible to run pre-0.28.0 replicas and 0.28.0 replicas in the same cluster. Enter read-only mode or shut down your cluster completely before upgrading.

Breaking changes

  • Client: Java
    • CentralDogma.push() now returns PushResult instead of Commit. #241 #242
    • CentralDogma.getHistory() now returns List<Commit> instead of List<CommitAndChanges>. #241 #242
  • Client: Go
    • Commit struct does not have entries anymore. #244
      • Added WatchResult.entry instead
    • Client.Push() now returns PushResult instead of Commit. #244
  • Server
    • Reduced the amount of information for some HTTP API responses. #241 #242
      • When pushing a changeset, author, commitMessage and entries will not be returned.
      • When retrieving a commit list, entries will not be returned.
      • When watching a file, entry will be returned instead of entries.
      • When watching a repository, entries will not be returned.

Dependencies

  • Armeria 0.65.1 -> 0.66.0