Skip to content

feat: ✨ Update to dart 3.13 - #24

Merged
Mithos5r merged 5 commits into
mainfrom
feature/Update_to_dart_3.13
Oct 13, 2026
Merged

Mithos5r merged 5 commits into
mainfrom
feature/Update_to_dart_3.13

Conversation

@Mithos5r

Copy link
Copy Markdown
Contributor

📝 Description

Please provide a clear and concise description of the changes in this pull request. What is the motivation for this change?

🔗 Related Issue

upgrade to data_shaft 3.0.0, coolint 3.0.0 and Dart 3.13

✅ Type of Change

Please check the box that applies to your pull request.

  • 🐛 Bug fix (a non-breaking change that fixes an issue)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 💥 Breaking change (a fix or feature that would cause existing functionality to not work as expected)
  • ♻️ Refactor (a code change that neither fixes a bug nor adds a feature)
  • 📚 Documentation update
  • ⚙️ Chore (a change to the build process or auxiliary tools)

✔️ Checklist

Please make sure you have completed the following tasks before submitting your pull request:

  • I have read the CONTRIBUTING.md file.
  • My code follows the style guidelines of this project.
  • I have performed a self-review of my own code.
  • I have added tests that prove my fix is effective or that my feature works.
  • All existing tests pass with my changes.
  • I have updated the documentation accordingly.

Add DatasourceNccHead, DatasourceHttpHead and DatasourceSessionHead to
retrieve response metadata (headers) without transferring the body,
mirroring data_shaft's new HEAD support. Update tests, README and the
AI skill reference table.
- Bump data_shaft to ^3.0.0, coolint to 3.0.0, meta to ^1.19.0 and test to
  ^1.33.0; raise the minimum SDK to >=3.13.0.
- Adopt coolint 3.0.0 rules: migrate constructor declarations to the Dart
  3.13 new(...) syntax, remove unnecessary breaks, fix empty container
  bodies and net strict-raw-types issues in lib, tests and example.
- Reformat the project with the Dart 3.13 formatter.
- Update the AI skill patterns (Set<int> status codes, typed
  RequestResponse).
@Mithos5r Mithos5r self-assigned this Oct 13, 2026
@codecov

codecov Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (49b3068) to head (81bcb39).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #24   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           18        21    +3     
  Lines           45        48    +3     
=========================================
+ Hits            45        48    +3     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- Update the ncc dependency to ^2.0.0 (re-exported; only raises the
  minimum SDK to >=3.13.0, no public API changes).
- Add a Requirements section to the README (Dart >=3.13.0, ncc ^2.0.0,
  data_shaft ^3.0.0) and fix a trailing space in the driver example.
- Mention the ncc bump in the 3.0.0 changelog entry.
…ions

- Rewrite the Global Logging pattern against the real
  HttpDatasourceObserver interface (onCreate/onDispose/onAdmissible/
  onCall/onDriverException/onInadmissibleException/onUnControlException/
  onUriCreation) plus the DatasourceObserverInstances assignment.
- Migrate every constructor declaration to the Dart 3.13 new() syntax
  required by coolint 3.0.0 (unnecessary_type_name_in_constructor).
- Use Set syntax {200} for the default success codes in SKILL.md.
@Mithos5r
Mithos5r merged commit 34a2462 into main Oct 13, 2026
1 of 2 checks passed
@Mithos5r
Mithos5r deleted the feature/Update_to_dart_3.13 branch October 13, 2026 08:11
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.

1 participant