Skip to content

Releases: marcomontalbano/figma-export

v6.0.2

02 Sep 21:04
c1cae3a
Compare
Choose a tag to compare

v6.0.2 (2024-09-02)

🆙 Dependencies

  • cli, core, transform-svg-with-svgo, website

Committers: 1

v6.0.1

11 May 20:46
bd8cc66
Compare
Choose a tag to compare

v6.0.1 (2024-05-11)

📝 Documentation

  • cli, output-components-as-es6, output-components-as-svg, output-components-as-svgr, output-components-as-svgstore, output-styles-as-css, output-styles-as-less, output-styles-as-sass, output-styles-as-style-dictionary, transform-svg-with-svgo
  • website

Committers: 1

v6.0.0

10 May 21:16
5043287
Compare
Choose a tag to compare

v6.0.0 (2024-05-10)

☄️ Breaking Changes

  • cli, core, output-components-as-es6, output-components-as-stdout, output-components-as-svg, output-components-as-svgr, output-components-as-svgstore, output-styles-as-css, output-styles-as-less, output-styles-as-sass, output-styles-as-style-dictionary, transform-svg-with-svgo, types, utils, website

Committers: 1

What's inside?

  • Drop Node.js 16 support
  • Move from CJS to ESM
  • Update all dependencies to the latest major
  • Replace mocha and sinon with vitest
  • Update documentation and configuration samples

Breaking changes

This library is now pure ESM.

This change may seem significant, but for most users, it's likely to have minimal impact. If your project already uses type="module" in your package.json, you're good to go.

However, if your project hasn't yet made this transition, you'll need to rename your .figmaexportrc.js configuration file:

-  .figmaexportrc.js
+  .figmaexportrc.mjs

adjust the command you run:

figma-export use-config .figmaexportrc.mjs

and start using import foo from 'foo' instead of const foo = require('foo') to import the packages inside the .figmaexportrc.mjs. You can take a look at .figmaexportrc.example.js as an example.

v6.0.0-beta.0

04 Apr 21:38
559f5bf
Compare
Choose a tag to compare
v6.0.0-beta.0 Pre-release
Pre-release

v6.0.0-beta.0 (2024-04-04)

☄️ Breaking Changes

Committers: 1

Full Changelog: v5.0.1...v6.0.0-beta.0

v5.0.1

25 Feb 20:52
b36a6db
Compare
Choose a tag to compare

v5.0.1 (2024-02-25)

🐛 Bug Fix

Committers: 1

v5.0.0

24 Feb 20:27
710491a
Compare
Choose a tag to compare

v5.0.0 (2024-02-24)

☄️ Breaking Changes

  • cli, core, output-components-as-es6, output-components-as-stdout, output-components-as-svg, output-components-as-svgr, output-components-as-svgstore, output-styles-as-css, output-styles-as-less, output-styles-as-sass, output-styles-as-style-dictionary, transform-svg-with-svgo, types, utils, website

Drop support for Node.js 12 and 14

Update all dependencies to the latest available with support to Node.js >= v16.14.

SVGR breaking change

SVGR has been updated to the latest version. Starting from v7 they removed plugin-jsx from the core so you'll need to install it manually.

npm install --save-dev @svgr/plugin-jsx
// .figmaexportrc.js

...

outputters: [
  require('@figma-export/output-components-as-svgr')({
    output: './output/svgr',
    getSvgrConfig: () => ({
      plugins: ['@svgr/plugin-jsx']
    })
  })
]

...

Committers: 1

v4.8.0

20 Feb 08:12
a35d7d1
Compare
Choose a tag to compare

v4.8.0 (2024-02-20)

🚀 New Feature

  • core, output-styles-as-css, output-styles-as-less, output-styles-as-sass, output-styles-as-style-dictionary, types
    • #156 Add support for different units in TextStyle.lineHeight (@blinpete)
  • cli, core, types
  • cli, core, output-components-as-es6, output-components-as-stdout, output-components-as-svg, output-components-as-svgr, output-components-as-svgstore, types

🐛 Bug Fix

  • core, output-components-as-es6, output-components-as-stdout, output-components-as-svg, output-components-as-svgr, output-components-as-svgstore, website
  • core

🆙 Dependencies

📝 Documentation

  • #155 Remove duplicate install pkg on README.md (@Scrum)

Committers: 4

v4.8.0-alpha.4

12 Feb 23:44
e883adb
Compare
Choose a tag to compare
v4.8.0-alpha.4 Pre-release
Pre-release

v4.8.0-alpha.4 (2024-02-13)

🚀 New Feature

  • cli, core, types
  • cli, core, output-components-as-es6, output-components-as-stdout, output-components-as-svg, output-components-as-svgr, output-components-as-svgstore, types

Committers: 2

v4.8.0-alpha.3

09 Feb 07:13
f32461a
Compare
Choose a tag to compare
v4.8.0-alpha.3 Pre-release
Pre-release

v4.8.0-alpha.3 (2024-02-09)

🐛 Bug Fix

Committers: 1

v4.8.0-alpha.2

08 Feb 22:53
341bf85
Compare
Choose a tag to compare
v4.8.0-alpha.2 Pre-release
Pre-release

v4.8.0-alpha.2 (2024-02-08)

🆙 Dependencies

Committers: 1