Commit graph

1881 commits

Author SHA1 Message Date
LongYinan
e778e400e9
chore: publish
- @napi-rs/cli@2.8.0-alpha.0
2022-05-06 23:05:27 +08:00
LongYinan
e094f78e08
Merge pull request #1167 from napi-rs/dyn-load
Use libloading on Windows
2022-05-06 22:43:42 +08:00
LongYinan
1bf072ad7d
refactor(napi): use libloading on Windows 2022-05-06 22:27:09 +08:00
LongYinan
4f120ba8ff
Merge pull request #1166 from napi-rs/generator
Iterator Support
2022-05-06 19:53:35 +08:00
LongYinan
a3356264f2
feat(napi): experimental iterator support 2022-05-06 18:03:04 +08:00
LongYinan
b074608582
docs: broken example in README.md
Fix https://github.com/napi-rs/napi-rs/issues/1158
2022-05-06 17:46:20 +08:00
LongYinan
4b06121c5e
docs: broken links for Prisma and Next.js 2022-05-05 11:59:06 +08:00
LongYinan
e7464383d3
build: add --sysroot flag to clang/clang++ in aarch64 linux gnu image 2022-05-04 16:34:28 +08:00
LongYinan
74cfcd377a
build: export C_INCLUDE_PATH in aarch64 linux gnu image 2022-05-04 14:47:54 +08:00
LongYinan
4fb120ab34
Merge pull request #1161 from devongovett/reference-crash
fix(napi): handle the referenced object is finalized before `Reference::drop`
2022-05-04 11:45:48 +08:00
Devon Govett
91c62c4616
fix(napi): handle the referenced object is finalized before Reference::drop 2022-05-03 21:59:42 +08:00
LongYinan
68a6d507ff
Merge pull request #1162 from napi-rs/add-debian-aarch64-cross-image
feat(cli): new command upgrade
2022-05-03 20:03:37 +08:00
LongYinan
652aa3cc57
feat(cli): new command upgrade
- Add .gitignore file
- Upgrade actions in CI.yml
- Using the new cross compile image for x86_64-linux-gnu and aarch64-linux-gnu
2022-05-03 17:24:48 +08:00
LongYinan
a91a8b4201
Merge pull request #1159 from bnoordhuis/from_reason
feat(napi): make Error::from_reason() generic
2022-05-02 14:13:59 +08:00
Ben Noordhuis
f301581445 feat(napi): make Error::from_reason() generic 2022-05-01 17:00:24 +02:00
LongYinan
8681cadc0f
Release independent packages
napi-derive@2.3.3
2022-04-27 18:39:52 +08:00
LongYinan
8ee7df10bd
Merge pull request #1155 from napi-rs/invalid-return-type
fix(napi-derive): invalid TypeScript return type
2022-04-27 18:38:54 +08:00
LongYinan
44b4cc34e0
fix(napi-derive): invalid TypeScript return type 2022-04-27 18:23:45 +08:00
LongYinan
2fecc109ef
Release independent packages
napi@2.3.3
napi-derive@2.3.2
2022-04-27 14:14:04 +08:00
LongYinan
43d39fae3e
Merge pull request #1153 from napi-rs/update-windows-crate
chore(napi): upgrade windows crate
2022-04-27 14:12:22 +08:00
LongYinan
66a107a4b9
chore(napi): upgrade windows crate 2022-04-27 13:59:56 +08:00
LongYinan
ce01255531
chore: publish
- @napi-rs/cli@2.7.0
2022-04-27 13:32:36 +08:00
LongYinan
ad6dffc409
Merge pull request #1152 from napi-rs/drop-node-17
chore: drop node 17, add node 18
2022-04-27 13:31:56 +08:00
LongYinan
2e96297e1a
chore: drop node 17, add node 18 2022-04-27 13:17:39 +08:00
LongYinan
46e12eaa52
Merge pull request #1151 from napi-rs/upgrade-dependencies
chore: upgrade dependencies
2022-04-27 12:03:13 +08:00
LongYinan
cf6b2c9241
chore: upgrade dependencies 2022-04-27 00:57:57 +08:00
LongYinan
2c775082cd
Merge pull request #1150 from napi-rs/into-reference
feat(napi): support return Reference on class instance
2022-04-26 21:33:59 +08:00
LongYinan
878b843f29
feat(napi): support return Reference on class instance 2022-04-26 18:21:55 +08:00
LongYinan
8ae06dccc8
Merge pull request #1149 from napi-rs/multi-impl-typedef
fix(cli): generated type def on multi impl blocks
2022-04-26 18:21:35 +08:00
LongYinan
c3a35a0704
fix(cli): generated type def on multi impl blocks 2022-04-26 18:04:37 +08:00
LongYinan
cc79c9794e fix(napi-derive): should transform struct case on Impl 2022-04-26 18:04:14 +08:00
LongYinan
5aa61c2142 fix(napi): use create_buffer/arrary_buffer if provided data is empty 2022-04-26 16:53:13 +08:00
LongYinan
a41cc07f21
Release independent packages
napi@2.3.2
napi-derive@2.3.1
2022-04-25 16:09:57 +08:00
LongYinan
eee42e92e7
Merge pull request #1144 from mischnic/empty-buffer 2022-04-23 20:33:28 +08:00
Niklas Mischkulnig
0bdb722097
test(napi): add test for multiple empty buffers 2022-04-23 12:27:47 +02:00
Niklas Mischkulnig
39e55a39c9
fix(napi): use null pointer for empty buffers 2022-04-23 12:27:44 +02:00
Gabriel Francisco
581e3bbb87
chore(napi): add u64 to BigInt conversion through From trait (#1143)
* Add u64 to BigInt conversion through From trait

* Fix lint
2022-04-23 00:29:18 +08:00
LongYinan
454d3b8cab
chore: build node 18 linux arm image 2022-04-22 23:16:06 +08:00
Gabriel Francisco
d56c9c56a8
fix(napi-derive): simplify the optional values in generated declaration file (#1141) 2022-04-22 16:53:27 +08:00
Gabriel Francisco
c39060984d
feat(cli): add build option to not include the header in dts file (#1140)
* Add build option to not include the header in dts file

* Fix lint
2022-04-22 16:52:43 +08:00
LongYinan
4f422b6625
build: tweak alpine image 2022-04-18 12:19:48 +08:00
LongYinan
8cb6708be7
build: do not upgrade system components in alpine 2022-04-17 23:40:37 +08:00
LongYinan
e785e31e19
build: install alpine build-base on stable channel 2022-04-17 22:21:13 +08:00
LongYinan
e81e3dbb2e
Release independent packages
napi@2.3.1
2022-04-15 21:41:14 +08:00
LongYinan
9c55588889 ci: more effective cache config 2022-04-15 21:40:20 +08:00
LongYinan
5dd96c1b89 ci: check all napi features 2022-04-15 21:40:20 +08:00
Chanakya
09d7fd671a fix cannot find trait ToNapiValue error 2022-04-15 21:02:40 +08:00
LongYinan
ce308a3b54
Release independent packages
napi@2.3.0
napi-derive@2.3.0
2022-04-14 17:27:21 +08:00
LongYinan
cd9bb0c5d6 docs: add return Promise callback function
Fix https://github.com/napi-rs/napi-rs/issues/1128
2022-04-14 14:24:47 +08:00
LongYinan
c553dcd4e0 feat(napi): relax the value type on ThreadSafeFunction 2022-04-14 14:24:47 +08:00