Skip to content

Latest commit

 

History

History
701 lines (446 loc) · 30.7 KB

File metadata and controls

701 lines (446 loc) · 30.7 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Added

  • Pass origin param to Blockaid (#395)
  • Display origin param in confirmation screens (#408)
  • Add Swaps failling test case where we end up with only positive balance changes (#398)

Fixed

  • Spam filter was not triggered on failed transactions (#399)
  • Add space to "Advanced details" button (#407)
  • Replace viewbox on question mark image (#404)
  • Fix onProtocolRequest validation (#403)

Changed

  • Transaction scan messages (#401)
  • Disable continue button on scan error (#400)
  • Resize unkown svg image (#397)
  • Improve scan messages (#367)

Fixed

  • Remove lifecycle update (#393)
  • Match storage limit with expected page size for transactions coming from the snap (#392)

Added

  • Enable getMinimumBalanceForRentExemption (#360)
  • New translations (#348)

Changed

  • Restore max button in send flow (#384)
  • Remove additional get context on refresh send (#385)
  • Clean up AssetService (#380)

Fixed

  • Decrease non-active cronjob time to 30min (#390)
  • Prevent inactive client from executing cronjobs (#388)
  • Prevent empty accounts from refreshing (#387)
  • Fix number formatting when locale is composed (#382)
  • Changing asset in the Send flow disabled Continue button (#374)

Fixed

  • Spread cronjob load time randomly per user (#379)

Fixed

  • Rollback send state (#375)

Fixed

  • Hotfix: get balances (#372)
  • Add spam failed transaction case to the mapping tests (#371)

Fixed

  • Rollback fungible check (#369)

Changed

  • Replace refreshAssets and refreshTransactions with refreshAccounts (#365)
  • Optimize get account balances (#364)

Fixed

  • Set correct fungible flag using quick check (#363)

Changed

  • snap_manageState to snap_setState (#359)

Fixed

  • Transaction confirmation loading button while fetching icon (#361)

Fixed

  • More transaction mapping inaccuracies (#349)
  • Temporarily hide "max"' button in send form (#356)

Fixed

  • Block to address until data is ready on send (#354)

Changed

  • Simplify mapping fee (#347)

Fixed

  • Send form address input not triggering amount pickup (#352)
  • Fully respect activeNetworks set in the ConfigProvider (#351)
  • createAccount idempotency (#350)

Added

  • New translations (#344)

Fixed

  • Disabled Devnet (#343)
  • Transaction mapping (#343)

Fixed

  • Decrease cache time to a minute (#341)

Fixed

  • Transaction after interaction (#339)
  • Make marketCap optional (#338)

Added

  • Integrate AssetSelector in Send (#336)

Fixed

  • Provide skeleton width (#335)
  • Add "all" time range to historical prices (#333)

Fixed

  • Bring back clear button to ToAddress (#331)

Added

  • Add transactions scanning after signing a transaction in case it gets broadcast by dApps (#324)
  • Hide spam transactions with status failed (#322)

Changed

  • Improved typing performance (#321)
  • Move accounts to non-encrypted state (#326)
  • Simplify SPL Tokens send instructions (#323)

Fixed

  • Filter out assets received by other addresses when a transaction is a Receive (#325)

Added

  • Automatically hide spam tokens from the transaction history (#317)

Changed

  • Add transport without x-bigtable (#318)

Fixed

  • Pass request options in solana wallet methods (#315)

Added

  • Account creation with configurable derivation path (#311)

Fixed

  • Throw appropriate error when user rejects a request (#312)
  • Error message not formatted properly when cancelling a transaction from a dApp (#309)

Added

  • Account creation is now idempotent (#306)

Fixed

  • Use the proper entropy when signing transactions (#305)
  • Properly export the handler onAssetHistoricalPrice (#305)

Added

  • Support sending Token2022 SPL tokens (#285)
  • Support onAssetHistoricalPrice to return price chart (#300)

Changed

  • Make entropySource optional when creating a Solana account (#299)

Fixed

  • Simplify caching (#302)
  • Validate that SOL balance is > 0 to cover transaction fees before simulation (#303)

Added

  • onAssetsConversion now suports market data (#291)
  • Add header for RPC latency (#295)

Fixed

  • Support estimating compute units limit for tailing transactions (#297)

Added

  • Automatically add priority fee and compute budget instructions (#290, #288)
  • Map TransferChecked (#280)
  • Include market data when fetching spot prices (#272)

Changed

  • Bump keyring api + map unknown tx type (#292)
  • Alternative background in SendForm (#289)
  • Transaction skipPreflight (#287)

Fixed

  • Error message for account creation (#286)

Changed

  • Make state support non-json-serializable data (#283)

Removed

  • Remove the unnecessary PositiveNumberStruct (#278)

Fixed

  • getLowestUnusedIndex should consider SRPs in the check (#282)
  • Prevent rounding errors during validation of amount (#281)

Added

  • Keyring discoverAccounts (#274)
  • Support for Token2022 program assets (#275)

Fixed

  • Partially sign transaction (#276)

Added

  • Add getLatestBlockhash protocol request (#271)
  • Add optional assetId to send flow (#270)

Fixed

  • signIn message formatting (#268)

Added

  • Forward MetaMaskOptions in keyring_createAccount method (#266)

Changed

  • Move to solscan (#264)

Added

  • Use new snap MetaMask preferences (#258)

Changed

  • Move state to unencrypted (#261)
  • Upgrade @solana/web3.js to @solana/kit (#259)

Fixed

  • Transaction decoding for Message and Transaction (#262)

Added

  • New transaltions (#257)
  • Warn on bad account in confirm signIn (#256)
  • Confirmation UI for signTransaction (#251)
  • Confirmation UI for signIn and signMessage (#247)

Fixed

  • Correct expected parameter shape for resolveAccountAddress (#254)
  • Assets wipe up by the cronjob (#253)
  • Fee estimation in confirm tx request (#252)
  • Mapping differences between Send, Receive and Swap transactions (#250)

Added

  • New translations (#244)
  • Substract rent from max amount + improve validation on amount f… (#243)

Fixed

  • Show amount for self and failed transactions (#240)
  • Transaction updates not showing asset units (#245)

Added

  • Sign{Message/Transaction/In} backend (#241)
  • Analytics service (#236)

Fixed

  • Add validation to getGenesisHash request (#239)

Added

  • New translations (#234)

Fixed

  • Reduce send delay (#233)
  • Put instructions back on confirmation (#230)

Added

  • Support for failed transactions (#224)

Removed

  • Lifecycle hooks permissions (#226)

Added

  • Update balances post transaction (#208)

Fixed

  • Account keeps incrementing after rejecting add account (#222)
  • Loss of precision on transfer amounts (#219)
  • Solve race condition when simulating transaction in send form (#221)

Added

  • New translations languages (#126)
  • Support for swap transactions (#214)
  • Support explicit accountNameSuggestion on createAccount (#207)
  • Use minimumBalanceForRentExemption to send SOL (#215)

Fixed

  • Allowing accounts to request submitRequest methods (#218)

Added

  • Pulg send flow to signAndSendTransaction (#212)
  • Add confirmation before submit request (#209)
  • Add estimated changes to confirmation (#210)

Fixed

  • Fiat fee in send confirmation (#211)
  • Multiple send bug fixes (#200)

Added

  • Enable SIP-26 onProtocolRequest (#205)
  • Mock wallet-standard methods (#204)
  • Emit keyring event after sending a transaction (#203)
  • Implement getFeeForTransaction RPC request (#201)
  • Added sendAndConfirmTransaction confirmation (#183)

Changed

  • Update devnet url (#202)
  • Improve unit tests for execution (#199)

Added

  • Support conversions for all supported assets (#181)

Fixed

  • Remove assets data for deleted accounts (#196)
  • Concurrent state updates (#195)
  • Speed up Solana key derivation (#191)
  • Update returned account (#193)

Added

  • Script to dynamically change the manifest file (#177)

Changed

  • Audit: Use encrypted state to store user information (#178)
  • Derive Account private keys on demand (#187)

Removed

  • onUpdate and onInstall handlers (#186)

Fixed

  • Audit: Pin dependency versions (#189) and (#185)
  • Audit: Potential url injections in api calls (#182)
  • Audit: Unnecessary tsx extension on the snap's entry point file (#180)
  • Audit: LAX or missing runtime input validation (#179)
  • Bump keyring-snap-sdk version to enable the dispatcher (#188)

Added

  • Implement resolveAccountAddress (#175)
  • Implement push based transactions list (#157)
  • Parity with compiled transactions (#169)

Changed

  • Update on snap permissions (#172)
  • Improve env (#171)
  • Transaction simulation to input change (#168)

Fixed

  • Transactions data flow problems (#174)
  • Latency on send flow updates (#173)
  • Conversions currency to lowercase (#167)
  • Disable buttons until prices and balances are available (#166)

Added

  • Integrate platform apis (#162)
  • Hide network fee price when no prices (#164)
  • Can send tokens even when price fetch fails (#161)
  • SIP-29 handlers (#159)
  • onInstall handler (#145)
  • Update assets events (#158)
  • Switch order of fields on send (#154)
  • Sip29 in rpc (#153)

Fixed

  • Clicking on max when balance is zero (#155)
  • Transactions list request had improper validation (#156)

Added

  • Format tokens to the decimal (#150)
  • Add coverage for the transactions cronjob (#149)
  • Add tests for the transactions history feature (#143)
  • Send SPL tokens on send flow (#144)
  • Adds onUpdate hook (#131)
  • Snap send SPL tokens transaction (#130)
  • Add SPL token transaction parsing (#124)

Fixed

  • Validating all keyring I/O (#151)
  • Can progress on send when amount is empty (#148)
  • Chunk token metadata requests (#147)
  • Allow token metadata service to fetch from tokens from different networks at the same time (#146)
  • Expose buildTransactionMessage + base64 encoder / decoder (#142)

Added

  • Add scopes field to KeyringAccount (#134)
  • Add support for spanish translations (#127)
  • New Crowdin translations by Github Action (#121)
  • List account assets (#125)
  • Get transaction fee (#123)

Changed

  • Check client status for running cronjobs (#128)

Added

  • feat: add keyring_listAccountTransactions support to the snap (#101)
  • New Crowdin translations by Github Action (#96)
  • feat: localised currency (#118)
  • feat: add retry logic globally to all RPC calls (#113)
  • feat: failover rpc (#115)
  • feat: snap show loader for pending txs (#117)

Changed

  • fix: remove all logging from prod (#120)
  • fix: remove logging (#119)
  • fix: balance validation not triggering + send tests (#116)
  • fix: to address links to from in explorer (#114)
  • fix: scope passed to send form (#112)
  • fix: make building the send context robust to errors (#111)

Added

  • feat: add a component that wraps the send flow (#106)
  • feat: snap get live token rates (#102)
  • feat: localize ui (#99)
  • feat: Adds the Tx result view after confirming it (#92)

Changed

  • fix: the tx confirmation result view now uses price from the tx time (#107)
  • fix: compile error (#104)
  • fix: show address name in confirmation (#105)
  • fix: confirmation result (#103)
  • chore: clean up dependencies object (#98)
  • chore: updates translations (#100)

Added

  • feat: connect 'Initiate Transfer' and 'Confirmation' dialogs together (#84)
  • feat: setup translations (#86)

Added

  • docs: document the .env (#87)
  • [SOL-58] snap mock rpc calls for unit tests (#85)
  • feat: amount input (#78)
  • feat: implement TransactionConfirmation dialog (#80)
  • [SOL-43] adds the To input field (#76)
  • [SOL-45] feat: implement Solana transactions (#70)
  • feat: account selector (#73)
  • feat: handle send action (#72)

Fixed

  • fix: sonar on main (#82)
  • fix: add tests for all utils that didn't have them (#83)
  • fix: cors erros using Grove for mainnet rpc provider (#77)
  • fix: support get account balances on different chains (#71)

Added

  • Get account balances (#67)
  • Delete account keyring method (#64)
  • Create + List Solana accounts (#54)

Changed

  • Create and remove index mismatch (#66)
  • Adds the keyring-api package with solana support (#63)

Added

  • Keyring and rpc listeners
  • CI configs
  • Build config
  • Sonarcloud to github workflow (#25)
  • Snap setup