Skip to content

Commit 2a875c4

Browse files
author
Alban Bailly
committed
update content and add missing field for changelog
1 parent 41271b1 commit 2a875c4

26 files changed

+112
-28
lines changed

src/components/2_molecules/changelog-item.js

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,38 @@
11
import React from "react";
22
import PropTypes from "prop-types";
33

4-
const ChangelogItem = ({ title, date, version, html }) => (
4+
const ChangelogItem = ({ title, date, version, changelog, html }) => (
55
<div
66
className="flex flex-wrap"
7-
itemscope=""
8-
itemtype="http://schema.org/CreativeWork"
7+
itemScope=""
8+
itemType="http://schema.org/CreativeWork"
99
>
10-
<meta itemprop="author" content="Linode" />
10+
<meta itemProp="author" content="Linode" />
1111
<div className="w-full md:w-1/4 py-2 md:p-6 md:text-right mt-1 flex items-center md:block">
1212
<div
1313
className="timeago mr-4 md:mr-0"
1414
dateTime=""
15-
itemprop="datePublished"
15+
itemProp="datePublished"
1616
>
1717
{date}
1818
</div>
1919
<div className="text-BaseBlue md:mt-3 flex md:block ">
20-
<span className="changelog-product" itemprop="name" />
20+
<span className="changelog-product" itemProp="name" />
21+
{changelog && changelog}
2122
{version && (
22-
<div className="text-BaseBlue ml-4 md:ml-0" itemprop="version">
23+
<div className="text-BaseBlue ml-4 md:ml-0" itemProp="version">
2324
{version}
2425
</div>
2526
)}
2627
</div>
2728
</div>
2829
<div className="w-full md:w-3/4 py-2 md:p-6">
29-
<h2 className="mt-0 text-2xl font-normal" itemprop="alternativeHeadline">
30+
<h2 className="mt-0 text-2xl font-normal" itemProp="alternativeHeadline">
3031
{title}
3132
</h2>
3233
<div
3334
className="changelog-entry"
34-
itemprop="disambiguatingDescription"
35+
itemProp="disambiguatingDescription"
3536
dangerouslySetInnerHTML={{ __html: html }}
3637
/>
3738
</div>

src/content/changelog/01-03.md

100644100755
File mode changed.

src/content/changelog/01-14.md

100644100755
File mode changed.

src/content/changelog/01-21-docs.md

100644100755
File mode changed.

src/content/changelog/01-21.md

100644100755
File mode changed.

src/content/changelog/01-29.md

100644100755
File mode changed.

src/content/changelog/02-05-api-docs.md

100644100755
File mode changed.

src/content/changelog/02-11-api.md

100644100755
File mode changed.

src/content/changelog/02-11.md

100644100755
File mode changed.

src/content/changelog/02-27-api.md

100644100755
File mode changed.

src/content/changelog/02-27.md

100644100755
File mode changed.

src/content/changelog/03-11-api.md

100644100755
File mode changed.

src/content/changelog/03-12.md

100644100755
File mode changed.

src/content/changelog/03-27-api.md

100644100755
File mode changed.

src/content/changelog/03-27.md

100644100755
File mode changed.

src/content/changelog/04-08-api.md

100644100755
File mode changed.

src/content/changelog/04-09.md

100644100755
File mode changed.

src/content/changelog/04-22-api.md

100644100755
File mode changed.

src/content/changelog/04-22.md

100644100755
File mode changed.

src/content/changelog/04-23.md

100644100755
File mode changed.

src/content/changelog/04-29-api.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: "4.0.22: 2019-04-29"
3+
date: "2019-04-29T08:00:00-04:00"
4+
description: "API Changelog 4.0.22"
5+
changelog:
6+
- API
7+
version: 4.0.22
8+
---
9+
10+
### Fixed
11+
12+
- Added validation on the *root_device* property when creating (POST /linode/instances/{linodeId}/configs) or updating (PUT /linode/instances/{linodeId}/configs/{configId}) a Linode's configuration profile.
13+
- Creating an SRV domain record (POST /domains/{domainId}/records) no longer adds an additional extension to the *name* property.
14+
- A cloned (POST /domains/{domainId}/clone) MX or SRV Domain record no longer return an incorrect value for the *target* property (GET /domains/123/records) when the record contains a subdomain.
15+
- Deprecated data centers are no longer returned from the *regions* endpoint (GET /regions).
16+
- Deprecated data centers include Tokyo1 ("id": "ap-northeast-1a", "country": "jp").
17+
- Viewing (GET /account) and updating your account (PUT /account) now returns a consistent value for the *credit_card* object's *expiry* property.
18+
- More explicit error messages are returned when creating a NodeBalancer (POST /nodebalancers), creating a NodeBalancer node (POST /nodebalancers/{nodeBalancerId}/configs/{configId}/nodes), updating a NodeBalancer node (PUT /nodebalancers/{nodeBalancerId}/configs/{configId}/nodes/{nodeId}) and an invalid node IP address is provided.
19+

src/content/changelog/05-06.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
title: "0.55.0: 2019-05-06"
3+
date: "2019-05-06T11:00:00-04:00"
4+
description: "Cloud Manager Changelog 0.55.0"
5+
changelog:
6+
- Cloud Manager
7+
version: 0.55.0
8+
---
9+
10+
### Added:
11+
12+
- Improve GA Event Imports in Manager
13+
- Local storage optimizations
14+
- Remove Volumes From MaybeRenderError
15+
- Add error handling documentation
16+
- Replace all pathOr<string>s with getErrorStringOrDefault
17+
- Placement of Object Storage in Primary Navbar
18+
- Add /buckets to OBJ link in PrimaryNav
19+
- Add Ada google analytics
20+
- Reverse sorting arrows for sortable tables
21+
- Explicitly display regions error in Linode volumes form
22+
- Taxes and Subtotal on Invoice
23+
- Fixed positioning of ADA CTA
24+
- Add docs for pushing tags to upstream
25+
- Add polling for NBs on landing page
26+
- Add polling to NB detail
27+
- Check region filtering
28+
- Make Linode dropdown menus searchable via React Select
29+
30+
### Changed:
31+
32+
- Scroll-to logic for Disks and Configs page changes
33+
- Stats request optimization
34+
- Display reserved IPs in IPv4 table (Linode Detail)
35+
- Style Updates to Invoice PDF
36+
- Update Activity Stream Based on Events
37+
- Sentry Updates
38+
- Move Object Storage keys to the OBJ Landing page
39+
- Update Notistack and make toasts dismissible
40+
- Update IP address listing on card view and styling
41+
- Paginate Disks and Configs with Paginate Render Props Component
42+
- Removing tag column and cells styles updates
43+
- Lish tabs style updates
44+
- Sync up with disk select changes and reset disk options on Linode select clear
45+
- adjustments to UDF widths for medium + breakpoints
46+
- Manual backup errors appear within form instead of as toasts
47+
48+
### Fixed:
49+
50+
- Fix issue with error appearing on volume attach drawer
51+
- Fix pre-selected Cluster select
52+
- fix to action menu on mobile (align right for consistency)

src/content/changelog/05-08.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: "0.56.0: 2019-05-08"
3+
date: "2019-05-08T11:00:00-04:00"
4+
description: "Cloud Manager Changelog 0.56.0"
5+
changelog:
6+
- Cloud Manager
7+
version: 0.56.0
8+
---
9+
10+
### Changed:
11+
12+
- Update Sentry Whitelist URLs
13+
- Display bucket size using base 2 instead of base 10
14+
- Update Events Landing in Real-Time
15+
- Validate Rebuild from Image form before modal opens
16+
17+
### Fixed:
18+
19+
- App crashes when downloading an invoice PDF for unlabeled backups
20+
- Deploy new Linode from backup
21+
- Fixing Sentry Errors
22+
- Prefix Length to the IPv6 Pools and Ranges
23+
- Pagination Footer numbering

src/content/changelog/2-21.md

100644100755
File mode changed.

src/pages/changelog.js

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,15 @@ const ChangelogPage = ({ data }) => {
1919
<div className="container mx-auto max-w-lg my-8">
2020
<ChangelogNav totalCount={totalCount} />
2121
{edges.map(({ node }) => {
22-
const { title, date, version } = node.frontmatter;
22+
const { title, date, version, changelog } = node.frontmatter;
2323
const { id, html } = node;
2424
return (
2525
<ChangelogItem
2626
key={id}
2727
title={title}
2828
date={date}
2929
version={version}
30+
changelog={changelog}
3031
html={html}
3132
/>
3233
);
@@ -36,24 +37,6 @@ const ChangelogPage = ({ data }) => {
3637
);
3738
};
3839

39-
// TagsPage.propTypes = {
40-
// data: PropTypes.shape({
41-
// allMarkdownRemark: PropTypes.shape({
42-
// group: PropTypes.arrayOf(
43-
// PropTypes.shape({
44-
// fieldValue: PropTypes.string.isRequired,
45-
// totalCount: PropTypes.number.isRequired
46-
// }).isRequired
47-
// )
48-
// }),
49-
// site: PropTypes.shape({
50-
// siteMetadata: PropTypes.shape({
51-
// title: PropTypes.string.isRequired
52-
// })
53-
// })
54-
// })
55-
// };
56-
5740
export default ChangelogPage;
5841

5942
export const query = graphql`
@@ -70,6 +53,7 @@ export const query = graphql`
7053
frontmatter {
7154
title
7255
date(fromNow: true)
56+
changelog
7357
version
7458
}
7559
}

static/admin/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ collections:
2929
widget: "datetime"
3030
default: ""
3131

32+
- label: "Version"
33+
name: "version"
34+
required: true
35+
widget: "string"
36+
3237
- label: "Changelog Type"
3338
name: "changelog"
3439
required: true

0 commit comments

Comments
 (0)