Nepali Date NodeJS - Changelog
List of Changes of all versions of Nepali Date NodeJS from v1.1.14
[1.1.14] - 2026-03-16
Added
daysInMonthMethod EnhancementAdded optional
yearandmonthparameters todaysInMonthmethodAllows checking days in any Nepali month without creating a new instance
Example usage:
javascript// Gets Month and Date from instance const days = NepaliDate().daysInMonth(); // Gets Month and Date from parameters and can be used statically const days = NepaliDate.daysInMonth(2081, 5);
- GitHub Issue and Pull Request Templates
- Added issue template for bug reports
- Added issue template for feature requests
- Added pull request template for standardized contributions
- Improves contributor experience and issue tracking
Fixed
addYearsMethod Logic- Fixed incorrect year calculation when adding years
- Properly handles edge cases with month/day overflow
- Ensures valid dates after year addition
isLeapYearMethod Logic- Corrected leap year detection for Nepali calendar
- Fixed edge cases in leap year calculation
- More accurate year validation
endOfWeekParameter Validation- Added proper parameter validation for
endOfWeekmethod - Prevents invalid input from causing errors
- Better error messages for incorrect usage
- Added proper parameter validation for
Changed
NepaliDateMethod Reordering- Reorganized method definitions for better code readability
- Grouped related methods together
- Improved internal code structure (no API changes)
Migration Guide
✅ No Breaking Changes
This release is 100% backward compatible. All existing code will continue to work without modifications.