LongYinan
|
6eec0f93c1
|
feat(napi): redesign the Reference API (#1118)
- Reference now is inject by #[napi] macro
- Class Reference and underlaying data now have the same lifetime
|
2022-04-13 13:24:53 +08:00 |
|
LongYinan
|
107539d906
|
Revert "chore: unset CARGO_BUILD_TARGET in debian.Dockerfile"
This reverts commit 92a5bd1a8387c11272ccd01f288b4b5eaad4442c.
|
2022-04-13 13:24:53 +08:00 |
|
LongYinan
|
de9a039ba0
|
chore: unset CARGO_BUILD_TARGET in debian.Dockerfile
|
2022-04-13 13:24:53 +08:00 |
|
LongYinan
|
6a372395aa
|
build: migrate debian image to messense/manylinux2014-cross
|
2022-04-13 13:24:53 +08:00 |
|
LongYinan
|
be0f4760ff
|
Release independent packages
napi@2.3.0-canary.0
napi-derive@2.3.0-canary.0
|
2022-04-13 13:24:53 +08:00 |
|
LongYinan
|
5c3d1b2144
|
feat(napi): experimental class reference API
|
2022-04-13 13:24:53 +08:00 |
|
LongYinan
|
5994ef1b95
|
Merge pull request #1130 from napi-rs/fix-rust-1.57
fix(napi): remove CString::from_vec_with_nul_unchecked
|
2022-04-13 11:27:09 +08:00 |
|
LongYinan
|
9b0103cf22
|
fix(napi): remove CString::from_vec_with_nul_unchecked
|
2022-04-13 01:29:23 +08:00 |
|
LongYinan
|
1535e72150
|
chore: publish
- @napi-rs/cli@2.6.2
|
2022-04-02 02:34:10 +08:00 |
|
killa
|
6bef28a59b
|
fix: cargo metadata with large project (#1117)
Set `maxBuffer` to 10mb, cargo metadata may output
data more than 1mb(the nodejs default value).
Refs:
- https://github.com/napi-rs/napi-rs/issues/1116
|
2022-04-02 02:33:40 +08:00 |
|
LongYinan
|
dc87c46322
|
chore: publish
- @napi-rs/cli@2.6.1
|
2022-04-01 17:20:00 +08:00 |
|
LongYinan
|
83712d7312
|
Merge pull request #1115 from napi-rs/fix-cargo-name-restrict
fix(cli): should not throw if cargoName is provided but no package.name
|
2022-04-01 17:19:11 +08:00 |
|
LongYinan
|
8700da1776
|
fix(cli): should not throw if cargoName is provided but no package.name
|
2022-04-01 17:07:53 +08:00 |
|
LongYinan
|
a88bc57ea3
|
chore: publish
- @napi-rs/cli@2.6.0
|
2022-04-01 14:51:38 +08:00 |
|
LongYinan
|
0009379f31
|
chore: publish
- @napi-rs/cli@2.5.0
|
2022-04-01 14:50:23 +08:00 |
|
LongYinan
|
ae45d335f8
|
Merge pull request #1113 from napi-rs/upgrade-ci-config
ci: upgrade configuration
|
2022-04-01 14:47:17 +08:00 |
|
LongYinan
|
183c2d8896
|
ci: upgrade configuration
|
2022-04-01 14:33:34 +08:00 |
|
Stéphan Kochen
|
50f62f40d7
|
fix(napi): double allocation in create_buffer
|
2022-04-01 14:31:29 +08:00 |
|
LongYinan
|
cbf0840e1c
|
Merge pull request #1107 from messense/build-binary
Add support for building binaries
|
2022-04-01 14:18:12 +08:00 |
|
LongYinan
|
c32f7f5dbc
|
ci: add binary build check
|
2022-04-01 14:04:29 +08:00 |
|
messense
|
20b1edc53b
|
feat(cli): add support for building binaries
|
2022-04-01 14:00:42 +08:00 |
|
LongYinan
|
1a2198e13c
|
Merge pull request #1111 from napi-rs/fix-cli-copy-binary
Fix cli copy binary
|
2022-04-01 13:57:18 +08:00 |
|
LongYinan
|
ac8406c842
|
fix(cli): prevent crash if GITHUB_REPOSITORY is not specified
|
2022-04-01 13:34:49 +08:00 |
|
LongYinan
|
bd08787270
|
fix(cli): respect CARGO_BUILD_TARGET env variable
|
2022-04-01 13:30:16 +08:00 |
|
LongYinan
|
11967dec79
|
chore: upgrade dependencies
|
2022-04-01 12:10:56 +08:00 |
|
LongYinan
|
77a88cb44a
|
Merge pull request #1095 from napi-rs/cc-wrapper-arg
fix(cli): use shell file path instead of commands for zig CC and CXX
|
2022-03-13 21:10:15 +08:00 |
|
LongYinan
|
30310d0a81
|
ci: install dependencies with x64 Node.js while testing windows i686
|
2022-03-13 18:36:16 +08:00 |
|
LongYinan
|
5005aaa5af
|
chore: upgrade dependencies
|
2022-03-13 18:30:11 +08:00 |
|
LongYinan
|
09ccfaad1d
|
fix(cli): use shell file path instead of commands for zig CC and CXX
|
2022-03-13 18:28:29 +08:00 |
|
LongYinan
|
1cac0ac804
|
feat(cli): upgrade ci.yml templates
|
2022-03-07 11:05:52 +08:00 |
|
antoniomuso
|
f783e9537f
|
feat(napi): allow empty enums
|
2022-03-06 23:12:31 +08:00 |
|
LongYinan
|
ee0279e540
|
feat(cli): add libc filed in native package.json
|
2022-03-06 22:22:43 +08:00 |
|
LongYinan
|
71f3c0ef7e
|
Release independent packages
napi@2.2.0
napi-derive@2.2.0
|
2022-03-06 14:23:43 +08:00 |
|
LongYinan
|
18afd86a2e
|
fix(napi): missing ValidateNapiValue trait for types
|
2022-03-06 14:20:36 +08:00 |
|
LongYinan
|
b48a757837
|
style: clippy fix
|
2022-03-05 23:05:04 +08:00 |
|
LongYinan
|
1104742983
|
fix(napi): Buffer value lifetime should align the Rust lifetime
|
2022-03-05 23:05:04 +08:00 |
|
LongYinan
|
871cf5554d
|
chore: publish
- @napi-rs/cli@2.4.5
|
2022-03-05 18:48:16 +08:00 |
|
LongYinan
|
9f3fbaa8e0
|
fix(napi): race issues with Node.js worker_thread (#1081)
Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com>
|
2022-03-05 14:14:32 +08:00 |
|
LongYinan
|
1bee150a7a
|
Merge pull request #1084 from stephank/fix/yarn-dts
fix(cli): temporary dts path may not be writable
|
2022-03-03 21:28:12 +08:00 |
|
Stéphan Kochen
|
e69f0230c2
|
fix(cli): temporary dts path may not be writable
|
2022-03-03 10:45:27 +01:00 |
|
LongYinan
|
7626452cbf
|
Merge pull request #1080 from messense/clippy
chore: fix `clippy::needless_late_init` lint
|
2022-02-28 23:09:02 +08:00 |
|
messense
|
132a9a4ae2
|
chore: fix clippy::needless_late_init lint
|
2022-02-28 12:09:40 +08:00 |
|
LongYinan
|
ab3ea5a58a
|
Merge pull request #1075 from martinjlowm/fix/cleanup-registered-hook
fix(napi): cleanup registered hook upon unloading module with tokio_rt
|
2022-02-17 22:07:49 +08:00 |
|
Martin Madsen
|
e9f43495c2
|
chore(napi): Mark shutdown_tokio_rt unsafe
|
2022-02-16 18:02:10 +01:00 |
|
Martin Madsen
|
5a0c1c2af3
|
fix(napi): cleanup registered hook upon unloading module with tokio_rt
|
2022-02-16 15:28:16 +01:00 |
|
LongYinan
|
14773af159
|
Merge pull request #1069 from simonvandel/chrono_datetime
feat: Add support for Date <-> chrono::DateTime<Utc>
|
2022-02-11 15:18:34 +08:00 |
|
Simon Vandel Sillesen
|
cb9be7bc6a
|
Merge remote-tracking branch 'origin/main' into chrono_datetime
|
2022-02-11 07:21:07 +01:00 |
|
LongYinan
|
c18fb10f13
|
chore: publish
- @napi-rs/cli@2.4.4
|
2022-02-11 12:38:16 +08:00 |
|
LongYinan
|
00201aa27f
|
Merge pull request #1072 from napi-rs/format-toml
style: format toml files
|
2022-02-11 11:17:09 +08:00 |
|
LongYinan
|
d55e4f6f1f
|
style: format toml files
|
2022-02-11 10:46:17 +08:00 |
|