All notable changes for major version updates will be documented here.
Cortina helper accepts a new parameter useStyle10
that serves blocks tailored to the new version of KTH-Style.
If the parameter is false or missing, blocks tailored for KTH-Style 9 will be fetched.
- Breaking: function
registerBreadcrumbHelper
no longer takes any config. All breadcrumbs now need to be manually sent tores.render
on every request. - Breaking: import changed to
const {registerBreadcrumbHelper} = require('@kth/kth-node-web-common/lib/handlebars/helpers/breadcrumbs')
- The error page can now be rendered directly from inside the package. No need to copy and register the Handlebars-file from the app.
- The name of the package is changed to @kth/kth-node-web-common
- The package is no longer dependent of deprecated packages.