Skip to content

Releases: Sv443-Network/UserUtils

v8.4.0

22 Dec 22:03
Compare
Choose a tag to compare

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 and StringGen types with accompanying consumeGen() and consumeStringGen() functions to allow for super flexible typing and declaration of values
  • bbce0e1: Added overload to clamp() without min parameter

v8.3.3

16 Nov 22:12
420a500
Compare
Choose a tag to compare

Patch Changes

  • ca8b62e: Made CJS bundle available on NPM too

v8.3.2

11 Nov 15:09
10d4364
Compare
Choose a tag to compare

Patch Changes

  • 99abaab: Made CJS bundle available on JSR

v8.3.1

11 Nov 14:41
4e8d58e
Compare
Choose a tag to compare

Patch Changes

  • 390110e: Throw an error when calling interceptEvent() on window or unsafeWindow on FireMonkey instead of crashing the entire page

v8.3.0

08 Nov 19:39
bc513c1
Compare
Choose a tag to compare

Minor Changes

  • 1ecd63c: Added support for the signal property in fetchAdvanced()

v8.2.0

08 Nov 19:20
b611a72
Compare
Choose a tag to compare

Minor Changes

  • 3fe8b25: Added overload to mapRange() that only needs both max values and assumes 0 for both min values
  • d7e8a31: Added utility type Prettify to make complex types more readable
  • 8ec2010: Added randomCase parameter to the function randomId() (true by default)
  • d9a36d5: Added property migrateIds to the constructor of DataStore for easier ID migration
  • b2f757e: Added enhancedEntropy parameter to the function randRange() (false by default)

v8.1.0

24 Oct 20:31
3f70f77
Compare
Choose a tag to compare

Minor Changes

  • 6296529: Added new DataStoreSerializer methods loadStoresData(), resetStoresData() and deleteStoresData() for parallelized bulk operations on DataStore instances
  • b0bce9c: Added DataStore method migrateId() to be able to migrate to a new ID

v8.0.2

16 Sep 20:59
0a4c778
Compare
Choose a tag to compare

Patch Changes

  • a8bca8f: Added exports.types in addition to just types in package.json

v8.0.1

16 Sep 20:55
a1a8db9
Compare
Choose a tag to compare

Patch Changes

  • a92000b: Added exports to package.json and corrected module property

v8.0.0

04 Sep 14:44
90127d7
Compare
Choose a tag to compare

Major Changes

  • 54ee0ce: Changed hexToRgb() and rgbToHex() to support #RGBA and #RRGGBBAA color codes (with an alpha channel).
    Both functions now have an alpha value immediately after blue, which can be set to undefined to restore the old behavior.

Minor Changes

  • 54ee0ce: Added parameter upperCase (false by default) to lightenColor() and darkenColor()

Patch Changes

  • 54ee0ce: Consolidated behavior of lightenColor() and darkenColor() when using non-number values