Skip to content

Commit eb94dc9

Browse files
committed
release: v0.14.3
1 parent 70d2932 commit eb94dc9

File tree

2 files changed

+23
-16
lines changed

2 files changed

+23
-16
lines changed

content/en/docs/excel/union.md

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,23 +1068,30 @@ message Target {
10681068

10691069
### Specify Type column
10701070

1071-
In `Type` column, you can specify custom unique field type. Each field of union is message type by default with the name specified by `Name` column.
1071+
By default, each union's oneof field is a message type with the name specified by `Name` column.
1072+
Now, you can add `Type` column and specify custom oneof field type:
1073+
1074+
- scalar
1075+
- enum
1076+
- global predefined struct
1077+
- custom named struct
1078+
- local predefined struct in the same level
10721079

10731080
For example, a worksheet `Target` in *HelloWorld.xlsx*:
10741081

10751082
{{< spreadsheet "HelloWorld.xlsx" Target "@TABLEAU" >}}
10761083

10771084
{{< sheet >}}
10781085

1079-
| Name | Alias | Type | Field1 | Field2 |
1080-
| ------- | ------- | ---------------- | ------------------ | ----------------- |
1081-
| Fruit | Fruit | enum<.FruitType> | | |
1082-
| Point | Point | int32 | | |
1083-
| Item | Item | .Item | | |
1084-
| Player | Player | | ID <br> uint32 | Name <br> string |
1085-
| Friend | Friend | Player | | |
1086-
| Monster | Monster | CustomMonster | Health <br> uint32 | Attack <br> int32 |
1087-
| Boss | Boss | CustomMonster | | |
1086+
| Name | Alias | Type | Field1 | Field2 | #Note |
1087+
| ------- | ------- | ---------------- | ------------------ | ----------------- | --------------------------------------------------- |
1088+
| Fruit | Fruit | enum<.FruitType> | | | Bound to enum |
1089+
| Point | Point | int32 | | | Bound to scalar |
1090+
| Item | Item | .Item | | | Bound to global predefined struct |
1091+
| Player | Player | | ID <br> uint32 | Name <br> string | Bound to local defined struct |
1092+
| Friend | Friend | Player | | | Bound to local predefined in the same level |
1093+
| Monster | Monster | CustomMonster | Health <br> uint32 | Attack <br> int32 | Bound to local defined struct with custom type name |
1094+
| Boss | Boss | CustomMonster | | | Bound to local predefined struct in the same level |
10881095

10891096
{{< /sheet >}}
10901097

content/en/docs/prologue/quick-start.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ Select the appropriate tableauc (aka Tableau Compiler) to download:
2121
</p>
2222
<p>
2323
<a class="btn btn-outline-info btn-lg" role="button"
24-
href="https://github.com/tableauio/tableau/releases/download/cmd%2Ftableauc%2Fv0.14.2/tableauc.v0.14.2.windows.amd64.tar.gz">
24+
href="https://github.com/tableauio/tableau/releases/download/cmd%2Ftableauc%2Fv0.14.3/tableauc.v0.14.3.windows.amd64.tar.gz">
2525
<image height="25px" src="/images/download_blue.svg" alt="Download" /> Windows x64
2626
</a>
2727
</p>
2828
<!-- <p>
2929
<a class="btn btn-outline-info btn-lg" role="button"
30-
href="https://github.com/tableauio/tableau/releases/download/cmd%2Ftableauc%2Fv0.14.2/tableauc.v0.14.2.windows.386.tar.gz">
30+
href="https://github.com/tableauio/tableau/releases/download/cmd%2Ftableauc%2Fv0.14.3/tableauc.v0.14.3.windows.386.tar.gz">
3131
<image height="25px" src="/images/download_blue.svg" alt="Download" /> Windows x86
3232
</a>
3333
</p> -->
@@ -38,13 +38,13 @@ Select the appropriate tableauc (aka Tableau Compiler) to download:
3838
</p>
3939
<p>
4040
<a class="btn btn-outline-info btn-lg" role="button"
41-
href="https://github.com/tableauio/tableau/releases/download/cmd%2Ftableauc%2Fv0.14.2/tableauc.v0.14.2.linux.amd64.tar.gz">
41+
href="https://github.com/tableauio/tableau/releases/download/cmd%2Ftableauc%2Fv0.14.3/tableauc.v0.14.3.linux.amd64.tar.gz">
4242
<image height="25px" src="/images/download_blue.svg" alt="Download" /> Linux x64
4343
</a>
4444
</p>
4545
<!-- <p>
4646
<a class="btn btn-outline-info btn-lg" role="button"
47-
href="https://github.com/tableauio/tableau/releases/download/cmd%2Ftableauc%2Fv0.14.2/tableauc.v0.14.2.linux.386.tar.gz">
47+
href="https://github.com/tableauio/tableau/releases/download/cmd%2Ftableauc%2Fv0.14.3/tableauc.v0.14.3.linux.386.tar.gz">
4848
<image height="25px" src="/images/download_blue.svg" alt="Download" /> Linux x86
4949
</a>
5050
</p> -->
@@ -55,13 +55,13 @@ Select the appropriate tableauc (aka Tableau Compiler) to download:
5555
</p>
5656
<p>
5757
<a class="btn btn-outline-info btn-lg" role="button"
58-
href="https://github.com/tableauio/tableau/releases/download/cmd%2Ftableauc%2Fv0.14.2/tableauc.v0.14.2.darwin.amd64.tar.gz">
58+
href="https://github.com/tableauio/tableau/releases/download/cmd%2Ftableauc%2Fv0.14.3/tableauc.v0.14.3.darwin.amd64.tar.gz">
5959
<image height="25px" src="/images/download_blue.svg" alt="Download" /> macOS x64
6060
</a>
6161
</p>
6262
<p>
6363
<a class="btn btn-outline-info btn-lg" role="button"
64-
href="https://github.com/tableauio/tableau/releases/download/cmd%2Ftableauc%2Fv0.14.2/tableauc.v0.14.2.darwin.arm64.tar.gz">
64+
href="https://github.com/tableauio/tableau/releases/download/cmd%2Ftableauc%2Fv0.14.3/tableauc.v0.14.3.darwin.arm64.tar.gz">
6565
<image height="25px" src="/images/download_blue.svg" alt="Download" /> macOS arm64
6666
</a>
6767
</p>

0 commit comments

Comments
 (0)