Release 0.10.1: cross-platform support + loopback http exemption#5
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Release 0.10.1 (patch).
Added
PlatformSupport). Attachment and avatar UI now degrade gracefully on platforms whose plugins don't cover every target: camera capture and image crop are offered on mobile (crop mobile-only), while downloaded files open natively on mobile and fall back to the OS default handler viaurl_launcheron desktop. Derived fromkIsWeb+defaultTargetPlatform(neverdart:io), so it resolves on web too — hiding controls a platform can't honour instead of surfacing ones that silently fail.flutter create ..Changed
ChatConfigURL validation exempts loopback hosts (localhost,127.0.0.0/8,::1) from the release-mode HTTPS requirement — loopback never leaves the device and every platform treats it as a secure context — while every other host still requireshttps://(pentest M-10). The127.match is anchored to an IPv4 literal so a DNS host like127.evil.comisn't mistaken for loopback.Housekeeping
pubspec.yaml+ the runtimenomaChatSdkVersionconstant to 0.10.1 (kept in lockstep byversion_sync_test).flutter runlogs; gitignore*.logand the example desktop/web runners.Verification
dart format --set-exit-if-changed✓flutter analyze --fatal-infos --fatal-warnings✓ (0 issues)flutter test✓ (2729 passed)dart pub publish --dry-runvalidates (warnings only about the pre-commit dirty tree, now resolved).