Skip to content

v0.33.0

Choose a tag to compare

@mlnchk mlnchk released this 26 Nov 16:52
· 26 commits to main since this release
9e2a493

What's Changed

Custom fonts for flows, in the new adapty fonts topic (#105):

  • fonts list, fonts get: the font families of an app with their faces (weight, italic, iOS and Android names).
  • fonts upload <file>... --app <uuid>: upload .ttf or .otf files, one report per file. A file that collides with stored faces is refused with every colliding face listed; --choice keep skips the file while it still collides; --choice replace puts it on the colliding faces, and the printed retry --choice replace --replace-face-id <id>... binds the replace to the faces shown. A replace changes stored faces that all flows of the app share.
  • fonts add <family_id> <file>...: add faces to an existing family, with the same --choice.
  • fonts rename <family_id> <name>: rename a family; its files and faces do not change.
  • fonts usage <family_id>: the flows (drafts too) and paywalls that use a family.
  • fonts faces update, fonts faces default, fonts faces move: change a face's weight and italic, iOS or Android name, make it the default face, or move it to another family.
  • fonts faces replace <face_id> <file> --yes: replace the file of one face. The old file cannot be restored, so it asks first; with --json, a pipe or no terminal it does nothing without --yes (exit 6).
  • flows publish refreshes the flow's copy of the app fonts before it publishes, so a renamed face reaches the app. It compares the copy by family, so an order-only difference makes no save, and it stops before any write when it cannot read the fonts or gets a config answer that is not the config.
  • Two families of the app whose names differ only in case refuse an upload by name (font_family_name_ambiguous): the report names both family IDs; add the file to one of them with fonts add or rename one.

There is no font delete command yet.

Compatibility:

  • flows publish of a flow that does not exist now exits 4 (was 1).
  • flows publish stops with exit 4 on a malformed flow config answer, also when no font save is needed.
  • flows publish of a flow that names a custom font needs the font routes of the Developer API (live on the Adapty servers since 26 November 2026).

Full Changelog: v0.32.1...v0.33.0