Skip to content

Releases: RequestNetwork/requestNetwork

Release 0.15.0

06 Apr 10:50
2927625

Choose a tag to compare

Changelog

Bug Fixes

push yarn.lock modifications
check payee and payer identity format at the creation
fix docs dependencies

Documentation

no hashing of topics in the test layers
documentation refresh

Builds

Bump docusaurus from alpha.48 to alpha.49
Bump eth-crypto from 1.5.1 to 1.5.2
[Security] Bump acorn from 6.4.0 to 6.4.1

Chores

remove push-request-network-image CI job

Features

emits "error" event when the confirmation fails

Packages

@requestnetwork/advanced-logic
@requestnetwork/data-access
@requestnetwork/data-format
@requestnetwork/epk-decryption
@requestnetwork/epk-signature
@requestnetwork/ethereum-storage
@requestnetwork/multi-format
@requestnetwork/payment-detection
@requestnetwork/payment-processor
@requestnetwork/request-client.js
@requestnetwork/request-logic
@requestnetwork/request-node
@requestnetwork/transaction-manager
@requestnetwork/types
@requestnetwork/utils
@requestnetwork/web3-signature

Images

Request Node 0.8.0

Release 0.14.0

23 Mar 02:52
de86f43

Choose a tag to compare

Changelog

Bug Fixes

block parsing with encrypted transaction
lerna prerelease
stateful currency network for ETH and BTC
remove instanceof usage
add request custom etherscan key
reduce number of call to btc providers in the tests

Builds

[Security] Bump acorn from 5.7.3 to 5.7.4
Bump @types/bluebird from 3.5.27 to 3.5.29

Chores

new interface IRequestDataWithEvents

Features

payment detection error does not throw
add the confirmed events in the highest layers

Documentation

README.md clarifies that the transaction manager handles the encryption
update doc and usage example for the confirmed event

Packages

@requestnetwork/advanced-logic
@requestnetwork/data-access
@requestnetwork/data-format
@requestnetwork/epk-decryption
@requestnetwork/epk-signature
@requestnetwork/ethereum-storage
@requestnetwork/multi-format
@requestnetwork/payment-detection
@requestnetwork/payment-processor
@requestnetwork/request-client.js
@requestnetwork/request-logic
@requestnetwork/request-node
@requestnetwork/transaction-manager
@requestnetwork/types
@requestnetwork/utils
@requestnetwork/web3-signature

Images

Request Node 0.7.0

Release 0.13.0

20 Feb 10:08
f5cb9f3

Choose a tag to compare

Changelog

Bug Fixes

fix nightly test
ts-node configuration
fix json require to work with webpack
mock BTC provider on tests

Chores

clean contract types
new package for payment detection
add build step to next release
optimize docker build (#71)
move client types
auto-approve dependabot PRs action
Update ganache version for circle-ci

Features

payment-processor new package
add proxy contract to eth input data in payment detection
merge eth-proxy-contract into eth-input-data
ethereum payment proxy contract
confirmed & pending state in the highest layers
custom docker ganache image
buffered ethereum storage
persist transaction with custom ethereum provider

Documentation

specifcation ethereum proxy contract
remove the draft suffix in the specification
fix request-client.js examples

Builds

Bump eth-crypto from 1.5.0 to 1.5.1
Bump ethers from 4.0.38 to 4.0.45
Bump nyc from 14.1.1 to 15.0.0
Bump ipfs-unixfs from 0.1.16 to 0.3.0
Bump @types/fetch-mock from 7.3.1 to 7.3.2
Bump npm-package-json-lint from 4.0.3 to 4.5.0
bump webpack-bundle-analyzer from 3.3.2 to 3.6.0
bump semver from 5.6.0 to 7.1.1
bump eslint-plugin-spellcheck from 0.0.11 to 0.0.14

Tests

add test for erc20 address based in request-client.js

Packages

@requestnetwork/advanced-logic
@requestnetwork/data-access
@requestnetwork/data-format
@requestnetwork/epk-decryption
@requestnetwork/epk-signature
@requestnetwork/ethereum-storage
@requestnetwork/multi-format
@requestnetwork/payment-detection
@requestnetwork/payment-processor
@requestnetwork/request-client.js
@requestnetwork/request-logic
@requestnetwork/request-node
@requestnetwork/transaction-manager
@requestnetwork/types
@requestnetwork/utils
@requestnetwork/web3-signature

Images

Request Node 0.6.0

Release 0.12.0

16 Jan 09:40
36a5dd5

Choose a tag to compare

Release 0.11.0

18 Dec 03:10
dd2fac1

Choose a tag to compare

Changelog

Bug Fixes

update yarn lock
fix old version id mismatch issue
add payable to the ERC20 proxy contract fallback
backward compatibility issue + removing test failing for external reason
use lowercase for payment reference
create an ETH request without refund address

Features

get balance from request ERC20 with proxy contract
deploy ERC20 proxy smart contract to mainnet
deploy ERC20 proxy smart contract to Rinkeby
add the erc20 proxy contract PN's smart contract
add erc20 proxy contract PN in request-client.js
balance event timestamps
add ERC20 proxy contract payment network

Documentation

Add ERC20 proxy contract detection specs
put "salt" as mandatory in the eth-input-data payment network
update root readme with coveralls
fix typo in field name

Tests

added test on declarative parameters
use chai-as-promised instead of try/catch in tests
fix getCurrentTimestampInSecond() test to not fail randomly

Chores

remove unused references in smart-contracts package
fix build issue with tsconfig.tsbuildinfo
test environment config

Code Refactoring

create one packages for all smart contracts

Builds

automate next version package releases

Packages

@requestnetwork/advanced-logic
@requestnetwork/data-access
@requestnetwork/data-format
@requestnetwork/epk-decryption
@requestnetwork/epk-signature
@requestnetwork/ethereum-storage
@requestnetwork/multi-format
@requestnetwork/request-client.js
@requestnetwork/request-logic
@requestnetwork/request-node
@requestnetwork/transaction-manager
@requestnetwork/types
@requestnetwork/utils
@requestnetwork/web3-signature

Images

Request Node 0.5.6

Release 0.10.0

04 Dec 05:54
badae33

Choose a tag to compare

Changelog

Code Refactoring

Add rinkeby support to getERC20Decimals
Improve list of supported ERC20
Make getDecimalsForCurrency synchronous
Add a generic PN for PN using addresses and a reference to detect payments

Features

ETH payment detection in request-client.js
Exposes currency utilities and list of all supported currencies
Add ETH paymentNetwork to request-client
Add an explanation when request not found

Builds

Bump @stryker-mutator/core from 2.1.0 to 2.4.0
Bump webpack-cli from 3.3.6 to 3.3.10
Bump @stryker-mutator/typescript from 2.1.0 to 2.3.0
Bump tslib from 1.9.3 to 1.10.0
Bump axios from 0.18.1 to 0.19.0
Bump @types/sinon from 7.0.5 to 7.5.0

Bug Fixes

Use ERC20 default network
Rollback legacy request currency renaming from DAI to SAI

Chores

Automate canary package release

Documentation

Fix payment network specifications

Packages

@requestnetwork/advanced-logic
@requestnetwork/data-access
@requestnetwork/data-format
@requestnetwork/epk-decryption
@requestnetwork/epk-signature
@requestnetwork/ethereum-storage
@requestnetwork/multi-format
@requestnetwork/request-client.js
@requestnetwork/request-logic
@requestnetwork/request-node
@requestnetwork/transaction-manager
@requestnetwork/types
@requestnetwork/utils
@requestnetwork/web3-signature

Release 0.9.0

20 Nov 02:54
0a4e70a

Choose a tag to compare

Changelog

Features

check advanced logic when creating a request
Validation of accept, cancel and add extension data
request-client read currency as string
validate role for increase & decrease
custom bitcoin detection provider
ETH payement network in advanced-logic
add ERC20 currency list
translate currency string to object
add DAI payment detection

Chores

upgrade to typescript 3.7
configure codeclimate
change DAI to SAI on code
update internal dependencies on toolbox
cleanup PNBitcoinAddressBased

Builds

bump @types/cors from 2.8.4 to 2.8.6
bump npm-package-json-lint from 3.5.0 to 4.0.3

Bug Fixes

fix nightly tests
update eth-crypto dependency
throw when no encryption parameters is given to create an encrypted request

Tests

add ERC20 local and mainnet tests
add tests for ETH payment network
unskip ERC20 mainnet tests

Documentation

mistakes in variable name in request-client.js doc
ETH requests specifications
fix links for v2-docs-js-lib.request.network

Code Refactoring

simplify ERC20 payment network and make it generic
getBalance() of declarative read extension events instead of extension data to get timestamp
use ICurrency type for request currency

Packages

@requestnetwork/advanced-logic
@requestnetwork/data-access
@requestnetwork/data-format
@requestnetwork/epk-decryption
@requestnetwork/epk-signature
@requestnetwork/ethereum-storage
@requestnetwork/multi-format
@requestnetwork/request-client.js
@requestnetwork/request-logic
@requestnetwork/request-node
@requestnetwork/transaction-manager
@requestnetwork/types
@requestnetwork/utils
@requestnetwork/web3-signature

Images

Request Node 0.5.4

Smartcontracts, library js and BTC improvement

15 Oct 08:53

Choose a tag to compare

  • @requestnetwork/request-network.js@0.9.0

    • Introduce increaseExpectedAmounts() instead of addAdditionals(), reduceExpectedAmounts() instead of addSubtractions(), additions parameters instead of additionals. addAdditionals() and addSubtractions() are deprecated and will be removed at the next major version
    • getHistory() now return also the msg.sender of the actions
    • Allow signing request with metamask
    • Fix getRequest() to avoid uncaught exception in case of network issue
    • Fix getRequestEventsCurrencyContractInfo() in requestBitcoinNodesValidation-service
    • dependencies update
  • requestnetworkartifacts@1.6.0

    • Fix bug where webpack does not import format files
    • Fix webpack warning by making require more explicit
  • requestnetwork-data-format@0.1.4

    • Invoice unitPrice, discount and lateFeesFix are now Strings represented in the currency base unit.
  • request-network-smart-contracts@0.2.7

    • Full refactoring of smart contracts: improved modularity, readability, security and maintainability
    • Bitcoin smart contract improvements:
      • Payer refund addresses are now optional at the creation
      • Payer refund addresses can be added afterwards by the payer thanks to addPayerRefundAddressAction()
    • Burner smartcontract allows updating kyber address
    • Fix payment with OMG token

Add 5 ERC20 tokens

25 Sep 07:00

Choose a tag to compare

Adding the following ERC20:

  • KIN
  • BNB
  • LINK
  • ZRX
  • BAT