Breaking changes
- Renamed
DataViewProvider.createDataView()into
DataViewProvider.getDataView()because it should cover singleton views too.
It can now be called with arbitrary arguments. Typically, such arguments
specify some data source to be displayed in the data view instance. - Changed the generic type parameter name from
DatatoValuefor a
number of functions and interfaces. [#24]
Corresponding to this change, also changed property namedata
intovaluein typeCodeContribution<Value>.
Fixes
- Fixed the
registerCodeContributionfunction to be fully reactive. [#23] - Fixed and enhanced API doc of
compileWhenClausefunction. [#16]
Other changes
- Exporting version number from
coremodule. - A new function
getDataViewType(viewType: string): DataViewType
is exported fromextendit/contrib. - Included the compiled
whenclause inToolViewinterface to better
support [#30]. - Enhanced API docs for React Hooks. [#27]
- Log levels may also be given as strings. [#20]
- Import logging classes directly from
util:
import { Logger, LogLevel } from "@forman2/extendit/util". - Clarified effect of
extensionDependenciesinREADME.md. - Addressed all
eslintwarnings in code and GitHub CI now also
runsnpm run lint. [#28]
Full Changelog: v0.1.0...v0.2.0