Skip to content

Latest commit

 

History

History
90 lines (52 loc) · 2.53 KB

CHANGELOG.md

File metadata and controls

90 lines (52 loc) · 2.53 KB

Change Log for Properties Constants Creator Maven Plugin

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

0.5.0 - 2023-09-28

This release contains breaking changes.

Fixed

  • bundle name now uses dots as separator instead of slashes
  • key/values are now escaped when used in javadoc

Changed

  • BREAKING: Custom Freemarker template must be either on the classpath or relative to project root. Absolute file names are no longer supported.
  • BREAKING for custom Freemarker templates: The package name variable in the template model was renamed from pkgName to packageName.

0.4.0 - 2023-02-10

This release contains breaking changes.

Fixed

Added

Changed

  • BREAKING: Removed the possibility to add static methods to the classes generated with the template keys. As replacement a String constant holding the properties file name is created (PROPERTIES_FILE_NAME). For I18N a constant holding the bundle name can be created (BUNDLE_NAME). This behavior and the name of the constants is configurable.

0.3.0 - 2023-01-29

Fixed

  • Windows: backslash in file pathes result in invalid code generated
  • Invalid syntax in examples in README and FAQ

Added

  • CI build with Windows

Changed

  • Property to skip is now properties-constants.skip

0.2.0 - 2023-01-20

The plugin is now using the Freemarker template engine to generate source code. It defines two internal templates:

  • keys generates constants that holds the keys to access the properties file
  • values generate constants that holds the values from the properties file

See documentation for details.

Changed

  • use template engine Freemarker
  • template options were renamed and are now below new tag templateOptions. See documentation

Added

  • option classNameSuffix to be appended to generated class name
  • support for custom code templates

0.1.0 - 2021-10-17

Initial implementation.