cdn

Simple and fast property-based configuration library for JVM apps, similar to JSON5 standard, also with JSON & YAML-like targets 🧾

APACHE-2.0 License

Stars
57

Bot releases are visible (Hide)

cdn - 1.14.5 Latest Release

Published by dzikoysk 4 months ago

Full Changelog: https://github.com/dzikoysk/cdn/compare/1.14.3...1.14.5

Sponsors
Thanks to everyone who supported me this month 💜

cdn - CDN 1.14.3

Published by dzikoysk over 1 year ago

What's Changed

Full Changelog: https://github.com/dzikoysk/cdn/compare/1.14.2...1.14.3

cdn - CDN 1.14.2

Published by dzikoysk almost 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/dzikoysk/cdn/compare/1.11.5...1.14.2

repositories {
    maven("https://repo.panda-lang.org/releases") {}
}

dependencies {
    implementation("net.dzikoysk:cdn:1.14.2") // Default
    implementation("net.dzikoysk:cdn-kt:1.14.2") // Kotlin wrapper
}
cdn - CDN 1.11.5

Published by dzikoysk almost 3 years ago

Changes

  • GH-62 Support for reactive references
    class Foo {
        public final Reference<String> property = reference("value");
        public final MutableReference<String> mutableProperty = mutableReference("mutable-value");
    }
    
  • GH-97 Support for Kotlin properties
    class Foo {
        var mutable = "value"
        val immutable = reference("value")
    }
    
  • GH-83 Support for properties (access through set/get methods)
    class Foo {
        private String bar = "default";
        public void setBar(String bar) { this.bar = bar; }
        @Description("# Test")
        public String getBar() { return bar; }
    }
    
  • GH-83 Support for repeated @Description annotation in Kotlin properties (required Kotlin 1.6+)
  • Bump of dependencies

Maven

repositories {
    maven { url 'https://repo.panda-lang.org/releases' }
}

dependencies {
    implementation 'net.dzikoysk:cdn:1.11.5' // Default
    implementation 'net.dzikoysk:cdn-kt:1.11.5' // Kotlin wrapper
}
cdn - CDN 1.9.4

Published by dzikoysk about 3 years ago

Changes

  • GH-82 Support special characters at the end of list entries in YAML-like format
list:
  - a:
  - b {
  - c

Maven

repositories {
    maven { url 'https://repo.panda-lang.org/releases' }
}

dependencies {
    // Default
    implementation 'net.dzikoysk:cdn:1.9.4'
    // Kotlin wrapper
    implementation 'net.dzikoysk:cdn-kt:1.9.4'
}
cdn - CDN 1.9.2

Published by dzikoysk about 3 years ago

Changes

  • GH-75 Support NIO api
Cdn#load(java.nio.Path)
Cdn#render(java.nio.Path)
  • GH-76 Support transient properties
@Description('# Transient fields should be ignored')
public transient Object shouldBeIgnored = new Object()
  • GH-80 Support inherited fields
static class SectionConfiguration extends ParentSectionConfiguration { }

Maven

repositories {
    maven { url 'https://repo.panda-lang.org/releases' }
}

dependencies {
    // Default
    implementation 'net.dzikoysk:cdn:1.9.2'
    // Kotlin wrapper
    implementation 'net.dzikoysk:cdn-kt:1.9.2'
}
Badges
Extracted from project README
Reposilite codecov CodeFactor