PackageTrack
Sign in Get early access

adhan_dart

Library to calculate prayer times for muslims. Based on precise astronomical formula.

2.0.1 prayer-timetable/adhan_dart

What this package is like to depend on

Last release 3 months ago

11 May 2026

Release timing varies

gaps range from 5 weeks to 2.0 years

Nearly every release is documented

notes for 14 of 14 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

14 releases · first in 2020

3 releases in the last 12 months

see the full history below

Release timeline

14 releases · Dec 2020 to May 2026
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 14
  1. 2.0.1 11 May 2026
    Release notes

    Changed

    • Dev dependency timezone updated to ^0.11.0 (Dart ^3.10.0 for package consumers running tests or examples that load tzdata).
    • Tests and examples initialize the full IANA database via package:timezone/data/latest_all.dart so zone names used in tests (e.g. Europe/Oslo, Asia/Kuala_Lumpur) remain available; latest.dart in timezone 0.11+ embeds a reduced zone set.
    • CI minimum matrix SDK set to 3.10.0 to match timezone 0.11.
    • README: documenting latest_all vs latest, and that local development/tests need Dart 3.10+ with current dev dependencies.
    Open source →
  2. 2.0.0 10 May 2026
    Release notes

    Added

    • Configurable Rounding on CalculationParameters; PolarCircleResolution for extreme latitudes; sunset on PrayerTimes; Shafaq for Moonsighting Committee Isha (where applicable).
    • Many calculation methods (e.g. Gulf, Russia, Jordan, Tunisia, Algeria, France UOIF, Portugal, Jafari, and others); displayName on Prayer and CalculationMethod; toString on PrayerTimes, SunnahTimes, and CalculationParameters.
    • Madhab as an enhanced enum with shadowLength; shadowLength(Madhab) kept for compatibility.
    • Coordinate range validation on Coordinates; expanded tests; GitHub Actions CI; lints; changelog and README updates; pubspec metadata and .gitignore improvements.

    Changed

    • Type safety (e.g. Coordinates instead of dynamic where appropriate); docs/TODO cleanup; dart formatting applied across sources.

    Breaking changes

    • PrayerTimes.currentPrayer / PrayerTimes.nextPrayer — The time argument is now an optional named parameter ({DateTime? date}) defaulting to DateTime.now(). Replace positional calls such as currentPrayer(dateTime) with currentPrayer(date: dateTime) (and likewise for nextPrayer). This is a compile-time break for existing call sites.
    • CalculationMethod and other public enums — Many new calculation methods were added. switch statements that are exhaustive over these enums must be updated to handle the new values or use a default branch.
    • Singapore preset roundingCalculationMethodParameters.singapore() now sets Rounding.up for minute rounding. Published times can differ by up to a minute at boundaries compared to earlier releases that always used implicit nearest-minute behavior for that preset.
    • CoordinatesAssertions enforce latitude ∈ [−90, 90] and longitude ∈ [−180, 180]. Out-of-range values that previously propagated may fail in debug mode (asserts are omitted in some release builds depending on your compile flags).
    • PolarCircleResolution — When set to anything other than unresolved, polar-day/night edge cases use the new resolution logic and may produce different times than before for extreme latitudes.

    Contributions in this release were driven largely by Mahmoud Hamdi (@mahmoodhamdi) via GitHub pull requests #17–#48 (stacked features, tests, docs, and tooling). Thank you for the extensive work on calculation methods, API polish, and quality improvements.

    Open source →
  3. 1.2.0 25 Oct 2025
    Release notes
    • Calculation method changes (full credit to MoathCodes), typing fixes.
    Open source →
  4. 1.1.2 20 May 2024
    Release notes
    • Explicit method, fajrAngle, ishaAngle parameters for CalculationParameters.
    • Explicit coordinates, date, calculationParameters parameters for PrayerTimes.
    Open source →
  5. 1.1.1 20 May 2024
    Release notes
    • Fixed documentation.
    • Calculation parameters bug fix.
    Open source →
  6. 1.1.0 20 May 2024
    Release notes
    • Exposed highLatitudeRule, madhab, adjustments, methodAdjustments on CalculationParameters.
    • Updated timezone package.
    • New lint rules, fixed static methods naming convention.
    • Turkey method renamed to Turkiye.
    Open source →
  7. 1.0.8 12 May 2022
    Release notes
    • Bug fix for UmmAlQura and Qatar calculation methods.
    Open source →
  8. 1.0.7 11 Apr 2021
    Release notes
    • nextPrayer() and currentPrayer() no longer return null before Fajr/after Isha.
    • Added ishaBefore and fajrAfter prayer values.
    Open source →
  9. 1.0.5 04 Apr 2021
    Release notes
    • Example added.
    Open source →
  10. 1.0.4 04 Apr 2021
    Release notes
    • Day of year native DateTime implementation in DateUtils.
    Open source →
  11. 1.0.3 04 Apr 2021
    Release notes
    • Null safety migration.
    Open source →
  12. 1.0.2 02 Mar 2021
    Release notes
    • Minor import fix.
    Open source →
  13. 1.0.1 02 Mar 2021
    Release notes
    • Timezone package moved to dev dependencies.
    Open source →
  14. 1.0.0 31 Dec 2020
    Release notes
    • Initial release.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive