Repository navigation
Release [changeset] - #208
Merged
Merged
Conversation
fingerprint-dx-team-actions-runner
Bot
requested review from
JuroUhlar,
TheUnderScorer and
ilfa
as code owners
October 5, 2026 11:39
fingerprint-dx-team-actions-runner
Bot
force-pushed
the
changeset-release/main
branch
from
October 5, 2026 12:19
e152fcd to
d50d38f
Compare
Contributor
pnpm exec changesetto create a changeset. |
JuroUhlar
approved these changes
Oct 5, 2026
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
fingerprint_flutter@5.0.0
Major Changes
Migrated the SDK to Fingerprint API v4. This is a breaking change on every platform.
Requirements
jitpack.iorepository. If your app uses JitPack dependencies, declare the repository yourself.Fingerprint-iOS).@fingerprint/agentv4. There is no extra npm peer dependency.Package
fpjs_pro_pluginis nowfingerprint_flutter.API
package:fingerprint_flutter/fingerprint_flutter.dartis the only public import.error.dart,result.dart, andregion.dartare gone.pluginVersionis renamed tofingerprintFlutterVersion.Region.stringValueis removed, useRegion.name.FpjsProPlugin.initFpjs/getVisitorId/getVisitorDataare replaced by an instanceFingerprintclient withget({tags, linkedId, timeout}).get. On Android and iOS:getstarts on a background thread, so creating the client at app startup does not block the UI thread.FlutterErrorif the Flutter binding does not exist yet, so callWidgetsFlutterBinding.ensureInitialized()first, as withinitFpjs.Duration.endpoint+endpointFallbacksbecome oneendpointslist. Platform options nest underandroid,ios, andweb.scriptUrlPattern,scriptUrlPatternFallbacks, andextendedResponseFormatare removed.tagsmust be JSON-compatible (string keys, finite numbers, no typed lists).getthrowsArgumentErrorright away for invalidtagsor atimeoutunder 1 ms, before identifying. The constructor throwsArgumentErrorfor anendpointsentry that is not anhttporhttpsURL, or anandroid.locationTimeoutunder 1 ms.endpointsstill get no automatic fallback on any platform, even though JS agent v4 adds one by default. List the regional default URL last if you want it.regionstill defaults toRegion.us. Set it for EU and AP workspaces.Result
FingerprintResult:eventId,visitorId?,suspectScore?,sealedResult?,cacheHit?(web only).requestIdis noweventId.confidence/confidenceScoreand the extended types (ipLocation,firstSeenAt, and the rest) are gone.visitorIdis null when hidden (Zero Trust).Errors
One
FingerprintError(code,message?,eventId?). Discriminate onerror.code. Network failures reportcode: 'network_error'. On web, a failed agent script download reportsscript_load_fail.FingerprintErrordoes not extendPlatformException; if you catch SDK errors withon PlatformException, switch toFingerprintError.try { - await FpjsProPlugin.getVisitorData(); - } on FingerprintProError catch (error) { - if (error is TooManyRequestError) { + await fp.get(); + } on FingerprintError catch (error) { + if (error.code == FingerprintError.tooManyRequests) { // handle rate limiting } }Web
Caching is off unless you pass
web: WebOptions(cache: ...).If this tag is missing,
getthrowsscript_load_fail. (f680434)Supported Native SDK Version Range
>= 4.1.0 and < 4.2.0>= 4.1.0 and < 4.2.0