Releases: Financial-Times/x-dash
v20.0.1
What's Changed
- Bolt 325 Remove usage of shorten-url from x-gift-article by @markdoran-ft in #852
New Contributors
- @markdoran-ft made their first contribution in #852
Full Changelog: v20.0.0...v20.0.1
v20.0.0 x-teaser rework
What's Changed
Breaking changes to x-teaser introduced in the following PR:
- CULT-747: Opinion teaser improvements by @fenglish in #848
The migration guide.
Full Changelog: v19.0.1...v20.0.0
v20.0.0-beta.3
What's Changed
Full Changelog: v19.0.1...v20.0.0-beta.3
v19.0.1
v19.0.0
v18.2.1
What's Changed
- Replace broken usage of
date-fnsinx-teaserby @ivomurrell in #846
Full Changelog: v18.2.0...v18.2.1
v18.2.0
What's Changed
- CPP-775 clean up remaining references to Heroku by @apaleslimghost in #845
- Update for Image Service v3 by @alexmuller in #844
New Contributors
- @alexmuller made their first contribution in #844
Full Changelog: v18.1.0...v18.2.0
v18.1.0
What's Changed
This change updates the status display hierarchy (Live now takes priority over Premium).
However, this won’t have much impact, as it’s very rare for content to have both Live and Premium statuses.
Full Changelog: v18.0.0...v18.1.0
v18.0.0
What's Changed
- CULT-501: Update LiveBlogStatus in x-teaser by @fenglish in #839
- CULT-501: Update LiveBlogStatus in x-teaser-timeline by @fenglish in #842
Migration Guide
The o-teaser--live class, which applies the live blog teaser styling (red background with white text), is no longer added automatically when content data has status: "inprogress".
Before
-
The content data included
status: "inprogress". -
The consumer app imported the
_oTeaserThemeLivestyles.
For example:$o-teaser-is-silent: false; @import '@financial-times/o-teaser/main';
After
Steps 1 and 2 remain the same, but you now need to explicitly enable live teaser styling by setting allowLiveTeaserStyling to true:
<Teaser {...props} allowLiveTeaserStyling={true} />Additional Change: Live Blog Status Label
The Live label is now provided by o-labels, not o-teaser.
Before
<div class="o-teaser__timestamp o-teaser__timestamp--live">
<span class="o-teaser__timestamp-prefix"> live </span>
</div>After
<span class="o-labels-indicator o-labels-indicator--live o-labels-indicator--badge">
<span class="o-labels-indicator__status"> Live </span>
</span>If your app overrides any of the previous teaser classes, please update the styles accordingly.
Full Changelog: v17.0.5...v18.0.0
v17.0.5
What's Changed
- chore: add Bolt Ons as co-owners of x-gift-article by @apaleslimghost in #840
- ELES-2071 Confirm x-gift-article continues to function with new API by @ibrahim-mamdouh-ft in #838
- ELES-2072 Remove copy-annotations endpoint by @ststdimov in #841
Full Changelog: v17.0.4...v17.0.5