Skip to content

Release v17.1.0

Choose a tag to compare

@saropa saropa released this 10 Nov 12:00
· 86 commits to main since this release

The 17 line is out of beta: this is the first stable release since the 17.0.1 betas, and it includes all of their changes. It also removes false positives from avoid_hardcoded_colors where colors define the theme rather than bypass it. log

Upgrading from 16.x

  • Requirements: the 17 line needs Dart 3.11 or newer and analyzer 13 or 14. Projects held on analyzer 12 stay on ^16.7.0.
  • Rule renamed: deprecated_new_in_comment_reference is now deprecated_new_in_comment_reference_extended. Update any // ignore: comments, ignore_for_file lines and analysis_options.yaml entries that use the old name. The extension's compatibility card offers to rewrite them for you.

Fixed

  • New-project setup picks a current version (extension): enabling Saropa Lints in a project that does not depend on it yet now writes the newest saropa_lints its Dart SDK supports (the same choice the compatibility card makes) instead of the frozen ^16.2.1. If the Dart version or the pub.dev list cannot be read, it writes ^16.7.0, and it does the same when the pub.dev lookup takes longer than 8 seconds. ^16.7.0 needs Dart 3.9 or newer.
  • avoid_hardcoded_colors: no longer flags colors written inside ColorScheme, TextTheme, *ThemeData constructors or ThemeExtension classes, or a private constant used only there (such as a seed passed to ColorScheme.fromSeed), so theme definitions stay clean. No action required.
  • avoid_hardcoded_colors: no longer flags fully transparent colors (Colors.transparent, alpha 0), which look the same in every theme. No action required.

Changed

  • Package Vibrancy known issues: the pricing notes for 11 hosted-service packages (AppsFlyer, CometChat, Datadog, UXCam, Mapbox, RevenueCat, Scanbot, Stream, Superwall, Syncfusion, ZEGOCLOUD) were re-checked against vendor pricing pages and reworded to plain facts. AppsFlyer and CometChat now show as freemium, as both offer a free tier. The AppsFlyer migration notes no longer recommend Firebase Dynamic Links, which Google shut down in 2025. A new optional reasonVerified field in the known-issues schema records the date a person last checked an entry's reason text; those 11 entries carry it. No action required.
  • Package Vibrancy known issues: the warnings for flutter_sticky_header, google_api_availability and blinkid_flutter were re-checked and reworded to match their changelogs and repositories (blinkid_flutter's wrapper is open source and only the Microblink SDK needs a license key), with statuses unchanged. No action required.

Internal

  • Known-issues review queue is now a tracked dated file: the publish-time report is written to bugs/YYYY-MM-DD_known_issues_review_queue.md on every run (even with zero entries) instead of the gitignored plans/known_issues_review.md; older dated files are kept.
  • CI tests the newest analyzer: the analyzer matrix now pins analyzer 14.7.0 (with analysis_server_plugin 0.3.26) for its Dart 3.13 row instead of 14.6.0, so the range users actually get on Dart 3.13 is the one tested.
  • Known-issues review report skips recently verified paid-package warnings: the publish-time review no longer re-lists business-model (paid/commercial) entries whose human-set reasonVerified date is within the last 183 days, so a warning a person just checked is not flagged again on every release. Tooling-refreshed as_of dates do not count.
  • Known-issues review report skips entries verified since the latest release: any entry (every tier) whose human-set reasonVerified date is on or after the package's latest pub.dev release date is no longer re-listed; a newer release brings it back. The publish step and generator write no review file when nothing needs review.
  • CI never changes dependency versions: jobs now run on the Dart SDK the lockfile requires, fail if installing dependencies would change the lockfile, and the formatting bot can only commit source and test files, so it can no longer push a downgraded analyzer to a pull request.