Releases: daniel-frak/dummy4j
Releases · daniel-frak/dummy4j
0.11.0
0.10.1
Preventative maintenance
- Remove dependency on
Guava
fromDefaultExpressionResolver
- Update
reflections
version to0.10.2
(removesGuava
transitive dependency) - Update
snakeyaml
version to1.3.0
0.10.0
Features and API changes
- Add
BusinessDummy
- Add
dummy4j::find
convenience method for finding methods by name
0.9.0
Features and API changes
- Add new methods to
IdentifierDummy
for generating:- ISSN
- ISBN
- ISMN
- ISNI
- ORCID
- GTIN8
- GTIN12 (UPC)
- GTIN13
- GTIN14
- GS1-128
- IMEI
- IMEISV
- TAC
- ASIN
- SSCC
- Add
InvalidDefinitionException
to be thrown when a definition can't be resolved properly - Add
NumberService::digits
method - Log (level:
FINE
) when a path could not be resolved byDefaultExpressionResolver
Bugfixes
- Fix a yml definition for
BookDummy
(doubleof
when a book starts withThe Return of
) - Add
ResolvedValue::toString
Preventative maintenance
- Add checking if a range is valid in
NumberValidator::inRange
0.8.0
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
topath
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
0.7.3
Bugfixes and preventative maintenance
- Fix issue #38 -
MissingLocaleException
when using Dummy4j in a Spring Boot jar - Fix Logger name in
YamlFileLoader
- Change
orElse
method calls toorElseGet
inCreditCardBuilder
,CreditCardNumberBuilder
,IbanBuilder
andUrlBuilder
- Refactor API code
- Make 'code' field final in
BankAccountCountry
- Extract interface for
UniqueValues
, rename the original class toDefaultUniqueValues
- Make default implementations final for
DefinitionProvider
,UniqueValues
,LocalizedDummyDefinitions
,ExpressionResolver
andRandomService
- Make
LuhnFormula
,IbanFormula
andFinanceBuilderFactory
constructor package protected, createFinanceBuilderFactory::newInstance
method - Make
YamlFileLoader
package protected
- Make 'code' field final in
0.7.2
Bugfixes and preventative maintenance
- Fix bug with exceptions being thrown when resolving lists containing numbers
0.7.1
0.7.0
Features and API changes
- Add UniqueValues::within method for providing locally unique values
- Add UniqueValues::of method for providing locally unique value collections
- Add methods that handle varrargs to FinanceDummy builders
- Allow escaping of # sign in expresions and definitions
- Add more spaceship names
- Limit visibility of constants in UrlBuilder
- Update PriceBuilder documentation
Bugfixes and preventative maintenance
- Fix bug with InternetDummy::passwordBuilder not escaping # sign
- Check for empty or null collections and arrays when getting a random element from them
- Use Unicode properties when creating the pattern for whitespaces
- Fix grammar in docs
0.6.0
Features and API changes
- Add
FinanceDummy
- Add
InternetDummy::username
- Add vararg methods to
Dummy4jBuilder
- Add
getSeed
method - Update javadoc
Bugfixes and preventative maintenance
- Fix
dummy4j.address().street()
method not working - Rename
MissingLocaleException
toMissingLocaleDefinitionsException
- Refactor internal code