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)
2.1.0 (2020-10-27)
2.0.0 (2020-07-22)
- 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)
1.3.0 (2019-11-18)
1.2.0 (2019-07-21)
- disable/remove renovate (for now) (319725e)
- logging: use babel-plugin-dev-expression for logging errors (#41) (6fdd918)
1.1.1 (2019-05-15)
- utils: return null when flattenObjectKeys receives invalid obj (06081e5)
1.1.0 (2019-05-14)
- CatalogComponent: Fix missing displayName (fa3e14f)
- 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)
esmsupport (buildesmmodule and add id asmoduleinpackage.json)
- Breaking:
refsupport, thanks toReact.forwardRef
- build
esversion of the package as well (see babel.config.js)
- fixed
buildscript andmainfield issue, causing usage issues
catalogcan be prefixed to prevent overwriting during nesting providers- added
"sideEffects": falseto package.json - added
"module": "lib/index.js"to package.json (includingliboutput)
- Dev: eslint support
CatalogProvidercan be nested and they consume their parent'scatalog- react-hooks support with new
useCatalog. It is recommended to not usewithCataloganymore butuseCatalogwhenever possible.
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.
fallbackComponent(node) property can be used to render alternative component when the requestedcomponentdoes not exist- log error when
<CatalogComponent />is used without a<CatalogProvider />context
- moved from old react Context API to latest Context API
prop-typesdependency
jesttest setup
- renamed
nameproperty tocomponent- eg.
<CatalogComponent name="Button">is now<CatalogComponent component="Button">
- eg.
- Initial project setup with example app