Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Releases: j-easy/easy-props

v4.0.0

15 Nov 22:19
2eb7b44
Compare
Choose a tag to compare

This release is a major version and requires Java 11 as a minimum Java version. It comes with the following enhancements:

  • Issue #25: Prefix database properties with org.jeasy.props
  • Issue #24: Replace JUL with SLF4J
  • Issue #23: Introduce TypeConversionException in TypeConverter API
  • Issue #22: TypeConverter interface should be moved to org.jeasy.props.api package

Migrating from v3.1 to v4.0

  • Database properties (db.driver, db.url, etc) should now be prefixed with org.jeasy.props
  • If you use a custom TypeConverter, you need to update your imports as this API has been moved to the org.jeasy.props.api package (Issue #22)
  • If you use a custom TypeConverter, you can now throw a TypeConversionException instead of a runtime exception (Issue #23) to signal any type conversion issue

v3.1.0

18 Sep 21:08
c75fdc6
Compare
Choose a tag to compare

This release comes with the following new features, enhancements and bug fixes:

New features

  • Issue #16: Add Ability to define order of execution of annotation processors
  • Issue #14: Add ability to fail fast by throwing an exception if a property is absent
  • Issue #19: Add support for default values in all annotations

Enhancements

  • Issue #18: System properties should not be logged
  • Issue #17: Database properties should not be logged
  • Issue #15: Environment variables should not be logged

Bug fixes

  • Issue #13: Unable to load properties file in a web application

Many thanks to all contributors who helped on making this release possible!

v3.0.0

14 Mar 00:14
472da4b
Compare
Choose a tag to compare

This release is based on Java 8 and introduces the following new features and enhancements:

  • Issue #8: Add ability to inject properties in private classes
  • Issue #9: Add EnvironmentVariable annotation and processor
  • Issue #10: Change the resource loading to the base class loader
  • Issue #11: Allow to register custom type converters

Many thanks to @michaelcouck, @AlexFalappa and @gscho for their awesome feedback and contributions to this release!

v2.0.0

08 Jun 19:20
Compare
Choose a tag to compare

Easy Props is now part of the jeasy project. This means that:

  • the base package has changed from io.github.benas to org.jeasy.props
  • the maven groupId has changed from io.github.benas to org.jeasy
  • the maven artifactId has changed from easy-properties to easy-props

This major release 2.0.0 is exactly the same as v1.3.0 except the aforementioned changes.

v1.3.0

17 Jul 19:43
Compare
Choose a tag to compare

New features

  • Add hot reloading feature
  • Add JMX configuration feature
  • Add support for file: and classpath: resource prefix

API changes

  • Add method to create a new PropertiesInjector with default parameters
  • PropertyInjectionException is now a RuntimeException
  • PropertiesInjectorBuilder has been moved form io.github.benas.easyproperties.impl package to io.github.benas.easyproperties