Skip to content

centraldogma-0.80.0

Choose a tag to compare

@ikhoon ikhoon released this 04 Mar 08:01
· 44 commits to main since this release
30848bb

New features

  • Central Dogma now supports templates and variables for dynamic configuration. You can define variables at the project or repository level and use ${vars.varName} placeholders in your configuration files. When fetched with template rendering enabled, placeholders are replaced with actual variable values at runtime. This enables managing multiple environments with a single template and centralizing common configuration values. #1243 #1244 #1251 #1262

    CentralDogma dogma = ...;
    
    // Fetch a rendered template with default variables
    Entry<String> rendered = dogma.forRepo("myProject", "myRepo")
                                  .file(Query.ofText("/config.json"))
                                  .renderTemplate(true)
                                  .get()
                                  .join();
    
    // Fetch with a custom variable file for production
    Entry<String> prodConfig = dogma.forRepo("myProject", "myRepo")
                                    .file(Query.ofText("/config.json"))
                                    .renderTemplate("/vars/prod.json")
                                    .get()
                                    .join();

    For detailed usage, see the Templates and Variables documentation.

Improvements

  • Micrometer metrics are now available to track xDS resource snapshot versions. #1248
  • Migrated from JSR-305 to JSpecify annotations for nullability. #1194

Bug fixes

  • A mirror is now re-run when its configuration is updated. #1247
  • Javadoc is now generated correctly. #1246 #1250 #1253
  • Invalid YAML files are now served as TEXT type instead of causing errors. #1257
  • The delete button on a directory now works correctly. #1260
  • The DiffEditor is now readonly as intended. #1261
  • The tokens field has been renamed to appIds in ProjectMetadataDto.ts to match the server model. #1265
  • Fixed ShuttingDownException by stopping the command executor before ProjectManager. #1266

Dependencies

  • Armeria 1.35.0 → 1.36.0
  • Dropwizard Metrics 4.2.37 → 4.2.38
  • Jackson 2.20.1 → 2.21.0
  • jGit 6.10.0 → 6.10.1
  • JUnit 5 5.14.1 → 5.14.2
  • Kubernetes client 7.4.0 → 7.5.2
  • Micrometer 1.16.0 → 1.16.2
  • MINA sshd 2.16.0 → 2.17.1
  • Nimbus JOSE+JWT 10.6 → 10.7
  • Spring Boot 3.5.8 → 3.5.10, 4.0.0 → 4.0.2
  • Testcontainers 1.21.4 → 2.0.3
  • Zstd 1.5.7-6 → 1.5.7-7

Thank you

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