Skip to content
This repository was archived by the owner on Dec 11, 2024. It is now read-only.

Releases: celo-org/react-celo

v4.0.1 Release

28 Jun 14:50
961620f
Compare
Choose a tag to compare

Fixes

CeloProvider props

  • the connectModalProps.hideFromDefaults once again hides wallets passed in to it from show in the connect modal
  • connectModalProps.style.overlay once gain allows devs to pass custom styles like zIndex to the modal overlay element (thus ensuring its always as high as it needs to be

CSS

  • global css rules for html elements have been removed
  • removes excess css delcarations
  • fixed bug with height: -webkit-fill-available; being set on html causing body background to not go full height.

Misc

Test added for connect modal to prevent further regressions

see https://github.com/celo-org/react-celo/pull/277/files for full details

v4.0.0 Release

02 Jun 17:51
c25b25b
Compare
Choose a tag to compare

Breaking changes

The Name

@celo-tools/use-contractkit became @celo/react-celo

The previous name had 3 issues we believe the new one addresses

  1. The library was often confused with @celo/contractkit.
  2. use implied it was just a react hook (no UI or Modal)
  3. contractkit implied it was primarily about @celo/contractkit.

MiniContractKit

@celo/[email protected] or later is required as useCelo now uses and returns a MiniContractKit instead of ContractKit. By not loading the wrappers and ABIs for all celo core contracts this cut the size of files imported from celo packages in half: From 73k gzipped to 36k gzipped.

Minor Breaking Changes

Backwards Compatible changes

  • useContractKit was renamed to useCelo, but the alias still exists. It will be removed in v5
  • ContractKitProvider was renamed to CeloProvider, but the alias still exists. It will be removed in v5

New Features

Minor New Features

Bug Fixes

Environment

Dependency Changes

  • Removes react-loader-spinner
  • Removes unstated-next
  • Replace qrcode.react with qrcode
  • Adds react-helmet
  • Upgrades react-modal

@celo/react-celo v4.0.0 Beta 1 Release

27 May 20:15
Compare
Choose a tag to compare
Pre-release

@celo/react-celo Release Notes (Beta 1)

Breaking changes

The Name

@celo-tools/use-contractkit became @celo/react-celo

The previous name had 3 issues we believe the new one addresses

  1. The library was often confused with @celo/contractkit.
  2. use implied it was just a react hook (no UI or Modal)
  3. contractkit implied it was primarily about @celo/contractkit.

MiniContractKit

@celo/[email protected] or later is required as useCelo now uses and returns a MiniContractKit instead of ContractKit. By not loading the wrappers and ABIs for all celo core contracts this cut the size of files imported from celo packages in half: From 73k gzipped to 36k gzipped.

Minor Breaking Changes

Backwards Compatible changes

  • useContractKit was renamed to useCelo, but the alias still exists. It will be removed in v5
  • ContractKitProvider was renamed to CeloProvider, but the alias still exists. It will be removed in v5

New Features

Minor New Features

Bug Fixes

Environment

Dependency Changes

  • Removes react-loader-spinner
  • Removes unstated-next
  • Replace qrcode.react with qrcode
  • Adds react-helmet
  • Upgrades react-modal

v3.1.0

04 May 20:24
0c222c7
Compare
Choose a tag to compare

This release improves support for custom networks, add support for metamask mobile, allows but does not require using contractkit 2.0, and expands modal customization options.

What's Changed

New Contributors

Full Changelog: v3.0.1...v3.1.0

v3.0.1

26 Feb 01:08
2dfe34e
Compare
Choose a tag to compare

What's Changed

Breaking Changes

Other Changes

Full Changelog: 2.1.2...v3.0.1

v2.0.0

29 Nov 23:06
Compare
Choose a tag to compare

Adds WalletConnect v1 support
Various bug fixes
Breaking Change - updateNetwork method type is now (network: Network) => Promise<void> from (network: Network) => void