Releases: figma/code-connect
Releases · figma/code-connect
Code Connect 1.3.9
Fixed
General
- Improve response of publish command to display succeeded and failed nodes
Compose / Swift
- Fixed parsing failure in
createcommand
Code Connect 1.3.8
Fixed
Compose
- Fixed an issue where if there were multiple modules/files connecting to the same FigmaNode the parser only recognize the first module/file found.
- Update
libs.versions.tomlKotlin version to2.2.21.
Code Connect 1.3.7
Fixed
General
unpublishcommand showing success message in certain cases where the action didn't complete properlty.- Fixed path alias imports not being resolved.
Compose
- Released a new Code Connect plugin version (1.2.3) that works with JDK 17.
- Fixed an issue that was happening in the parser where special characters weren't escaped properly, causing snippets to fail to evaluate.
SwiftUI
- Fixed
swift-syntaxdependency to include support for 602.0.0. Thanks to @luispadron for the PR
Code Connect 1.3.6
Fixed
General
- Updated
npx connect unpublish --nodeto require a--labelparam so it can unpublish any label type.
Compose
- Fixed parsing issue with multi-module projects.
SwiftUI
- Updated
swift-syntaxto support 602.0.0. Thanks to @luispadron for the PR - Fixed protocol inheritance for Swift 6.2. Thanks to @rmenezes for the PR
Code Connect 1.3.5
Fixed
General
- Fixed "Failed to fetch embeddings" error if empty payload in interactive setup
- Retain the temporary file and directory when
--verboseis enabled for improved debugging.
SwiftUI
- Fixed SourcePackages directory not found.
- Added optional sourcePackagesPath parameter for when the default derived data folder is not used.
- Updated
swift-syntaxto support 601.0.1.
Code Connect 1.3.4
Fixed
React
- Support getProps inside nestedProps
Code Connect 1.3.3
Features
Compose
- Enhanced
--verbosecommand to output detailed stacktrace.
Fixed
General
- Bumped Undici version to address security issue
Code Connect 1.3.2
Code Connect v1.3.1
Fixed
- Allow .gradle files to be detected as Android/Compose projects. Thanks to @sebastienrouif for the PR
- Remove prompts patching (fixes #241)
Features
- Added
interactiveSetupFigmaFileUrlto the interactive setup, allowing you to specify the Figma file to use for connecting components in yourfigma.config.jsonfile. - Rename
--include-raw-templatesflag to--include-template-files. Further details of this feature can be found in the documentation.
SwiftUI
- Updated
swift-syntaxto point to the new URL. Thanks to @pontusJPaf for the PR.
Code Connect 1.3.0
Features
- Add support for JSX Figma connection files.
- Added an option to automatically create or append the access token to the project's .env file
- Add better handling of many figma components in the wizard (grouping per page)
- Allow variant restrictions to use boolean-like properties
General
- Added support for Bitbucket, Gitlab and Azure DevOps for generated source file URLs
Fixed
- Don't show a red-cross when the file-matching prompt is finished in the wizard
- Add default values for
@FigmaEnumdeclarations in SwiftUI
SwiftUI
- Fixed a formatting error when running the CLI
React
- Fix nested objects and arrays in props not rendering properly in code snippets
- Fixed a type issue when passing functions as values to
figma.boolean - Add support for multiple exports per file in the wizard