Releases: jrmybtlr/usemods
Releases · jrmybtlr/usemods
Release list
v1.17.0
🚀 Enhancements
- Add combineDates function and formatCompactNumber formatter (0b75855b)
- Import combineDates function in CombineDates component (21a9d755)
- Enhance combineDates functionality and update documentation (d8a4270c)
🩹 Fixes
- Import parseDate in validators demo for CF prerender (8fa3bef5)
💅 Refactors
- Update date function parameters and sitemap lastmod timestamps (ddb14b18)
❤️ Contributors
- Jeremy Butler jeremy.butler@laravel.com
v1.16.2
💅 Refactors
- src: Modernize function bodies with native ES2023+ APIs (41251fdb)
- src: Apply safe native JS leftovers (acdcb2b4)
❤️ Contributors
- Jeremy Butler jeremy.butler@laravel.com
v1.16.0
🥇 Improvements
- Reverting to newer vanilla JS processes where possible
- Improve test coverage (95% +)
❤️ Contributors
- Jeremy Butler jeremy@jeremymbutler.com
v1.15.0
v1.14.1
v1.14.0
🚀 Updates
- Enhance pluralize and singularize functions to handle words with consonants and vowels before 'y' (7ddd0b4)
❤️ Contributors
- Jeremy Butler jeremy@jeremymbutler.com
v1.13.0
🚀 Enhancements
- Add countBy function and CountBy component for text analysis (61a5131)
❤️ Contributors
- Jeremy Butler jeremy@jeremymbutler.com
v1.12.0
🚀 New
- Add formatCombinedDates function and corresponding tests
💅 Refactors
- Remove animations.ts and integrate animateText function into goodies.ts (bbb3a05)
🤖 CI
- Add nuxthub workflow (b706ae5)
❤️ Contributors
- Jeremy Butler jeremy@jeremymbutler.com
v1.11.0
🚀 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
- Jeremy Butler jeremy@jeremymbutler.com
v1.10.0
✨ New Features
UUID Generation Enhancements
- Added
generateUuid4andgenerateUuid7for cryptographically secure UUID generation. generateUuidis now an alias for generateUuid4 for improved clarity.- Added
decodeUuid7to extract timestamps from UUIDv7.
Short UUID Support
- Added
generateShortUuidto encode standard UUIDs into a URL-safe Base64 format while ensuring reversibility. - Added
decodeShortUuidto restore a short UUID to its original form.
Secure Randomness
- Added
getSecureRandomValuesto 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
- Jeremy Butler jeremy@jeremymbutler.com