Skip to content

Latest commit

 

History

History
842 lines (401 loc) · 40.3 KB

CHANGELOG.md

File metadata and controls

842 lines (401 loc) · 40.3 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

3.3.2 (2022-07-13)

Bug Fixes

  • core: Properly exit the process when linting a single component fails (eec23b7)

3.3.1 (2022-07-11)

Bug Fixes

  • core: Fixes "new" component when using node directly instead of npm or yarn (d3e75b8)

3.3.0 (2022-07-11)

Features

  • core: Verbose error logging for mock data validation (#181) (39414a0)

3.2.1 (2022-07-07)

3.2.0 (2022-07-07)

Features

  • core: Adds styling for tables in documentation (2709a9f)

3.1.10 (2022-06-23)

Bug Fixes

  • core: Fixes a JS error in chrome when navigating back after having used the GOTO function (3d7a998)

3.1.9 (2022-06-02)

Bug Fixes

  • core: fixes using manifest not working when no assets.root directory is set (e6c8b9b)

3.1.8 (2022-05-17)

Bug Fixes

  • core: fix double linting error message in cli when creating a build (a040fbb)
  • core: Fix wrong result for "miyagi lint" when component has only default data which is hidden using $hidden: true (f629c02)

3.1.7 (2022-03-23)

3.1.6 (2022-03-23)

3.1.5 (2022-02-18)

3.1.4 (2022-02-09)

Bug Fixes

  • core: Fixes uppercase menu items were changed to lowercase when using the search (d134039)
  • core: Make sure the body color of the project is used instead of miyagi's body color (7f94b32)

3.1.3 (2022-02-09)

Bug Fixes

  • core: fix JS error in Chrome when pressing keys f or g (eedbf4d)

3.1.2 (2022-02-08)

Bug Fixes

  • core: Adds missing JS script on component view if position:"body" is used (0572e31)
  • core: do not trigger goto/search when form element is focused (ead9878)

3.1.1 (2022-02-05)

3.1.0 (2022-01-21)

Features

  • core: added multiple options to merge arrays in mock data (ee4956d)

Bug Fixes

  • core: fixes missing variant in menu when it does not have any data (9963b43)

3.0.4 (2022-01-15)

3.0.3 (2022-01-08)

Bug Fixes

  • core: Fix missing JS not served when "position" is not defined by user (33b929f)

3.0.2 (2022-01-08)

Bug Fixes

  • core: fix default font family in content (c7b60f3)

3.0.1 (2022-01-08)

3.0.0 (2022-01-08)

⚠ BREAKING CHANGES

  • core: added more options for adding JS files
  • core: removed option ui.renderComponentOverview
  • core: removed dependency fs-extra and use node internals instead (required node >= 16.7.0 instead of >= 14)

Features

  • core: added "go to" function (9ab776a)
  • core: added a text direction switcher to the menu (5665e9f)
  • core: added more options for adding JS files (24099c7)
  • core: added search for component menu (c7a899e)
  • core: allow setting assets.root per NODE_ENV (ccf2761)
  • core: allows using $ref in mock data on top level (60a1e92)
  • core: custom miyagi css and js files for components (8764340)
  • core: for invalid component/variation requests redirect to index, for other invalid requests respond with 404 (04324b9)
  • core: render original instead of resolved mock data in mock data overlays (76dc59a)
  • core: some visual improvements (4f6e0d4)
  • core: sticky search and config switchers in menu (2dfe3f8)
  • core: theme switcher that allows switching between light, dark and auto (os based) mode (dc69b64)

Bug Fixes

  • core: config not updated on the fly when config file changed (be06cd1)

  • core: do not render information in component view if there is nothing but a README (54abcfd)

  • core: fix miyagi crashing when the file watcher cant find a watched asset folder (82e2316)

  • core: fixes a minor security warning (6afbb10)

  • core: removed dependency fs-extra and use node internals instead (required node >= 16.7.0 instead of >= 14) (94b2049)

  • core: removed option ui.renderComponentOverview (240395a)

2.10.0 (2021-12-01)

Features

  • core: added option components.lang which allows defining the language of your components (used for the html lang attribute) (39d59ab)
  • core: added option ui.textDirection which allows right-to-left text direction of the miyagi UI (3022880)

2.9.0 (2021-12-01)

Features

  • core: improved catching multiple possible errors and added proper messages to console (a91b89f)

Bug Fixes

  • core: fix error "invalid mock data" in variation view when no schema has been defined (893cc1b)
  • core: fixes an error when mock data only includes default data which is hidden with $hidden: true (aa7bbf7)

2.8.2 (2021-11-09)

Bug Fixes

  • core: fix minor visual issue with file content on component view (121408c)

2.8.1 (2021-11-09)

Bug Fixes

  • core: fix missing global data in a variation if not specific mock data is defined (894376a)

2.8.0 (2021-11-07)

Features

  • core: automatically apply updated configuration, no need to restart miyagi anymore (00d5c1b)
  • core: implement option render variants in component view in iframe (8397445)
  • core: use details element instead of tabs for rendering file contents in component view (38e2fc7)

Bug Fixes

  • core: Updated wording "Variations" to "Variants" (db49c27)

2.7.1 (2021-11-03)

Bug Fixes

  • core: apply textDirection also on component view (d8a9fdc)

2.7.0 (2021-11-03)

Features

  • core: support dir attribute on html element for components (not miyagi itself) (ab74746)

2.6.4 (2021-10-05)

Bug Fixes

  • core: upgraded directory-tree node module (878cfb9)

2.6.3 (2021-10-05)

2.6.2 (2021-10-05)

Bug Fixes

  • core: axe-core causing error in chromium and webkit browsers (ac59f52)

2.6.1 (2021-08-09)

2.6.0 (2021-08-05)

Features

  • core: make sure validation results wrap properly (e9efaf0)
  • core: render component variation in an iframe to make sure that e.g. MQs behave properly (edcefc2)

2.5.3 (2021-08-04)

Bug Fixes

  • core: minimum node version is 14 (f3c6c60)

2.5.2 (2021-08-04)

Bug Fixes

  • core: use "Warning" instead of "Error" is customPropertyFile cannot be found (e29e86a)

2.5.1 (2021-08-02)

Bug Fixes

  • core: used normalized ID to open mock data modal (1af0736)

2.5.0 (2021-06-24)

Features

  • core: Allow serving different asset.folder based on your NODE_ENV (32bf92c)

2.4.2 (2021-06-22)

Bug Fixes

  • core: Fix missing "open in new tab" icon in Chrome (4786bdd)

2.4.1 (2021-06-22)

Bug Fixes

  • core: Fix showing mock data for variants when creating a build (d73e827)

2.4.0 (2021-06-21)

Features

  • core: show mock data used for each variation on component view and on variation view (b5116ef)

2.3.1 (2021-06-20)

Bug Fixes

  • core: properly exit the process after running the lint cli command (c25fec5)

2.3.0 (2021-06-20)

Features

  • core: Adds cli command "lint" which validates schema files and mock data (4ff84fe)

2.2.1 (2021-06-11)

Bug Fixes

  • core: log error messages in all cases (907c1d8)

2.2.0 (2021-06-10)

Features

  • core: adds getHtml and getNode to JS api (b5c47cd)

2.1.1 (2021-06-06)

Bug Fixes

  • core: fix incorrectly merged mock data (ad769bb)

2.1.0 (2021-06-06)

Features

  • core: enables using symlinks for directories in the components folder (820fd53)
  • twig-drupal: improved Drupal attributes support (decff30)

Bug Fixes

  • core: fix calling extendTemplateData of extension when extension is added as array in miyagi config (bfb6eb1)
  • core: fix updating engine via extension (fae34d9)
  • core: make sure variant data gets merged with root data first, then resolved (21cc023)
  • core: proper error handling when a file is included in a template which does not exist (9e42d96)

2.0.1 (2021-06-03)

Bug Fixes

  • core: fix writing outputFile.json (cf3fde3)

2.0.0 (2021-06-03)

⚠ BREAKING CHANGES

  • core: properly exit the process when a build fails

Bug Fixes

  • core: fix assets in build might have been missing in specific cases (58218bc)
  • core: properly exit the process when a build fails (598a184)

1.18.2 (2021-05-28)

Bug Fixes

  • core: fix race condition (381e13c)

1.18.1 (2021-05-28)

Bug Fixes

  • core: publish api folder (98690d2)

1.18.0 (2021-05-28)

Features

  • core: added javascript api for resolving mock data (30ec270)

1.17.1 (2021-05-27)

Bug Fixes

  • core: fix serving static assets (96513f3)

1.17.0 (2021-05-26)

Features

  • core: improve accessibility for schema/mock status in component view (31a0771)

1.16.1 (2021-05-25)

Bug Fixes

  • core: fix missing custom props css in build (846ad0a)

1.16.0 (2021-05-25)

Features

  • core: added assets.root option (see docs) (f7692aa)

1.15.2 (2021-05-22)

1.15.1 (2021-05-22)

Bug Fixes

  • core: fix corrupted css/js files in build when two files have the same name (8f594ca)

1.15.0 (2021-05-21)

Features

  • core: added theme.js which can be used to add additional js to components (c349874)

1.14.0 (2021-05-21)

Features

  • core: also serve root folder for static files (3c0bce0)

1.13.3 (2021-05-10)

Bug Fixes

  • core: fix extending template data via extensions not working when a component does not have mock data (93c9a51)

1.13.2 (2021-05-07)

Bug Fixes

  • core: when using custom css for the theme, render it in separate style tag to make sure @import works (fb62ffa)

1.13.1 (2021-05-05)

Bug Fixes

  • core: fix mock generator not working when yaml is used for schema and/or mock files (0af52fe)
  • core: fix parsing templates when file names have two extensions like *.html.twig (5a9fb0f)

1.13.0 (2021-03-23)

Features

  • core: allow extensions to extend watch files and engine (972a330)

Bug Fixes

  • core: fix resolving assets when using manifest file (c21f9a6)
  • core: fix watching asset files (1cb67b9)

1.12.0 (2021-03-22)

Features

  • core: allow extensions to extend watch files and engine (f14ffd5)

Bug Fixes

  • core: fix watching asset files (44e19b4)

1.11.5 (2021-03-17)

Bug Fixes

  • core: added missing customProperties files to build (8de8899)

1.11.4 (2021-03-04)

Bug Fixes

  • core: fix broken auto reload due to socket.io not found (f9718ba)

1.11.3 (2021-02-24)

Bug Fixes

  • core: fixes from previous dependency updates (fa81ce6)

1.11.2 (2021-02-24)

Bug Fixes

  • core: separately serve custom properties files to make sure custom props are available in styleguide (9f10958)

1.11.1 (2021-02-06)

Bug Fixes

  • core: better detection of colors for styleguide (3828f08)
  • core: make sure miyagi is reloaded when any css or js file changes (0e133e2)

1.11.0 (2021-02-05)

Features

  • core: allow adding extra css to change miyagi styling (c870d85)

Bug Fixes

  • core: fix error message caused by watcher (f6f610d)

1.10.3 (2021-01-23)

Bug Fixes

  • core: added missing styleguide js to build (c760344)

1.10.2 (2021-01-23)

1.10.1 (2021-01-23)

1.10.0 (2021-01-23)

Features

  • core: added automatically created styleguide based on custom properties (e0e77e5)
  • core: Added theme.mode for light and dark miyagi themes (3680f4b)
  • core: automatically try to find a free port if defined port is in use (7b0c2bd)

1.9.0 (2020-10-13)

Features

  • core: added assets.manifest option to be able to use a manifest file for CSS and JS files (e357f83)

1.8.4 (2020-10-08)

Bug Fixes

  • core: make sure link color is always correct (a9328c8)

1.8.3 (2020-10-08)

Bug Fixes

  • core: fix variants not showing up when there are template files directly in the root folder (5934f2e)

1.8.2 (2020-10-05)

Bug Fixes

  • core: removed accidentally commited console.log (3b9e581)

1.8.1 (2020-10-05)

Bug Fixes

  • core: components are always created relative from actual cwd when using "miyagi new" (0139efe)
  • core: Fixes that tabs on the component view did sometimes not work in builds (959be47)

1.8.0 (2020-08-27)

Features

  • core: allow putting info files in other folders (59d49af)
  • core: render a view when README.md exists in a folder which is not a component folder (0bb10ee)

1.7.1 (2020-08-13)

Features

  • core: render tabs with schema and mocks on component view (a7bd4a8)
  • core: render template content on component view (07c5790)

1.6.3 (2020-08-05)

1.6.2 (2020-07-30)

Bug Fixes

  • core: fix validating schema when passed data is undefined instead of {} (24289b0)

1.6.1 (2020-07-23)

Bug Fixes

  • core: fix error when no schema option is provided (12def85)

1.6.0 (2020-07-23)

Features

  • core: add more theme customization options (db47814)

1.5.0 (2020-07-22)

Features

  • core: allow option es6Modules to be set for each NODE_ENV (f83a062)

1.4.3 (2020-07-22)

Bug Fixes

  • core: fix serving external assets in build (0a25253)

1.4.2 (2020-07-20)

Bug Fixes

  • core: add basePath for builds only to wrapper, not to iframe content (6106625)

1.4.1 (2020-07-20)

Bug Fixes

  • core: fix menu not opened when request component is deeply nested (005a7a9)
  • core: fix wrong link in build files (513e350)

1.4.0 (2020-07-20)

Features

  • core: added "new tab" link to component variations (576bb5d)
  • core: directories in navigation clickable (d0b23db)

Bug Fixes

  • core: "new" creates a new line at EOF (256711f)
  • core: "new" creates files with yaml content if thats the defined file type (9684edd)
  • core: "new" didnt create info file (332f0d6)
  • core: fix components in menu by names based on info file, not filesystem (512e973)
  • core: fix creating mock data using generator (8c188ca)
  • core: fix endless loading when $tpl reference cant be found (d9b5161)
  • core: fix specific case where variation and component url in build where identical (0afa3a0)
  • core: fix wrong merging of data with $ref (0eb2397)
  • core: make sure component root data with $hidden is not used on overview page (1a81adc)

1.3.0 (2020-07-17)

Features

  • core: allow options to be passed to schema validator ajv (689c48e)

1.2.1 (2020-07-15)

Bug Fixes

  • core: show build time in time format of the user (fec0ea6)

1.2.0 (2020-07-15)

Features

  • core: added build date (ea445cf)
  • core: render "Page not found" when page in iframe cant be found (6b44274)

1.1.0 (2020-07-14)

Features

  • core: basePath option for deploying the static build into a subfolder (93b43fd)

Bug Fixes

  • core: breadcrumb links not over full width (e2cabc9)
  • core: create html build file also when no mock data exists (5038bb0)
  • core: in build serve assets from root (8b7f029)
  • core: reload whole page when info file gets updated (be86dc2)

1.0.16 (2020-07-14)

Bug Fixes

  • core: fix wrong iframe src in build (09c3aff)

1.0.15 (2020-07-14)

Bug Fixes

  • core: added id to schemas if not set in files to avoid error msg by ajv (cdac32a)
  • core: fix certain missing build html files (2d4153f)
  • core: fix wrong merging of data when resolving $ref in mock files (aedaf57)

1.0.14 (2020-07-09)

Bug Fixes

  • core: fix opening of menu when requesting component via link in iframe (7013b18)
  • core: make sure only the correct folders are opened in the navigation when requesting a component view (e3bf589)
  • core: max width for documentation copy (7f2c07c)

1.0.13 (2020-07-09)

Bug Fixes

  • core: "new" creates component relative from current folder, not component folder (e6cb345)
  • core: load all schemas when validating to make sure using $ref works (2d501b2)

1.0.12 (2020-07-08)

Bug Fixes

  • core: do not build default variant if there is no data (6bf5c64)

1.0.11 (2020-07-08)

Bug Fixes

  • core: copy content of asset folders when creating a build instead of complete folder (8898b67)

1.0.10 (2020-07-07)

Bug Fixes

  • core: do not resolve ignored component folders to full paths, so regexes work properly (409ebb3)

1.0.9 (2020-07-07)

Bug Fixes

  • core: encode variation in new tab link (5ed8f81)
  • core: fix scrollbar in iframe (d8fe1c1)
  • core: fixed formatting of main tpl, causing broken styles (2a21509)

1.0.8 (2020-07-07)

Bug Fixes

  • core: fixed formatting of iframe tpl, causing broken styles (338d9e0)

1.0.7 (2020-07-07)

Bug Fixes

  • core: added rel=noopener to new tab link (5fc9660)

1.0.6 (2020-07-06)

Bug Fixes

  • core: added rel="noopener" to link in component overview (27caead)
  • core: invalid markup on overview page (10a9e58)
  • core: links not underlined in iframe (c0cf110)

1.0.5 (2020-06-30)

Bug Fixes

  • core: copy all sorts of assets to build folder (b514120)

1.0.4 (2020-06-28)

Bug Fixes

  • core: do not throw an error when schema.json is invalid (5e6425b)
  • core: fix serving static folder (687d05f)
  • core: fix wrong resolving of mock data when boolean was used in it (20152c5)
  • core: make sure no elements in component docs use css from the user project (3db6c22)

1.0.3 (2020-06-27)

1.0.2 (2020-06-24)

1.0.1 (2020-06-24)

1.0.0 (2020-06-23)

0.4.1 (2020-04-25)

0.4.0 (2020-04-24)

0.3.1 (2020-04-23)

0.3.0 (2019-12-13)

0.2.0 (2019-08-07)

0.1.7 (2019-07-14)

0.1.6 (2019-07-14)

0.1.4 (2019-07-14)

0.1.3 (2019-07-14)

0.1.2 (2019-07-13)

0.1.1 (2019-07-12)