Skip to content
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

fix: compatible with latest dart version #151

Merged
merged 6 commits into from
Nov 20, 2024
Merged

fix: compatible with latest dart version #151

merged 6 commits into from
Nov 20, 2024

Conversation

bednar
Copy link
Contributor

@bednar bednar commented Nov 20, 2024

Closes #148
Closes #149
Closes #150

Proposed Changes

  1. Removed intl as a required dependency — the intl package was used in the OpenApi generator, but our code does not utilize it.
  2. pubspec.lock is not part of the repository because it determines library versions; thus, different Dart versions in CI may require different versions of dependencies.
  3. The pub ecosystem in dependabot is no longer in beta status.

Checklist

  • CHANGELOG.md updated
  • Rebased/mergeable
  • pub run test completes successfully
  • Commit messages are in semantic format
  • Sign CLA (if not already signed)

@codecov-commenter
Copy link

codecov-commenter commented Nov 20, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 21.00%. Comparing base (12fd973) to head (3dae00a).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #151   +/-   ##
=======================================
  Coverage   21.00%   21.00%           
=======================================
  Files         117      117           
  Lines        7552     7551    -1     
=======================================
  Hits         1586     1586           
+ Misses       5966     5965    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

…ng libraries versions => different dart version in CI can't have different version of deps
@bednar bednar changed the title chore: intl package is not required, the API doesn't require _dateFormatter fix: compatible with latest dart versions Nov 20, 2024
@bednar bednar changed the title fix: compatible with latest dart versions fix: compatible with latest dart version Nov 20, 2024
@bednar bednar marked this pull request as ready for review November 20, 2024 07:51
Copy link

@karel-rehor karel-rehor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would like to approve, but a comment in .gitignore doesn't make sense to me.

.gitignore Outdated
@@ -6,7 +6,7 @@
.packages
build/
# If you're building an application, you may want to check-in your pubspec.lock

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So if pubspec.lock is being ignored, does this comment still make sense? My understanding is that pubspec.lock gets generated locally based on pubspec.yaml and that not every generated pubspec.lock will be universally portable.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right I will remove this comment.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@bednar bednar requested a review from karel-rehor November 20, 2024 14:37
Copy link

@karel-rehor karel-rehor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK to me.

@bednar bednar merged commit 46a2ffd into main Nov 20, 2024
9 checks passed
@bednar bednar deleted the fix-ci branch November 20, 2024 14:56
@bednar bednar added this to the 2.11.0 milestone Nov 20, 2024
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

Successfully merging this pull request may close these issues.

Support for intl 0.19.0 to be able to use the latest dart version
3 participants