Releases: shivathapaa/Nepali-Date-Picker
v2.2.1-beta01
Overview
Beta release after
2.2.1-dev01
in Maven Central.
This release incorporates locale usage in existing date input feature introduced in v2.2.0-beta01 and 2.2.1-dev01
.
Improvements
Utilization of locale,
- The displayed dates in date input field utilize locale for localization of strings.
- The error messages of the date input is also localized.
v2.2.0-beta01
Overview
Version 2.2.0-beta01 brings the date input feature to Nepali-Date-Picker library.
New Feature
- Now there is option for date input for all four date pickers. Users can either type or pick date.
Bug Fixes/Improvements
- Add top padding to the range pickers
- Scroll one month at a time for date pickers (excluding range pickers)
Screenshots
v2.1.0
Overview
v2.1.0 marks stable release of Nepali-Date-Picker after stable release of Compose Multiplatform 1.7.0.
Key Updates
Changes after v2.0.0-rc01
New features
UI
- Now there is a separate
NepaliDatePickerWithEnglishDate
for date picker with both English and Nepali dates. - Now the library supports
NepaliDateRangePicker
. There are two variants of NepaliDateRangePicker, i.e., one with only Nepali dates and other with both English and Nepali.
Utilities
getNepaliCalendar()
is now public, which means you get Nepali Calendar using Nepali dates which was previously possible with multiple conversions only.- You can get particular Nepali calendar by adding or subtracting days without worrying about the date(year and month) overflows or underflows. If you want calendar of a particular date of after 233 days or before 20 days you can easily use a function
getNepaliCalendarAfterAdditionOrSubtraction(..)
. Check documentation in Library itself.
Bug fixes/Improvements
- Fix
weekOfYear
which had some edge cases to cover while using getNepaliCalendar . - English date formatter now utilize locale for desired formatting and localization which was not utilized completely previously.
- Make changes to date picker state variable of
selectablesDate
(for state outside of compostion). - Logic improvements and performance boost.
v2.1.0-alpha03
Fixes
- Fix
weekOfYear
which had some edge cases to cover while usinggetNepaliCalendar
. - Logic improvements and performance boost.
Breaking changes after previous alpha02
- Two dialogs are merged into one, now
NepaliDatePickerDialog
is recommended. - Rename date picker state variable of
selectablesDate
.
New Features
- Now the library supports Nepali Date Range Picker.
- There are two variants of Nepali Date Range Picker, i.e., one with only Nepali dates and other with both English and Nepali.
getNepaliCalendar
is now public, which means you get Nepali Calendar using Nepali dates which was previously possible with multiple conversions only.
Screenshots
v2.1.0-alpha02
Features
- Now getNepaliCalendar is public using which you can get Nepali calendar by using Nepali date itself.
- You can get particular Nepali calendar by adding or subtracting days without worrying about the date(year and month) overflows or underflows. If you want calendar of a particular date of after 233 days or before 20 days you can easily use a function
getNepaliCalendarAfterAdditionOrSubtraction(..)
. Check documentation in Library itself. - Logical usage made easier.
Things to know
- Now library uses JetBrains Compose version
1.7.0-beta02
.
v2.1.0-alpha01
New Feature
- Now there is a separate
NepaliDatePickerWithEnglishDate
for date picker with both English and Nepali dates. - For the date picker above, there is new dialog
NepaliDatePickerDialogForWithEnglish
to support its height and other different parameters.
Existing changes
- English date formatter now utilize locale for desired formatting and localization.
- Some minor improvements.
v2.0.0-rc01
Release Note: 2.0.0-rc01
Overview
I am pleased to announce the release candidate version 2.0.0-rc01
of the Nepali-Date-Picker library. This version brings you closer to the final stable release and includes important updates and improvements.
Key Updates
-
Updated Dependencies: This release candidate incorporates JetBrains Compose version
1.7.0-beta01
. This update ensures compatibility with newer features and APIs but note that JetBrains Compose is still in beta. -
Enhanced Stability: Significant improvements have been made to enhance the stability and performance of the library.
-
Features: Many features are added and many ready to use defaults are provided for connivence of usage. Time support was added with other utilities and many more. The link between components are extended from the foundation level. Now all the arguments passed for every function is utilized to its best.
-
Bug Fixes: Various bugs were fixed with performance improvement in side.
Important notes
- This is a release candidate, meaning it's potentially ready for stable release. I encourage you to test it thoroughly and report any issues you encounter.
- This library is almost stable with the release of version
2.0.0-rc01
. However, it currently depends on JetBrains Compose1.7.0-beta01 or later
.
I expect to release a fully stable version once JetBrains Compose reaches a stable release. I am monitoring updates and will make necessary changes in the final release. In the meantime,2.0.0-rc01
is consideredstable
and highlyreliable
for production use.
If you encounter version conflicts using this library, you can solve this in two ways:
- Use an earlier version of the Nepali-Date-Picker library (
2.0.0-beta06 or before
) if stability is required and your project is using a lower version of JetBrains Compose or Android Compose.- Alternatively, you can update your JetBrains Compose or Android Compose version to
1.7.0-beta01 or later
to resolve the conflict.
Compatibility
- JetBrains Compose:
1.7.0-beta01
or later. - Android Compose Foundation: Compatible with versions
1.7.0-beta01
or later.
Feedback
Your feedback is valuable. Please report any issues or provide suggestions through our issue tracker.
Thank you for using the Nepali-Date-Picker library!
v2.0.0-beta11
- Use
this
.generated map list for each year of both Nepali and English for UI and functional optimization. - Optimize converter code to use map of above list to avoid unnecessary loops which significantly improved performance.
v2.0.0-beta10
Updates
- Optimize some functions for faster calculation
- Add helper function for english date formatter, replacing delimiters, and other.
Breaking changes
- Refactor ISO date-time formatter function name to make it self explanatory
Note: After this release there will not be any breaking changes. Will be taken advantage of Depricated annotation to keep the support for limited version releases.
v2.0.0-beta09
- Now date time can be extracted in
ISO 8601
format. - Days between two dates can be calculated for both English and Nepali dates.