This repository has been archived by the owner on Nov 18, 2020. It is now read-only.
Releases: j-easy/easy-props
Releases · j-easy/easy-props
v4.0.0
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
inTypeConverter
API - Issue #22:
TypeConverter
interface should be moved toorg.jeasy.props.api
package
Migrating from v3.1 to v4.0
- Database properties (
db.driver
,db.url
, etc) should now be prefixed withorg.jeasy.props
- If you use a custom
TypeConverter
, you need to update your imports as this API has been moved to theorg.jeasy.props.api
package (Issue #22) - If you use a custom
TypeConverter
, you can now throw aTypeConversionException
instead of a runtime exception (Issue #23) to signal any type conversion issue
v3.1.0
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
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
Easy Props is now part of the jeasy project. This means that:
- the base package has changed from
io.github.benas
toorg.jeasy.props
- the maven
groupId
has changed fromio.github.benas
toorg.jeasy
- the maven
artifactId
has changed fromeasy-properties
toeasy-props
This major release 2.0.0 is exactly the same as v1.3.0 except the aforementioned changes.
v1.3.0
New features
- Add hot reloading feature
- Add JMX configuration feature
- Add support for
file:
andclasspath:
resource prefix
API changes
- Add method to create a new
PropertiesInjector
with default parameters PropertyInjectionException
is now aRuntimeException
PropertiesInjectorBuilder
has been moved formio.github.benas.easyproperties.impl
package toio.github.benas.easyproperties