Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

v3.10.0

Compare
Choose a tag to compare
@Sjors Sjors released this 26 Feb 10:38
· 1095 commits to master since this release
v3.10.0

Bug Fixes

  • API:
    • update-block-tor-ips insists on 1 or 0, not a boolean
      (e5d5d6c2)
    • API.securePost callbacks version.
      (5b1d8f3b)
    • Added missing dependency
      (99e1aa2c)
  • HDAccount: assertions now use Helpers functions instead of custom conditions
    (c20785f6)
  • HDWallet:
    • stronger check on seedHex during mnemonic decryption
      (23fcbe31)
    • removed useless ternary expression
      (9d2652ef)
    • stronger seed hex verification on restore
      (0fec144d)
  • Helpers:
    • Made use of isInstanceOf
      (e4fe33fd)
    • replace endsWith with slice for browser compatibility
      (9fd1a87f)
  • MyWallet:
  • Payment:
    • only allow setting feePerKb to a positive integer
      (e2d5ee3a)
    • removed unused parameter amount for sweep
      (ec818486)
  • Signup: save guessed language and currency
    (2e11d00f)
  • Transactions: only call multiaddr with active addresses and xpubs
    (d5862dff)
  • Tx:
    • coinbase transactions pay no fees
      (af4c2801)
    • Simplified conditional expression
      (cbbac978)
  • Wallet:
    • base58 key detection now uses existing Helpers function
      (573f241e)
    • updated getBaseFee description
      (5cb1cd68)
    • updated generateNewKey description
      (17e3a1d7)
  • WalletCrypto: undefined variable in an error message
    (9cde95aa)
  • WalletNetWork: Fixed Promise workflow + 1 forgotten require
    (7bbc1d75)
  • WalletNetwork: removed check on decryptWalletProgress
    (b01bdc09)
  • blockchain-settings-api:
    • More exported function for test
      (f8072a6e)
    • Fixed copy paste error
      (84a40838)
    • Added sendEvent call to verifyEmail
      (95dee9d6)
    • Fixed calls to apiSecurePostCallbacks
      (5c8ac031)
    • Uniformized boolean conversion for settings update
      (29080796)
    • Simplified error handling
      (24e244e1)
    • Refactored password hint checking
      (c0192a04)
    • Better callback checking
      (d5f9a612)
    • Removed unused parameter txt from updateKV
      (c18d8ee3)
  • fee: fee is reset when setting new origin or amount.
    (4594f71c)
  • key: only 40-44 chars len base58 keys can be used.
    (be3fe06a)
  • keys: keys shorter than 32 bytes are now usable
    (22eac2db)
  • timeout: AJAX_TIMEOUT is back.
    (24de0dab)

Features

  • 2FA: convert code to upper case
    (e462ead7)
  • API: remove unused update_API_access
    (1549a0c1)
  • FeePerKB: set fee per kb through payment class
    (af98d816)
  • Helpers: Uniformized number range checking across the codebase with new helpers: isPositiveNumber and isPositiveInteger
    (66856025)
  • WalletTransaction: add watch-only flags for iOS
    (350af2b5)
  • blockchain-settings-api: Exported some functions for tests
    (fb11ab64)
  • tx list: coinbase tx are shown properly.
    (43c6b351)

Refactor

  • WalletSignup: Moved some functionality to WalletNetwork, use of promise
  • getBalanceForRedeemCode: moved to API
  • helpers: some functions moved from MyWallet to Helpers.
  • latest block: Latest block moved from walletstore.

Test

  • Address:
    • fixed wrong testing of promises
    • Added more tests to Address
  • HDAccount: 100% coverage (lines, functions and branches) for HDAccount
  • HDWallet: full coverage for HDWallet
  • Helpers:
    • More tests for Helpers
    • isPositiveInteger and isPositiveNumber
  • KeyChain: 100% coverage for KeyChain
  • KeyRing: 100% coverage for KeyRing
  • Payment: add test spec for payment.js
  • RNG: all branches are covered in RNG
  • SettingsAPI: fixed broken tests
  • Transaction:
    • More tests for Transaction
    • add coinbase test and move test vectors to file
  • TransactionList:
    • full coverage for TransactionList
    • two more small tests for TxList
  • Tx: Near full coverage for wallet_transaction
  • WalletCrypto:
    • 100% line coverage for WalletCrypto
    • test cipherFunction behaviour with invalid parameters
  • WalletNetwork: All lines covered for WalletNetwork
  • WalletSignup: full coverage for WalletSignup
  • blockchain-settings-api: Full coverage for blockchain-settings-api
  • blockchain-wallet:
    • More tests for encryption, decryption and getPrivateKeyForAddress
    • added watch-omly and archived keys to the test wallet

Chore

  • Release: 3.10.0
  • Whitelist: bump patch version of sha.js