centraldogma-0.55.0
⭐️ New features
- You can now send a request to a Central Dogma server via fluent APIs. #651
centralDogma.forRepo("foo", "bar") .file("/foo.json") .get(); centralDogma.forRepo("foo", "bar") .watch("/foo.json") .start(); centralDogma.forRepo("foo", "bar") .watcher(PathPattern.all()) .start();
- You can specify
errorOnEntryNotFoundastrueto get notified of an exception when the target entry doesn't exist. #532 #653CentralDogma dogma = ... dogma.forRepo("foo", "bar") .watch("/baz.json") .errorOnEntryNotFound(true) // 👈👈👈 .start();
- You can now limit the number of commits when retrieving the commit history. #664
centralDogma.forRepo("foo", "bar") .history() .maxCommits(5) // 👈👈👈 .get(Revision.HEAD, Revision.INIT);
- You can specify
gitignoreto exclude files from mirroring. #38 #645[ { "type": "single", "enabled": true, "schedule": "0 * * * * ?", "direction": "REMOTE_TO_LOCAL", "localRepo": "foo", "localPath": "/", "remoteUri": "git+ssh://git.example.com/foo.git/settings#release", "gitignore": [ // 👈👈👈 "/credential.txt", "private_dir" ] } ]
📈 Improvements
- You cannot create a file in the
metarepository anymore. #633 #649 - The default health check interval of
ArmeriaCentralDogmais now 3 seconds to reduce the possibility ofEmptyEndpointGroupExceptionraising. #674 - You can see the detailed error message when a
CentralDogmaBeanFactoryraises aTimeoutException. #679
🛠️ Bug fixes
- The author of a repository is now set correctly. #680
Repository.author()andRepository.creationTimeMillis()do not block the thread anymore. #682- You can now enable and disable replication in read-only mode. #360 #656
- You can now use a valid ETag for
If-None-Matchwhen sending a watch request through REST API. #415 #654 - The mapper
Functionof a childWatcheris executed only once when the child watcher gets notified. #657
☢️ Breaking changes
CentralDogma.createRepository()now returnsCentralDogmaRepository. #662
⛓ Dependencies
- Armeria 1.14.0 -> 1.14.1
Thank you
This release was possible thanks to the following contributors who shared their brilliant ideas and awesome pull requests:
- @di-seo
- @ghkim3221
- @jrhee17
- @ikhoon
- @minwoox
- @TheWeaVer
- @trustin
- @yyuunn0044