Skip to content

Releases: superfluid-finance/protocol-monorepo

[email protected]

09 Feb 23:13
018eac0
Compare
Choose a tag to compare

Changes in this Release

Changed

n/a

Added

n/a

Fixes

  • use builtTruffleContractLoader for deployment scripts

Breaking

n/a

[email protected]

09 Feb 15:27
d3f6ffd
Compare
Choose a tag to compare

Changes in this Release

Changed

  • Ethereum contracts should include artifacts folder. (#261)
  • Updated README (#261)

Added

n/a

Fixes

n/a

Breaking

n/a

[email protected]

08 Feb 17:15
d164130
Compare
Choose a tag to compare

Changes in this Release

Just some minor docs (#249) and dependency updates (#252) , nothing to see here

[email protected]

08 Feb 17:17
d164130
Compare
Choose a tag to compare

Changes in this Release

Changed

n/a

Added

  • ship full version of Int96SafeMath #250 (#254)
  • add TokenUpgraded and TokenDowngraded events to SETH (#253)

Fixes

  • a bug in agreement library causing non super app callbacks in IDA case (#246)

Breaking

n/a

[email protected]

07 Feb 22:33
2ab0107
Compare
Choose a tag to compare

Changes in this Release

👯 The day has come to add Ethers.js support! Here is a handy guide to use the SDK with ethers: https://docs.superfluid.finance/superfluid/protocol-tutorials/getting-started/frontend-+-nodejs#installation

Happy hacking!

Changed

  • Instantiation has changed (see "Breaking" section)

Added

  • New peer dependencies for @truffle/contract and @ethersproject/contracts. You must install one, depending on which web3 library you are using. (#238)
  • Add ethers.js support (#238)
yarn install @superfluid-finance/js-sdk @ethersproject/contracts

...

const SuperfluidSDK = require("@superfluid-finance/js-sdk");
const { Web3Provider } = require("@ethersproject/providers");

const sf = new SuperfluidSDK.Framework({
    ethers: new Web3Provider(window.ethereum)
});
await sf.initialize()
  • New function to load tokens loadTokens, which is similar to options.loadTokens, but you can call this at any time, rather than only during instantiation. (#245)
  • Support for Super ETH, which allows you to upgrade the native protocol token to a Super Token. (#234)

Fixes

  • n/a

Breaking

  • For web3.js users, we renamed web3Provider to web3. You must also create the web3.js object first, rather than relying on the sdk to create it. For example:
yarn install @superfluid-finance/js-sdk @truffle/contract

...

const SuperfluidSDK = require("@superfluid-finance/js-sdk");
const Web3 = require("web3");

const sf = new SuperfluidSDK.Framework({
    web3: new Web3(window.ethereum),
});
await sf.initialize()

[email protected]

07 Feb 22:36
2ab0107
Compare
Choose a tag to compare

Changes in this Release

Changed

  • Update to @superfluid-finance/js-sdk@^0.3.0

Added

  • Support ETHx (Super ETH) in the test environment

Fixes

  • Use safeERC20 in SuperUpgrader

Breaking

  • n/a

[email protected]

30 Jan 17:45
eb323a4
Compare
Choose a tag to compare

Changes in this Release

Changed

n/a

Added

n/a

Fixes

  • Dependency bug in #231

Breaking

n/a

[email protected]

29 Jan 18:25
939c83f
Compare
Choose a tag to compare

Minor improvements as we continue to separate the sdk from Truffle. Support for ethers.js is planned.

# Compare changes
git diff @superfluid-finance/[email protected] packages/js-sdk

Changed

  • Removes ethereum-contracts dependency for the loadContracts.js script (#219)

Added

n/a

Fixes

n/a

Breaking

n/a

[email protected]

29 Jan 09:40
939c83f
Compare
Choose a tag to compare

Changes in this Release

Changed

  • Build process: workflow for pr branches, canary branch, master branch revamped

Added

  • Additional Superfluid host contracts testings (#220)
  • Build process: etherscan support (#223)

Fixes

  • PVE001 fix - use SafeERC20 SafeTrasfer(From) (#214)
  • PVE003 use actual amount when using underlying tokens (#217)
  • PVE005 support APP_RULE_NO_REGISTRATION_FOR_EOA (#216)
  • PVE007 rewardAmount in AgreementLiquidated and other minor fixes (#218)
  • fix deploy-super-token.js script
  • corrected licence reference in ethereum-contracts to AGPLv3

Breaking

  • fix typo of operationType in batchCall (#225)