at_client_flutter 2.0.0-rc2
at_client_flutter: ^2.0.0-rc2 copied to clipboard
A Flutter extension to the at_client library which adds support for mobile, desktop and IoT devices.
CHANGELOG #
2.0.0-rc2 #
- build: requires
at_client^3.15.0-rc2 andat_auth^4.0.0-rc3, for their post-quantum sharing and keyfile lock fixes.
2.0.0-rc1 #
- BREAKING:
AuthServiceandFlutterEnrollmentServiceare removed. UsePkamDialog,CramDialogandApkamActivationDialog, or at_client'sAtsign.open,activateandenrollfor an app with its own UI; list, approve, deny and revoke areclient.enrollments. - BREAKING: the dialogs take the atSign, the keys store, the
AtClientPreference, an optionalAtClientStorageandlookUps:in place of at_auth's request objects, and return theAtClientthey open (null on failure or cancel);onAuthenticationCompleteandonOnboardingCompletereceive it.ApkamActivationDialogopens the client itself once approved, resumes a pending request for the same app and device, and itsatKeysIois nowkeys. - BREAKING:
AtSignSelectionDialog.showreturns anAtsignSelection,RegistrarCramDialog.showtakes the atSign, andEnrollmentRequestListworks overclient.enrollmentsand renders at_client'sEnrollment. - BREAKING: the keychain holds only keys and passcodes.
EnrollmentDataandKeychainStorage's enrollment-data methods are removed, since a pending enrollment lives in the keys store, andsaveSpptakes aPasscodein place of at_auth'sOtp. - feat: an app no longer needs at_auth:
RegistrarServiceis re-exported, and the keys-store types come through at_client. - feat: keychain entries use
:as the name delimiter. Keys under the old_name are copied across, and the_copy is kept until 3.0.0. - fix: the keychain store finds an atSign however it is spelled, keeps its
contents when a read fails, and finds and removes entries older releases
wrote;
flushandupdatework.writerefuses an atSign that already has an entry (useflush), andreadthrowsAtKeysSourceAbsentExceptionfor one it doesn't hold. - fix: the enrollment request list approves a post-quantum request instead of crashing, and shows a post-approval conveyance refusal's own message.
- docs: the examples in
example/,example/todosandexample/dockerstatsuse these flows. - build: requires
at_client^3.15.0-rc1,at_auth^4.0.0-rc2 andat_lookup^3.7.0-rc2.
1.1.4 #
- feat:
AuthService.onboard/authenticateaccept an optionaltimeoutthat bounds the whole onboarding/auth attempt (setsRetryOptions.overallTimeout; otherwise the process-wideAtNetworkTimeoutsdefault applies). Requiresat_auth ^3.2.0(#1909). - fix:
FlutterEnrollmentService.enrollno longer leaks theAtLookupImplconnection when the enrollment submit fails — it now closes in afinally. - fix:
CramDialogandPkamDialogno longer hang forever when onboarding/authentication throws (e.g. the atServer is unreachable). Both now handle the error path — surface a user-friendly message and pop the dialog — so.show()always completes. On anAtTimeoutExceptionthe onboarding dialog explains the atSign may still be provisioning rather than reporting a hard failure;ApkamActivationDialoglikewise catches enrollment errors and distinguishes a timeout from a failure instead of leaking an unhandled exception (#1905, #1909). - fix:
CramDialog/PkamDialognow start onboarding/authentication once ininitStateinstead of frombuild, so a widget rebuild during the wait can no longer spawn a second attempt; and their default loading view surfaces liveprogressStreammessages instead of static text, so a multi-minute provisioning wait shows real progress.
1.1.3 #
- fix: force uppercase on OTP/CRAM input fields so lowercase or pasted alphanumeric codes no longer fail validation
- fix: switch APKAM dialog keyboard to visible-password so letters can be typed
1.1.2 #
- fix: prevent blank dialog box flashing during login
- fix: remove phosphor_flutter dependency which fails to build on Flutter 3.44+, now using a built-in icon
- docs(examples): improved READMEs, added dockerstats flutter app
1.1.1 #
- refactor: updated example app deprecated methods.
- fix: example app over flow error fixed.
- fix: APKM Dialog scrolls to reveal OTP pin outside of viewport.
- fix: Registrar Dialog scrolls to reveal OTP pin outside of viewport.
- fix: Soft keyboard for Registrar Dialog OTP field is Capitalized by default and set to show numbers and text.
1.1.0 #
- feat: models NamespacePermission, Otp, ServerEnrollmentRequest, AuthorisationException
- feat: additional functionality on FlutterEnrollmentService
- rework: lifecycle on FlutterEnrollmentService
- feat: new widgets for Enrollment related activities
- feat: extensions for additional functionality
- fix: bug where example app consumes atsigns with '_' inside them
1.0.2 #
- fix(ai): automatically prepend @ symbol into text box
1.0.1 #
- deps: at_auth 3.0.1
1.0.0 #
- feat:
ApkamActivationDialogintroduced for apkam onboarding - fix: proxy parsing on root domains
- chore: file_picker pinned at 10.3.10
- feat: list to
AtEnrollment
0.1.2 #
- pin file_picker to 10.3.9 (BC)
0.1.1 #
- chore: removed unused dependencies
- flutter_keychain
- hive
- crypton
- flutter_riverpod
- at_persistence_secondary_server
- docs: Update README with more documentation
- fix: broken links in README
0.1.0 #
- Initial version, consolidating in functionality from legacy packages
- feat:
KeychainAtKeysIodefines authentication via keychain forat_auth - feat: Dialog widgets for flutter applications
- feat: Use case focused services for onboarding