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.110.0 #2688

Merged
merged 81 commits into from
May 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
767ac5b
Merge pull request #2558 from nervosnetwork/master
Keith-CY Dec 28, 2022
ddaa84e
feat: Upgrade electron to 22.0.0
yanguoyu Dec 13, 2022
ed658c2
Fix typo in hardware wallet message
e00dan Dec 31, 2022
10d10ba
chore(deps-dev): bump eslint in /packages/ckb-indexer
dependabot[bot] Jan 2, 2023
f8fb908
Merge pull request #2561 from nervosnetwork/dependabot/npm_and_yarn/p…
Keith-CY Jan 3, 2023
474af2a
Merge pull request #2544 from yanguoyu/feat-update-electron
Keith-CY Jan 3, 2023
5986594
Merge pull request #2559 from Kuzirashi/Kuzirashi-patch-1
Keith-CY Jan 3, 2023
1f2d884
fix: Use batch rpc to request result. Optimization sql search. (#2530)
yanguoyu Jan 5, 2023
d33cea3
feat: Set allowToChangeInstallationDirectory for windows. (#2567)
yanguoyu Jan 9, 2023
f1c4450
ci: add github action to manage stale issues
Keith-CY Jan 12, 2023
4dcbe0c
Merge pull request #2569 from nervosnetwork/add-ci-to-manage-stale-is…
Keith-CY Jan 12, 2023
a1b00f1
chore: add custom stale label of issues
Keith-CY Jan 12, 2023
5a46b2b
fix: fix close-issue-reason in close stale issue action
Keith-CY Jan 15, 2023
33a3470
Bump some dependancies (#2514)
Keith-CY Jan 16, 2023
a1d54d9
Merge pull request #2572 from nervosnetwork/fix-close-issue-reason-in-ci
Keith-CY Jan 16, 2023
5f944df
fix: Sometimes RPC timeout but ckb is living
yanguoyu Jan 18, 2023
80b5802
Merge pull request #2574 from yanguoyu/fix-ckb-monitor
Keith-CY Jan 20, 2023
e1a2644
Merge pull request #2568 from nervosnetwork/test-package
Keith-CY Jan 31, 2023
affc5bd
feat: upgrade ckb node to v0.107.0
Keith-CY Feb 1, 2023
b0b696c
chore: update copyright duration from 2019-2022 to 2019-2023
Keith-CY Feb 2, 2023
7a508c2
Merge pull request #2580 from nervosnetwork/update-copyright-duration
Keith-CY Feb 4, 2023
b9aa2c9
Merge pull request #2579 from nervosnetwork/upgrade-ckb-node
Keith-CY Feb 4, 2023
a0887b6
Update dependencies (#2582)
Keith-CY Feb 5, 2023
c46fe25
fix: Remove old indexer data and fix typo. (#2565)
yanguoyu Feb 10, 2023
cc7e7bc
fix: fix typo of migrate
Keith-CY Feb 12, 2023
269ae42
chore(deps): bump undici from 5.13.0 to 5.19.1
dependabot[bot] Feb 16, 2023
18df45d
Merge pull request #2589 from nervosnetwork/dependabot/npm_and_yarn/u…
Keith-CY Feb 22, 2023
863247e
Merge pull request #2586 from nervosnetwork/fix-typo-of-migrate
Keith-CY Feb 27, 2023
1f19cca
fix: Init wallet device. (#2581)
yanguoyu Feb 28, 2023
1d87c39
fix: Restart or stop sync process by connectionStatusSubject.
yanguoyu Feb 28, 2023
7cebb1c
fix: Save addresses to local storage when update addresses
yanguoyu Mar 3, 2023
b2e8676
fix: messages.codes.SQLITE_MISUSE (#2575) '
devchenyan Mar 16, 2023
9300fae
Merge pull request #2609 from devchenyan/develop
Keith-CY Mar 17, 2023
e15772f
Merge pull request #2595 from yanguoyu/fix-connection-wrong
Keith-CY Mar 20, 2023
67bcd86
Merge pull request #2597 from yanguoyu/fix-issue-107
Keith-CY Mar 20, 2023
b3db62a
feat: Add node version and start parameter judgement. (#2610)
yanguoyu Mar 25, 2023
9e559cb
Refactored Calendar component to remove dependency of primereact. (#2592
mortoys Mar 25, 2023
e8f56e1
fix: fix error on multisig dialog
Keith-CY Mar 31, 2023
ec20575
Merge pull request #2623 from nervosnetwork/fix-error-on-multisig-dialog
Keith-CY Apr 3, 2023
8d7e270
Update dependencies (#2585)
Keith-CY Apr 4, 2023
085e1f2
feat: download ckb_aarch64 for neuron-arm64 (#2627)
Keith-CY Apr 6, 2023
1cf76c1
Feat/implement dynamic fee rate based on fee rate statistics (#2599)
alexsupa597 Apr 14, 2023
f568124
ci: update reviewers and action versions
Keith-CY Apr 14, 2023
e28ddd6
fix: fix parsing deposit time in nervos dao
Keith-CY Apr 14, 2023
277aa7c
ci: add an action to add "replied" label automatically
Keith-CY Apr 16, 2023
2322e40
Merge pull request #2635 from nervosnetwork/fix-dao-time-parse
Keith-CY Apr 17, 2023
0b83077
Merge pull request #2634 from nervosnetwork/update-ci
Keith-CY Apr 17, 2023
7806e7a
Update dependencies (#2628)
Keith-CY Apr 17, 2023
4c6ef29
fix: Fix when enter over 8 decimal crash. (#2629)
yanguoyu Apr 17, 2023
f7b7371
Merge pull request #2636 from nervosnetwork/add-replied-label-automat…
Keith-CY Apr 19, 2023
678ff83
ci: fix the add-label action (#2643)
Keith-CY Apr 23, 2023
03b40ee
refactor: use github rest api to update labels
Keith-CY Apr 23, 2023
0515a44
Merge pull request #2644 from nervosnetwork/refactor-add-replied-labe…
Keith-CY Apr 24, 2023
dd06df3
refactor: fallback to false instead of throw in label action
Keith-CY Apr 25, 2023
4a9e1dc
fix: fix typo
Keith-CY Apr 25, 2023
f5f4b79
Merge pull request #2648 from nervosnetwork/fix-typo
Keith-CY Apr 25, 2023
6bee124
feat: Add dialog warn for migrate date to 0.108 (#2651)
yanguoyu Apr 26, 2023
20da080
fix: failed to connect to ckb rpc after upgrading electron to v23
WhiteMinds Apr 27, 2023
0952040
Merge pull request #2652 from WhiteMinds/fix/122_RPCConnectErrorOnEle…
Keith-CY Apr 28, 2023
5b7f4cd
chore: use macos-latest for package
WhiteMinds May 5, 2023
e0a2fdc
fix: applyLocalhostIPv4Resolve caused additional impact
WhiteMinds May 6, 2023
70c604b
feat: provide loading for the detail button on the history page
WhiteMinds May 6, 2023
3cc5163
Merge pull request #2655 from WhiteMinds/fix/122_AdditionalImpact
Keith-CY May 8, 2023
39725b5
Merge pull request #2656 from WhiteMinds/feat/129_DetailButtonUX
WhiteMinds May 8, 2023
0f3c4c8
chore(deps): update typescript to 5.0.4
yanguoyu May 10, 2023
e96d686
fix: Add min-height avoid dialog truncation
yanguoyu May 10, 2023
b314dfc
Merge pull request #2661 from yanguoyu/fix-claim-dialog
Keith-CY May 11, 2023
f4f1073
Merge pull request #2660 from yanguoyu/chore-typescript
Keith-CY May 12, 2023
1578965
Merge pull request #2664 from nervosnetwork/workflow-macos-latest
Keith-CY May 15, 2023
df6bf91
docs: proxy when install (#2657)
homura May 15, 2023
5950982
fix: Fix deposit dao (#2663)
yanguoyu May 15, 2023
0367857
Fix the current problematic ESLint and Prettier workflow (#2662)
WhiteMinds May 16, 2023
6bdd7e4
refactor: resolve some eslint warnings
WhiteMinds May 16, 2023
ac9afe2
Merge pull request #2671 from WhiteMinds/fix/ESLintWarnnings
Keith-CY May 16, 2023
0789169
chore: upgrade typeorm to 0.2.45 (#2680)
WhiteMinds May 23, 2023
99dbd96
feat: improve the interaction design of the DatetimePicker component …
WhiteMinds May 23, 2023
600dbc5
fix: download x64 portable and fix running neuron locally (#2686)
yanguoyu May 26, 2023
6ee3e00
feat: update ckb node version and assume valid target (#2689)
Keith-CY May 29, 2023
1dfd255
feat: Adapt ckb light node (#2590) (#2615)
Keith-CY May 29, 2023
9da3ccd
Merge branch 'develop' into rc/v0.110.0
Keith-CY May 29, 2023
7272fe7
chore: update update neuron version and changelog
Keith-CY May 29, 2023
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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .ckb-light-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v0.2.4
2 changes: 1 addition & 1 deletion .ckb-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.106.0
v0.110.0
59 changes: 59 additions & 0 deletions .github/workflows/add-replied-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Add 'replied' label

on:
issue_comment:
types: [created]

jobs:
add-label:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- id: check-access
name: Check if the commenter is a collaborator
uses: actions/github-script@v4
with:
script: |
try{
const response = await github.repos.checkCollaborator({
owner: context.repo.owner,
repo: context.repo.repo,
username: context.payload.comment.user.login,
})
return response.status === 204
} catch {
return false
}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- id: check-issue
name: Check if the comment is replied in an issue
uses: actions/github-script@v4
with:
script: |
const response = await github.issues.get({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
})
return response.data.pull_request === undefined
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- id: add-label
name: Add 'replied' label
if: ${{ steps.check-access.outputs.result == 'true' && steps.check-issue.outputs.result == 'true' }}
uses: actions/github-script@v4
with:
script: |
await github.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
labels: process.env.labels.split(', '),
})
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
labels: 'replied'
4 changes: 2 additions & 2 deletions .github/workflows/check_checksums.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Generate checksums from artifacts
run:
Expand All @@ -33,7 +33,7 @@ jobs:
body="${body//$'\r'/'%0D'}"
echo ::set-output name=body::$body

- uses: peter-evans/commit-comment@v1
- uses: peter-evans/commit-comment@v2
with:
body: ${{ steps.comment_body.outputs.body }}

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 @@ -17,6 +17,6 @@ jobs:
source_branch: 'master'
destination_branch: 'develop'
pr_title: 'Merge released ${{ github.ref }} into develop'
pr_reviewer: 'keith-cy,yuche,kellyshang'
pr_reviewer: 'keith-cy'
pr_label: 'auto-pr'
github_token: ${{ secrets.GITHUB_TOKEN }}
36 changes: 18 additions & 18 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
push:
branches:
- master
- "rc/**"
- "hotfix/**"
- 'rc/**'
- 'hotfix/**'

jobs:
default:
Expand All @@ -14,7 +14,7 @@ jobs:
node:
- 18.12.0
os:
- macos-11
- macos-latest
- ubuntu-20.04
- windows-2019

Expand All @@ -29,16 +29,16 @@ jobs:
git config --global core.eol lf

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

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

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

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

- name: Install libudev
if: matrix.os == 'ubuntu-20.04'
Expand All @@ -67,7 +67,7 @@ jobs:
CI: false

- name: Package for MacOS
if: matrix.os == 'macos-11'
if: matrix.os == 'macos-latest'
run: |
./scripts/download-ckb.sh mac
yarn release mac
Expand Down Expand Up @@ -99,43 +99,43 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload Neuron App Zip
if: matrix.os == 'macos-11'
uses: actions/upload-artifact@v2
if: matrix.os == 'macos-latest'
uses: actions/upload-artifact@v3
with:
name: Neuron-Mac
path: release/Neuron-*-mac-x64.zip

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

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

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

- name: Upload Neuron Win
if: matrix.os == 'windows-2019'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Neuron-Win
path: release/Neuron-*-setup.exe

- name: Upload Neuron Linux
if: matrix.os == 'ubuntu-20.04'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Neuron-Linux
path: release/Neuron-*.AppImage
42 changes: 21 additions & 21 deletions .github/workflows/package_for_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
node:
- 18.12.0
os:
- macos-11
- macos-latest
- ubuntu-20.04
- windows-2019

Expand All @@ -24,16 +24,16 @@ jobs:
git config --global core.eol lf

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

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

- name: Restore
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
node_modules
Expand All @@ -42,9 +42,9 @@ jobs:

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

- name: Install libudev
if: matrix.os == 'ubuntu-20.04'
Expand All @@ -62,7 +62,7 @@ jobs:
CI: false

- name: Package for MacOS
if: matrix.os == 'macos-11'
if: matrix.os == 'macos-latest'
run: |
./scripts/download-ckb.sh mac
yarn package:test mac
Expand Down Expand Up @@ -94,43 +94,43 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload Neuron App Zip
if: matrix.os == 'macos-11'
uses: actions/upload-artifact@v2
if: matrix.os == 'macos-latest'
uses: actions/upload-artifact@v3
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@v2
uses: actions/upload-artifact@v3
with:
name: Neuron-Mac
name: Neuron-Mac-arm64
path: release/Neuron-*-mac-arm64.zip

- name: Upload Neuron Dmg
if: matrix.os == 'macos-11'
uses: actions/upload-artifact@v2
if: matrix.os == 'macos-latest'
uses: actions/upload-artifact@v3
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@v2
uses: actions/upload-artifact@v3
with:
name: Neuron-Dmg
name: Neuron-Dmg-arm64
path: release/Neuron-*-arm64.dmg

- name: Upload Neuron Win
if: matrix.os == 'windows-2019'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Neuron-Win
path: release/Neuron-*-setup.exe

- name: Upload Neuron Linux
if: matrix.os == 'ubuntu-20.04'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Neuron-Linux
path: release/Neuron-*.AppImage
Expand All @@ -140,7 +140,7 @@ jobs:
name: Append links to the Pull Request
runs-on: ubuntu-latest
steps:
- uses: peter-evans/commit-comment@v1
- uses: peter-evans/commit-comment@v2
with:
body: |
Packaging for test is done in [${{ github.run_id }}](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}})
6 changes: 3 additions & 3 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ jobs:
git config --global core.eol lf

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

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

- name: Restore
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
node_modules
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/update-issue-status.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Update issue status
on:
schedule:
- cron: '30 5 * * *'

permissions:
issues: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Update stale issues
uses: actions/stale@v8
with:
any-of-issue-labels: replied
stale-issue-label: stale
days-before-pr-close: -1
stale-issue-message: Mark this issue stale because no activity for 60 days
close-issue-message: Close this issue because it's inactive since marked stale
close-issue-reason: completed
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ release
/packages/neuron-wallet/bin/mac
/packages/neuron-wallet/bin/linux
/packages/neuron-wallet/bin/win
/packages/neuron-wallet/light

# misc
.DS_Store
Expand Down
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

lerna run --no-bail --stream precommit
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# These files are generated by tools and may be edited again by the tools, so we are temporarily not formatting them.
**/packages/neuron-wallet/src/database/chain/migrations/**/*.ts
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
}
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"editor.rulers": [120],
"eslint.workingDirectories": [
{
"directory": "packages/neuron-wallet",
Expand Down
1 change: 1 addition & 0 deletions .yarnrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
registry "https://registry.yarnpkg.com"
nodeLinker: node-modules
network-timeout 120000
Loading