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.116.0 #3159

Merged
merged 48 commits into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
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
7e90bf6
Merge branch 'develop' into fix-374
Keith-CY Apr 7, 2024
5f46825
feat: NeedMigrateMsg
devchenyan Apr 7, 2024
78e7f7b
Merge branch 'develop' into dependabot/npm_and_yarn/undici-5.28.4
Keith-CY Apr 10, 2024
359d7b7
refactor: rewrite sudtValueToAmount with formatUnit in neuron-ui (#3126)
twhy 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
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
286f199
fix: Use hex to avoid unexpected string. (#3162)
yanguoyu 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
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.115.0
v0.116.1
2 changes: 1 addition & 1 deletion .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.11.1
os:
- macos-latest
- ubuntu-20.04
Expand Down
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,39 @@
# 0.116.0 (2024-05-24)

### CKB Node & Light Client

- [[email protected]](https://github.com/nervosnetwork/ckb/releases/tag/v0.116.1) was released on May. 11st, 2024. This version of CKB node is now bundled and preconfigured in Neuron.
- [CKB Light [email protected]](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 `0x6dd077b407d019a0bce0cbad8c34e69a524ae4b2599b9feda2c7491f3559d32c`(at height `13,007,704`) will be skipped in validation.(https://github.com/nervosnetwork/neuron/pull/3157)

---

[![[email protected]](https://github.com/Magickbase/neuron-public-issues/assets/7271329/ec10aa01-47fe-47a3-9636-3d4e86fc6c9b)](https://youtu.be/QXv8by2C8zU)

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)

## 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)

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

# 0.114.3 (2024-04-16)

### CKB Node & Light Client
Expand Down
21 changes: 21 additions & 0 deletions compatible.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"fullVersions": [
"0.116",
"0.115",
"0.114",
"0.113",
Expand All @@ -21,6 +22,7 @@
"compatible": {
"0.111": {
"full": [
"0.116",
"0.115",
"0.114",
"0.113",
Expand All @@ -36,6 +38,7 @@
},
"0.110": {
"full": [
"0.116",
"0.115",
"0.114",
"0.113",
Expand Down Expand Up @@ -67,6 +70,7 @@
},
"0.112": {
"full": [
"0.116",
"0.115",
"0.114",
"0.113",
Expand All @@ -82,6 +86,23 @@
},
"0.114": {
"full": [
"0.116",
"0.115",
"0.114",
"0.113",
"0.112",
"0.111",
"0.110",
"0.109"
],
"light": [
"0.3",
"0.2"
]
},
"0.116": {
"full": [
"0.116",
"0.115",
"0.114",
"0.113",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"packages": ["packages/*"],
"version": "0.114.3",
"version": "0.116.0",
"npmClient": "yarn",
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "neuron",
"productName": "Neuron",
"description": "CKB Neuron Wallet",
"version": "0.114.3",
"version": "0.116.0",
"private": true,
"author": {
"name": "Nervos Core Dev",
Expand Down Expand Up @@ -65,7 +65,8 @@
"resolutions": {
"@types/react": "18.2.45",
"react-i18next": ">=11.16.4",
"react-refresh": "0.14.0"
"react-refresh": "0.14.0",
"node-fetch": "2.6.13"
},
"volta": {
"node": "20.10.0"
Expand Down
1 change: 1 addition & 0 deletions packages/neuron-ui/config-overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ const path = require('path')
module.exports = function override(config) {
const webpackConfig = { ...config }
webpackConfig.resolve.alias.electron = path.join(__dirname, 'src/electron-modules')
webpackConfig.resolve.fallback = { fs: false }
return webpackConfig
}
11 changes: 7 additions & 4 deletions packages/neuron-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "neuron-ui",
"version": "0.114.3",
"version": "0.116.0",
"private": true,
"author": {
"name": "Nervos Core Dev",
Expand Down Expand Up @@ -50,10 +50,13 @@
"last 2 chrome versions"
],
"dependencies": {
"@ckb-lumos/bi": "0.21.1",
"@ckb-lumos/rpc": "0.21.1",
"@ckb-lumos/base": "0.21.1",
"@ckb-lumos/codec": "0.21.1",
"@nervosnetwork/ckb-sdk-core": "0.109.0",
"@nervosnetwork/ckb-sdk-utils": "0.109.0",
"@ckb-lumos/helpers": "0.21.1",
"@ckb-lumos/config-manager": "0.21.1",
"@ckb-lumos/common-scripts": "0.21.1",
"canvg": "2.0.0",
"i18next": "23.7.11",
"immer": "9.0.21",
Expand Down Expand Up @@ -90,7 +93,7 @@
"@types/styled-components": "5.1.34",
"@wojtekmaj/enzyme-adapter-react-17": "0.8.0",
"babel-jest": "25.5.1",
"electron": "28.1.0",
"electron": "30.0.0",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.7",
"eslint-config-airbnb": "19.0.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/neuron-ui/src/components/AddressBook/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const AddressBook = ({ onClose }: { onClose?: () => void }) => {
return `${HIDE_BALANCE} CKB`
}
return (
<CopyZone content={shannonToCKBFormatter(balance, false, '')} className={styles.copyBalance}>
<CopyZone content={shannonToCKBFormatter(balance, false, false)} className={styles.copyBalance}>
<span className="textOverflow">{`${shannonToCKBFormatter(balance)} CKB`}</span>
</CopyZone>
)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@import '../../styles/mixin.scss';

.content {
width: 680px;
}
Loading
Loading