Closed fabiolimace closed 3 years ago
The code was restructured. This version contains has breaking changes.
Most people will not be affected by the changes because they only use the static factories of the UuidCreator facade.
UuidCreator
List of changes:
The strategy interfaces was replaced by JDK functional interfaces.
The subclasses of AbstractUuidCreator was replaced by subclasses of UuidFactory.
AbstractUuidCreator
UuidFactory
The new time-based factories can be instantiated using the Builder pattern.
The abstract time-based factory is ready to implement new proposed versions of UUIDs.
The README.md was simplified. Most of it's contents was moved to Github Wiki.
README.md
ClockSeqFunction
NodeIdFunction
RandomFunction
TimeFunction
DefaultClockSeqFunction
DefaultTimeFunction
DefaultRandomFunction
DefaultNodeIdFunction
MacNodeIdFunction
HashNodeIdFunction
RandomNodeIdFunction
CHANGELOG.md
UuidTime
UuidUtil
NoArgumentsUuidCreator
NoArgsFactory
AbstractNameBasedUuidCreator
AbstNameBasedFactory
AbstractRandomBasedUuidCreator
AbstRandomBasedFactory
AbstractTimeBasedUuidCreator
AbstTimeBasedFactory
NameBasedMd5UuidCreator
NameBasedMd5Factory
NameBasedSha1UuidCreator
NameBasedSha1Factory
RandomBasedUuidCreator
RandomBasedFactory
TimeBasedUuidCreator
TimeBasedFactory
TimeOrderedUuidCreator
TimeOrderedFactory
DceSecurityUuidCreator
DceSecurityFactory
PrefixCombCreator
PrefixCombFactory
ShortPrefixCombCreator
ShortPrefixCombFactory
SuffixCombCreator
SuffixCombFactory
ShortSuffixCombCreator
ShortSuffixCombFactory
ClockSequenceStrategy
DefaultClockSequenceStrategy
DefaultClockSecFunction
TimestampStrategy
DefaultTimestampStrategy
RandomStrategy
DefaultRandomStrategy
NodeIdentifierStrategy
DefaultNodeIdentifierStrategy
MacNodeIdentifierStrategy
HashNodeIdentifierStrategy
RandomNodeIdentifierStrategy
FixedTimestampStretegy
FixedClockSequenceStrategy
FixedNodeIdentifierStrategy
ClockSequenceController
OtherRandomStrategy
UuidConverter
Released version 4.0.0
The code was restructured. This version contains has breaking changes.
Most people will not be affected by the changes because they only use the static factories of the
UuidCreator
facade.List of changes:
The strategy interfaces was replaced by JDK functional interfaces.
The subclasses of
AbstractUuidCreator
was replaced by subclasses ofUuidFactory
.The new time-based factories can be instantiated using the Builder pattern.
The abstract time-based factory is ready to implement new proposed versions of UUIDs.
The
README.md
was simplified. Most of it's contents was moved to Github Wiki.Added
ClockSeqFunction
NodeIdFunction
RandomFunction
TimeFunction
DefaultClockSeqFunction
DefaultTimeFunction
DefaultRandomFunction
DefaultNodeIdFunction
MacNodeIdFunction
HashNodeIdFunction
RandomNodeIdFunction
CHANGELOG.md
Changed
UuidCreator
UuidTime
UuidUtil
README.md
Renamed
AbstractUuidCreator
toUuidFactory
NoArgumentsUuidCreator
toNoArgsFactory
AbstractNameBasedUuidCreator
toAbstNameBasedFactory
AbstractRandomBasedUuidCreator
toAbstRandomBasedFactory
AbstractTimeBasedUuidCreator
toAbstTimeBasedFactory
NameBasedMd5UuidCreator
toNameBasedMd5Factory
NameBasedSha1UuidCreator
toNameBasedSha1Factory
RandomBasedUuidCreator
toRandomBasedFactory
TimeBasedUuidCreator
toTimeBasedFactory
TimeOrderedUuidCreator
toTimeOrderedFactory
DceSecurityUuidCreator
toDceSecurityFactory
PrefixCombCreator
toPrefixCombFactory
ShortPrefixCombCreator
toShortPrefixCombFactory
SuffixCombCreator
toSuffixCombFactory
ShortSuffixCombCreator
toShortSuffixCombFactory
Removed
ClockSequenceStrategy
// replaced byClockSeqFunction
DefaultClockSequenceStrategy
// replaced byDefaultClockSecFunction
TimestampStrategy
// replaced byTimeFunction
DefaultTimestampStrategy
// replaced byDefaultTimeFunction
RandomStrategy
// replaced byRandomFunction
DefaultRandomStrategy
// replaced byDefaultRandomFunction
NodeIdentifierStrategy
// replaced byNodeIdFunction
DefaultNodeIdentifierStrategy
// replaced byDefaultNodeIdFunction
MacNodeIdentifierStrategy
// replaced byMacNodeIdFunction
HashNodeIdentifierStrategy
// replaced byHashNodeIdFunction
RandomNodeIdentifierStrategy
// replaced byRandomNodeIdFunction
FixedTimestampStretegy
FixedClockSequenceStrategy
FixedNodeIdentifierStrategy
ClockSequenceController
OtherRandomStrategy
UuidConverter