·
1 commit
to main
since this release
Fixed
Template files
- Fixed
getBoolean()returningundefinedinstead offalsewhen a boolean property is set tofalsein a template file. - Fixed some TS discrepancies in the
figma.*API in template files - Some fixes for the migration script
Swift & Compose
- Fixed args inconsistency in Swift and Compose helpers that could cause errors during template rendering.
Features
CLI
- Added
--file(-f) option toparse,publish, andunpublishcommands to process a single Code Connect file instead of the entire project (e.g.figma connect parse --file=src/Button.figma.tsx).
Template files
- The
migratecommand now outputs TypeScript (.figma.ts) files by default. Pass--javascriptto output JavaScript (.figma.js) files instead. - The
migratecommand now outputsimport figma from "figma"(ESM syntax) when using the--typescriptflag - The
migratecommand now removes__propsmetadata blocks by default. Pass--include-propsto preserve them. - Storybook connections can now be migrated by the template migration script