Interoperability, quality of life and security improvements
Pre-release
Pre-release
Changes
- All environment variables now contain the
HANDOFF_
prefix.- After updating to version 0.12.0, all environment variables need to be updated to reflect the new variable names:
FIGMA_BASE_URL
->HANDOFF_FIGMA_BASE_URL
DEV_ACCESS_TOKEN
->HANDOFF_DEV_ACCESS_TOKEN
FIGMA_PROJECT_ID
->HANDOFF_FIGMA_PROJECT_ID
OUTPUT_DIR
->HANDOFF_OUTPUT_DIR
SITES_DIR
->HANDOFF_SITES_DIR
USE_HANDOFF_PLUGIN
->HANDOFF_USE_HANDOFF_PLUGIN
CREATE_ASSETS_ZIP_FILES
->HANDOFF_CREATE_ASSETS_ZIP_FILES
- After updating to version 0.12.0, all environment variables need to be updated to reflect the new variable names:
- The default integration is no longer pre-defined.
- Bootstrap 5.3 is no longer set as the default integration.
- To continue using the Bootstrap 5.3 integration in your project, ensure the configuration is ejected (
handoff-app eject:config
) and update it by setting theintegration
property to{name: 'bootstrap', version: '5.3'}
.
- All default options specified in the configuration that are used by the exporter and transformer have been removed.
- To continue using the defaults present before the 0.12.0 release, ensure the configuration is ejected (
handoff-app eject:config
) and update thefigma.options
property to the previous default value.
- To continue using the defaults present before the 0.12.0 release, ensure the configuration is ejected (
- The logo placeholder copy showing spacing and orientation has been removed allowing users to add custom content via Markdown.
Improvements
- Handoff now appends to existing
.env
files instead of overriding them if the file already exists. - Introduced normalization of numeric values in
.css
and.scss
files, along with correct indentations. This ensures that the generated files are valid for any local linting tools your project might use. - Configuration ejected by the
handoff-app eject:integration
command is now the same as the one ejected by thehandoff-app eject:config
command. - Handoff no longer uses the
iframe-resizer
package. - Resolved potential security issues by updating to newer versions of the
axios
andnext
packages.
Commits
- Merge pull request #147 from Convertiv/release/0.12.0 9ebda1f
- Merge pull request #146 from Convertiv/changelog/0.12.0 bc27f88
- Changelog for 0.12.0. 9369ead
- Merge pull request #145 from Convertiv/ux/logo-improvements 3a519e7
- Removing debugging 05e4ead
- Removing unneded skip 7bc18c0
- Proposing change to config init when running next commands without first fetching e12083b
- Removing logo sizing defaults 89815bd
- Clean up of project id c90e805
- Removing logo section 75ece0f
- Merge pull request #144 from Convertiv/feature/consolidate-ejected-configs e949876
- Updated ejectIntegration to eject the same local configuration as the ejectConfig does. 8f66045
- Merge pull request #142 from Convertiv/feature/remove-default-options ec43417
- Merge pull request #143 from Convertiv/feature/normalize-css-number-values 2280a23
- Fixed indentations for foundation (colors, effects, typography) css files. 318e790
- Introduced css number value normalization. f7e7751
- Removed default options. Removed hardcoded cssRootClass "button" to "btn" replacement rule. Removed all specified cssRootClass properties from legacy exportable schemas. 3ad38a6
- Merge pull request #139 from Convertiv/ops/next-14-update 7506970
- Requirements update. 119717c
- Removed all iframe-resizer references. d1506d2
- Build app.js 1efba3a
- Removing iframe resizer 80059d6
- Security patches - Axios and Nextjs 20a9857
- 0.12.0 5ec1d47
- Merge pull request #141 from Convertiv/feature/disable-default-integration b45da3d
- Disabled default bootstrap 5.3 integration. No integration is generated by default. 3b260e9
- Merge pull request #140 from Convertiv/feature/append-to-env-if-already-exists 59b3ffd
- Added HANDOFF_ prefix to all handoff env variables. c3a3fe8
- Now appending to .env file if the file already exists. 274f2f6