Skip to content

0.8.0

Compare
Choose a tag to compare
@daniel-frak daniel-frak released this 18 Jun 11:53
· 61 commits to master since this release

Features and API changes

  • Allow resolving lists of keys (returning a random key, instead of a value)
  • Allow resolving nested placeholders (#{path.to.key1.#{path.to.key2}})
  • Introduce multi-locale placeholders (#{{path.to.key}})

Bugfixes

  • Fix bug with nested single-locale placeholders being resolved in a different locale than their parent expressions
  • Fix bug where trying to resolve an unresolvable expression would sometimes result in an ArrayIndexOutOfBoundsException

Preventative maintenance

  • Change some references of key to path in Javadoc
  • Refactor DefaultExpressionResolver
  • Make LocalizedDummyDefinitionsMap final
  • Replace all mentions of a parser with 'expression resolver'
  • Clarify removal of unresolvable placeholders from expressions
  • Unify path.to.key / key.path / key.path references