Releases: Sv443-Network/UserUtils
Releases · Sv443-Network/UserUtils
v8.4.0
Minor Changes
- e10d629: Added function
digitCount()
to calculate the amount of digits in the passed number - 949877a: Added support for nested objects in translations (e.g.
tr("foo.bar.baz")
) - 52d392a: Added
ValueGen
andStringGen
types with accompanyingconsumeGen()
andconsumeStringGen()
functions to allow for super flexible typing and declaration of values - bbce0e1: Added overload to
clamp()
withoutmin
parameter
v8.3.3
v8.3.2
v8.3.1
v8.3.0
v8.2.0
Minor Changes
- 3fe8b25: Added overload to
mapRange()
that only needs bothmax
values and assumes 0 for bothmin
values - d7e8a31: Added utility type
Prettify
to make complex types more readable - 8ec2010: Added
randomCase
parameter to the functionrandomId()
(true by default) - d9a36d5: Added property
migrateIds
to the constructor ofDataStore
for easier ID migration - b2f757e: Added
enhancedEntropy
parameter to the functionrandRange()
(false by default)
v8.1.0
v8.0.2
v8.0.1
v8.0.0
Major Changes
- 54ee0ce: Changed
hexToRgb()
andrgbToHex()
to support#RGBA
and#RRGGBBAA
color codes (with an alpha channel).
Both functions now have analpha
value immediately afterblue
, which can be set toundefined
to restore the old behavior.
Minor Changes
- 54ee0ce: Added parameter
upperCase
(false by default) tolightenColor()
anddarkenColor()
Patch Changes
- 54ee0ce: Consolidated behavior of
lightenColor()
anddarkenColor()
when using non-number values