Skip to content

centraldogma-0.75.0

Choose a tag to compare

@github-actions github-actions released this 20 Mar 10:45
· 74 commits to main since this release
b11e4eb

New features

  • You can now set a MeterRegistry to ArmeriaCentralDogma to record watcher metrics. #1094
    • The meter names:
      • centraldogma.client.watcher.latest.revision
      • centraldogma.client.watcher.latest.received.time
  • You can now easily create a JSON patch with JsonPatchOperation. #1088 #1089
    // Add
    AddOperation add = JsonPatchOperation.add("/b", new IntNode(2));
    // Copy
    CopyOperation copy = JsonPatchOperation.copy("/a", "/b");
    // Move
    MoveOperation move = JsonPatchOperation.move("/a","/b");
    // Remove
    RemoveOperation remove = JsonPatchOperation.remove("/a");
    // Remove if exists 
    RemoveIfExistsOperation removeIfExists = JsonPatchOperation.removeIfExists("/a");
    // Replace
    ReplaceOperation replace = JsonPatchOperation.replace("/a", new IntNode(2));
    // Safe replace (aka. compare and set)
    SafeReplaceOperation safeReplace =
            JsonPatchOperation.safeReplace("/a", new IntNode(1), new IntNode(2));
    // Test if a value exists in a node
    TestOperation test = JsonPatchOperation.test("/a", new IntNode(1));
    // Test absent
    TestAbsenceOperation testAbsence = JsonPatchOperation.testAbsence("/b");
  • Enables dynamic updates to ClusterLoadAssignment without needing to recreate the entire structure. #1114
  • The mirror creator and updater are now accessible in MirrorListener. #1109

Improvements:

  • The Central Dogma server gracefully terminates requests while respecting GracefulShutdown timeout. #1104
  • Increased cache hits through repo-level cache and allows the server to quickly fill the cache when starting up. #1098

Bug fixes

  • K8s endpoints are not partially updated anymore. #1112
  • Repository ADMIN can now update RepositoryMetadata. #1116
  • You can no longer see or access the meta repository directly. #1115
  • Pushing to the dogma project and repository from UI are now prohibited. #1102
  • The repository credential is now correctly deleted. #1107
  • A repository ADMIN can now access the repository settings page. #1107

Dependencies

  • Armeria 1.32.0 -> 1.32.3

Thank you

This release was possible thanks to the following contributors who shared their brilliant ideas and awesome pull requests: