Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
243 commits
Select commit Hold shift + click to select a range
163ddf7
chore: Update ckb node assume valid target for rc/v0.112.0.
github-actions[bot] Nov 23, 2023
5f2cdcf
Merge pull request #2955 from nervosnetwork/chore-update-valid-target…
Keith-CY Nov 23, 2023
9fad3b7
chore: update versions and changelogs
Keith-CY Nov 23, 2023
880607f
feat: Update Neuron compatibility table
Keith-CY Nov 23, 2023
ac2c9d1
Merge pull request #2957 from nervosnetwork/update-neuron-compatible
Keith-CY Nov 24, 2023
cfbb392
Merge pull request #2956 from nervosnetwork/rc/v0.112.0
Keith-CY Nov 24, 2023
e162cf3
fix: Fix light client sync tx type. (#2965)
yanguoyu Dec 5, 2023
e27b1d8
feat: update ckb client versions (#2970)
Keith-CY Dec 6, 2023
43a8b15
chore: Update ckb node assume valid target (#2968)
github-actions[bot] Dec 6, 2023
eebe6be
Update Neuron compatibility table (#2971)
github-actions[bot] Dec 6, 2023
ba54fd2
chore: Update ckb node assume valid target for rc/v0.112.0. (#2972)
Keith-CY Dec 6, 2023
5cc8163
Merge pull request #2973 from nervosnetwork/rc/v0.112.0
Keith-CY Dec 6, 2023
91535c8
chore: update release date
Keith-CY Dec 6, 2023
151d30c
ci: specify environments in some workflows (#3059)
Keith-CY Mar 5, 2024
520840f
Update ckb client versions (#3061)
github-actions[bot] Mar 6, 2024
9d5db26
feat: Non-Native token transfer in history add more details about CKB…
yanguoyu Mar 6, 2024
d5cfd42
chore(deps): bump undici from 5.28.2 to 5.28.3 in /packages/neuron-wa…
dependabot[bot] Mar 8, 2024
3e54fc9
fix: no translation of language options (#3063)
Keith-CY Mar 12, 2024
9d19dec
chore: Only white list can package with comment. (#3047)
yanguoyu Mar 12, 2024
f94bb2a
fix: Add COLLABORATOR to whitelist (#3068)
yanguoyu Mar 12, 2024
4055ab6
Fix cell manage with hard wallet (#3069)
yanguoyu Mar 14, 2024
57b018e
Support "amend a pending transaction" (#3045)
devchenyan Mar 14, 2024
0fd9de0
fix: If node is connecting, show '--' for confirmation (#3071)
yanguoyu Mar 14, 2024
eb72fe2
Merge branch 'master' into merge-master-to-dev
yanguoyu Mar 14, 2024
ec15a78
Delete connector.test.ts
yanguoyu Mar 14, 2024
b3ea53e
Merge pull request #3074 from yanguoyu/merge-master-to-dev
Keith-CY Mar 14, 2024
e784476
ci: set action permission to update env
Keith-CY Mar 14, 2024
41a5718
chore: Update ckb node assume valid target for rc/v0.114.0.
github-actions[bot] Mar 14, 2024
143f3ca
Merge pull request #3077 from nervosnetwork/chore-update-wallet-env/r…
Keith-CY Mar 14, 2024
2e7fa47
fix: When the tx is confirming also show -- (#3075)
yanguoyu Mar 14, 2024
dea1545
Merge branch 'develop' into rc/v0.114.0
Keith-CY Mar 14, 2024
5c776c7
chore: update versions and changelogs
Keith-CY Mar 14, 2024
9056a90
Update Neuron compatibility table (#3078)
github-actions[bot] Mar 14, 2024
a4e89aa
ci: upload mac artifacts with distinct name
Keith-CY Mar 14, 2024
08c3466
Merge branch 'rc/v0.114.0' of https://github.com/nervosnetwork/neuron…
Keith-CY Mar 14, 2024
7f20598
ci: grant package.yml to upload artifacts to release note
Keith-CY Mar 14, 2024
ef73370
ci: grant checksums-of-release-draft.yml to load artifacts from relea…
Keith-CY Mar 14, 2024
dcf2232
docs: update introduction video of v0.114.0
Keith-CY Mar 15, 2024
e1888d6
Merge pull request #3079 from nervosnetwork/rc/v0.114.0
Keith-CY Mar 15, 2024
947f1e6
fix: The first sync only stuck full ckb node start. (#3081)
yanguoyu Mar 15, 2024
e25bf98
Merge branch 'develop' of https://github.com/nervosnetwork/neuron int…
Keith-CY Mar 15, 2024
5a6bb80
ci: update permissions to get and generate checksums
Keith-CY Mar 15, 2024
fec8de0
chore: update versions and changelogs
Keith-CY Mar 15, 2024
d8c2f80
Merge pull request #3084 from nervosnetwork/rc/v0.114.1
Keith-CY Mar 15, 2024
4c63c6a
chore: update versions and changelogs
Keith-CY Mar 15, 2024
7bb60a1
Merge pull request #3086 from nervosnetwork/rc/v0.114.2
Keith-CY Mar 15, 2024
4d3aa8b
ci: update ci permission and limit their environment
Keith-CY Mar 15, 2024
3462268
chore(deps): bump ip from 2.0.0 to 2.0.1 (#3041)
dependabot[bot] Mar 19, 2024
0ac858e
chore(deps): bump undici from 5.28.2 to 5.28.3 (#3039)
dependabot[bot] Mar 20, 2024
68d77c4
chore(deps): bump follow-redirects from 1.15.4 to 1.15.6 (#3083)
dependabot[bot] Mar 21, 2024
baee37b
chore(deps): bump webpack-dev-middleware from 5.3.3 to 5.3.4 (#3092)
dependabot[bot] Mar 22, 2024
1384e44
chore(deps): bump express from 4.18.2 to 4.19.2
dependabot[bot] Mar 28, 2024
1ffcb87
fix: Migrate dialog does not show in v0.114.2
devchenyan Apr 3, 2024
d36318b
fix: spell error
devchenyan Apr 3, 2024
1205e92
chore(deps): bump undici from 5.28.3 to 5.28.4
dependabot[bot] Apr 4, 2024
acfe4b0
fix: typos error (#3104)
devchenyan Apr 7, 2024
7e90bf6
Merge branch 'develop' into fix-374
Keith-CY Apr 7, 2024
5f46825
feat: NeedMigrateMsg
devchenyan Apr 7, 2024
4d1b3bb
fix: Fix sending sudt to a new acp cell with extra 142 CKB by offline…
yanguoyu Apr 8, 2024
2ec01b8
fix: Add react-refresh@0.14.0 to resolutions in root package.json (#3…
twhy Apr 8, 2024
7118fb2
Update ckb client versions (#3097)
github-actions[bot] Apr 8, 2024
78e7f7b
Merge branch 'develop' into dependabot/npm_and_yarn/undici-5.28.4
Keith-CY Apr 10, 2024
129aa3c
fix: Neuron for MacOS crashes on quitting (#3103)
devchenyan Apr 10, 2024
f4027aa
chore(deps): bump undici from 5.28.3 to 5.28.4 in /packages/neuron-wa…
dependabot[bot] Apr 10, 2024
71bb064
refactor: rewrite shannonToCKB with lumos formatUnit (#3114)
twhy Apr 11, 2024
476e982
feat: Remove unnecessary package electron-build-env (#3116)
devchenyan Apr 11, 2024
e039824
feat: Displaying DAO rewards (#3054)
devchenyan Apr 11, 2024
3d3e767
feat: Keep screen awake (#3066)
yanguoyu Apr 12, 2024
de1df5d
refactor: rewrite sudtValueToAmount with formatUnit in neuron-wallet …
twhy Apr 12, 2024
5fe467e
Update ckb client versions (#3122)
github-actions[bot] Apr 13, 2024
f05cff7
chore: Update ckb node assume valid target (#3123)
github-actions[bot] Apr 14, 2024
59fef75
chore: update versions and changelogs
Keith-CY Apr 14, 2024
359d7b7
refactor: rewrite sudtValueToAmount with formatUnit in neuron-ui (#3126)
twhy Apr 16, 2024
4cf6d96
Merge pull request #3127 from nervosnetwork/rc/v0.114.3
Keith-CY Apr 16, 2024
e267009
docs: update ckb version in release note
Keith-CY Apr 16, 2024
bdc0cba
Merge branch 'master' into develop
Keith-CY Apr 17, 2024
5b64e71
fix: If all of the previous Tx hashes are cell base, skip fetch tx. (…
yanguoyu Apr 17, 2024
4ad6015
Merge pull request #3105 from nervosnetwork/dependabot/npm_and_yarn/u…
Keith-CY Apr 17, 2024
ab2e85d
fix: Pop up window can be rolled when error message is long (#3118)
devchenyan Apr 17, 2024
ded6cd4
Merge branch 'develop' into fix-374
devchenyan Apr 17, 2024
8b3486e
fix: View the address transactions order by time to get the first tra…
yanguoyu Apr 18, 2024
06eb3a1
Merge branch 'develop' into dependabot/npm_and_yarn/express-4.19.2
Keith-CY Apr 18, 2024
3981ba6
build(ci): upgrade Electron to v30, ci Node to v20.11.1 (#3133)
twhy Apr 19, 2024
820e073
refactor: rewrite shannonToCKBFormatter with formatUnit (#3129)
twhy Apr 19, 2024
453b2ef
fix: When address is not enough, stop update localSavedBlockNumber (#…
yanguoyu Apr 19, 2024
ac57230
Merge pull request #3101 from nervosnetwork/fix-374
Keith-CY Apr 19, 2024
50d034f
Merge pull request #3096 from nervosnetwork/dependabot/npm_and_yarn/e…
Keith-CY Apr 19, 2024
76c3871
fix: Fix menu when switch language. (#3137)
yanguoyu Apr 29, 2024
128e425
feat: Support lock window for Neuron (#3064)
yanguoyu Apr 29, 2024
4aea8d0
refactor: replace toUint64Le, parseEpoch from ckbCore.utils with lumo…
twhy May 6, 2024
0a3d8a9
fix: Migrate legacy acp to new acp account (#3062)
yanguoyu May 6, 2024
f8e204f
feat: Add a window/dialog after successful transaction actions (#3131)
devchenyan May 6, 2024
c75979b
Fix light sync (#3141)
yanguoyu May 7, 2024
074e64e
fix: When set start block number is less than before, remove all of t…
yanguoyu May 7, 2024
aa4896a
feat: Export the start block number and slice the light client log.
yanguoyu May 8, 2024
45cb237
refactor: refactor ckbCore.utils.xyz with lumos methods (#3142)
twhy May 9, 2024
53c02ba
refactor: replace ckbCore with lumos CKBRPC (#3145)
twhy May 9, 2024
87af5c3
fix: fix ci build error (#3148)
twhy May 10, 2024
724ff2e
Merge branch 'develop' into feat-export-setting
Keith-CY May 10, 2024
cd2e4b0
Merge pull request #3144 from yanguoyu/feat-export-setting
Keith-CY May 10, 2024
3697017
chore(deps): bump ejs from 3.1.9 to 3.1.10 (#3139)
dependabot[bot] May 10, 2024
d0f83ae
refactor: replace ckb-sdk-utils with lumos (#3149)
twhy May 14, 2024
40ec0b2
Update ckb client versions (#3150)
github-actions[bot] May 14, 2024
95e1c97
fix: Fix socket hang (#3143)
yanguoyu May 14, 2024
9060738
chore: Update typeorm to v3 (#2838)
yanguoyu May 14, 2024
b8bad46
refactor: replace models/keys with lumos hd (#3152)
twhy May 15, 2024
beeb8fa
feat: Add help link for sync failed.
yanguoyu May 16, 2024
2fcc43d
feat: Supports amend transactions (#3134)
devchenyan May 20, 2024
39ae73c
chore: Update ckb node assume valid target for rc/v0.116.0.
github-actions[bot] May 20, 2024
597ea47
Merge pull request #3157 from nervosnetwork/chore-update-wallet-env/r…
Keith-CY May 20, 2024
bc4977f
chore: update versions and changelogs
Keith-CY May 20, 2024
ea263b4
Merge pull request #3153 from yanguoyu/feat-add-prompt
Keith-CY May 21, 2024
4a4aa6b
ci: upgrade github actions version (#3161)
twhy May 21, 2024
286f199
fix: Use hex to avoid unexpected string. (#3162)
yanguoyu May 21, 2024
590dc0d
refactor: refactor models/multisig with lumos (#3156)
twhy May 21, 2024
7b5c592
fix: Use lumos to init Buffer (#3164)
yanguoyu May 22, 2024
99ca06e
Update Neuron compatibility table (#3158)
github-actions[bot] May 23, 2024
ecd7fc9
fix: amend transaction when consume cells (#3166)
devchenyan May 23, 2024
399a136
docs: add video introduction to v0.116.0 in changelog
Keith-CY May 23, 2024
3373f2d
Merge pull request #3159 from nervosnetwork/rc/v0.116.0
Keith-CY May 24, 2024
a544080
Merge master into dev (#3168)
yanguoyu May 24, 2024
bed901b
fix: Replace `Asset` to `Amount` and better 'Asset' data format (#3151)
yanguoyu May 24, 2024
b44892a
refactor: replace LumosCell, LumosCellQuery with Cell, QueryOptions (…
twhy May 27, 2024
810ff2f
refactor: remove indexerUrl (#3170)
twhy May 28, 2024
493d07b
perf: Optimize synchronization logic for multiple wallets in the ligh…
yanguoyu May 28, 2024
3b1341e
fix: Fix import hard wallet. (#3173)
yanguoyu May 28, 2024
e823210
chore: update versions and changelogs
Keith-CY May 28, 2024
cfef054
Merge pull request #3175 from nervosnetwork/rc/v0.116.1
Keith-CY May 28, 2024
37b0fbb
Merge branch 'master' into develop
Keith-CY May 28, 2024
c3a2888
fix: Fix action branch sha
yanguoyu May 29, 2024
6af3274
fix: Get firmware version will exit the nervos app, so remove get fir…
yanguoyu May 29, 2024
6cb192c
chore: update versions and changelogs
Keith-CY May 29, 2024
6169a10
Merge pull request #3181 from nervosnetwork/rc/v0.116.2
Keith-CY May 29, 2024
e1b8cdf
Merge pull request #3180 from yanguoyu/fix-action-branch
Keith-CY May 30, 2024
429e880
Merge branch 'master' into develop
Keith-CY May 30, 2024
5d4afb1
feat: Optimize light client external node detection (#3165)
yanguoyu May 30, 2024
29ba444
feat: Support set start block number for multisig address (#3176)
yanguoyu Jun 4, 2024
f6b48b8
chore: fix comment (#3182)
tcpdumppy Jun 5, 2024
24624ee
feat: Add tooltip/title so function of icon buttons will be clear (#3…
devchenyan Jun 6, 2024
ee2fa9b
feat: Consolidate Cells (#3167)
devchenyan Jun 6, 2024
77d99fb
feat: compatible ckb-cli tx multisig file (#3169)
devchenyan Jun 7, 2024
aa100d7
fix: wrong sync status when using devnet (#3183)
devchenyan Jun 12, 2024
681f0b5
fix: Skip package if the last commit is after the comment (#3184)
yanguoyu Jun 18, 2024
cbba584
chore(deps): bump ws from 6.2.2 to 6.2.3 (#3187)
dependabot[bot] Jun 18, 2024
7a14035
Bump deps (#3186)
Keith-CY Jun 18, 2024
981ce74
fix: Optimized Chinese Translation (#3190)
devchenyan Jun 18, 2024
8cbe25e
fix: Warning background in pop-up window (#3189)
devchenyan Jun 21, 2024
fb57415
fix: Show the tip of looking for valid target (#3195)
yanguoyu Jun 24, 2024
878da3c
feat: Add guide for multisig address (#3194)
yanguoyu Jun 25, 2024
4493d79
fix: For windows os the user need to start the Neuron manually after …
yanguoyu Jun 26, 2024
54994c3
feat: Support reset lock window password (#3197)
yanguoyu Jul 1, 2024
d7018b3
feat: Add a prompt when importing wallets from ckb-cli (#3192)
devchenyan Jul 1, 2024
fe2082c
fix: Multisig address sync tip language (#3198)
devchenyan Jul 4, 2024
88859a3
fix: Move the i18n subscribe to the entry of the page. (#3201)
yanguoyu Jul 8, 2024
79df3c0
feat: Make Mulsig Addresses's More button more intuitive (#3203)
devchenyan Jul 9, 2024
6b9b2bc
feat: Optimize the process of importing wallets via phrase seeds (#3200)
devchenyan Jul 15, 2024
bd4f797
feat: Periodic validation of pending transactions (#3199)
devchenyan Jul 16, 2024
316a906
feat: upgrade lumos to 0.23 (#3204)
homura Jul 17, 2024
2ec3ff8
feat: Support XUDT (#3206)
yanguoyu Jul 19, 2024
7326f40
ci: bump github actions (#3209)
Keith-CY Jul 23, 2024
e6e390f
Bump dependencies (#3205)
Keith-CY Jul 24, 2024
7581b67
chore(deps): bump electron-updater from 4.6.5 to 6.3.0 (#3208)
dependabot[bot] Jul 24, 2024
fce7d94
feat: Supports adding light client custom nodes (#3207)
devchenyan Jul 25, 2024
6a80a48
fix: Capacity green progress bar (#3211)
devchenyan Jul 26, 2024
c67fe9d
feat: Remove undici (#3213)
devchenyan Jul 26, 2024
d83ec24
feat: Error message for duplicate import of watch wallet (#3214)
devchenyan Jul 30, 2024
79a8dc2
Update ckb client versions (#3217)
github-actions[bot] Jul 31, 2024
d4c3527
fix: After update lumos, the `min_replace_fee` field has transfer to …
yanguoyu Aug 1, 2024
f470156
fix: Do not close multisig dialog when open action dialog for multisi…
yanguoyu Aug 1, 2024
f0b5387
fix: Exception on checking addresses (#3216)
devchenyan Aug 2, 2024
83cea84
refactor: log error when ledger signing failed (#3212)
homura Aug 2, 2024
0f3e0c2
fix: Fix typo check for passin (#3222)
yanguoyu Aug 2, 2024
6d33380
fix: Use GlobalAlertDialog to replace Notification (#3221)
yanguoyu Aug 5, 2024
b8ba97b
fix: Ignore deleted wallet when ignore duplicate script. (#3220)
yanguoyu Aug 5, 2024
4e46d03
fix: Remove unexpected value in log (#3224)
yanguoyu Aug 7, 2024
56acea4
chore: Update ckb node assume valid target (#3227)
github-actions[bot] Aug 8, 2024
ded929d
chore: update versions and changelogs
Keith-CY Aug 8, 2024
2169973
Update Neuron compatibility table (#3229)
github-actions[bot] Aug 8, 2024
dc6d50c
chore: make run.ts independent from neuron (#3231)
homura Aug 11, 2024
dfdae8e
feat: encrypt blake160 list in the log (#3234)
Keith-CY Aug 12, 2024
ee2a69b
ci: inject environment variables from github action (#3233)
Keith-CY Aug 12, 2024
47ad12f
docs: update youtube address of v0.117.0
Keith-CY Aug 12, 2024
19b23bf
fix: remove CRs when inject environment variables (#3236)
Keith-CY Aug 12, 2024
bc88e27
Merge pull request #3228 from nervosnetwork/rc/v0.117.0
Keith-CY Aug 12, 2024
a78816c
Merge pull request #3237 from nervosnetwork/master
Keith-CY Aug 13, 2024
3c34ab3
Update ckb client versions (#3238)
github-actions[bot] Aug 13, 2024
e9eab5e
feat: Support load env from env file. (#3226)
yanguoyu Aug 14, 2024
5c11fff
fix: the remaining time display in Nervos DAO is abnormal (#3239)
devchenyan Aug 27, 2024
ae4af6e
Update ckb client versions (#3248)
github-actions[bot] Sep 20, 2024
ebcb602
fix: Asset Accounts UI (#3252)
devchenyan Oct 24, 2024
e4fe532
chore(deps): bump elliptic from 6.5.5 to 6.5.7 (#3251)
dependabot[bot] Oct 29, 2024
525afe1
chore(deps): bump markdown-to-jsx from 7.2.1 to 7.5.0 (#3253)
dependabot[bot] Oct 29, 2024
4f6f5df
fix: fix typo of February (#3261)
Keith-CY Nov 6, 2024
5febee3
chore(deps): bump http-proxy-middleware from 2.0.6 to 2.0.7 (#3254)
dependabot[bot] Nov 7, 2024
fadd0fd
chore(deps): bump rollup from 2.79.1 to 2.79.2 (#3250)
dependabot[bot] Nov 7, 2024
a9d5ba9
chore(deps): bump elliptic from 6.5.7 to 6.6.0 (#3258)
dependabot[bot] Nov 7, 2024
df07ba8
chore(deps): bump express from 4.19.2 to 4.21.0 (#3249)
dependabot[bot] Nov 7, 2024
f26762c
fix: Use median as the fee rate (#3246)
yanguoyu Nov 11, 2024
5c57da1
chore(deps): bump tar from 6.1.15 to 6.2.1 (#3262)
dependabot[bot] Nov 19, 2024
9eca439
chore(deps-dev): bump webpack from 5.89.0 to 5.94.0 (#3240)
dependabot[bot] Nov 20, 2024
210b83e
Update ckb client versions (#3255)
github-actions[bot] Nov 29, 2024
5ce5e8f
chore: Update ckb node assume valid target (#3268)
github-actions[bot] Nov 29, 2024
421a51a
Update Neuron compatibility table (#3270)
github-actions[bot] Nov 29, 2024
e2affda
chore: update versions and changelogs
Keith-CY Nov 29, 2024
39fea37
Merge pull request #3269 from nervosnetwork/rc/v0.119.0
Keith-CY Dec 2, 2024
483a289
Merge released refs/tags/v0.119.0 into develop (#3272)
github-actions[bot] Dec 3, 2024
56576e4
Update ckb client versions (#3279)
github-actions[bot] Dec 13, 2024
3d3546f
chore: change hw sdk to forked one (#3281)
Keith-CY Dec 13, 2024
f5942d7
feat: handle hash_type:data2 (#3280)
Keith-CY Dec 13, 2024
992ccad
- Support Arabic, FrCanadian/Belgian in User Interface (#3271) (#3274)
Keith-CY Dec 13, 2024
d7228da
chore(deps): bump nanoid from 3.3.6 to 3.3.8 (#3278)
dependabot[bot] Dec 13, 2024
7ed48f2
Merge branch 'master' into develop
Keith-CY Dec 13, 2024
0d64329
ci: add a spam comment detection (#3288)
Keith-CY Dec 23, 2024
9198e8b
ci: set proper permission for spam detection action (#3292)
Keith-CY Jan 6, 2025
a6be675
ci: refine ci for spam detection (#3295)
Keith-CY Jan 9, 2025
7cc4585
feat: Optimize Sign/verify Message (#3293)
devchenyan Jan 13, 2025
9a77b74
feat: Ability to display/export the private key (#3290)
devchenyan Jan 14, 2025
764e34a
Merge released refs/tags/v0.120.0 into develop (#3286)
github-actions[bot] Jan 14, 2025
bd5c3ac
feat: update ckb client versions (#3297)
Keith-CY Jan 14, 2025
16b6bb5
Merge released refs/tags/v0.121.0 into develop (#3303)
github-actions[bot] Jan 16, 2025
a73282e
Update ckb client versions (#3299)
github-actions[bot] Jan 24, 2025
eb7c83b
fix: Offline multisig with complex transaction (#3291)
devchenyan Feb 7, 2025
1f692b9
chore(deps): bump store2 from 2.14.2 to 2.14.4 (#3304)
dependabot[bot] Feb 11, 2025
95823eb
feat: Manage Nervos DAO with multisig address (#3298)
devchenyan Feb 12, 2025
c68f454
fix: Nervos Dao record will lost for a while (#3309)
devchenyan Feb 12, 2025
c4dcf99
Merge released refs/tags/v0.121.1 into develop (#3313)
github-actions[bot] Feb 14, 2025
f7324c7
Update ckb client versions (#3315)
github-actions[bot] Feb 15, 2025
03a35df
chore(deps): bump elliptic from 6.6.0 to 6.6.1 (#3314)
dependabot[bot] Feb 17, 2025
a070b9f
fix: Hide 'View Private Key' when Neuron connects to a hardware walle…
devchenyan Feb 18, 2025
0a2deb6
fix: Network setting type can not be saved (#3316)
devchenyan Feb 18, 2025
1df195d
fix: cursor move to last position (#3318)
devchenyan Feb 19, 2025
1ccb2d7
feat: Optimization Log (#3319)
devchenyan Feb 19, 2025
bb4c6ce
feat: Optimize data migration (#3321)
devchenyan Feb 28, 2025
9be8e22
feat: assume_valid_target (#3307)
devchenyan Mar 3, 2025
ecd4095
feat: Support UDT destruction (#3323)
devchenyan Mar 6, 2025
d6bea20
feat: Replace react-script to vite
devchenyan Mar 8, 2025
fbb9f92
fix
devchenyan Mar 8, 2025
6465cb5
fix
devchenyan Mar 8, 2025
206e772
fix: build
devchenyan Mar 9, 2025
ceb6345
fix
devchenyan Mar 9, 2025
fe90974
fix
devchenyan Mar 9, 2025
4ab3402
fix
devchenyan Mar 9, 2025
fa4ef6e
fix: package
devchenyan Mar 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .ckb-light-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.3.6
v0.4.1
2 changes: 1 addition & 1 deletion .ckb-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.113.1
v0.121.0
4 changes: 2 additions & 2 deletions .github/workflows/check-code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
cache: "yarn"

- name: Restore
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
node_modules
Expand All @@ -31,7 +31,7 @@ jobs:

- name: Changed Files
id: changed-files
uses: tj-actions/changed-files@v41
uses: tj-actions/changed-files@v44
with:
files: "packages/**/*.{js,cjs,mjs,jsx,ts,tsx,css,scss}"

Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/check_checksums.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@ jobs:
compare:
name: Compare checksums
runs-on: macos-latest
environment: Release
permissions:
contents: write # to append checksum for each commit
actions: read # to read artifacts
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Generate checksums from artifacts
run:
ruby ./scripts/release-checksums.rb ${{ github.event.release.tag_name }} | tee generated_checksums.txt
run: ruby ./scripts/release-checksums.rb ${{ github.event.release.tag_name }} | tee generated_checksums.txt

- name: Fetch checksums from release note
run: |
Expand All @@ -36,4 +39,3 @@ jobs:
- uses: peter-evans/commit-comment@v3
with:
body: ${{ steps.comment_body.outputs.body }}

4 changes: 2 additions & 2 deletions .github/workflows/check_storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
node:
- 18.12.0
- 20.15.1
os:
- macos-latest
- ubuntu-20.04
Expand All @@ -35,7 +35,7 @@ jobs:
cache: "yarn"

- name: Restore
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
node_modules
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/checksums-of-release-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
jobs:
checksums:
runs-on: ubuntu-latest
permissions:
contents: read
actions: read
if: github.event.workflow_run.conclusion == 'success'
steps:
- name: Checkout
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/merge_released_into_develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ jobs:
merge-to-dev:
name: Merge into develop
runs-on: ubuntu-latest
environment: Release
permissions:
pull-requests: write
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v4
- name: Request
uses: repo-sync/pull-request@v2
with:
Expand Down
23 changes: 16 additions & 7 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,18 @@ jobs:
strategy:
matrix:
node:
- 18.12.0
- 20.15.1
os:
- macos-latest
- ubuntu-20.04
- windows-2019

runs-on: ${{ matrix.os }}

environment: Release
permissions:
contents: write

name: ${{ matrix.os }}(Node.js ${{ matrix.node }})

steps:
Expand All @@ -38,7 +42,7 @@ jobs:
cache: "yarn"

- name: Restore
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
node_modules
Expand All @@ -47,7 +51,7 @@ jobs:

- name: Add msbuild to PATH
if: matrix.os == 'windows-2019'
uses: microsoft/setup-msbuild@v1.3.1
uses: microsoft/setup-msbuild@v2
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"

Expand Down Expand Up @@ -99,6 +103,11 @@ jobs:
env:
CI: false

# Inject LOG_ENCRYPTION_PUBLIC_KEY to encrypt sensitive log
- name: Inject environment variables
run: |
echo "LOG_ENCRYPTION_PUBLIC_KEY=${{ secrets.LOG_ENCRYPTION_PUBLIC_KEY }}" >> packages/neuron-wallet/.env

- name: Package for MacOS
if: matrix.os == 'macos-latest'
run: |
Expand Down Expand Up @@ -134,28 +143,28 @@ jobs:
if: matrix.os == 'macos-latest'
uses: actions/upload-artifact@v4
with:
name: Neuron-Mac
name: Neuron-Mac-x64
path: release/Neuron-*-mac-x64.zip

- name: Upload Neuron App Zip(arm64)
if: matrix.os == 'macos-latest'
uses: actions/upload-artifact@v4
with:
name: Neuron-Mac
name: Neuron-Mac-arm64
path: release/Neuron-*-mac-arm64.zip

- name: Upload Neuron Dmg
if: matrix.os == 'macos-latest'
uses: actions/upload-artifact@v4
with:
name: Neuron-Dmg
name: Neuron-Dmg-x64
path: release/Neuron-*-x64.dmg

- name: Upload Neuron Dmg(arm64)
if: matrix.os == 'macos-latest'
uses: actions/upload-artifact@v4
with:
name: Neuron-Dmg
name: Neuron-Dmg-arm64
path: release/Neuron-*-arm64.dmg

- name: Upload Neuron Win
Expand Down
54 changes: 47 additions & 7 deletions .github/workflows/package_for_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,28 @@ name: Package Neuron for Test

on:
issue_comment:
types: [created, edited]
types: [created]
push:

jobs:
packaging:
if: ${{ (github.event_name == 'issue_comment' && github.event.issue.pull_request && startsWith(github.event.comment.body, '/package')) || github.event_name == 'push' }}
if: ${{ (github.event_name == 'issue_comment' && github.event.issue.pull_request && startsWith(github.event.comment.body, '/package') && contains(fromJSON('["OWNER", "COLLABORATOR"]'), github.event.comment.author_association)) || github.event_name == 'push' }}

strategy:
matrix:
node:
- 18.12.0
- 20.15.1
os:
- macos-latest
- ubuntu-20.04
- windows-2019

runs-on: ${{ matrix.os }}

permissions:
contents: read
pull-requests: read

name: ${{ matrix.os }}(Node.js ${{ matrix.node }})

env:
Expand All @@ -42,14 +46,45 @@ jobs:
with:
ref: refs/pull/${{ github.event.issue.number }}/merge

- name: Ensure no more commits after the triggering comment
uses: actions/github-script@v7
if: ${{ github.event_name == 'issue_comment' }}
env:
ISSUE_NUMBER: ${{github.event.issue.number}}
COMMENT_ID: ${{ github.event.comment.id }}
with:
script: |
const { ISSUE_NUMBER, COMMENT_ID } = process.env
let page = 1
let hasFoundComment = false
while(true) {
const { data: timelines } = await github.rest.issues.listEventsForTimeline({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: ISSUE_NUMBER,
page,
per_page: 100,
})
if (timelines.some(v => {
hasFoundComment = hasFoundComment || (v.event === 'commented' && `${v.id}` === `${COMMENT_ID}`)
return hasFoundComment && v.event === 'committed'
})) {
throw new Error('The last commit comes after the comment, please comment and package after last commit')
}
if (timelines.length === 0) {
return
}
page += 1
}

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: "yarn"

- name: Restore
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
node_modules
Expand All @@ -58,7 +93,7 @@ jobs:

- name: Add msbuild to PATH
if: matrix.os == 'windows-2019'
uses: microsoft/setup-msbuild@v1.3.1
uses: microsoft/setup-msbuild@v2
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"

Expand Down Expand Up @@ -208,6 +243,9 @@ jobs:
needs: [packaging]
name: Append links to the Pull Request
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- name: Comment by push event
if: ${{ github.event_name == 'push' }}
Expand All @@ -218,7 +256,7 @@ jobs:

- name: Comment by pull request comment event
if: ${{ github.event_name == 'issue_comment' }}
uses: peter-evans/create-or-update-comment@v3
uses: peter-evans/create-or-update-comment@v4
with:
comment-id: ${{ github.event.comment.id }}
body: |
Expand All @@ -230,10 +268,12 @@ jobs:
if: ${{ always() && needs.packaging.result == 'failure' }}
name: Append failed comment to the comment
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Comment by pull request comment event when package failed
if: ${{ github.event_name == 'issue_comment' }}
uses: peter-evans/create-or-update-comment@v3
uses: peter-evans/create-or-update-comment@v4
with:
comment-id: ${{ github.event.comment.id }}
body: Packageing failed in [${{ github.run_id }}](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}). @${{ github.event.comment.user.login }}
Expand Down
49 changes: 49 additions & 0 deletions .github/workflows/spam-comment-detection.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Spam detection

on:
issue_comment:
types: [created, edited]

permissions:
issues: write

jobs:
detect-spam:
runs-on: ubuntu-latest
steps:
- name: Set up Node.js
uses: actions/setup-node@main

- name: Check for Spam
uses: actions/github-script@v7
with:
script: |
const comment = process.env.COMMENT_BODY.toLowerCase()
const spam_words = process.env.SPAM_WORDS.split(',').map(w => w.toLowerCase())
const comment_id = process.env.COMMENT_ID
const issue_number = process.env.ISSUE_NUMBER
const owner = process.env.REPO_OWNER
const repo = process.env.REPO_NAME
const EXTERNAL_LINK_REGEXT = /https?:\/\/(?!((\w+\.)?github\.com|github\.com|(\w+\.)?magickbase\.com|(\w+\.)?nervos\.org))/gi
if (spam_words.some(w => comment.includes(w))) {
console.info(`Spam comment: ${comment}`)
github.rest.issues.deleteComment({ owner, repo, comment_id })
} else if (EXTERNAL_LINK_REGEXT.test(comment)) {
console.info(`External link detected, append an annotation`)
github.rest.issues.createComment({
owner,
repo,
issue_number,
body: `An external link is mentioned in the comment above. Please verify the link's safety before visiting.`
})
} else {
console.info("No spam detected")
}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMMENT_BODY: ${{ github.event.comment.body }}
COMMENT_ID: ${{ github.event.comment.id }}
ISSUE_NUMBER: ${{ github.event.issue.number }}
REPO_OWNER: ${{github.repository_owner }}
REPO_NAME: ${{ github.event.repository.name }}
SPAM_WORDS: ${{ secrets.SPAM_WORDS }}
4 changes: 2 additions & 2 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
node:
- 18.12.0
- 20.15.1
os:
- macos-latest
- ubuntu-20.04
Expand All @@ -35,7 +35,7 @@ jobs:
cache: "yarn"

- name: Restore
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
node_modules
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/update_ckb_client_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
default:
name: Update CKB client versions
runs-on: ubuntu-latest
environment: neuron-bot
permissions:
pull-requests: write # open PR
contents: write # update version files
Expand All @@ -19,7 +20,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x
node-version: 20.15.1

- name: Update versions
id: update_versions
Expand All @@ -36,7 +37,7 @@ jobs:
git_commit_gpgsign: true

- name: Open PR to develop branch
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v6
with:
title: Update ckb client versions
commit-message: 'feat: update ckb client versions'
Expand Down
Loading
Loading