Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release-candidate v0.28.0-rc.1 #576

Merged
merged 54 commits into from
Oct 8, 2024
Merged

release-candidate v0.28.0-rc.1 #576

merged 54 commits into from
Oct 8, 2024

Conversation

alexruzenhack
Copy link
Contributor

@alexruzenhack alexruzenhack commented Oct 3, 2024

Description

  • Start release candidate process of v0.28.0-rc.1

Start the release candidate process for version 0.28.0-rc.1.
This PR will merge any changes on master into release-candidate branch.

alexruzenhack and others added 30 commits March 14, 2024 15:31
* feat: add nano contract feature toggle

* lint: comply with lint

* feat: remove custom nano contract feature toggle state to favor default state
* feat: add force param to featchTokenData

* chore: improve documentation
* feat: add an abstraction method to call checkAddressMine with retry strategy

* review: apply suggestions

* lint: resolve rules

* refactor: extract progressiveRetryRequest to helper

* lint: comply with rules

* review: apply suggestions

* chore: add docstring to progressive retry mechanism constants

* refactor: progressiveRetryRequest

* lint: comply with rule

* chore: remove custom maxRetries
* feat: add registerNanoContract effect

* feat: add nanoContract state and reducer to update registeredContracts

* test: registerNanoContract

* lint: comply with rules

* review: apply suggestions

* refactor: extract nano contract persistence operations to storage

* review: apply suggestions

* lint: remove unused import

* test: adjust call for storage

* test: get ncKey

* refactor: registerNanoContract and tests to comply with lib new version

* refactor: remove formatNanoContractRegistryEntry

* refactor: unify error message

* chore: update localization

* feat: specify error for nano contract not found

* chore: update localization

* review: apply suggestions

* chore: minor improvements

* chore: update localization

* refactor: remove getNanoContractState auxiliary method

* refactor: replace STORE.storage to wallet.storage

* lint: remove unsused import
* chore: add instrumentation to sagas/networkSettings

* chore: add instrumentation to sagas/helpers

* chore: add instrumentation on sagas/tokens

* lint: comply with rules
* feat: add ActionDot icon
* feat: add CircleCheck.icon
* feat: add CircleClock icon
* feat: add CircleError icon
* feat: add components
* refactor: simplifies TransactionStatusLabel
* chore: update translation files
* feat: restore registeredUids filter
* feat: add nano contract history effect, actions and reducer
* test: add history effect tests and extract fixtures
* refactor: persistence to use store interface from lib
* chore: add note about lack of support for methods on wallet service wallet
* feat: add nano contract info to tx history
* bump: wallet-lib to v1.5.0

* chore: add package-lock.json
* feat: add firstBlock and TransactionStatusLabel

* fix: status label and status badge
* feat: add nano contract list component
* feat: add nano contract feature toggle to dashboard
* refactor: TwoOptionsToggle component to simplify its mechanics
* fix: remove registered tokens when changing network settings
* feat: it extends HibridStore cleanStorage to also clean the cache
* feat: remove cleanStorage and add cleanTokens when calling wallet.stop
* feat(nc): add icons
* refactor: move icons to /Icons and add typed properties
* feat(nc): implement unregister nano contract saga effect
* feat: remove registered nano contracts on cleanTokens
* feat: add unregisterNanoContract to HybridStore
* feat: add nano contract screen
* feat: add nano contract components
* feat: improve NanoContractTransactionsList component
* feat: add init effect on sagas/nanoContract
* refactor: rename NanoContractTransactions* to NanoContractDetails*
* refactor: use consumeAsyncIterator from utils
* refactor: change oneline style to use unicode no-break space
* refactor: extract getAllAddresses as utility fn
* feat: add "offcard" prop to FeedbackContent component
* refactor: move fetch all wallet addresses to a saga effect on sagas/mixins
* refactor: move effects from mixins to wallet
* refactor: remove mixins from sagas/index.js
* feat: add nano contract transaction screen
* feat: add nano contract transaction components
* Add FeedbackContent for no input/output on NanoContractTransactionBalanceList
* fix: navigation to NanoContractTransactionScreen
- Add firstBlock to nano contract transaction on history
- Feat: improve NanoContractTransactionsList component
- Add feedback content for empty list
- Add feedback content for error on load
- Create FeedbackContent component
- Remove NoNanoContract component
- Refactor NanoContractsList component to use FeedbackContent component
- Refactor: use replace on navigation in place of navigate
- Feat: add feedback content for the first address loading
- Refactor: move fetch first wallet address to saga effect
- Refactor: move fetchFirstWalletAddress to sagas/wallet
- Refactor: extract hasError to utils
- Fix: avoid show success feedback on register screen because of initialization load
* chore: update QA docs
* fix: cleaning of tokens and nano-contract registered after reload
* feat: remove uses of HATHOR_TOKEN_CONFIG

* chore: update package-lock

* chore: use constants on config
alexruzenhack and others added 21 commits July 31, 2024 13:30
* feat: implement Nano Contract integration with Wallet Connect
* feat: adapt new nc tx to initialize, set result and withdrawal
* feat: make ncAddress react to firstAddress change
* feat: add name to method arguments
* feat: fire sentry error notification for method info not found
* feat: improve title of Arguments component
* feat: retrieve fallback arg entries when blueprint is loading
* feat: add nft check to action token on Actions component
* feat: add blueprint download to the tx loading flag and a redundancy
* refactor: replace network identification logic by the lib method
* fix: nano-contract history pagination and list order
* refactor: requestHistoryNanoContract to allow get newer and older transactions
* chore: remove delay from saga
* feat: default isAddressMine or isMine to false in case user is using wallet service
* feat: add load more button to load older transactions
* fix: callback reference by using an appropriate hook
* fix: call isWalletServiceEnabled to return a generator to consume
* chore: upgrade actions to a version that use node20 (LTS)

* chore: update tests to run on node20
* feat: add qr code to register nano contract
* refactor: replace nano contract state call for history call
* refactor: replace nano history call to getFullTxById
* feat: parse argument value by custom type

* chore: update wallet-lib to v1.10.0

* feat: show registered token symbol for TokenUid arg type

* feat: add support to Address type when parsing arguments

* refactor: extract dependencies to parent component

* chore: update package-lock.json

* feat: add support to extra argument and remove Address parse

* refactor: remove fallback for extra arguments

* review: apply suggestions

* chore: add logger to utils
* feat: implement Nano Contract integration with Wallet Connect

* feat: adapt new nc tx to initialize, set result and withdrawal

feat: make ncAddress react to firstAddress change

* feat: make ncAddress react to firstAddress the right way

* feat: add name to method arguments

* i18n: udpate files

* i18n: update translations and fix some typos

* review: apply suggestions and do some fixes

* refactor: load of token details not refistered but used in actions

* lint: comply with rules

* chore: remove unused action

* chore: add undeclared style

* refactor: walletConnect.tokens to unregisteredTokens

* chore: remove unused actions, reducer and saga effect

* chore: improving feedback message

* refactor: move requestTokens from walletConnect saga to tokens saga

* refactor: rename effect requestTokens to requestUnregisteredTokens

* feat: fire sentry error notification for method info not found

* feat: improve title of Arguments component

* chore: remove blueprint info action and reducer

* feat: retrieve fallback arg entries when blueprint is loading

* feat: add nft check to action token on Actions component

* chore: apply suggestions and improve documentation on new nc tx request

* lint: comply with rules

* fix: check if blueprintInfo is not null

* refactor: reanem style value to field

* type: recursar

* i18n: update translation files

* feat: add blueprint download to the tx loading flag and a redundancy

* fix: FeedbackContent margin style

Remarks:
The `marginVertical` and `marginHorizontal` are not being applied. Probably this is a bug in ReactNative.

* lint: comply with rules

* fix: typo

* chore: added dependencies and shims needed by walletconnect

* refactor: using object destructuring in shims

* chore: rebase me

* refactor: rootSaga now restarts failed sagas and sends errors to sentry

* feat: added actions and reducers

* refactor: NewNanoContract modal handling in wallet connect global modal

* feat: handling send nano contract tx triggers

* refactor: removed unused import

* refactor: typo

* refactor: unused log

* refactor: refactored SignMessageRequest to use new modal format

* chore: rebase me, adding mocks to dashboard

* refactor: removed function from redux

* refactor: convert PinScreen to a function component

* refactor: pin screen now dispatches an action (as a param)

* fix: invalid feedback modal on pin screen

* Revert "fix: invalid feedback modal on pin screen"

This reverts commit 3a16155.

* Revert "refactor: pin screen now dispatches an action (as a param)"

This reverts commit 9aebf83.

* Revert "fix: invalid feedback modal on pin screen"

This reverts commit 3a16155.

* Revert "refactor: convert PinScreen to a function component"

This reverts commit 6947315.

* refactor: removed mocks from dashboard

* chore: removed useless log

* fix: added onDismiss as a dependency to useCallback as it might change

* refactor: re-enable wallet-service, stop initializing wallet-connect when its enabled and removed cyclic dependency

* docs: added docstring to promptHandler

* docs: added docstring to requests

* refactor: removed unused imports on Dashboard

* chore: update locale

* chore: fix broken rebase

* refactor: removed navigation from useEffect deps

* docs: added hathor header and comment explaining createStore deprecation

* feat: added log when wallet-service is enabled and wallet-connect tries to init

* refactor: added retry strategy

* refactor: wallet-connect will always fork the init, so it restarts successfully

* refactor: nano contract saga is critical

* feat: added log for sagas crash and max retries

* fix: log being called incorrectly

* feat: logging when wallet-connect is initialzed

* fix: added missing import

* fix: broken rebase fixes

* chore: updated translations

* refactor: removed fuzzy translations

* refactor: removed unused import on NanoContactTransactionHeader

* feat: logging error on root saga

* chore: removed walletconnect libraries from package

* feat: added hathor-rpc-handler from the deployed lib

* chore: changed CI version to 18x and 20x

* chore: updated enable walletconnect script

* refactor: removed error logging on NanoContractMethodArgs

* chore: removed local library from package-lock.json

* refactor: removed unused option on PinScreen

* fix: added missing import

* chore: removed comment on pt-br texts

* chore: updated enable-walletconnect.patch

* refactor: added missing attribute from metadata

* chore: updated package-lock with wallet-lib version

* chore: updated locale

* chore: restored package-lock.json

* refactor: NanoContact -> NanoContract

* refactor: removed baseStyles prop from WalletConnectModal

* refactor: removed package.json changes in walletconnect diff

* refactor: reseting nano contract state on unmount

* refactor: acceptedNc -> acceptedReq

* refactor: onReadMore is now on warn component

* refactor: .. -> .

* refactor: removed unused styles from NewNanoContractTransctionModal

* chore: fix inconsistent return

* refactor: added missing translations

* chore: removed .mo

* refactor: updated patch to remove duplicated shim and podfile.lock

---------

Co-authored-by: Alex Ruzenhack <alex.ruzenhack@gmail.com>
* feat: create token retry/dismiss, better formatting and fixes

* refactor: console.error -> log.error

* refactor: renderBoolean -> renderBooleanFormatter

* refactor: only show 'allowMint and Melt' when a mint/melt address is sent

* refactor: added missing create token handling on saga and actions

* refactor: removed 3 dots

* refactor: removed unused styles

* refactor: setting create token to ready on component unmount

* refactor: removed touchable opacity

* refactor: improved error on root saga

* refactor: better imports

* refactor: using commonStyles

* refactor: removed onReadMore

* refactor: retrying -> false on onSetCreateTokenRetryDismiss

* refactor: missing code and general fixes

* feat: added address to create token request and changed order of create mint and melt

* feat: updated translations

* refactor: removed fuzzy translations

* chore: removed .mo

* refactor: apply review suggestions

* refactor: title -> name
* feat: add safeEffect as a saga helper
* feat: make requestUnregisteredTokens request concurrent
* feat: add action to set an end to unregistered tokens request
* feat: optimize function to one group and the last group
* refactor: restructure actions to improve state update
* refactor: add download to actions name
…nsion (#569)

* refactor: fetchHistory on sagas/nanoContract to avoid iteration suspension
* docs: improve docstring
* feat: add QA for Nano Contract
@alexruzenhack alexruzenhack self-assigned this Oct 3, 2024
@alexruzenhack alexruzenhack changed the title release-candidate draft release-candidate 0.28.0-rc.1 draft Oct 3, 2024
@alexruzenhack alexruzenhack changed the title release-candidate 0.28.0-rc.1 draft release-candidate v0.28.0-rc.1 Oct 3, 2024
@alexruzenhack alexruzenhack marked this pull request as ready for review October 3, 2024 15:53
@alexruzenhack alexruzenhack merged commit 16c483a into release-candidate Oct 8, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants