Skip to content

Commit

Permalink
v2.1 finalised (#486)
Browse files Browse the repository at this point in the history
* Bump Version

* Add v2.1 changelog

* Highlight changelog feature titles

* npm audit fix
  • Loading branch information
JSKitty authored Dec 10, 2024
1 parent b8f57fe commit 7aadff5
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 65 deletions.
4 changes: 4 additions & 0 deletions assets/style/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,10 @@ progress[value]::-moz-progress-bar {
font-size: 15px;
}

.changelog b {
color: #A77BFF;
}

.changelog p .dotSpan {
padding-left: 7px;
border-left-style: solid;
Expand Down
74 changes: 18 additions & 56 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,63 +1,25 @@
# Patch 1
A patch for MPW v2.0, primarily resolving stability, performance and minor UX issues.
# v2.1 - Feature Update
This upgrade contains huge Shield Improvements; a 10-30x faster Shield Sync (device-dependent) and full Shield Activity support.

# Improvements
- Persistant Wallet Mode.
- Shield sync is visually smoother.
- Shield sync is persisted better between restarts.
- Shield now syncs faster, via Nodes.
- Added notification stacking (no more spam!).
- Automatic Node switching.
- Added Duddino2 Node & Explorer.
- Faster TXDB initialisation.

# Removals
- Legacy DB migration system.

# Bug Fixes
- Fixed missed Sapling Root validation.
- Fixed issues with persisted unconfirmed Txs.
- Fixed a case in which Txs load in an incorrect order.
- Fixed Total Rewards counter.
- Fixed 'Max' button not updating currency.
- Fixed old v1.0 branding remnant.

# v2.0 - Major Update
This is the largest MPW upgrade since Shield; containing an incredible array of improvements and polish, with the aim of bringing MPW to a professional wallet standard, welcome to v2.0.

There are over 15k line changes in v2.0, this changelog will only show a small subset of notable changes, for more, head to GitHub.
It also brings real-time activity for internal transactions, more efficient staking with automatic UTXO splitting, and a redesigned notification system.

# New Features
- Wallet Modes: Public and Private, a simplified experience.

# New Language
- 🇮🇳 Hindi (by Rushali Padhiary).
- Shield Activity: Shield TXs are now supported in your Activity.
- Real-time Activity: internal TXs now instantly show in your Activity.
- Stake Pre-Splitting: automatic UTXO splitting for max staking efficiency.
- New Notifications: beautified, with in-notif actions and prompts.

# Improvements
- Completely redesigned theme.
- A dozen Shield sync improvements.
- Added persistance for Ledger users.
- Added Exchange Address activity.
- Contacts are now Shield-based.
- Added address quick-refresh button.
- Moved from CoinGecko to Labs Oracle.
- Added Official PIVX Labs RPC Node.
- Added visibility toggle to Password fields.
- Fixed Over-Allocated proposal display.
- Gray-out Ledger if browser is unsupported.
- Gray-out Contact button until wallet is saved.
- Improved User Debug system.

# Removals
- Removed the Analytics system.
- Removed address identicons.
- Removed the 'disconnection' ability.
- Removed manual 'refresh' ability.
- Proposal Fees are now recognised in your Activity.
- Nicer Activity date format.
- Randomise initial Explorer + Node selections.
- Improved space-optimised PIVX Promos interface.

# Bug Fixes
- Fixed excessive blockbook error notifications.
- Fixed Shield getting stuck in a bad state with sapling root validation auto-resyncs.
- Fix Tx discarding on failed broadcasts.
- Fix some Legacy wallet syncing errors.
- Fixed inconsistent modal scrollbars.
- Fixed iOS auto-zoom.
- Fixed Unstaking for Ledger devices.
- Fixed Currency failing to render in certain conditions.
- Fixed getting stuck in Private mode when swapping to a public-only wallet.
- Fixed automatic HD address rotation.
- Fixed 'Total Rewards' counter computing wrong amounts.
- Fixed large-byte-size Txs failing due to using RPC GET requests.
- Fixed certain notifications failing to show.
6 changes: 2 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mypivxwallet",
"version": "2.0.1",
"version": "2.1.0",
"description": "Wallet for PIVX",
"main": "scripts/index.js",
"type": "module",
Expand Down
18 changes: 14 additions & 4 deletions scripts/changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,22 @@ export function renderChangelog() {
// `#` is a header, for titles like "New Features" or "Bug Fixes"
strHTML += `<h3>${sanitizeHTML(line)}</h3>`;
break;
case '-':
case '-': {
// `-` is a list element, for each 'New Feature' or 'Bug Fix' to be listed with
strHTML += `<p><span class="dotSpan"></span>${sanitizeHTML(
line
)}</p>`;
const match = line.match(/^(.*?):/);
if (match) {
// Format as a highlighted Title + Content pair
const title = sanitizeHTML(match[1]);
const content = sanitizeHTML(line.slice(title.length + 1));
strHTML += `<p><span class="dotSpan"></span><b>${title}</b>:${content}</p>`;
} else {
// Otherwise, it's just a plaintext line
strHTML += `<p><span class="dotSpan"></span>${sanitizeHTML(
line
)}</p>`;
}
break;
}
default:
// If no element was recognised, it's just a plaintext line
strHTML += `<p>${sanitizeHTML(rawLine)}</p>`;
Expand Down

0 comments on commit 7aadff5

Please sign in to comment.