Skip to content

Releases: jrmybtlr/usemods

v1.16.0

18 Jan 09:11

Choose a tag to compare

compare changes

🥇 Improvements

  • Reverting to newer vanilla JS processes where possible
  • Improve test coverage (95% +)

❤️ Contributors

v1.15.0

07 Aug 05:53
7c8bf9a

Choose a tag to compare

What's new

  • Increase test coverage
  • Better option fallbacks

compare changes

v1.14.1

28 Jul 21:28
be8048d

Choose a tag to compare

v1.14.0

04 Jun 20:58

Choose a tag to compare

compare changes

🚀 Updates

  • Enhance pluralize and singularize functions to handle words with consonants and vowels before 'y' (7ddd0b4)

❤️ Contributors

v1.13.0

02 May 10:52
ec59311

Choose a tag to compare

compare changes

🚀 Enhancements

  • Add countBy function and CountBy component for text analysis (61a5131)

❤️ Contributors

v1.12.0

03 Mar 08:59
0418289

Choose a tag to compare

compare changes

🚀 New

  • Add formatCombinedDates function and corresponding tests

💅 Refactors

  • Remove animations.ts and integrate animateText function into goodies.ts (bbb3a05)

🤖 CI

❤️ Contributors

v1.11.0

24 Feb 09:48
8233ac7

Choose a tag to compare

compare changes

🚀 Enhancements

  • Add debounce and throttle components with corresponding functionality (3dd59dd)

🩹 Fixes

  • Enhance function pattern regex to support generic type parameters (fc7adbc)

📖 Documentation

  • Add ClickLog component to display click and execution metrics (cf9c818)
  • Simplify generateHighResolutionTime usage and update documentation (bccc3c6)
  • Update decodeUuid7 function documentation to clarify purpose (eca58d0)

🏡 Chore

  • Update dependencies to latest versions (6d6e766)
  • Update dependencies to latest versions (50f496a)
  • Specify Node.js engine version in package.json (f97a720)
  • Update Nuxt and Nitro build configuration (f4260be)

✅ Tests

  • Update throttle test to use async and fake timers (2e2cf72)

❤️ Contributors

v1.10.0

15 Feb 03:40
a518387

Choose a tag to compare

compare changes

✨ New Features

UUID Generation Enhancements

  • Added generateUuid4 and generateUuid7 for cryptographically secure UUID generation.
  • generateUuid is now an alias for generateUuid4 for improved clarity.
  • Added decodeUuid7 to extract timestamps from UUIDv7.

Short UUID Support

  • Added generateShortUuid to encode standard UUIDs into a URL-safe Base64 format while ensuring reversibility.
  • Added decodeShortUuid to restore a short UUID to its original form.

Secure Randomness

  • Added getSecureRandomValues to provide an array of cryptographically secure random bytes.

🔧 Improvements & Updates

Various internal improvements for performance and stability.
Refactored and optimized UUID generation logic.
Other minor updates and enhancements.

🩹 Fixes

  • formatters: Set Unix timestamp to milliseconds by default (04bad4d)
  • formatters: Handle undefined input in formatUnixTime function (6d08b9c)

💅 Refactors

  • generators: Remove old UUID generation and add Version 4 and Version 7 UUID functions (2b5eaa0)
  • generators: Remove unused hrtime offset logic and improve UUID formatting (f62bf2c)
  • generators: Rename encodeShortUuid to generateShortUuid for clarity (9cd2907)
  • generators: Rename encodeShortUuid to generateShortUuid for clarity and update tests (651613a)

✅ Tests

  • generators: Add tests for UUID generation and Short UUID encoding/decoding (13f7b62)
  • generators: Update UUID format validation in tests to match standard UUID structure (b4f7c31)
  • formatters: Update formatUnixTime tests to handle milliseconds and undefined input (0c4e1fa)

❤️ Contributors

v1.9.2

31 Jan 20:57
78a0645

Choose a tag to compare

Fix

Removes empty 0 decimals on rounded Duration Labels

compare changes

v1.9.1

31 Jan 20:43
df4bf9f

Choose a tag to compare

What's Changed

  • Makes rounding more robust for DurationLabels
  • Code style cleanups by @jrmybtlr in #120

Full Changelog: v1.9.0...v1.9.1