getBoolean() returning undefined instead of false when a boolean property is set to false in a template file.figma.* API in template files--file (-f) option to parse, publish, and unpublish commands to process a single Code Connect file instead of the entire project (e.g. figma connect parse --file=src/Button.figma.tsx).migrate command now outputs TypeScript (.figma.ts) files by default. Pass --javascript to output JavaScript (.figma.js) files instead.migrate command now outputs import figma from "figma" (ESM syntax) when using the --typescript flagmigrate command now removes __props metadata blocks by default. Pass --include-props to preserve them.documentUrlSubstitutions when one key is a prefix of another (e.g. SearchInput and SearchInputMenu). The CLI now processes longer keys first so the correct substitution is applied.--batch-size now retries automatically on rate-limit (429) and server error (5xx) responses, respecting the Retry-After header when present, rather than failing immediately.figma.js/.figma.ts files being incorrectly treated as template files--include-template-files flag now shows a deprecation warning instead of causing an error. The flag is no longer necessary as template files are automatically included by default.master/main. For cases where it can't be detected automatically, you can set defaultBranch in your figma.config.json.migrate script. These are inlined into one template file with if/else blocks..figma.template.ts / .figma.ts).
import figma from 'figma'import type) are supportedfigma API, add "@figma/code-connect/figma-types" to the types array in your tsconfig.json.migrate command. Can pass --typescript to output TypeScript (.figma.ts) files instead.source valuefigma.slot() to map Figma slot layer properties in Code Connect files.figma connect migrate..figma.js instead of .figma.template.js. The old .figma.template.js extension is still fully supported for backwards compatibility.--include-template-files flag. Template files (.figma.js and .figma.template.js) are now always included when detected.instance.getSlot(name) in templates to reference "slot" properties.component and source comment fields (e.g., // component=Button)apiUrl fieldlanguage config option to override syntax highlighting language in figma.config.jsoncreate commandlibs.versions.toml Kotlin version to 2.2.21.unpublish command showing success message in certain cases where the action didn't complete properlty.swift-syntax dependency to include support for 602.0.0. Thanks to @luispadron for the PRnpx connect unpublish --node to require a --label param so it can unpublish any label type.--verbose is enabled for improved debugging.swift-syntax to support 601.0.1.--verbose command to output detailed stacktrace.interactiveSetupFigmaFileUrl to the interactive setup, allowing you to specify the Figma file to use for connecting components in your figma.config.json file.--include-raw-templates flag to --include-template-files. Further details of this feature can be found in the documentation.swift-syntax to point to the new URL. Thanks to @pontusJPaf for the PR.@FigmaEnum declarations in SwiftUIfigma.booleanlinks and imports (fixes https://github.com/figma/code-connect/issues/142)props would serialize to strings when accessed with getProps()figma.boolean and getPropsprops would serialize to strings when accessed with getProps()figma.boolean and getProps