Releases: jackie1santana/showTimeAgoUtility
sta-v-4.0.11-lts
Set Node Engine 14 or >
showtimeago-v4.0.1-lts
This major release of showtimeago includes significant improvements and enhancements to the functionality and stability of the utility. Key changes include code cleanup, additional test coverage, and the introduction of new features to enhance user experience. This release also includes the addition of nodemon for a better development experience.
Changes:
- Code Cleanup: Refactored and improved the codebase for better readability and maintainability.
- Test Coverage: Expanded test coverage to ensure reliability and robustness of the utility.
- New Feature - Custom Date Formats: Added support for custom date formats using date-fns library.
- Stability Enhancements: Improved overall stability of the utility.
- Development Dependency: Added nodemon as a development dependency for automatic restarts during development.
This release includes breaking changes. Users upgrading to this version should update their code accordingly to accommodate the changes.
Full Changelog: sta-utilv3.3.12...showtimeago-v4.0.1-lts
Set Node Engine 14 or greater
Set Node Engine 14 or greater
Updated README.md
Updated README.md to contain comment thread exs
ShowTimeAgo LTS
Stable Version 4.0.5
v4.0.2 - Enhanced Error Handling and Robust Testing
What's New:
Enhanced Error Handling:
- Added comprehensive validation for dateParam to ensure it accepts only valid ISO date strings or Date objects.
- Explicit error messages for invalid, undefined, or null date parameters.
- Improved handling for specific edge cases like future dates and exactly one year ago.
- Improved Test Coverage
- Added multiple test cases to cover various scenarios including valid dates, invalid dates, edge cases, and different time intervals.
- Ensured robust testing for the core functionality and error handling of showtimeago.
- Refactored Code
Cleaned up and optimized the showtimeago function for better readability and maintainability.
Streamlined the process of converting and formatting dates to human-readable "time ago" strings.
Updated README.md
Updated README.md
CDN Stable Release
CDN Stable Release
Added More Unit Test
Added More Unit Test
Fixed 'Yesterday's' Timestamp bug
Fixed 'Yesterday's' Timestamp bug. Previously returned undefined
. Now resolved.