Commit graph

1624 commits

Author SHA1 Message Date
LongYinan
915b423026
fix(napi): only shutdown tokio runtime once 2021-12-21 23:22:23 +08:00
dependabot[bot]
13c9437b61
build(deps-dev): bump @typescript-eslint/parser from 5.7.0 to 5.8.0 2021-12-20 22:20:01 +00:00
dependabot[bot]
4908afef6f
build(deps-dev): bump esbuild from 0.14.3 to 0.14.6 2021-12-20 22:19:50 +00:00
dependabot[bot]
9cbde88078
build(deps-dev): bump lint-staged from 12.1.2 to 12.1.3 2021-12-20 21:55:58 +00:00
dependabot[bot]
ebfaa52d07
build(deps-dev): bump eslint from 8.4.1 to 8.5.0 2021-12-20 21:55:44 +00:00
dependabot[bot]
5fbb7974ea
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-12-20 21:55:19 +00:00
dependabot[bot]
442abf85d3
build(deps-dev): bump @types/node from 16.11.12 to 17.0.1 2021-12-20 21:55:07 +00:00
dependabot[bot]
eed20fe807
build(deps-dev): bump typescript from 4.5.3 to 4.5.4 2021-12-20 21:54:54 +00:00
LongYinan
a695c9724f
Merge pull request #951 from napi-rs/multi-impl-gen
fix(napi-derive): codegen bug when multi impl on same file
2021-12-20 16:17:04 +08:00
LongYinan
f7571d71c0
fix(napi-derive): codegen bug when multi impl on same file 2021-12-20 16:00:11 +08:00
LongYinan
ac1b52fab9
Merge pull request #950 from napi-rs/upgrade-windows-crate
chore(napi): upgrade windows crate to 0.29
2021-12-20 15:53:14 +08:00
LongYinan
0d38cb01bd
chore(napi): upgrade windows crate to 0.29 2021-12-20 15:16:12 +08:00
LongYinan
163ddb69ef
Merge pull request #946 from mischnic/test-hashmap
Add tests for hashmap <-> object
2021-12-20 00:47:55 +08:00
Niklas Mischkulnig
7a04176cf9
test(napi): add tests for hashmap <-> object 2021-12-19 23:17:54 +08:00
LongYinan
b7b405a49b
Merge pull request #947 from h-a-n-a/feat/skip-ts-gen
feat(napi-derive): add `skip_typescript` attribute for macro
2021-12-19 23:15:05 +08:00
h-a-n-a
7891c52cbf test: update type snapshot 2021-12-19 22:44:45 +08:00
h-a-n-a
72f58204d2 test: add tests for skip_typescript 2021-12-19 20:17:54 +08:00
h-a-n-a
df9dc91562 feat(napi): add ts typegen skip 2021-12-19 19:45:21 +08:00
LongYinan
59a7e37901
ci: build node:17 for aarch64 and armv7 Linux 2021-12-18 16:00:16 +08:00
LongYinan
049b8799c1
Merge pull request #942 from napi-rs/disable-js-without-platform
fix(cli): disable js binding generation if no --platform flag
2021-12-18 15:59:29 +08:00
LongYinan
f577512952
fix(cli): disable js binding generation if no --platform flag 2021-12-18 15:40:38 +08:00
LongYinan
45a74856d6
Merge pull request #941 from napi-rs/fix/build-env
fix(build): keep `.d.ts` and `.js` untouched if native doesn't change
2021-12-18 15:07:26 +08:00
yiliuliuyi
5b83de8a48
Merge pull request #940 from napi-rs/fix-return-type
fix(napi-derive-backend): Null and Undefined return type
2021-12-18 14:13:37 +08:00
forehalo
09c7df3c5c
fix: keep .d.ts and .js untouched if native doesn't change 2021-12-18 14:12:46 +08:00
LongYinan
4ec4400703
fix(napi-derive-backend): Null and Undefined return type 2021-12-18 13:42:55 +08:00
LongYinan
3f2e44d3db
Merge pull request #939 from napi-rs/fix/buffer-vec-conversion
fix(napi): impl From<Buffer> for Vec<u8>
2021-12-18 13:41:40 +08:00
yiliuliuyi
a25612987f
Merge pull request #938 from liulinboyi/feat-napi
feat(napi): refine return type
2021-12-18 13:29:19 +08:00
forehalo
2df97c108f
fix: impl From<Buffer> for Vec<u8> 2021-12-18 13:24:16 +08:00
liulinboyi
486765b35e feat(napi): refine return type 2021-12-18 11:52:49 +08:00
LongYinan
01b5a6dc3f
docs(cli): add note for --target flag 2021-12-17 17:31:09 +08:00
LongYinan
bbd466b69c
Release independent packages 2021-12-17 16:56:45 +08:00
LongYinan
d97541be39
chore: publish
- @napi-rs/cli@2.0.0
2021-12-17 16:54:56 +08:00
LongYinan
8debc09b7f
Release independent packages
napi@2.0.0-beta.7
2021-12-14 13:00:07 +08:00
LongYinan
5860d8ce4f
Merge pull request #929 from napi-rs/async-error-handling
fix(napi): ThreadsafeFunction with ErrorStrategy::Fatal should throw fatal exception
2021-12-14 12:59:07 +08:00
LongYinan
91d07810a2
fix(napi): ThreadsafeFunction with ErrorStrategy::Fatal should throw fatal exception 2021-12-14 12:47:23 +08:00
dependabot[bot]
98791a40e6
build(deps-dev): bump eslint from 8.4.0 to 8.4.1 2021-12-13 22:33:40 +00:00
dependabot[bot]
f58d2c600f
build(deps-dev): bump @typescript-eslint/parser from 5.6.0 to 5.7.0 2021-12-13 22:33:26 +00:00
dependabot[bot]
12b912b193
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-12-13 22:09:17 +00:00
dependabot[bot]
4caacd8eb3
build(deps-dev): bump @types/node from 16.11.11 to 16.11.12 2021-12-13 22:09:15 +00:00
dependabot[bot]
ae9e026c50
build(deps-dev): bump rollup from 2.60.2 to 2.61.1 2021-12-13 22:09:05 +00:00
dependabot[bot]
c05dffa1c3
build(deps-dev): bump @rollup/plugin-node-resolve from 13.0.6 to 13.1.1 2021-12-13 22:08:59 +00:00
dependabot[bot]
88f1573768
build(deps-dev): bump typescript from 4.5.2 to 4.5.3 2021-12-13 22:08:49 +00:00
dependabot[bot]
40bdff8494
build(deps-dev): bump esbuild from 0.14.2 to 0.14.3 2021-12-13 22:08:35 +00:00
LongYinan
c8e6ab46d3
Release independent packages
napi@2.0.0-beta.6
2021-12-13 13:18:24 +08:00
LongYinan
59a7b8621e
Merge pull request #919 from h-a-n-a/feat/deref-external
feat(napi): support external deref
2021-12-11 15:09:11 +08:00
h-a-n-a
0aa7cd3d32 feat(napi): support external deref/derefMut 2021-12-11 13:42:46 +08:00
LongYinan
212bbe285e
chore: publish
- @napi-rs/cli@2.0.0-beta.5
2021-12-10 16:57:41 +08:00
LongYinan
a7e9f82fd9
style: run fmt 2021-12-10 16:55:55 +08:00
LongYinan
b977265cfa
feat(cli): provide rename command to rename everything in package-template project 2021-12-10 16:52:59 +08:00
LongYinan
4177d071a3
chore: simplify format command 2021-12-10 12:58:17 +08:00