Skip to content

Update intl dependency to support Flutter 3.32.0 #50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
yosefor opened this issue May 26, 2025 · 1 comment
Open

Update intl dependency to support Flutter 3.32.0 #50

yosefor opened this issue May 26, 2025 · 1 comment

Comments

@yosefor
Copy link

yosefor commented May 26, 2025

The kosher_dart package currently depends on intl ^0.19.0, which creates a dependency conflict with Flutter 3.32.0 that requires intl ^0.20.2.

Error Message

Because every version of kosher_dart from git depends on intl ^0.19.0 and hadar_program depends on intl ^0.20.2, kosher_dart from git is forbidden.
So, because hadar_program depends on kosher_dart from git, version solving failed.

Environment

  • Flutter: 3.32.0
  • Dart: (current stable)
  • kosher_dart: latest from git

Expected Behavior

The package should work with current Flutter versions without dependency conflicts.

Proposed Solution

Please update the pubspec.yaml to support newer intl versions:

dependencies:
  intl: ^0.20.0  # or intl: ">=0.19.0 <0.21.0" for broader compatibility

Additional Context

Flutter 3.32.0 pins intl to version 0.20.2 via flutter_localizations, making it impossible to use kosher_dart in current Flutter projects.

Thank you for maintaining this package!

@yosefor
Copy link
Author

yosefor commented May 26, 2025

I've created a pull request to fix this issue: #51

Summary of fixes:

  • Updated intl dependency from ^0.19.0 to ^0.20.0
  • Fixed broken JewishCalendar.initDate constructor
  • All tests now pass including Daf Yomi calculations

The PR is ready for review! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant