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

fix(js): storeRekey in React Native #161

Merged

Conversation

genaris
Copy link
Contributor

@genaris genaris commented Aug 2, 2023

StoreRekey for React Native was not calling the proper method.

@genaris
Copy link
Contributor Author

genaris commented Aug 2, 2023

@thiagoromanos

@TimoGlastra TimoGlastra merged commit 6af7ebc into openwallet-foundation:main Aug 2, 2023
26 checks passed
@TimoGlastra
Copy link
Contributor

Do we also want to make a new release right away

@thiagoromanos
Copy link

Do we also want to make a new release right away

If it's possible, it would be great, @TimoGlastra. Key rotation is a essential functionality for a feature my team is developing.

@genaris
Copy link
Contributor Author

genaris commented Aug 2, 2023

Do we also want to make a new release right away

I guess so, as different teams encountered issues related to this recently. It would not require new release at AFJ side, right? I mean consumers of the framework can use @hyperledger/aries-askar-react-native 0.1.1 if they want? (currently @aries-framework/askar has @hyperledger/aries-askar-shared: "^0.1.0" as peerDependency)

@genaris genaris deleted the fix/rekey-react-native branch August 2, 2023 13:12
@andrewwhitehead
Copy link
Contributor

It would be nice to merge #159 before a release. I also had a minor update to the Python wrapper planned, and the next version should be 0.4 due to a bunch of dependency updates and some breaking changes to the Rust API.

@swcurran
Copy link
Contributor

swcurran commented Aug 2, 2023

Added some reviewers on #159 so we can get that merged along with this one for a release.

@genaris
Copy link
Contributor Author

genaris commented Aug 2, 2023

No problem, but this is a quick fix specific to JS wrapper. I thought @TimoGlastra was referring to releasing a new version of the wrappers only (i.e. release a 0.1.1 version for shared/nodejs/react-native). Isn't it possible with current CI/CD?

@thiagoromanos
Copy link

No problem, but this is a quick fix specific to JS wrapper. I thought @TimoGlastra was referring to releasing a new version of the wrappers only (i.e. release a 0.1.1 version for shared/nodejs/react-native). Isn't it possible with current CI/CD?

Is it possible to publish a non-final release, like an alpha or something like that, just to be able to use that package already?

@andrewwhitehead
Copy link
Contributor

andrewwhitehead commented Aug 3, 2023

We probably should do one or two 0.4 dev releases. The update from sqlx 0.6 to 0.7 is a fairly big one, although I'm not seeing any issues so far. This fix should be good for sqlite stability as well, I think it resolved the intermittent test failures on CI: launchbadge/sqlx#2573

@swcurran
Copy link
Contributor

swcurran commented Aug 3, 2023

@andrewwhitehead — who is “we” on this. I don’t want this falling between the cracks. Are you the one to do the dev releases, and is there anything preventing them from happening?

@andrewwhitehead
Copy link
Contributor

I can or Berendt and Timo have created releases in the past. It just means updating the version numbers appropriately (can be slightly tricky as the format for dev versions varies between Rust/Python/JS) and creating a release on Github.

@TimoGlastra
Copy link
Contributor

As there is changes to the native bundle that don't have updates yet to the JS wrapper, I'm going to create a patch release for the JS wrapper for now. This will keep the existing native code, as it's a JS package only change

Then we can update the JS wrapper to support the new features form the recent PRs and get that also released

@TimoGlastra
Copy link
Contributor

Made a PR to update the version for JS: #165, so at least this PR can be released without any updates to the native bundle

@TimoGlastra
Copy link
Contributor

v0.1.1 has now been released. I think it should automatically install the new version if you remove your yarn.lock and regenerate it, but you can also force it by adding the v0.1.1 dependency for both /sahred and /react-native to your project

jamshale pushed a commit to jamshale/aries-askar that referenced this pull request Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants