ASTRO攻略LABO ロゴ daito | FX & Prop Trading Top 2.3%
Docs / Changelog Item

Changelog Item

The ChangelogItem displays a single release entry with version, date, type, and details. It is designed to be used in a list.

Usage

import ChangelogItem from '~/components/blog/ChangelogItem.astro';

<ChangelogItem 
  version="v1.0.0"
  title="Initial Release"
  pubDate={new Date('2024-01-01')}
  type="major"
  body="We are live!"
/>

Example

vv2.1.0
Feature

Performance Boost

vv2.0.1
Bug Fix Security Patch Included

Security Patch

Props

| Prop | Type | Default | Description | | :--- | :--- | :--- | :--- | | version | string | Required | Version tag (e.g. v1.0.0). | | title | string | Required | Release title. | | pubDate | Date | Required | Release date. | | type | ReleaseType | Required | Type of release. | | isSecurity | boolean | false | Marks as security update. | | body | string | Required | Content/description. | | detailsUrl | string | undefined | Link to full notes. | | migrationUrl | string | undefined | Link to migration guide. |

ReleaseType

'major' | 'feature' | 'security' | 'fix' | 'improvement' | 'other'