Skip to content

Update dependency @figma/code-connect to v1.4.3#2731

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/figma-code-connect-1.x-lockfile
Open

Update dependency @figma/code-connect to v1.4.3#2731
renovate[bot] wants to merge 1 commit intomainfrom
renovate/figma-code-connect-1.x-lockfile

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Dec 1, 2025

This PR contains the following updates:

Package Change Age Confidence
@figma/code-connect 1.3.81.4.3 age confidence

Release Notes

figma/code-connect (@​figma/code-connect)

v1.4.3

Compare Source

Fixed

Template files
  • Fixed getBoolean() returning undefined instead of false when a boolean property is set to false in 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 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).
Template files
  • The migrate command now outputs TypeScript (.figma.ts) files by default. Pass --javascript to output JavaScript (.figma.js) files instead.
  • The migrate command now outputs import figma from "figma" (ESM syntax) when using the --typescript flag
  • The migrate command now removes __props metadata blocks by default. Pass --include-props to preserve them.
  • Storybook connections can now be migrated by the template migration script

v1.4.2

Compare Source

Fixed

General
  • Fixed incorrect 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.
  • Publishing with --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
  • Fixed an issue around .figma.js/.figma.ts files being incorrectly treated as template files
CLI
  • The --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.

Features

General
  • Code Connect now supports default branch names other than master/main. For cases where it can't be detected automatically, you can set defaultBranch in your figma.config.json.
Template files
  • Variant restrictions are now handled by the migrate script. These are inlined into one template file with if/else blocks.
  • TypeScript is now supported for raw template files (.figma.template.ts / .figma.ts).
    • ESM import syntax is now supported for the Figma API: import figma from 'figma'
    • Type-only imports (import type) are supported
    • Other module imports are not yet supported
    • To enable types for the figma API, add "@​figma/code-connect/figma-types" to the types array in your tsconfig.json.
    • TypeScript files are the default output of the migrate command. Can pass --javascript to output JavaScript (.figma.js) files instead.

v1.4.1

Compare Source

Fixed

  • Fixed issue with publishing template files without a source value

v1.4.0

Compare Source

Features

React
  • Add support for figma.slot() to map Figma slot layer properties in Code Connect files.
Parserless
  • Added a beta migration script to migrate parser-based Code Connect files to parserless templates under figma connect migrate.
  • The default extension for parserless/template files is now .figma.js instead of .figma.template.js. The old .figma.template.js extension is still fully supported for backwards compatibility.
  • Removed --include-template-files flag. Template files (.figma.js and .figma.template.js) are now always included when detected.
  • Add support for instance.getSlot(name) in templates to reference "slot" properties.
  • Parserless templates now support optional component and source comment fields (e.g., // component=Button)

v1.3.13

Compare Source

Features

  • Add --api-url option to use a different code-connect api endpoint. This option can also be configured in figma.config.json with the apiUrl field
  • Add language config option to override syntax highlighting language in figma.config.json
Parserless
  • Syntax highlighting + formatting for parserless templates when publishing with a known label (e.g. React)

Fixed

  • Fix crash that occurs when the provided Figma file has no components
  • Set version number for annotations gradle plugin
  • Security update: upgraded undici to fix CVE-2026-22036. Roll back and report if you encounter networking issues.
  • Security update: upgraded lodash to fix CVE-2025-13465.

v1.3.12

Compare Source

General

Fixed

  • Fixed a problem with path alias imports incorrectly importing index files
  • Fixed parsing failure for Compose in Windows.

v1.3.11

Compare Source

Swift
  • Fixed a corner case where the swift parser generated invalid code-connect code.

v1.3.10

Compare Source

Fixed

General
  • Updated glob dependency to 11.0.4 to fix security vulnerability

v1.3.9

Compare Source

Fixed

General
  • Improve response of publish command to display succeeded and failed nodes
Compose / Swift
  • Fixed parsing failure in create command

Configuration

📅 Schedule: (in timezone Asia/Seoul)

  • Branch creation
    • Between 10:00 AM and 07:59 PM, between day 1 and 7 of the month, and on Monday (* 10-19 1-7 * MON)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the chore:deps Issue or PR related to dependencies label Dec 1, 2025
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Dec 1, 2025

⚠️ No Changeset found

Latest commit: 96be8df

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@channeltalk
Copy link
Copy Markdown

channeltalk bot commented Dec 1, 2025

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Dec 1, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link
Copy Markdown

codecov bot commented Dec 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.80%. Comparing base (18c024f) to head (96be8df).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2731   +/-   ##
=======================================
  Coverage   81.80%   81.80%           
=======================================
  Files         149      149           
  Lines        2957     2957           
  Branches      928      934    +6     
=======================================
  Hits         2419     2419           
- Misses        504      534   +30     
+ Partials       34        4   -30     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot force-pushed the renovate/figma-code-connect-1.x-lockfile branch from bec712e to 8093f98 Compare December 10, 2025 20:07
@renovate renovate bot changed the title chore(deps): update dependency @figma/code-connect to v1.3.11 chore(deps): update dependency @figma/code-connect to v1.3.12 Dec 10, 2025
@renovate renovate bot force-pushed the renovate/figma-code-connect-1.x-lockfile branch 8 times, most recently from 352c000 to 8aad1ed Compare January 12, 2026 09:25
@renovate renovate bot force-pushed the renovate/figma-code-connect-1.x-lockfile branch 4 times, most recently from 2843388 to d559577 Compare January 21, 2026 05:01
@renovate renovate bot changed the title chore(deps): update dependency @figma/code-connect to v1.3.12 chore(deps): update dependency @figma/code-connect to v1.3.13 Feb 2, 2026
@renovate renovate bot force-pushed the renovate/figma-code-connect-1.x-lockfile branch from d559577 to 65276cb Compare February 2, 2026 14:26
@renovate renovate bot force-pushed the renovate/figma-code-connect-1.x-lockfile branch 3 times, most recently from e8236ad to 4a745e1 Compare February 18, 2026 12:55
@renovate renovate bot changed the title chore(deps): update dependency @figma/code-connect to v1.3.13 chore(deps): update dependency @figma/code-connect to v1.4.0 Feb 18, 2026
@renovate renovate bot force-pushed the renovate/figma-code-connect-1.x-lockfile branch from 4a745e1 to b3dbd16 Compare February 20, 2026 18:40
@renovate renovate bot changed the title chore(deps): update dependency @figma/code-connect to v1.4.0 chore(deps): update dependency @figma/code-connect to v1.4.1 Feb 20, 2026
@renovate renovate bot force-pushed the renovate/figma-code-connect-1.x-lockfile branch 3 times, most recently from cb13da4 to 7e1f588 Compare March 4, 2026 08:58
@renovate renovate bot force-pushed the renovate/figma-code-connect-1.x-lockfile branch 7 times, most recently from 5891ee7 to 76b5090 Compare March 11, 2026 07:14
@renovate renovate bot force-pushed the renovate/figma-code-connect-1.x-lockfile branch 2 times, most recently from 16a8109 to c2265cd Compare March 17, 2026 13:08
@renovate renovate bot changed the title chore(deps): update dependency @figma/code-connect to v1.4.1 chore(deps): update dependency @figma/code-connect to v1.4.2 Mar 17, 2026
@renovate renovate bot force-pushed the renovate/figma-code-connect-1.x-lockfile branch 2 times, most recently from 15a5b59 to eea0eb9 Compare March 24, 2026 11:19
@renovate renovate bot force-pushed the renovate/figma-code-connect-1.x-lockfile branch from eea0eb9 to 5fa92b2 Compare April 1, 2026 19:10
@renovate renovate bot changed the title chore(deps): update dependency @figma/code-connect to v1.4.2 chore(deps): update dependency @figma/code-connect to v1.4.3 Apr 1, 2026
@renovate renovate bot force-pushed the renovate/figma-code-connect-1.x-lockfile branch from 5fa92b2 to 96be8df Compare April 8, 2026 20:14
@renovate renovate bot changed the title chore(deps): update dependency @figma/code-connect to v1.4.3 Update dependency @figma/code-connect to v1.4.3 Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore:deps Issue or PR related to dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants