This repository has been archived by the owner on Sep 27, 2019. It is now read-only.
Releases: trufflesuite/drizzle-react-components-legacy
Releases · trufflesuite/drizzle-react-components-legacy
v1.3.0
The big thing for this release is that the React 16.3 context API is now officially supported! We've also added some other tasty features and fixed a bunch of bugs.
Features
- Add support for React 16.3 context! 🎉 (#63) (this is a non-breaking change, legacy context components are still the default for now, but this will change with our next major version)
- Add test apps for legacy context and new context so users can see how things are used (#62, #63)
- Make our code prettier and easier to contribute to! Add eslint, husky, prettier, lint staged (#64)
Fixes
- Fix
npm link
not working (#58) - Fix legacy React contract data not updating with props (#57)
- Prevent page refresh on enter pressed (#45, thanks to @maxme)
- Fix contract form
bytes32
bug (#43, thanks again @maxme!) - Fix not rendering array in
ContractData
(#46, thanks to @st3c)
Other
v1.2.0
v1.1.0
To coincide with the 1.1.0 release of drizzle
, we've added a new component for easily displaying account information (including the newly tracked account balances 👛).
New Features
- New
<AccountData />
component, for display of account address and balance for a given index.- props:
accountIndex
(int): Index of the account to use. Zero is the first account.units
(string): Denomination of the balance. Defaults to wei. For a reference of possible values see the web3 1.0 docs on thefromWei()
function.precision
(int): Number of decimal places.
- props:
Fixes
- Distribution minified.
v1.0.1
Why version 1.0.1? To keep the GitHub releases in sync with the NPM package versions.
Current components include:
- LoadingContainer: This components wraps your entire app (but within the DrizzleProvider) and will show a loading screen until Drizzle, and therefore web3 and your contracts, are initialized.
- ContractData: Displays data from the store based on a contract
call()
. - ContractForm: Automatically generates a form based on a contract
send()
function.
Check out the detailed readme or our documentation. For future releases, these notes will document fixes, additions, subtractions and changes.