Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.2.0 #468

Merged
merged 36 commits into from
Jan 2, 2020
Merged

v0.2.0 #468

merged 36 commits into from
Jan 2, 2020

Conversation

antfu
Copy link
Member

@antfu antfu commented Jan 2, 2020

0.2.0

⚠ BREAKING CHANGE: compile API change

The first argument lang move to option, please switch to new API.

//before
compile('js', source, { ... })
// after
compile(source, { lang: 'js', ... })

The old API is still functional for temporary backward compatible, the support will be REMOVED in the next minor update.

Wenyan Snippets Site, #459

Please do check it out. Any feedbacks are welcome!

New Execute API

Check out API Document and #473

Fixes

Docs

cuixiping and others added 30 commits December 31, 2019 17:32
Auto generate examples README.md by nodejs.
Fix compiler crash with 0-argument macros
Robust: ^/4 (Does it work for all input values?)
Accurate: 1/4 (How accurate is the result?)
Well behaved: 3/4 (Does it preserve math properties?)

^ They technically work for all input values. But for very large input,
the loss of accuracy makes them practically useless.

The result could be severely inaccurate either when the angle is very
large, or when the angle is very close to a multiple of pi/2.
stdlib: Improve sin, cos and tan (*/1/3)
fix: 書之 prints "true", "false" instead of "陽", "陰"
@antfu antfu marked this pull request as ready for review January 2, 2020 06:33
@antfu antfu requested a review from LingDong- January 2, 2020 06:33
@antfu antfu changed the title v0.1.4 v0.2.0 Jan 2, 2020
@antfu antfu merged commit 43a1e56 into release Jan 2, 2020
LingDong- pushed a commit that referenced this pull request Jan 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants