»cfg4j« is a modern configuration library for distributed apps written in Java.

Release 4.2.1

»cfg4j« 4.2.1 released!

We're proud to announce the 4.2.1 release of »cfg4j«. Learn more about new features in this article.

Changes

Fixes

  • #136 - FallbackConfigurationSource would fail when one of the underlying sources threw SourceCommunicationException

Improvements

  • #139 - notify user when the getConfiguration() method gets called before init() or after failed reload() call

4.2.1 artifacts

Installation

Gradle

dependencies {
  compile group: "org.cfg4j", name:"cfg4j-core", version: "4.2.1"

  // Optional plug-ins

  // Consul integration
  compile group: "org.cfg4j", name:"cfg4j-consul", version: "4.2.1"

  // Git integration
  compile group: "org.cfg4j", name:"cfg4j-git", version: "4.2.1"
}

Maven

<dependencies>
  <dependency>
    <groupId>org.cfg4j</groupId>
    <artifactId>cfg4j-core</artifactId>
    <version>4.2.1</version>
  </dependency>
  
  <!-- Optional plug-ins -->
  
  <!-- Consul integration -->
  <dependency> 
    <groupId>org.cfg4j</groupId>
    <artifactId>cfg4j-consul</artifactId>
    <version>4.2.1</version>
  </dependency>
  
  <!-- Git integration -->
  <dependency>
    <groupId>org.cfg4j</groupId>
    <artifactId>cfg4j-git</artifactId>
    <version>4.2.1</version>
  </dependency>
</dependencies>