Releases: Financial-Times/dotcom-page-kit
Releases · Financial-Times/dotcom-page-kit
Release 0.4.0 ❌
- Page Kit CLI: added compression plugins to enable generation of compressed assets using the gzip and Brotli algorithms.
- Asset loader: (breaking change) removed
match*
methods - Shell UI component: added
asyncStylesheets
prop to enable non-blocking stylesheet loading. - Shell UI component: added
manifestFile
prop to add a meta element linking to a web app manifest - Layout UI component: (breaking change) refactored the
header
prop into separateheaderVariant
andheaderComponent
props. - Layout UI component: (breaking change) refactored the
footer
prop into separatefooterVariant
andfooterComponent
props. - Layout UI component: we have updated our integration guide to encourage the styles for this component to be compiled separately.
- Header UI component: (breaking change) renamed
disableSticky
prop toshowStickyHeader
for consistency - Header UI component: added
showMegaNav
prop to enable the mega nav to be disabled - Header UI component: refactored the logo as an inline SVG
- Footer UI component: updated legal text to match
o-footer
demo - (breaking change) removed the unused CSS build package
- (breaking change) removed the unused esnext build package
Please refer to the 0.3.x to 0.4.x migration guide for more details.
Release 0.3.5
- Handlebars package: Add
'views'
folder name to default partial view glob
Release 0.3.4
- Sass build plugin: Updates
cssLoaderOptions
to enable@import
to include CSS files.
Release 0.3.3 ❌
Please do not use this version, we accidentally included some breaking changes intended for the v0.4.0 release. Upgrade from v0.3.2 directly to v0.3.4.
Release 0.3.2
- Layout UI component: fixed output of header drawer component when an incompatible header is used
Release 0.3.1
- Asset loader: fixed URL path concatenation to avoid double slashes
- Layout UI component: fixed accidental usage of ES6 syntax in font loading snippet
Release 0.3.0
- Sass plugin: Upgraded to use
sass-loader
v8 - Handlebars package: added a new
{{#capture}}
helper to aid JSX and Handlebars interoperability - Navigation middleware: refactored to fail silently when fetching sub-navigation data
- Navigation middleware: refactored to normalize URLs before fetching sub-navigation data
- App context package: added
isUserLoggedIn
property to schema - App context middleware: added
isUserLoggedIn
property based on header data - App context middleware: (breaking change) renamed
context
option toappContext
to disambiguate - App context UI component: (breaking change) renamed
context
prop toappContext
to disambiguate - Shell UI component: (breaking change) renamed
context
prop toappContext
to disambiguate - Shell UI component: updated the default
robots
prop to include new preview settings - Shell UI component: added Google Tag Manager initialisation scripts (behind the
enableGTM
flag)
Please refer to the 0.2.x to 0.3.x migration guide for more details.
Release 0.2.3
- Code splitting plugin: fixed configuration for
superstore
dependencies so they create one chunk - Handlebars package: unpinned Handlebars dependency as upstream errors have now been fixed
Version 0.2.2
- Code splitting plugin: removed Babel helper bundle and updated bundle configuration to improve consistency of content hashes.
- Code splitting plugin: added
next-
prefixed packages to code splitting configuration - Navigation middleware: added support for vanity URL headers appended by the CDN or
next-router
- React JSX package: fixed incorrect output format for distributable JS
- Handlebars package: pinned Handlebars dependency to v4.2.x to avoid type errors in latest release
Version 0.2.1
- Page Kit CLI: removed chunk hash plugin from base Webpack configuration as it only included instances of
NormalModule
in its algorithm. - Code splitting plugin: configured plugin to generate more consistent module IDs between installs and builds
- Shell UI component: removed stylesheet resource hints as
<link rel="stylesheet" />
tags will be found by the browser's parser anyway