Skip to content

Releases: figma/code-connect

Code Connect 1.3.9

14 Nov 15:33

Choose a tag to compare

Fixed

General

  • Improve response of publish command to display succeeded and failed nodes

Compose / Swift

  • Fixed parsing failure in create command

Code Connect 1.3.8

29 Oct 17:26

Choose a tag to compare

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.toml Kotlin version to 2.2.21.

Code Connect 1.3.7

22 Oct 14:03

Choose a tag to compare

Fixed

General

  • unpublish command 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-syntax dependency to include support for 602.0.0. Thanks to @luispadron for the PR

Code Connect 1.3.6

26 Sep 11:25

Choose a tag to compare

Fixed

General

  • Updated npx connect unpublish --node to require a --label param so it can unpublish any label type.

Compose

  • Fixed parsing issue with multi-module projects.

SwiftUI

  • Updated swift-syntax to 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

05 Sep 07:48

Choose a tag to compare

Fixed

General

  • Fixed "Failed to fetch embeddings" error if empty payload in interactive setup
  • Retain the temporary file and directory when --verbose is 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-syntax to support 601.0.1.

Code Connect 1.3.4

27 Jun 10:41

Choose a tag to compare

Fixed

React

  • Support getProps inside nestedProps

Code Connect 1.3.3

27 May 09:23

Choose a tag to compare

Features

Compose

  • Enhanced --verbose command to output detailed stacktrace.

Fixed

General

  • Bumped Undici version to address security issue

Code Connect 1.3.2

04 Apr 16:59

Choose a tag to compare

Fixed

General

  • Added support for GitHub Enterprise source links (fixes #259)

React

  • Fixed incompatibility issue with React 19 (fixes #265)
  • Fixed issue with numeric characters in property names

HTML

  • Allow examples to return strings to support icon IDs (fixes #252)

Code Connect v1.3.1

14 Feb 14:56

Choose a tag to compare

Fixed

  • Allow .gradle files to be detected as Android/Compose projects. Thanks to @sebastienrouif for the PR
  • Remove prompts patching (fixes #241)

Features

  • Added interactiveSetupFigmaFileUrl to the interactive setup, allowing you to specify the Figma file to use for connecting components in your figma.config.json file.
  • Rename --include-raw-templates flag to --include-template-files. Further details of this feature can be found in the documentation.

SwiftUI

  • Updated swift-syntax to point to the new URL. Thanks to @pontusJPaf for the PR.

Code Connect 1.3.0

28 Jan 18:05

Choose a tag to compare

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 @FigmaEnum declarations 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

Storybook

  • Add support for different props per example (fixes #143)
  • Add support for links and imports (fixes #142)