Skip to content

Commit

Permalink
🎉 Release new version (#859)
Browse files Browse the repository at this point in the history
  • Loading branch information
truefibot committed Jul 9, 2022
1 parent 96a3d85 commit 029ca32
Show file tree
Hide file tree
Showing 12 changed files with 94 additions and 72 deletions.
53 changes: 0 additions & 53 deletions .changeset/fifty-trees-rest.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gas-limit-percentage.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hash-transaction-status.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/orange-lemons-wait.md

This file was deleted.

10 changes: 10 additions & 0 deletions packages/coingecko/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @usedapp/coingecko

## 1.0.16

### Patch Changes

- Updated dependencies [a2f26c2]
- Updated dependencies [2789dd9]
- Updated dependencies [69ac77f]
- Updated dependencies [96a3d85]
- @usedapp/core@1.1.0

## 1.0.15

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/coingecko/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@usedapp/coingecko",
"version": "1.0.15",
"version": "1.0.16",
"main": "dist/cjs/src/index.js",
"module": "dist/esm/src/index.js",
"types": "dist/esm/src/index.d.ts",
Expand Down
60 changes: 60 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,65 @@
# @usedapp/core

## 1.1.0

### Minor Changes

- a2f26c2: The 1.1.0 release of `@usedapp/core` was focused on improving the quality and stability of the framework.

The efforts were focused a lot on existing issues in the repository, regarding bugs and most-wanted feature requests.

## Improvements

- More known chains have been added, such as zkSync or Boba.
- UseDapp automatically deploys Multicall2 on local chain (previously only Multicall1).
- Sign in With Ethereum plugin has been added.
- Prompt the user to add a chain to MetaMask if it's not there.
- New hooks: `useRawLogs`, `useLogs`, and `useResolveName` (complement to useLookupAddress).
- Add possibility to add a buffer to estimated gas costs when sending transactions.
- Include errorCode (previously only error message) when a sent transaction fails.
- Optimization - Introduced a speed up of multicall encoding.
- Transaction hooks like `useSendTransaction` return more information to the developer, such as txHash or transaction receipt.

### Improvements related to limiting RPC calls

- Static calls.
- Limit refreshing when the window is not active.
- Ability to refresh every N blocks (or never).
- Do not query continuously for `eth_chainId` or `eth_blockNumber` if not necessary.

## Bug fixes

- `useContractFunction` accepts Falsy value as a contract.
- It is more uniform with how other hooks work.
- Support projects with `isolatedModules` enabled in their TSConfig.
- Properly set react and ethers as peer dependencies.
- Include a workaround for [this MetaMask issue](https://github.com/MetaMask/metamask-extension/issues/13375).
- Allow to pass different provider to `renderWeb3Hook`.
- Resurface error if `activateBrowserWallet` fails.
- Correctly resurface error when a call in Multicall2 fails.

## Documentation

- Portion of the documentation (hooks) is now auto-generated based on JSDoc and actual code.
- Keeping documentation close to code makes it easier to keep it up-to-date.
- Documentation now contains live examples - snippets of code that can be interacted with.
- Portion of the live examples is automatically tested with Playwright.

## Internal testing and miscellaneous

- More extensive tests for multi-chain scenarios and different refreshing strategies.
- Every change is immediately deployed to `dev` on NPM
- The developers can use new features earlier.
- Example app is automatically tested with Playwright.
- Introduce new issue templates on github, to improve collaboration with external developers and users
- Created an example of useDapp in a Next.js project.

### Patch Changes

- 2789dd9: 😶‍🌫️ Add gas limiter to use contract function
- 69ac77f: Added error hash returned to transaction status
- 96a3d85: Refresh static calls on props change

## 1.0.15

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@usedapp/core",
"version": "1.0.15",
"version": "1.1.0",
"repository": "[email protected]:EthWorks/useDApp.git",
"author": "Ethworks",
"license": "MIT",
Expand Down
10 changes: 10 additions & 0 deletions packages/siwe/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @usedapp/siwe

## 1.0.0

### Patch Changes

- Updated dependencies [a2f26c2]
- Updated dependencies [2789dd9]
- Updated dependencies [69ac77f]
- Updated dependencies [96a3d85]
- @usedapp/core@1.1.0

## 0.1.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/siwe/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@usedapp/siwe",
"version": "0.1.5",
"version": "1.0.0",
"repository": "[email protected]:TrueFiEng/useDApp.git",
"author": "TrueFiEng",
"license": "MIT",
Expand Down
10 changes: 10 additions & 0 deletions packages/testing/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @usedapp/testing

## 1.0.16

### Patch Changes

- Updated dependencies [a2f26c2]
- Updated dependencies [2789dd9]
- Updated dependencies [69ac77f]
- Updated dependencies [96a3d85]
- @usedapp/core@1.1.0

## 1.0.15

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/testing/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@usedapp/testing",
"version": "1.0.15",
"version": "1.0.16",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"repository": "[email protected]:EthWorks/useDApp.git",
Expand Down

3 comments on commit 029ca32

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.