Commit graph

2149 commits

Author SHA1 Message Date
Devon Govett
d6c755c4eb
fix(napi-derive): js_name support for getters and setters (#1179) 2022-05-13 12:55:54 +08:00
LongYinan
822f4af1cc
Release independent packages
- napi@2.4.3
2022-05-12 16:59:33 +08:00
LongYinan
6c1d0f0409
Merge pull request #1178 from napi-rs/either-type
fix(napi): type constraint for either types
2022-05-12 16:58:45 +08:00
LongYinan
a5c19ce1da
fix(napi): type constraint for either types 2022-05-12 15:12:32 +08:00
LongYinan
fb8d8b97d6
Release independent packages
napi@2.4.2
napi-derive@2.4.2
napi-sys@2.2.2
2022-05-10 22:32:06 +08:00
LongYinan
3d4c421585
Merge pull request #1177 from napi-rs/iterator-default-constructor
fix(napi): missing iterator implementation from class factory
2022-05-10 22:23:45 +08:00
LongYinan
47fcc8501a
fix(napi): missing iterator implementation from class factory 2022-05-10 21:50:20 +08:00
LongYinan
57ea8dc8f3
Merge pull request #1172 from devongovett/weak-reference
Add support for weak references
2022-05-10 21:27:16 +08:00
Devon Govett
27402aee81
feat(napi): add support for weak references 2022-05-10 21:09:45 +08:00
LongYinan
5ecf16e5ad
Merge pull request #1176 from napi-rs/remove-thread-local
Remove `thread_local!` usage, add electron test
2022-05-10 19:16:31 +08:00
LongYinan
65b4b34f40
test(napi): add electron tests 2022-05-10 18:39:37 +08:00
LongYinan
788a962137
fix(napi): drop all thread_local! usage 2022-05-10 18:39:36 +08:00
LongYinan
7203632bb3
chore: add RUST_TARGET env in debian.Dockerfile 2022-05-09 12:17:01 +08:00
LongYinan
79d7453713
Release independent packages 2022-05-07 20:23:01 +08:00
LongYinan
700f78fbf6
Merge pull request #1169 from napi-rs/setup-sys
fix(napi): load Node-API symbols manually on Windows
2022-05-07 20:21:47 +08:00
LongYinan
e551bd7c1a
fix(napi): load Node-API symbols manually on Windows 2022-05-07 18:54:37 +08:00
LongYinan
daf5f1f9e9
Release independent packages
- napi@2.4.0
- napi-derive@2.4.0
- napi-sys@2.2.0
- napi-build@2.0.0
2022-05-07 15:51:22 +08:00
LongYinan
d728b3ab3c
chore: publish
- @napi-rs/cli@2.8.0
2022-05-07 15:49:00 +08:00
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