Releases: gnolang/gnonative
Releases · gnolang/gnonative
v4.0.0
4.0.0 (2024-10-30)
Bug Fixes
- Change call send amount to be an array of Coin (#193) (e4c8952), closes /github.com/gnolang/gno/blob/287c22ec830a1408f1d3de6319602640d841c7cc/gno.land/pkg/sdk/vm/msgs.go#L87 /github.com/gnolang/gno/blob/287c22ec830a1408f1d3de6319602640d841c7cc/tm2/pkg/std/coin.go#L19 /github.com/gnolang/gnonative/blob/c0f18fd181ae3bc2159090c5199f4725216f9800/service/api.go#L591-L594 /github.com/gnolang/gnokey-mobile/blob/f1dc64684f110f71c0465c6a815b2f1b745800e9/mobile/redux/features/signupSlice.ts#L218
BREAKING CHANGES
- The only code which currently uses the Send amount in
MsgCall is where [gnokey-mobile calls
v3.0.5
3.0.5 (2024-10-25)
Bug Fixes
- In MsgSend, use Coin. Add expo API function makeSendTx (#191) (f47f15d), closes /github.com/gnolang/gno/blob/287c22ec830a1408f1d3de6319602640d841c7cc/tm2/pkg/sdk/bank/msgs.go#L17 /github.com/gnolang/gno/blob/287c22ec830a1408f1d3de6319602640d841c7cc/tm2/pkg/std/coin.go#L19
v3.0.4
3.0.4 (2024-10-23)
Bug Fixes
- gnoNativeService: In RotatePassword, call Lock() after getSigner (#190) (53473b6), closes /github.com/gnolang/gnonative/blob/cdd7bcbfc3b932396e3c469f65859b772d35d44a/service/api.go#L285 /github.com/gnolang/gnonative/blob/cdd7bcbfc3b932396e3c469f65859b772d35d44a/service/service.go#L193
v3.0.3
v3.0.2
v3.0.1
v3.0.0
v2.0.0
2.0.0 (2024-09-23)
Bug Fixes
- Change UpdatePassword to take multiple addresses, roll back on error (#175) (7534c7d)
- update gnonative API (#179) (ecdd187)
BREAKING CHANGES
- Change
UpdatePassword
to take an array of addresses,
roll back on error.
Explanation: Currently, UpdatePassword
takes a single address of the
account to update the password. If a native application wants to change
multiple accounts to the new password, it does a loop to call
UpdatePassword
multiple times. But if one of the calls has an error,
the application breaks out of the loop and leaves the Keybase in an
inconsistent state where some passwords are changed but not all. The
application could write some logic to roll back these changes, but it is
better for the Gno Native Kit service to handle this.
This PR has two commits:
- Change the
UpdatePassword
request to take a required array of
account addresses. (If the application only wants to update the password
of one account, it is easy to make an array of one address.) In api.go,
we also changeUpdatePassword
to roll back to the old password in case
of error. - In types.ts and GnoNativeApi.ts, change
updatePassword
to take a
required array of Uint8Array for the addresses.