Skip to content

Releases: Financial-Times/dotcom-page-kit

Release 0.4.0 ❌

25 Nov 08:15
a78d98b
Compare
Choose a tag to compare
  • 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 separate headerVariant and headerComponent props.
  • Layout UI component: (breaking change) refactored the footer prop into separate footerVariant and footerComponent 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 to showStickyHeader 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

21 Nov 13:33
Compare
Choose a tag to compare
Release 0.3.5 Pre-release
Pre-release
  • Handlebars package: Add 'views' folder name to default partial view glob

Release 0.3.4

20 Nov 15:17
Compare
Choose a tag to compare
Release 0.3.4 Pre-release
Pre-release
  • Sass build plugin: Updates cssLoaderOptions to enable @import to include CSS files.

Release 0.3.3 ❌

20 Nov 13:00
Compare
Choose a tag to compare
Release 0.3.3 ❌ Pre-release
Pre-release

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

11 Nov 12:49
Compare
Choose a tag to compare
Release 0.3.2 Pre-release
Pre-release
  • Layout UI component: fixed output of header drawer component when an incompatible header is used

Release 0.3.1

29 Oct 17:18
19aafcc
Compare
Choose a tag to compare
Release 0.3.1 Pre-release
Pre-release
  • 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

23 Oct 14:11
3482a11
Compare
Choose a tag to compare
Release 0.3.0 Pre-release
Pre-release
  • 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 to appContext to disambiguate
  • App context UI component: (breaking change) renamed context prop to appContext to disambiguate
  • Shell UI component: (breaking change) renamed context prop to appContext 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

26 Sep 13:02
ee65bd1
Compare
Choose a tag to compare
Release 0.2.3 Pre-release
Pre-release
  • 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

25 Sep 08:18
0b2dce3
Compare
Choose a tag to compare
Version 0.2.2 Pre-release
Pre-release
  • 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

02 Sep 13:35
e8f52d6
Compare
Choose a tag to compare
Version 0.2.1 Pre-release
Pre-release
  • 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