Skip to content

Releases: Financial-Times/x-dash

Handle multiple customSlot components

27 May 12:04
22c608f
Compare
Choose a tag to compare

Non-breaking change to the customSlots parameter of x-teaser-timeline.

Now you can inject more than one custom element to the timeline, used initially for ads in the mobile app.

Make GDPR consent legislation-dependent

04 May 11:49
845481d
Compare
Choose a tag to compare

This patch release ensures that users under California jurisdiction do not automatically give consent under GDPR.

The change is encapsulated such that consuming apps are not required to make any changes.

Release v5.0.0 - Remove unused live blogs abstraction

16 Apr 10:19
a4bd719
Compare
Choose a tag to compare

Technical breaking change to live blogs to remove functionality that we moved into next-article.

  • Remove unused listener logic #590

Add a `setConsentCookie` prop to Consent Proxy requests

07 Apr 14:40
70a3412
Compare
Choose a tag to compare

Adding this property causes the server to correctly set the FTConsent_GDPR cookie for logged-in anonymous users.

v4.1.3

22 Mar 15:08
Compare
Choose a tag to compare

fix issue whereby head-shots in x-teaser had stopped being tinted blue

Release version v4.1.2 - Live Blog Post improvements

02 Mar 15:14
75ae5f8
Compare
Choose a tag to compare

Improve accessibility of byline and allow scroll-margin to work on posts.

  • Update Live Blog Post byline #587
  • Remove overflow: auto from live blog post #588

Patch to x-gift-article

18 Feb 11:15
bed3a60
Compare
Choose a tag to compare

Previous release lacked an explicit return and was breaking things. This is a patch so that whoever needs to release next doesn't end up with a broken x-gift-article.

x-gift-article now has parts wrapped in an AB test flag

12 Feb 10:37
7727c9c
Compare
Choose a tag to compare

We are working on improving the gifting experience. We have come up with minor copy changes that we think are going to encourage article sharing. We wrapped some parts of x-gift-article in the test flag to run an AB test to validate our theory.

Let The Right [Component] In

09 Feb 15:44
7060e92
Compare
Choose a tag to compare

ensure that components registered for x-interaction hydration are the actual wrapped components with actions, not the base component that renders the markup without actions that look like they've rendered properly but don't work at all lol

Explicit registering of components for x-interaction

27 Jan 14:17
b0d8d2a
Compare
Choose a tag to compare

This is a major release because it includes breaking changes to x-interaction.

x-interaction allows you to serialise component data for server-rendered components, and hydrate those components on the client-side to enable actions with the client-side version of the component. Until now, it was registering components automatically for you relying on heuristics to determine the component name. This was unreliable since it had to work the same on the client and server-side for the component to hydrate properly.

The changes on x-interaction for this version export a registerComponent function, that needs to be called to explicitly register your component. It also throws errors if this has not been done correctly.

The LiveBlogWrapper was modified so that its usage of x-interaction is in accordance with these changes.