Releases: dfinity/oisy-wallet
Releases · dfinity/oisy-wallet
v0.9.0
First Beta Release!
v0.0.41
Release notes are coming soon!
Features
- The login now enables signing with the chain fusion signer API. This prepares the front end to use the chain fusion signer production API.
Fixes
v0.0.40
Frontend
Features
- New UI design:
- New logo and icons.
- New theme color palette.
- Sticky background with gradient logo.
- Authentication button style changed.
- Back button and context menu for token page is moved on the sides of the logo.
- New button design.
- New toolbar design.
v0.0.39
Frontend
Features
- When clicking on the Convert button (either in a ERC20 or in an ICRC), the counter-token will be automatically enabled.
- There is a new type util Option that is a wrapper to be used instead of
T | null | undefined
.
Fixes
- When the "Hide zero balances" toggle is on, tokens with no exchange rate but with non-null balance will be showed.
- There was an incorrect assertion of "Insufficient funds for amount" with clicking "Max" button while sending ERC20
tokens for big values.
Style
- New style for modals and buttons.
- The token list will display a Skeleton for balance and USD balance when the balance loader are still not initiated.
- In the Manage Tokens modal, the enabled tokens will be sorted on top of the disabled ones.
- The glitch due to re-sorting that appeared when changing networks is removed.
- The title of the last step of the modal used for conversions changed from "Sending" to "Converting".
Refactoring
- To avoid repetition of code, a few optional types were "extracted", defined by themselves and re-used throughout the code:
OptionCanisterIdText
,OptionString
,OptionBalance
andOptionWalletConnectListener
. - "Manage tokens" related components are moved to
$lib
folder, since they will start to use all the tokens. - Extract Loaders Guard to a separate component.
- Sorted all imports in Svelte files.
- New derived stores for cached settings.
- New derived store for Identity.
Build
- Improvements on E2E test framework, such as updating test snapshots.
- Bump
@dfinity/ckbtc
.
Chore
- Localize label for ETH fees.
Backend
Build
- Bump
serde
.
Other
Feat
- Custom lint rule to use Option type wrapper for
T | null | undefined
definitions. - Include new ES lint rules:
- prefer-reduce-type-parameter
- import/order for Svelte files
Fix
- Running
npm run deploy
was not installing the signer canister. - The command that creates the signer args file was leaving unintended characters in the argument file.
Build
- Bump
dfx
. - Define Node 20 for
nvm
for this repo. - Increase the amount of fake ckSepoliaETH sent to the local replica.
- The signer is now hosted in a separate repository and is available as a pre-built Wasm.
v0.0.38
Frontend
Features
- Add support for WETH.
- Add missing ckXAUT in the list of tokens.
- It will not be possible to use
tab
key to select tokens when the user is signed out. - The Ethereum-related fee showed during ck-conversions (
ckETH --> ETH
orckERC20 --> ERC20
) was being conservatively calculated. After an internal confrontation with the cross-chain team, that fee is now calculated exactly as explained in the proper documentation for ETH and ERC20 withdrawal from the minter. - The Metamask button currently does not support sending ERC20 tokens - it always populates an ETH transaction. As temporary solution, Metamask is allowed only for Ethereum.
Fixes
- The total exchange balance will use the same list as the tokens shown below. Before there difference was a slight lag given by sorting.
- The wallet workers for IC tokens were mounted only if the respective token was already shown in the token list. That means, for example, that if the list is pre-mounted hiding zero-balances, the IC tokens are not present in the list and consequently none of the wallet listeners are mounted. To fix it, now all enabled IC tokens have active wallet workers, independently if they are shown or not in the list.
Style
- Transform the name of the tokens in the manage modal to use the
ck
tag too. - Change header title when the user is not logged in.
- Fit EURC logo to the token card.
- All ck-conversions (
ckETH --> ETH
orckERC20 --> ERC20
) fees are now showed in ck-denomination. - The fee will show the same decimals as the amount.
Refactoring
- The object TokenUi has now the token balance and the USD balance as optional properties. So the code was adapted to use those.
- The util function that was pinning tokens at the top of the list was merged with the function that was sorting the tokens by market cap, to improve performance.
- The balance calculation was merged with the util function that was sorting tokens by balance, to improve performance.
- After bumping
ic-js
, adapt the code to use the new functions of the Bitcoin canister that were renamed to provide only queries. - Removed possible loop reference
src/icp
in imports fromsrc/eth
folder. - Renamed stores and extracted functions related to Ethereum address.
Build
- We start rolling out agent-js v2.0.0 in our dApps JS ecosystem: bump
agent-js
and all dependencies dependent on it. - Bump:
ic-js
II
for local developmentsvelte
internet-identity-playwright
gix-components
- Add test for Receive modals.
- Create util for testing QR code.
Chore
- Improve IC send analytics by removing the 2 seconds timeout.
Docs
- There is a patch needed for
clang
package in MacOs: the documentation on it was included.
Backend
Build
- Bump
serde
,lazy_static
,ic-stable-structures
andic-cdk
. - Bump ICP ledger and index version for development.
Other
Feat
- Include new ES lint rules:
- no-inferrable-types
- prefer-template
Build
- Add
npm
command to list tags ordered bysemver
. - Fix
node
version to ^20 (LTS). - Bump
micromatch
. - Specified Linux CPU type in Dockerfile for reproducibility.
- Include ckUSDC in the script that sends token to local replica.
Chore
- EURC and XAUT were fetching the logo even if we already established their definitive logo; so they are inserted among the exceptions for logo-fetching.
v0.0.37
Frontend
Features
- Support for ckXAUT.
- Include IC explorer URL for ckERC20 transactions.
Fixes
- The ETH explorer for ck-conversion transactions was pointing always to Sepolia for ckERC20 tokens that were not ckETH.
- Pending ck-conversions were displayed under the wrong token.
- The EURC logo was incorrectly using the ckEURC logo for ERC20.
Style
- Adjust style of Authenticate button.
- Slightly adjust layout of the header.
- Animate sorting of token list, avoiding re-sorting during mouse/touch events.
- Expand title when logged out.
- Show pulsating null balance when loading.
- Pending transaction that concerns converting ckERC20 to ERC20 display a conversion icon, instead of the mint/burn icon.
- Refresh blockchain icons in the header.
Refactoring
- Folder
pages
was renamed tosettings
and settings-related component are moved there. - Generalize text in loading modal regarding the fetching of public keys.
- Rename ETH-related address stores/derived to be specific to ETH.
Build
- Bump Juno's analytics: newest version gathers and aggregates performance metrics using Web Vitals.
- The building function that reads the canister IDs is moved to an util module to be used both by
vite
andplaywright
. - Improvements on E2E test framework, such as updating Homepage snapshots.
- New E2E tests were created:
- About modals.
- Logout.
Chore
- Some imports unnecessarily ended with
.js
and therefore the extension was removed. - Update a few descriptions and texts regarding ck-conversions.
Docs
- Add list of faucet for LINK.
Backend
Refactor
- Separate backend API calls made for the purpose of signing from calls that manage the user profile.
- Note: Signing and user data storage is now provided by separate canisters.
v0.0.36
Frontend
Features
- Display Oisy's version on the "Settings" page with link to the release notes.
Fix
- We solved the issue introduced by PR #2069, reverting the changes.
Styles
- Remove space between fee label and value when an error is displayed.
Notes
This release focuses primarily on UI enhancements and does not include the backend changes that are still under development.
v0.0.35
Frontend
Fix
- Add
wss://relay.walletconnect.org
andhttps://verify.walletconnect.org
toconnect-src
in CSP. - Pending ck conversions displayed under incorrect token - e.g. pending LINT conversion transaction displayed when browser ckUSDC.
Style
- Update "conversion" icon.
Notes
This release focuses primarily on UI enhancements and does not include the backend changes that are still under development.
v0.0.34
Frontend
Features
- Support for EURC and ckEURC.
- Support for ICVC SNS.
Fixes
- Tokens
balances
were refreshing periodically at every refresh ofexchanges
. It was fixed. - To enable the conversion of "ICP ERC20" tokens to native ICP tokens, users should be able to input an "old" ICP account identifier in
hexadecimal format.
Refactoring
- Tokens sorting now happens only after having filtered according to the chosen network, to reduce computational workload.
- Address services refactoring to prepare to generalize functions in preparation of BTC onboarding.
Build
- Bumped
alchemy-sdk
and@walletconnect/web3wallet
.
Notes
This release focuses primarily on UI enhancements and does not include the backend changes that are still under development.
v0.0.33
Frontend
Fix
- The fees of the new SNS DAO Dogmi were displayed and used with incorrect values. The root cause of the issue was a Candid
Nat
conversion toBigInt
that needed improvement to support numbers larger than 32 bytes. - Bumped axios from
1.6.8
to1.7.4
to resolve the vulnerability CVE-2024-39338.
Styles
- Reduced the number of skeletons in the list of tokens and the "Send" modal while loading.
Build
- Bumped
@dfinity/ic-js
libraries tonext
. Required for the above DOGMI fix.
Refactoring
- Created component
SendButtonWithModal
. - Removed unused Svelte files.
Chore
- Extracted and renamed a few i18n keys.
Notes
This release focuses primarily on UI enhancements and does not include the backend changes that are still under development.