Releases: dralshehri/hijridate
Releases · dralshehri/hijridate
2.5.0
What's Changed
- Added a new function called
year_length()
, which calculates the total number of days in a Hijri year. - Changed the
validate
argument when instantiating Hijri objects to be a keyword-only argument. - Changed the
padding
argument fordmyformat()
functions to be a keyword-only argument. - Improved exception messages to display the values provided by the user.
- Improved type hints for supported natural languages.
- Improved readability and documentation of several functions.
- Improved reliability of some tests.
- Fixed typos in English Hijri month names.
- Fixed miscellaneous formatting and linting issues.
- Published the package on Zenodo to become citable by researchers.
- Updated development tools, workflows, and documentation.
2.4.1
- Fixed some typos.
2.4.0
- Dropped support for Python 3.7 and added support for Python 3.12.
- Fixed a typo in the Bangla translation. (By @nokibsarkar in #18)
- Changed documentation theme along with other enhancements.
2.3.0
IMPORTANT
The hijri-converter
package has been renamed to hijridate
in preparation
for the upcoming major update.
Please use a version specifier e.g. hijridate~=2.3.0
to avoid any breaking
changes in the future.
What's Changed
- Renamed the package to
hijridate
and deprecated the old name. - Dropped support for Python 3.6 and added support for Python 3.11.
- Updated documentation and removed badges from the package description.
- Updated development configurations and GitHub actions.
- Changed GitHub username back to @dralshehri and updated related links.
2.2.4
2.2.3
- Changed GitHub username to @mhalshehri and updated related links.
- Changed package docstrings to Google style and updated documentation.
- Updated development workflows and configurations.
- Other minor fixes and enhancements.
2.2.2
- Added some missing variable annotations to
ummalqura
module. - Fixed an issue when generating documentation.
- Fixed some typos in docstrings and improved documentation.
- Other minor fixes and enhancements.
2.2.1
2.2.0
- Added
today()
classmethod to Hijri class to get the Hijri object of today's date. - Added
separator
andpadding
parameters todmyformat()
method to have more control on formatting. - Removed deprecated method
slashformat()
from Hijri and Gregorian classes. - Refactored locales for better management and testing. (Inspired by Arrow localization)
- Updated main classes to be conveniently imported into the package level e.g.
from hijri_converter import Hijri, Gregorian
. - Updated tests and documentation.
- Other minor fixes and internal enhancements.
2.1.3
- Minor fixes and enhancements for docstrings and documentation.