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: 2.9.0 #2248

Merged
merged 1 commit into from
Sep 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 __tests__/components/__snapshots__/Settings.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ exports[`Settings renders without crashing 1`] = `
Manage your neon wallet
</FormattedMessage>
- v
2.9.0-RC2
2.9.0
</div>
<div
className="settingsPanelHeaderItem"
Expand Down
36 changes: 36 additions & 0 deletions app/assets/images/release-assets/ledger-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/assets/images/release-assets/ledger.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 32 additions & 1 deletion app/components/Modals/ReleaseNotesModal/ReleaseNotesModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ import N3SupportDark from '../../../assets/images/release-assets/n3_support_dark

import MigrationLight from '../../../assets/images/release-assets/migration-light.svg'
import MigrationDark from '../../../assets/images/release-assets/migration-dark.svg'
import Ledger from '../../../assets/images/release-assets/ledger.svg'
import LedgerDark from '../../../assets/images/release-assets/ledger-dark.svg'

const electron = require('electron').remote

Expand Down Expand Up @@ -48,6 +50,35 @@ const ReleaseNotesModal = ({ hideModal, theme }: Props) => (
)}
>
<div className={styles.releaseNotesContents}>
<div className={styles.release}>
<div className={styles.releaseContent}>
<small className={styles.date}>Sep 13th 2021 </small>
<h3>Release v2.9.0</h3>

<p>
In this release you will find the following updates:
<br />
<br />
{/* eslint-disable-next-line */}
<li>Implements ledger support for Neo N3</li>
<li>Allows ledger users to migrate from Neo Legacy to Neo N3</li>
<br />
View full details of this release on GitHub
<br />
</p>

<Github
onClick={() =>
electron.shell.openExternal(
'https://github.com/CityOfZion/neon-wallet/releases/tag/v2.9.0',
)
}
/>
</div>
<div className={styles.marketingImage}>
{theme === 'Light' ? <Ledger /> : <LedgerDark />}
</div>
</div>
<div className={styles.release}>
<div className={styles.releaseContent}>
<small className={styles.date}>Aug 24th 2021 </small>
Expand Down Expand Up @@ -83,7 +114,7 @@ const ReleaseNotesModal = ({ hideModal, theme }: Props) => (
<h3>Release v2.7.4</h3>

<p>
In this update you will find the following updates:
In this release you will find the following updates:
<br />
<br />
{/* eslint-disable-next-line */}
Expand Down
9 changes: 8 additions & 1 deletion app/containers/Home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,14 @@ const LOGIN_OPTIONS = {
// NOTE: all other solutions seemed to be overly
// complex... Revisit this if it becomes painful
const shouldRenderReleaseNotes = version => {
const displayWhitelist = ['2.6.0', '2.6.1', '2.6.2', '2.7.4', '2.8.0']
const displayWhitelist = [
'2.6.0',
'2.6.1',
'2.6.2',
'2.7.4',
'2.8.0',
'2.9.0',
]
if (
displayWhitelist.includes(version) &&
!localStorage.getItem(`hasSeenReleaseNotes-${version}`)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Neon",
"version": "2.9.0-RC2",
"version": "2.9.0",
"main": "./main.js",
"description": "Light wallet for NEO blockchain",
"homepage": "https://github.com/CityOfZion/neon-wallet",
Expand Down