Update dependency @figma/code-connect to v1.4.3#2731
Update dependency @figma/code-connect to v1.4.3#2731renovate[bot] wants to merge 1 commit intomainfrom
Conversation
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
bec712e to
8093f98
Compare
352c000 to
8aad1ed
Compare
2843388 to
d559577
Compare
d559577 to
65276cb
Compare
e8236ad to
4a745e1
Compare
4a745e1 to
b3dbd16
Compare
cb13da4 to
7e1f588
Compare
5891ee7 to
76b5090
Compare
16a8109 to
c2265cd
Compare
15a5b59 to
eea0eb9
Compare
eea0eb9 to
5fa92b2
Compare
5fa92b2 to
96be8df
Compare
This PR contains the following updates:
1.3.8→1.4.3Release Notes
figma/code-connect (@figma/code-connect)
v1.4.3Compare Source
Fixed
Template files
getBoolean()returningundefinedinstead offalsewhen a boolean property is set tofalsein a template file.figma.*API in template filesSwift & Compose
Features
CLI
--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
migratecommand now outputs TypeScript (.figma.ts) files by default. Pass--javascriptto output JavaScript (.figma.js) files instead.migratecommand now outputsimport figma from "figma"(ESM syntax) when using the--typescriptflagmigratecommand now removes__propsmetadata blocks by default. Pass--include-propsto preserve them.v1.4.2Compare Source
Fixed
General
documentUrlSubstitutionswhen one key is a prefix of another (e.g.SearchInputandSearchInputMenu). The CLI now processes longer keys first so the correct substitution is applied.--batch-sizenow retries automatically on rate-limit (429) and server error (5xx) responses, respecting theRetry-Afterheader when present, rather than failing immediately.figma.js/.figma.tsfiles being incorrectly treated as template filesCLI
--include-template-filesflag 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
master/main. For cases where it can't be detected automatically, you can setdefaultBranchin yourfigma.config.json.Template files
migratescript. These are inlined into one template file with if/else blocks..figma.template.ts/.figma.ts).import figma from 'figma'import type) are supportedfigmaAPI, add"@​figma/code-connect/figma-types"to thetypesarray in yourtsconfig.json.migratecommand. Can pass--javascriptto output JavaScript (.figma.js) files instead.v1.4.1Compare Source
Fixed
sourcevaluev1.4.0Compare Source
Features
React
figma.slot()to map Figma slot layer properties in Code Connect files.Parserless
figma connect migrate..figma.jsinstead of.figma.template.js. The old.figma.template.jsextension is still fully supported for backwards compatibility.--include-template-filesflag. Template files (.figma.jsand.figma.template.js) are now always included when detected.instance.getSlot(name)in templates to reference "slot" properties.componentandsourcecomment fields (e.g.,// component=Button)v1.3.13Compare Source
Features
apiUrlfieldlanguageconfig option to override syntax highlighting language in figma.config.jsonParserless
Fixed
v1.3.12Compare Source
General
Fixed
v1.3.11Compare Source
Swift
v1.3.10Compare Source
Fixed
General
v1.3.9Compare Source
Fixed
General
Compose / Swift
createcommandConfiguration
📅 Schedule: (in timezone Asia/Seoul)
* 10-19 1-7 * MON)🚦 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.
This PR was generated by Mend Renovate. View the repository job log.