Skip to content

Latest commit

 

History

History
426 lines (281 loc) · 13.1 KB

CHANGELOG.md

File metadata and controls

426 lines (281 loc) · 13.1 KB

Changelog

[3.3.0] - 19.06.2022

Added

  • Copy code to clipboard functionality
  • Handle RGB color token values

Changed

  • Update dependencies
  • Update styles of A11y plugin UI
  • Require Node.js >= 16.16 (current latest LTS)

[3.2.0] - 14.06.2021

Added

Changed

  • Require Node.js >= 14.15 (current latest LTS)

[3.1.0] - 17.07.2020

Changed

  • UI overhaul, major thanks and props to @CosAnca!

Added

[3.0.0] - 22.04.2020

Added

  • Add theme labels for preview iframes
  • Official logo, thanks @janpersiel!

Changed

  • Require Node.js >= 12.16 (current latest LTS)

Removed

  • Removed migrations for v2
  • Deprecated @uiengine/bridge-theo

[2.6.0] - 17.01.2020

Added

Changed

  • Performance optimizations
  • EJS: Adapter upgrades to EJS 3

Fixes

  • Webpack: Set correct chunk names
  • Core: Correct error report in case config file cannot be read
  • Windows compatibility

[2.5.0] - 2019-08-22

Added

  • Webpack adapter: Add debug option for displaying detailed build information
  • Provide custom page foot via the ui config.

Removed

  • Webpack adapter: Removed extensions option (now they are inferred automatically)
  • Deprecated @uiengine/adapter-react and @uiengine/adapter-vue

Changed

  • Webpack adapter: Improve build
  • Core: Build performance improvements

[2.4.0] - 2019-07-24

Added

  • Webpack adapter warns about incorrect config

Removed

  • UI does not display nested properties anymore
    • Will be brought back once prop-types parsing gets revised.

Changed

  • Improve Webpack adapter build
  • Deprecated Vue adapter, please use the Webpack adapter.

Fixes

  • UI: Asset prefetch paths got fixed

[2.3.0] - 2019-06-28

Added

  • Webpack adapter production ready
    • Support dependency graph and property extartion for Vue and React
    • Support for the filesForComponent and filesForVariant hooks
    • See the Webpack adapter docs for details.
  • Custom file watches can be listed as source.additionalWatches in the config

[2.2.0] - 2019-05-09

Added

  • Lazy load preview iframes to improve performance on component pages with many variants.
  • Pages can now also define a fragment, which works similar to the template.

Removed

  • Removed variant parts and rendered output from state as it bloats up the UI file size.

[2.1.0] - 2019-04-25

Added

  • Provide custom meta tags via the ui config.
  • Option to restrict variant display to a list of given theme ids.
  • Experimental Webpack adapter
    • See the Webpack adapter docs for details.
    • Requires the <!-- uiengine:foot --> comment to be present in the template.

Changed

  • Option to restrict token display to a list of given theme ids changes from theme to themeIds.

Fixes

  • HTML escaping in titles

[2.0.0] - 2019-01-28

Added

  • Improved Windows compatibility, feedback welcome!
  • The pen icon in the interface opens files in VS Code when working locally
  • Pages can be set to be initially collapsed – see the docs
  • @uiengine/core exports the markdown function to transform markdown to html

Changed

  • Themes are now a first-class citizen and widely supported
    • The themes config option moved to the root level config (previously ui.themes)
    • Each variant and page gets rendered per theme
    • The adapters render function gets the themeId as an option
  • Moved analyticsId config option into ui config.
  • The filesFor… adapter function now also receive the options as first argument
  • Extracted Theo integration into its own @uiengine/bridge-theo package
  • YAML and Frontmatter in Markdown files has been removed.
    • File changes:
      • component.md -> component.config.js and README.md
      • page.md -> page.config.js and README.md
      • data.yml -> data.js (deprecated, see below)
      • Entity.yml -> Entity.js
    • Use the npx uiengine migrate command to automatically migrate

Removed

  • Removed source.data config option
    • Require files directly in your component.config.js or page.config.js.
  • Removed source.entities config option
    • Require files directly in your component.config.js.
    • One less custom concept to worry about :)
  • Removed ui.customActions
    • Will be replaced with a third-party plugin API

[1.4.0] - 2018-11-01

Added

  • CSS Adapter: Parses css files for custom properties and display theme settings for components.
  • React Adapter: Partial support for PropType definitions in external files

[1.3.0] - 2018-10-14

Added

  • The UI displays theme properties (css custom properties)
  • Override locales or single keys in a locale

Changed

  • Improved the styles and structure for content pages and elements
    • Tl;DR More whitespace and bigger fonts
    • The intro and details containers got added

[1.2.0] - 2018-09-30

Added

  • Dependency graph for components
    • Adapters can extract the dependencies and dependents in registerComponentFile
    • Component dependencies and dependents get displayed in the UI
    • Component changes rebuild the dependent variants and templates automatically
    • The React and Pug adapters support this already
  • Option ui.repoBaseUrl for linking components and pages to the repo

Changed

  • Removed parent package uiengine
    • use scoped packages directly, e.g. @uiengine/core plus @uiengine/adapter-html

[1.1.0] - 2018-09-02

Added

  • Allow source.components config to define lists of directories
  • Config overrides for CLI (see CLI help/usage for details)
  • Option skipScaffold for adapters
    • Prevents creation of files for components and variants
    • Replaces the cli --exclude flag for the uiengine component command
    • See the adapters documentation for details.

Changed

  • Removed filesFor hooks from html adapter
    • The html adapter is part of the standard install, but it is unlikely that you would want to generate the files for every new component.
  • Variant ID and filename contain the index
    • allows for rendering multiple variants based on the same file
  • CLI commands (init, component, page) do not overwrite existing files
    • unless the --force flag is provided

Fixed

  • Windows compatibility
  • Proper handling of scroll position on navigation

[1.0.0] - 2018-07-17

First public stable release. 🎉

For details see the UIengien 1.0 blog post.

[0.23.0] - 2018-07-15

Added

  • Set browser-sync startPath for custom UI base
  • New documentation site, generated with the UIengine itself

Changed

  • Improved the CLI flags and usage docs
  • Improved React adapter hooks
  • Improved React adapter Properties extraction

Fixed

  • Skip generating HTML Sketchapp export if template is missing

[0.22.0] - 2018-06-19

Added

  • Adapters registerComponentFile functions can extract and return information from component files
    • Use this to generate documentation from your #React PropType definitions etc.
    • See the adapters documentation for details.
  • Option to wrap the content of a custom page template in the preview template
    • In case you want to provide only the content of the <body>.
    • Works like with variants, whose content replaces the uiengine:content comment.
  • Internal links in documentation are now handled via the UI router.

Fixed

  • Use theme hash across all previews and links
  • Display of indented code blocks

[0.21.0] - 2018-06-11

Added

  • Viewports are a new preview mode in addition to breakpoints
  • Rebuild variants and tokens on preview template change
  • The comment <!-- uiengine:class --> now also gets replaced in the preview template
    • This should be added to the html tag and can be used for customizing special previews.

Changed

  • CSS custom properties used by UIengine are now prefixed with --uie-
    • In case you are using the ui.customStylesFile you need to update the UIengine custom properties.

Fixed

  • Hide inactive scrollbars on Windows

[0.20.0] - 2018-05-24

Added

  • Fonts are now part of the html-sketchapp export
  • Copy page files in subfolders
  • Demo content (pages and components) can be generated on initialization
    • Use the uiengine init --demo command
    • This should give a basic overview for some of the features
    • Beware: It uses the html adapter, hence the components are very simplistic!

Changed

  • Design token rendering:
    • The tokens are now rendered as part of the preview template
    • Added the token types font and icon
    • For details see the design token docs
  • Reduced file watching delay for faster refreshes

[0.19.0] - 2018-04-14

Added

  • Optional theme switch for your projects themes
  • The adapter render function can now return structured data
  • The output can be served from a subdirectory

Changed

  • Rename the @uiengine/theme package to @uiengine/ui
  • Changed the main config object theme to ui:
    • The former theme.options moved into the ui config object.
    • Moved the breakpoints into the new ui config object.
    • Removed the module option.
    • For details see the UI docs

[0.18.0] - 2018-04-02

Changed

  • Use scoped packages on npm:
    • uiengine -> @uiengine/core
    • uiengine-theme -> @uiengine/theme (note: renamed to @uiengine/ui with v0.19.0)
    • uiengine-adapter-XYZ -> @uiengine/adapter-XYZ

[0.17.0] - 2018-04-02

Added

  • Integration for [html-sketchapp]
    • Generates Sketch libraries via html-sketchapp-cli compatible export
    • For details see the integration docs

Changed

  • Replace the variantTemplate config entry key name with template
  • Rename the uiengine-theme-default package to ``uiengine-theme`

[0.16.0] - 2018-03-11

Added

  • Search for pages and components title, tags and content excerpt
  • Tags for pages, components and variants
    • Can be used to cross-reference and search items
  • Ability for toggling the navigation on desktop breakpoints
  • Links in footer to navigate to the previous and next page
  • Settings for locale and highlight.js theme
  • Integration for Google Analytics

[0.15.0] - 2018-03-01

Changed

  • Variant data moved into component config

[0.14.0] - 2018-02-10

Changed

  • More flexible configuration lookup
    • The config file is now retrieved via cosmiconfig
    • The default config file is uiengine.config.js
    • For alternative ways to store your config (e.g. in package.json) see the cosmiconfig docs

[0.13.0] - 2018-02-09

Changed

  • Simplified templates config and template references

    • The templates entry in the config file got removed
    • The variantTemplate entry got added to the config file
    • Templates need to be referred to in page config by full name (including the file extension)
    • Templates are still resolved relative to source.templates
  • Wording changed from "schema" to "entities" and "properties"

    • This reflects the actual use case and intention of the feature better
  • The UI is now extendible via CSS custom properties


All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.