File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ # v0.2.0
2
+
3
+ ## ⚠ BREAKING CHANGE: ` compile ` API change
4
+ The first argument lang move to option, please switch to new API.
5
+
6
+ ``` js
7
+ // before
8
+ compile (' js' , source, { ... })
9
+ // after
10
+ compile (source, { lang: ' js' , ... })
11
+ ```
12
+
13
+ The old API is still functional for temporary backward compatible, the support ** will be REMOVED in the next minor update.**
14
+
15
+ ## Wenyan Snippets Site, #459
16
+
17
+ Please do check it out. Any feedbacks are welcome!
18
+
19
+ ![ ] ( https://user-images.githubusercontent.com/7929704/71650125-049f4800-2ce2-11ea-9f44-31c9b7e626d7.png )
20
+
21
+ ## New Execute API
22
+ Check out [ API Document] ( https://github.com/LingDong-/wenyan-lang/blob/master/documentation/Compiler-API.md ) and #473
23
+
24
+
25
+ ### Fixes
26
+ - Fix compiler crash with 0-argument macros (PR #453 , thanks @statementreply )
27
+ - stdlib: Improve sin, cos and tan (^/1/3) (PR #457 , thanks @statementreply )
28
+ - bool2hanzi (PR #465 , thanks @Fros1er )
29
+
30
+ ### Docs
31
+ - Auto generates examples for README.md (PR #448 , thanks @cuixiping )
32
+
33
+
1
34
# v0.1.3
2
35
3
36
## Macros (Experimental)
You can’t perform that action at this time.
0 commit comments