at_client_flutter 2.0.0
at_client_flutter: ^2.0.0 copied to clipboard
A Flutter extension to the at_client library which adds support for mobile, desktop and IoT devices.
CHANGELOG #
2.0.0 #
- docs: Upgrading to at_client 4.0 takes an app from at_client 3 to 4.
- breaking:
EnrollmentStoreis removed, asEnrollmentDatawas. - feat:
package:at_client_flutter/at_client_flutter.dartalso re-exports the SQLite and in-memory stores and at_client's mixins (AtClientInvitations,EnrollmentUpdater), so an app needs no second SDK import. - feat:
AtsignFlowsandstorageOrDefaultare exported: an app with its own UI activates, opens and enrolls with the dialogs' store, transport and atDirectory in one call, still passing any other option itsAtsignverb takes, such asprovisioningBudget, and a widget test can give a dialog its ownflows. - feat: an app catches a keyfile that is not valid JSON as
AtKeysFormatExceptionand shows itsreasonandposition. - feat:
EnrollmentRequestListlists the approved enrollments below the pending requests, each showing whether its keys are anchored to the atSign's signing root. - feat:
at_client_flutter.dartre-exportsat_client_io.dart, so an app importing it hasFileAtKeysIo,secureSocketLookUpsandCacheableSecondaryAddressFinder. - fix: leaving
ApkamActivationDialogwhile it waits for approval keeps the request, which the next show resumes without a passcode, and the atSign can be opened again afterwards. Its Cancel button abandons the request once the user confirms, and names the enrollment to ask the manager to deny. - feat:
PkamDialog, given keys that hold only an enrollment awaiting approval, waits for the approval and returns the client, rather than failing. - build: requires
at_client^4.0.0. - build: requires
at_persistence_secondary_server^5.4.0. - chore(deps): at_utils ^4.0.0
2.0.0-rc6 #
- feat: a dialog given no storage opens Hive in the app's support directory,
or under
preference.hiveStoragePathwhile that is set. An app that kept its store anywhere else should pass it asstorage:before at_client 4.0. - fix: an app whose preference sets
isLocalStoreRequiredfalse must passstorage:, as at_client now refuses a client with no local storage;ApkamActivationDialogrefuses such an app when it opens, before any enrollment request goes out. - build: requires
at_client^3.15.0-rc7.
2.0.0-rc5 #
- fix: keychain writes made at the same moment no longer lose another
atSign's keys, and
updateno longer fails or brings back an atSign removed meanwhile.
2.0.0-rc4 #
- fix: an atSign that an app built on at_client_mobile saved to the keychain signs in again, instead of failing with "PKAM mode requires defaultEncryptionPrivateKey".
2.0.0-rc3 #
- build: requires
at_client^3.15.0-rc5 andat_auth^4.0.0-rc4, for their fixes to upgrading from at_client 3.14.0. - feat:
AtSignServerCheck,AtSignServerState,checkAtSignServerandAtSignLoggercome through this package, so an app no longer needs at_lookup or at_utils for them. - fix:
ApkamActivationDialogfails at once for an expired or unknown enrollment, rather than after its whole retry budget. - fix: the package no longer includes Xcode logs from the invitations example.
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