Skip to content

Releases: dralshehri/hijridate

2.5.0

24 May 21:06
68e3241
Compare
Choose a tag to compare

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 for dmyformat() 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

09 Dec 05:32
fb19209
Compare
Choose a tag to compare
  • Fixed some typos.

2.4.0

08 Dec 19:54
387ced6
Compare
Choose a tag to compare
  • 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

24 Apr 19:13
Compare
Choose a tag to compare

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

23 May 18:44
Compare
Choose a tag to compare
  • Added more classifiers to package configuration.
  • Fixed location of type-checking marker file. (By @dimbleby in #10)
  • Updated development and build requirements.

2.2.3

12 Feb 08:00
Compare
Choose a tag to compare
  • 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

24 Sep 21:35
Compare
Choose a tag to compare
  • 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

04 Sep 12:03
Compare
Choose a tag to compare
  • Fixed calculation of month 12 of the year 1354 AH.
  • Fixed an issue when generating documentation without the package being installed. (#7)
  • Refactored internal helper functions.
  • Updated and improved tests and documentation.
  • Fixed some typos.

2.2.0

16 Aug 10:27
Compare
Choose a tag to compare
  • Added today() classmethod to Hijri class to get the Hijri object of today's date.
  • Added separator and padding parameters to dmyformat() 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

21 Jun 21:25
Compare
Choose a tag to compare
  • Minor fixes and enhancements for docstrings and documentation.