Skip to content

@react-native-gpui/core 0.87.0-alpha.6

Pre-release
Pre-release

Choose a tag to compare

  • rngpui::createTurboModule also returns React Native's own modules (Networking, WebSocket, AppState, DeviceInfo, PlatformConstants, Blob, FileReader and the default modules), so fetch, XMLHttpRequest and WebSocket work in a runtime a library starts, such as a worker. The dev, LogBox and Animated modules stay with the main runtime.
  • rn-gpui sets gpui-fast's renamed style field fast_overflow_clips_corners (it was overflow_clips_corners) to clip a view's children to its rounded corners; the Styled::overflow_clips_corners() method is unchanged. gpui-fast is pinned to f8229b9, which has the rename and keeps its changes to upstream GPUI's files small (script/check-upstream passes). The pin is in Cargo.lock, a prebuilt hash input, so the next release has a new prebuilt.
  • The package ships less: its own metro, renderer and JS engine helpers moved into internal/, and the maintainer-only scripts (generate-prebuilt-inputs, check-standalone-cmake, check-prebuilt-pin, check-loom-overrides, prebuilt-renderers), the integration tests of rn-gpui-module, polyfills, GPUI_PIN.md and LOOM_PIN.md are no longer published. Files an app or the build imports by path are where they were, and the prebuilt runtime's input hash is unchanged.
  • Published from CI through npm trusted publishing (OIDC) instead of an npm token.
npm install @react-native-gpui/core@0.87.0-alpha.6

npm: https://www.npmjs.com/package/@react-native-gpui/core/v/0.87.0-alpha.6
Documentation: https://streetwriters.github.io/react-native-gpui/