flutterflow_cloud_core 0.2.0
flutterflow_cloud_core: ^0.2.0 copied to clipboard
Pure Dart Cloud values, errors and strict function contract codecs.
Changelog #
0.2.0 #
For flutterflow_cloud 0.8.0 and flutterflow_cloud_emulator 0.3.0. It carries
everything in 0.1.1 and 0.2.0-dev.1.
- Add the Dynamic Links values, as in 0.2.0-dev.1 (below).
- Validate scheduled Functions:
kind: scheduledwith itsscheduleanddeliveryis a delivery kind beside callable and HTTP, andparseFunctionCron(exported byfunction_contracts.dart) parses its five-field cron expression. A callable or HTTP function that declaresscheduleordeliveryfails at that key; event triggers stay unsupported. The generator emits no client for a scheduled function. - Sign-in problem codes (
providerNotEnabled,redirectUriNotAllowed,grantCodeInvalid,credentialAlreadyLinked,providerAlreadyLinked,linkingBlocked,userDisabled,invalidCredentials,emailAlreadyExists,weakPassword,accountLocked,challengeRequired) have end-user copy of their own inuserMessage, with the code in parentheses.providerAlreadyLinkedmaps toFFXConflictErrorandlinkingBlockedtoFFXPermissionDeniedError. - Map
connectorRefused, a connected service turning the request down, toFFXValidationErrorwith end-user copy of its own. - The generator keeps the
logname forcloud.log: a model whose plural isloggets the getter<model>Collection(logCollectionfor alogmodel) instead oflog.
0.2.0-dev.1 #
A prerelease for flutterflow_cloud 0.8.0-dev.1. It builds on 0.1.0 and does
not carry 0.1.1's changes.
- Add the Dynamic Links values (
package:flutterflow_cloud_core/dynamic_links.dart, also exported by the main library):FFXDynamicLink,FFXLinkCampaign, the short-code, location and "Open in app" URL rules, and the build define names. - Add
FFXDynamicLinksNotConfiguredErrorand map thedynamicLinks*problem codes, with end-user copy. - The generator reserves the Dynamic Links
FFX…type names; adynamicLinkmodel keeps itsdynamicLinksgetter.
0.1.1 #
- Accept a Function's
capabilities.connectors, so a project whose Functions call a connector generates. - A Function that fails validation now reports its path and fix, instead of "Could not read project.json or options.json".
0.1.0 #
- Initial release of shared pure Dart record, query, auth, file and batch values.
- Strict Functions JSON codecs and contract validation.
- Project generation, including typed callable Functions clients.