Skip to content

Latest commit

 

History

History
147 lines (80 loc) · 5.97 KB

File metadata and controls

147 lines (80 loc) · 5.97 KB

React-Component-Catalog Changelog

All notable changes to this project will be documented here. The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

2.1.1 (2021-03-29)

Fixes

  • added missing esm/index.d.ts declaration file (#70) (56e06cc), closes #68

2.1.0 (2020-10-27)

Features

  • updated bundling & ts (module augmentation); lerna monorepo (#57) (4dcb5c4)

2.0.0 (2020-07-22)

⚠ BREAKING CHANGES

  • flat catalog (no extra components prop anymore) (#49) (ae69468)

Features

  • unified handling of undefined catalog in all components (#53) (26bed89)
  • ts: properly type getComponent and hasComponent of ICatalog (#52) (4584408)

2.0.0-beta.0 (2019-12-15)

Features

1.3.0 (2019-11-18)

Features

  • fallbackComponent can also be selected from catalog now (#48) (6be75b1)

1.2.0 (2019-07-21)

Features

  • disable/remove renovate (for now) (319725e)
  • logging: use babel-plugin-dev-expression for logging errors (#41) (6fdd918)

1.1.1 (2019-05-15)

Bug Fixes

  • utils: return null when flattenObjectKeys receives invalid obj (06081e5)

1.1.0 (2019-05-14)

Bug Fixes

  • CatalogComponent: Fix missing displayName (fa3e14f)

Features

  • catalog: Add new catalog.hasComponent function (c4c10a2)
  • catalog: Allow nested components object in catalog (ca236ad)
  • CatalogComponent: CatalogComponent supports nested components (369375b)

1.0.1 (2019/04/29)

Added

  • esm support (build esm module and add id as module in package.json)

2019/04/06 1.0.0

Added

2019/03/28 0.6.1

Changed

Fixed

  • fixed build script and main field issue, causing usage issues

2019/03/26 0.6.0

Added

  • catalog can be prefixed to prevent overwriting during nesting providers
  • added "sideEffects": false to package.json
  • added "module": "lib/index.js" to package.json (including lib output)

2019/03/13 0.5.0

Added

  • Dev: eslint support
  • CatalogProvider can be nested and they consume their parent's catalog
  • react-hooks support with new useCatalog. It is recommended to not use withCatalog anymore but useCatalog whenever possible.

Changed

As this package depends on react-hooks, "react": "^16.8.0" and "react-dom": "^16.8.0" are required (see peerDependencies in package.json) from now on.

2019/03/11 0.4.0

Added

  • fallbackComponent (node) property can be used to render alternative component when the requested component does not exist
  • log error when <CatalogComponent /> is used without a <CatalogProvider /> context

2019/02/02 0.3.0

Changed

  • moved from old react Context API to latest Context API

Removed

  • prop-types dependency

2019/02/01 0.2.0

Added

  • jest test setup

Changed

  • renamed name property to component
    • eg. <CatalogComponent name="Button"> is now <CatalogComponent component="Button">

2019/01/31 0.1.0

Added

  • Initial project setup with example app