Skip to content

Commit

Permalink
Merge pull request #3079 from nervosnetwork/rc/v0.114.0
Browse files Browse the repository at this point in the history
Release v0.114.0
  • Loading branch information
Keith-CY authored Mar 15, 2024
2 parents 91535c8 + dcf2232 commit e1888d6
Show file tree
Hide file tree
Showing 364 changed files with 19,492 additions and 5,869 deletions.
2 changes: 1 addition & 1 deletion .ckb-light-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.3.2
v0.3.6
2 changes: 1 addition & 1 deletion .ckb-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.112.1
v0.114.0
16 changes: 0 additions & 16 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

77 changes: 77 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: Bug Report
description: Create a report to help us improve Neuron
title: '[Bug Report] **Please describe the bug shortly**'
labels:
- bug
assignees:
- Keith-CY
- yanguoyu
body:
- type: markdown
attributes:
value: |
Please check [Helpe Center](https://neuron.magickbase.com/help-center) first to see if your issue is already addressed.
- type: dropdown
id: type
validations:
required: true
attributes:
label: Topic Type
options:
- Cannot Synchronize
- Cannot Send Transaction
- Incorrect Balance
- User Experience
- Other

- type: textarea
id: detial
validations:
required: true
attributes:
label: Detail of the issue
description: Please append detail of the issue here, including steps to reproduce, screenshots, etc.

- type: markdown
attributes:
value: |
---
## Please add neuron logs if possible, they can be exported by `Menu -> Help -> Export Debug Information`
<sub>
The debug information will be exported as a zip file, you may upload it by drag&drop into **Detail of the issue**, or paste them in the following fields, respectively.
</sub>
- type: textarea
id: bundled-ckb
validations:
required: false
attributes:
label: bundled-ckb.log
render: shell

- type: textarea
id: bundled-ckb-light-mainnet
validations:
required: false
attributes:
label: bundled-ckb-light-mainnet.log
render: shell

- type: textarea
id: main-log
validations:
required: false
attributes:
label: main.log
render: shell

- type: textarea
id: status
validations:
required: false
attributes:
label: status.log
render: shell
55 changes: 0 additions & 55 deletions .github/ISSUE_TEMPLATE/synchronization-issue.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/add-replied-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- id: check-access
name: Check if the commenter is a collaborator
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
try{
Expand All @@ -30,7 +30,7 @@ jobs:

- id: check-issue
name: Check if the comment is replied in an issue
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const response = await github.rest.issues.get({
Expand All @@ -45,7 +45,7 @@ jobs:
- id: add-label
name: Add 'replied' label
if: ${{ steps.check-access.outputs.result == 'true' && steps.check-issue.outputs.result == 'true' }}
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
await github.rest.issues.addLabels({
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/check-code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
cache: "yarn"

Expand All @@ -31,7 +31,7 @@ jobs:
- name: Changed Files
id: changed-files
uses: tj-actions/changed-files@v37
uses: tj-actions/changed-files@v41
with:
files: "packages/**/*.{js,cjs,mjs,jsx,ts,tsx,css,scss}"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-spell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ jobs:
name: Check spell
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: crate-ci/typos@master
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@v3
uses: actions/checkout@v4

- name: Generate checksums from artifacts
run:
Expand All @@ -33,7 +33,7 @@ jobs:
body="${body//$'\r'/'%0D'}"
echo "body=$body" >> $GITHUB_OUTPUT
- uses: peter-evans/commit-comment@v2
- 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 @@ -26,10 +26,10 @@ jobs:
git config --global core.eol lf
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: "yarn"
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/checksums-of-release-draft.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Checksums of release draft

on:
workflow_run:
workflows:
- Package Neuron for Release Draft
types:
- completed

jobs:
checksums:
runs-on: ubuntu-latest
permissions:
contents: read
if: github.event.workflow_run.conclusion == 'success'
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 'latest'

- name: Download binaries
run: |
mkdir -p /tmp/Neuron
node ./scripts/download-binaries-from-release-draft.js /tmp/Neuron
shell: pwsh
env:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }}

- name: Checksums
run: node ./scripts/generate-checksum-table.js /tmp/Neuron
shell: pwsh
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -56,7 +56,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand All @@ -69,4 +69,4 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
28 changes: 16 additions & 12 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:

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

environment: Release
permissions:
contents: write

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

steps:
Expand All @@ -29,10 +33,10 @@ jobs:
git config --global core.eol lf
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: "yarn"
Expand Down Expand Up @@ -132,42 +136,42 @@ jobs:

- name: Upload Neuron App Zip
if: matrix.os == 'macos-latest'
uses: actions/upload-artifact@v3
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@v3
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@v3
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@v3
uses: actions/upload-artifact@v4
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@v3
uses: actions/upload-artifact@v4
with:
name: Neuron-Win
path: release/Neuron-*-setup.exe

- name: Upload Neuron Linux
if: matrix.os == 'ubuntu-20.04'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Neuron-Linux
path: release/Neuron-*.AppImage
Loading

2 comments on commit e1888d6

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Packaging for test is done in 8292004178

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Packaging for test is done in 8292235495

Please sign in to comment.