Skip to content

Commit d6f886d

Browse files
authored
Feature/Whats new (#257)
* fixed whitespace issue. Adding blog post for go server and ui * adding seconds to ensure display order * splitting apart release notes link into separate component. * update cadence server release notes to be more brief. Adding link always to reference original github release page. * updating date * removing unused library. adding whitespace. * removing unused variable.
1 parent 8c3d90a commit d6f886d

File tree

10 files changed

+232
-18
lines changed

10 files changed

+232
-18
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export { default as ReleaseNotesLink } from './release-notes-link';
2+
export { default as ReleaseNotes } from './release-notes';
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<template>
2+
<p>Please read the complete release notes <a :href="githubLink" target="_blank" rel="noopener noreferrer">here</a>.</p>
3+
</template>
4+
5+
<script>
6+
import { getGithubLink } from '../helpers';
7+
8+
export default {
9+
name: 'release-notes-link',
10+
props: ['owner', 'repo', 'tag'],
11+
computed: {
12+
githubLink() {
13+
const { owner, repo, tag } = this;
14+
return getGithubLink({ owner, repo, tag });
15+
},
16+
},
17+
};
18+
</script>
Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
<template>
2-
<div v-html="body"></div>
2+
<div>
3+
<div v-html="body"></div>
4+
<release-notes-link
5+
:owner="owner"
6+
:repo="repo"
7+
:tag="tag"
8+
/>
9+
</div>
310
</template>
411

512
<script>
613
import MarkdownIt from 'markdown-it';
14+
import ReleaseNotesLink from './release-notes-link';
15+
import { getGithubApi } from '../helpers';
716
817
export default {
918
name: 'release-notes',
@@ -13,27 +22,24 @@ export default {
1322
body: '',
1423
};
1524
},
25+
components: {
26+
'release-notes-link': ReleaseNotesLink,
27+
},
1628
computed: {
17-
githubLink() {
18-
return `https://github.com/${this.owner}/${this.repo}/releases/tag/${this.tag}`;
19-
},
2029
githubApi() {
21-
return `https://api.github.com/repos/${this.owner}/${this.repo}/releases/tags/${this.tag}`;
30+
const { owner, repo, tag } = this;
31+
return getGithubApi({ owner, repo, tag });
2232
},
2333
},
2434
async beforeMount() {
25-
try {
26-
const response = await fetch(this.githubApi);
27-
const releaseData = await response.json();
28-
const md = new MarkdownIt();
29-
const rawBody = md.render(releaseData.body);
30-
this.body = rawBody
31-
.replace(/&lt;/g, '<')
32-
.replace(/&gt;/g, '>')
33-
.replace(/&quot;/g, '"');
34-
} catch {
35-
this.body = `<p>Please see release notes <a href="${this.githubLink}" target="_blank" rel="noopener noreferrer">here</a></p>`;
36-
}
35+
const response = await fetch(this.githubApi);
36+
const releaseData = await response.json();
37+
const md = new MarkdownIt();
38+
const rawBody = md.render(releaseData.body);
39+
this.body = rawBody
40+
.replace(/&lt;/g, '<')
41+
.replace(/&gt;/g, '>')
42+
.replace(/&quot;/g, '"');
3743
}
3844
};
39-
</script>
45+
</script>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const getGithubApi = ({ owner, repo, tag }) => `https://api.github.com/repos/${owner}/${repo}/releases/tags/${tag}`;
2+
3+
export default getGithubApi;
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const getGithubLink = ({ owner, repo, tag }) => `https://github.com/${owner}/${repo}/releases/tag/${tag}`;
2+
3+
export default getGithubLink;
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export { default as getGithubLink } from './get-github-link';
2+
export { default as getGithubApi } from './get-github-api';

news/blog/.vuepress/styles/index.styl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ h1, h2, h3, h4, h5, h6 {
1515

1616
.vuepress-blog-theme-content {
1717
font-family: $fontFamilyDefault !important;
18+
19+
p {
20+
white-space: pre-wrap;
21+
}
1822
}
1923

2024
#header-wrapper, #mobile-header, .footer {
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
date: 2021-02-25T07:00:03
3+
feed:
4+
enable: true
5+
---
6+
7+
## Cadence Go Client v0.16.0
8+
<release-notes
9+
owner="uber-go"
10+
repo="cadence-client"
11+
tag="v0.16.0"
12+
/>
13+
14+
## Cadence Go Client v0.15.0
15+
<release-notes
16+
owner="uber-go"
17+
repo="cadence-client"
18+
tag="v0.15.0"
19+
/>
20+
21+
## Cadence Go Client v0.14.0
22+
<release-notes
23+
owner="uber-go"
24+
repo="cadence-client"
25+
tag="v0.14.0"
26+
/>
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
---
2+
date: 2021-02-25T07:00:02
3+
feed:
4+
enable: true
5+
---
6+
7+
## Cadence Server & CLI v0.18.0
8+
### Notes
9+
- **Allow using Kafka TLS without cert ca and key (#3862)**
10+
`EnableHostVerification` started to be used for Kafka TLS, by default it’s false and which means `InSecureSkipVerify` is true for Kafka TLS. But previously `InSecureSkipVerify` is false. If you want to keep the same behavior, please update your config to set `EnableHostVerification` to be true. It won’t break anything if not doing so, but may be risky to not verify it. This option is basically the inverse of InSecureSkipVerify. See http://golang.org/pkg/crypto/tls/ for more info.
11+
12+
- **Support visibility query with close status represented in string (#3865)**
13+
Advanced workflow visibility record query syntax now supports using string as workflow close status. Accepted values are: `COMPLETED`, `FAILED`, `CANCELED`, `TERMINATED`, `CONTINUED_AS_NEW` and `TIMED_OUT`, case insensitive.
14+
15+
### New Features & Improvements
16+
- GRPC
17+
- Task Processing
18+
- Replication
19+
- Scanner
20+
- Workflow Reset
21+
- ElasticSearch
22+
- Kafka
23+
- SQL
24+
- Others
25+
- Misc.
26+
27+
<release-notes-link
28+
owner="uber"
29+
repo="cadence"
30+
tag="v0.18.0"
31+
/>
32+
33+
## Cadence Server & CLI v0.17.0
34+
### Release note: Upgrade Cadence server to the latest 0.16.x release prior to deploying this release.
35+
36+
0.17 has a change that is not compatible with releases before 0.15. Upgrading from <=0.15 releases directly to 0.17 would cause StartWorkflowExecution and SignalWithStartWorkflowExecution APIs to return errors with workflow ID re-use scenario during the server upgrade. Please consider upgrade the Cadence server to the latest 0.16.x release before deploying this release.
37+
38+
### New Features & Improvements
39+
- ElasticSearch
40+
- Multi-tenant Task Processing Improvements
41+
- Graceful Domain Failover and Replication related improvements
42+
- Scanner
43+
- GRPC
44+
- Activity Local Dispatch
45+
- Others
46+
- Misc.
47+
48+
<release-notes-link
49+
owner="uber"
50+
repo="cadence"
51+
tag="v0.17.0"
52+
/>
53+
54+
## Cadence Server & CLI v0.16.0
55+
### Breaking Change
56+
This release contains a breaking change in workflow metadata. This change has been enabled since 0.14 release. If your workflow could be open for 6+ months or you upgrade to this release from 0.13 or below, please follow the [migration instruction](https://github.com/uber/cadence/blob/master/RELEASES.md).
57+
58+
### Breaking Change on config for MySQL/Postgres
59+
It's required to add
60+
```
61+
encodingType: "thriftrw"
62+
decodingTypes: [ "thriftrw" ]
63+
````
64+
to persistence configuration like in this [example](https://github.com/uber/cadence/commit/b2464b709fc91c453b2e21c7092e658f6112b76f#diff-019c991260a37dc5f2cc86170b07b43284cc2f66ea636cfeb00cd0a92f9639d1R17)
65+
66+
Note that this requirement is removed in later in 0.18.
67+
68+
### Schema Change
69+
- Cassandra `cadence` keyspace update from v0.29 to **v0.30**
70+
71+
### New Features
72+
- Add task token to activityDispatchInfo for worker (#3672)
73+
- Populate activityDispatchInfo with timestamps needed for local activity dispatch by worker (#3669)
74+
- Update idls to use ActivityLocalDispatchInfo (#3668)
75+
- Other improvements & bugfixes
76+
77+
<release-notes-link
78+
owner="uber"
79+
repo="cadence"
80+
tag="v0.16.0"
81+
/>
82+
83+
## Cadence Server & CLI v0.15.0
84+
### Schema Change
85+
- Cassandra `cadence` keyspace update from v0.28 to **v0.29**
86+
87+
### New Features
88+
- Multi-tenant Task Processing Improvements
89+
- Graceful Domain Failover and Replication related improvements
90+
- Managed Failover
91+
- Scanner
92+
- GRPC
93+
- Bug Fix & Improvements
94+
- Misc.
95+
96+
<release-notes-link
97+
owner="uber"
98+
repo="cadence"
99+
tag="v0.15.0"
100+
/>
101+
102+
## Cadence Server & CLI v0.14.0
103+
### Schema Change
104+
- Cassandra `cadence` keyspace update from v0.27 to **v0.28**
105+
106+
### New features
107+
- Multi-tenant Task Processing Improvements
108+
- DB Scanner
109+
- Replication
110+
- Domain tag
111+
- Bug Fix & Improvements
112+
113+
<release-notes-link
114+
owner="uber"
115+
repo="cadence"
116+
tag="v0.14.0"
117+
/>
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
date: 2021-02-25T07:00:01
3+
feed:
4+
enable: true
5+
---
6+
7+
## Cadence UI v3.23.0
8+
<release-notes
9+
owner="uber"
10+
repo="cadence-web"
11+
tag="v3.23.0"
12+
/>
13+
14+
## Cadence UI v3.22.0
15+
<release-notes
16+
owner="uber"
17+
repo="cadence-web"
18+
tag="v3.22.0"
19+
/>
20+
21+
## Cadence UI v3.21.0
22+
<release-notes
23+
owner="uber"
24+
repo="cadence-web"
25+
tag="v3.21.0"
26+
/>
27+
28+
## Cadence UI v3.20.0
29+
<release-notes
30+
owner="uber"
31+
repo="cadence-web"
32+
tag="v3.20.0"
33+
/>

0 commit comments

Comments
 (0)