Skip to content

Commit d4a67d1

Browse files
committed
chore: prepare release note for 1.3.0
1 parent 5fcd957 commit d4a67d1

File tree

3 files changed

+31
-2
lines changed

3 files changed

+31
-2
lines changed

docs/.vitepress/config.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,20 @@ export default defineConfig({
55
title: "assemblyscript unittest framework",
66
description: "documents of assemblyscript unittest framework",
77
base: "/assemblyscript-unittest-framework/",
8+
sitemap: {
9+
hostname: "https://wasm-ecosystem.github.io/assemblyscript-unittest-framework/",
10+
},
811
themeConfig: {
912
// https://vitepress.dev/reference/default-theme-config
1013
search: {
1114
provider: "local",
1215
},
13-
nav: [{ text: "Home", link: "/" }],
16+
nav: [
17+
{ text: "Home", link: "/" },
18+
{ text: "Release", link: "/release-note" },
19+
{ text: "npm", link: "https://www.npmjs.com/package/assemblyscript-unittest-framework" },
20+
{ text: "Issue", link: "https://github.com/wasm-ecosystem/assemblyscript-unittest-framework/issues" },
21+
],
1422
sidebar: [
1523
{
1624
text: "Document",

docs/index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@ hero:
99
- theme: brand
1010
text: Quick Start
1111
link: /quick-start
12-
- theme: alt
12+
- theme: brand
1313
text: API documents
1414
link: /api-documents
15+
- theme: alt
16+
text: Release Note
17+
link: /release-note
1518
---
1619

1720
<script setup>

docs/release-note.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Release Note
2+
3+
## 1.3.0
4+
5+
🚀 Highlight Features
6+
7+
- Provides more command line options for finer-grained control of test cases.
8+
- Deprecate `--testcase`, replace with `--testFiles`.
9+
- Add `--testNamePattern <name pattern regex>`.
10+
- Add `--onlyFailures` flag to re-run last failed test cases.
11+
- Provides clearer log for user.
12+
- Expose the framework's `log` function in the configuration file, and the logs redirected to this function will be appended to the final test report.
13+
- Support test crashes and provide good call stack information.
14+
15+
🔄 Arch Changes
16+
17+
- During testing, the framework will execute all `test` functions once, but will not trigger callbacks, thereby collecting all test cases and then executing the test cases in sequence.
18+
- Move lots of framework logic from Assemblyscript to Typescript to reduce the WASM linear memory usage and improve the performance.

0 commit comments

Comments
 (0)