Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.117.0 #3228

Merged
merged 61 commits into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
beeb8fa
feat: Add help link for sync failed.
yanguoyu May 16, 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
590dc0d
refactor: refactor models/multisig with lumos (#3156)
twhy May 21, 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
37b0fbb
Merge branch 'master' into develop
Keith-CY May 28, 2024
c3a2888
fix: Fix action branch sha
yanguoyu 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
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ckb-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.116.1
v0.117.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
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
2 changes: 1 addition & 1 deletion .github/workflows/merge_released_into_develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
permissions:
pull-requests: write
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v4
- name: Request
uses: repo-sync/pull-request@v2
with:
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
node:
- 18.12.0
- 20.15.1
os:
- macos-latest
- ubuntu-20.04
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
cache: "yarn"

- name: Restore
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
node_modules
Expand All @@ -51,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 @@ -103,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
41 changes: 36 additions & 5 deletions .github/workflows/package_for_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
node:
- 18.12.0
- 20.15.1
os:
- macos-latest
- ubuntu-20.04
Expand Down Expand Up @@ -46,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 @@ -62,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 @@ -225,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 @@ -242,7 +273,7 @@ jobs:
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
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:
- 20.11.1
- 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
4 changes: 2 additions & 2 deletions .github/workflows/update_ckb_client_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,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 @@ -37,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
4 changes: 2 additions & 2 deletions .github/workflows/update_neuron_compatible.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 20.15.1

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

- name: Open PR to RC branch
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v6
with:
title: Update Neuron compatibility table
commit-message: 'feat: Update Neuron compatibility table'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/update_wallet_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ jobs:
if: ${{ startsWith(github.ref_name, 'rc/') }}
steps:
- name: Create Branch
uses: peterjgrainger/action-create-branch@v2.4.0
uses: peterjgrainger/action-create-branch@v3.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
branch: 'chore-update-wallet-env/${{github.ref_name}}'
sha: '${{ github.event.create.head.sha }}'
sha: '${{ github.sha }}'

- name: Checkout
uses: actions/checkout@v4
with:
ref: 'chore-update-wallet-env/${{github.ref_name}}'

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18.12.0
node-version: 20.15.1

- name: Write env file
run: |
Expand Down
60 changes: 51 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,45 @@
# 0.117.0 (2024-08-12)

### CKB Node & Light Client

- [CKB@v0.117.0](https://github.com/nervosnetwork/ckb/releases/tag/v0.117.0) was released on Jul. 29th, 2024. This version of CKB node is now bundled and preconfigured in Neuron.
- [CKB Light Client@v0.3.7](https://github.com/nervosnetwork/ckb-light-client/releases/tag/v0.3.7) was released on Apr. 13th, 2024. This version of CKB Light Client is now bundled and preconfigured in Neuron

### Assumed valid target

Block before `0xca44ae8f7bc12ba8eab3224cbe3156c913e2284693e36dc1d01e4d30f362f3c2`(at height `13,705,152`) will be skipped in validation.(https://github.com/nervosnetwork/neuron/pull/3227)

---

[![Neuron@v0.117.0](https://github.com/user-attachments/assets/7d2eba67-e33e-4fca-a714-7ba1709d8bd3)](https://youtu.be/zf78Y094m60)

YouTube: https://youtu.be/zf78Y094m60

---

## New features

- #3206: Support XUDT asset management.(@yanguoyu)
- #3207: Support connecting to an external light client.(@devchenyan)
- #3167: Support cells consolidation.(@devchenyan)
- #3199: Validate pending transactions periodically.(@devchenyan)
- #3200: Optimize the process of generating a wallet.(@devchenyan)
- #3176: Support setting start block numbers of multisig addresses.(@yanguoyu)
- #3160: Optimize synchronization in light client mode for multiple wallets.(@yanguoyu)
- #3169: Be compatible with multisig transaction JSON file exported from CKB CLI.(@devchenyan)
- #3197: Support resetting pin code for window lock.(@yanguoyu)
- #3194: Add a tip for multisig addresses.(@yanguoyu)

## Bug fixes

- #3195: Fix the synchronization status check.(@yanguoyu)

## New Contributors

- @tcpdumppy made their first contribution in https://github.com/nervosnetwork/neuron/pull/3182

**Full Changelog**: https://github.com/nervosnetwork/neuron/compare/v0.116.2...v0.117.0

# 0.116.2 (2024-05-29)

### CKB Node & Light Client
Expand Down Expand Up @@ -57,18 +99,18 @@ YouTube: https://youtu.be/QXv8by2C8zU

## New features

- 3134: Support 'replace-by-fee' nervos dao transactions and sudt transactions.(@devchenyan)
- 3144: Reduce size of light client log in debug information and reveal start-block-number in log.(@yanguoyu)
- 3064: Support locking window by pin code.(@yanguoyu)
- 3131: Add detailed result for nervos dao transaction.(@devchenyan)
- #3134: Support 'replace-by-fee' nervos dao transactions and sudt transactions.(@devchenyan)
- #3144: Reduce size of light client log in debug information and reveal start-block-number in log.(@yanguoyu)
- #3064: Support locking window by pin code.(@yanguoyu)
- #3131: Add detailed result for nervos dao transaction.(@devchenyan)

## Bug fixes

- 3121: Locate the first transaction on Explorer directly when users want to set the start-block-number for light client.(@yanguoyu)
- 3101: Show migration instruction properly.(@devchenyan)
- 3062: Migrate legacy ACP to active ACP account(@yanguoyu)
- 3141: Fix some issues about light client synchronizaiton.(@yanguoyu)
- 3120: Remove all sync data when start-block-number is set less than before.(@yanguoyu)
- #3121: Locate the first transaction on Explorer directly when users want to set the start-block-number for light client.(@yanguoyu)
- #3101: Show migration instruction properly.(@devchenyan)
- #3062: Migrate legacy ACP to active ACP account(@yanguoyu)
- #3141: Fix some issues about light client synchronizaiton.(@yanguoyu)
- #3120: Remove all sync data when start-block-number is set less than before.(@yanguoyu)

**Full Changelog**: https://github.com/nervosnetwork/neuron/compare/v0.114.3...v0.116.0

Expand Down
1 change: 1 addition & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ thur = "thur"
numer = "numer"
HD = "HD"
hd = "hd"
passin = 'passin'

# defined in database schema
lastest = "lastest"
Expand Down
23 changes: 23 additions & 0 deletions compatible.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"fullVersions": [
"0.117",
"0.116",
"0.115",
"0.114",
Expand All @@ -22,6 +23,7 @@
"compatible": {
"0.111": {
"full": [
"0.117",
"0.116",
"0.115",
"0.114",
Expand All @@ -38,6 +40,7 @@
},
"0.110": {
"full": [
"0.117",
"0.116",
"0.115",
"0.114",
Expand Down Expand Up @@ -70,6 +73,7 @@
},
"0.112": {
"full": [
"0.117",
"0.116",
"0.115",
"0.114",
Expand All @@ -86,6 +90,7 @@
},
"0.114": {
"full": [
"0.117",
"0.116",
"0.115",
"0.114",
Expand All @@ -102,6 +107,24 @@
},
"0.116": {
"full": [
"0.117",
"0.116",
"0.115",
"0.114",
"0.113",
"0.112",
"0.111",
"0.110",
"0.109"
],
"light": [
"0.3",
"0.2"
]
},
"0.117": {
"full": [
"0.117",
"0.116",
"0.115",
"0.114",
Expand Down
Loading
Loading