Skip to content

Conversation

@FeodorFitsner
Copy link
Contributor

@FeodorFitsner FeodorFitsner commented Dec 25, 2025

Summary by Sourcery

Prepare Flet 1.0 Beta Flutter package for pub.dev release and align code with latest Flutter APIs and color model changes.

New Features:

  • Add Flet 1.0 Beta release entry to the package changelog.

Bug Fixes:

  • Correct color handling utilities and Cupertino app bar opacity checks to work with the updated Color API and avoid precision issues.
  • Fix semantics announcements by using the current implicit view and the updated SemanticsService API.
  • Clean up unused state and properties in several controls to prevent unnecessary rebuilds and deprecations.

Enhancements:

  • Update color-to-hex and darkening logic to operate correctly on double-based color components and clamp values safely.
  • Modernize mock backend channel scenario methods with clearer naming and async signatures.
  • Mark legacy slider and progress controls options with ignores for deprecated use while keeping behavior intact.

Build:

  • Bump the flet package version to 0.80.0 and relax several dependency constraints to caret ranges.

CI:

  • Adjust CI workflow to only publish on version tags, configure OIDC permissions for pub.dev trusted publishing, patch pubspec version on tagged builds, and simplify pub.dev publishing steps.

Restrict tag triggers to semantic version tags, add permissions for OIDC authentication, patch pubspec version only on tag, and update pub.dev publish steps to use GitHub Actions environment. Removes legacy token-based authentication and improves release automation.
Bump package version to 0.80.0 for Flet 1.0 Beta release. Improve color handling by replacing withOpacity with withValues and updating color conversion logic to use 8-bit components. Refactor deprecated properties and clean up unused variables and imports. Update dependencies in pubspec.yaml to use caret versions.
Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

We've reviewed this pull request using the Sourcery rules engine

@FeodorFitsner FeodorFitsner merged commit 6b22aa8 into main Dec 25, 2025
34 of 44 checks passed
@FeodorFitsner FeodorFitsner deleted the fix-pub-dev-publishing branch December 25, 2025 00:19
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.

2 participants