Skip to content

[pull] main from expo:main#638

Merged
pull[bot] merged 1 commit intocode:mainfrom
expo:main
Mar 1, 2026
Merged

[pull] main from expo:main#638
pull[bot] merged 1 commit intocode:mainfrom
expo:main

Conversation

@pull
Copy link

@pull pull bot commented Mar 1, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

This fixes support on API routes for using `getRandomBytes`,
`getRandomBytesAsync`, `getRandomValues`, `randomUUID`, `digestAsync`.

These were previously broken and only `digestStringAsync` would work
because it used the global `crypto` instead of getting it from
`getCrypto()`.

# Why

<!--
Please describe the motivation for this PR, and link to relevant GitHub
issues, forums posts, or feature requests.
-->

# How

<!--
How did you build this feature or fix this bug and why?
-->

# Test Plan

<!--
Please describe how you tested this change and how a reviewer could
reproduce your test, especially if this PR does not include automated
tests! If possible, please also provide terminal output and/or
screenshots demonstrating your test/reproduction.
-->

# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
-->

- [ ] I added a `changelog.md` entry and rebuilt the package sources
according to [this short
guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)

---------

Co-authored-by: Phil Pluckthun <phil@kitten.sh>
@pull pull bot locked and limited conversation to collaborators Mar 1, 2026
@pull pull bot added the ⤵️ pull label Mar 1, 2026
@pull pull bot merged commit f6737dc into code:main Mar 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant