Skip to content

Releases: callstack/react-native-visionos

Release 0.76.0-rc.0

17 Sep 09:55
Compare
Choose a tag to compare
Release 0.76.0-rc.0 Pre-release
Pre-release

Hey, this is a new version of React Native visionOS 0.76.

New features

  • All improvements from React Native 0.76
  • React Native debugger is now supported!
CleanShot.2024-09-17.at.11.51.20.mp4

Note

Please upgrade your Cocoapods version to at least 1.15, without it you may face issues with Heremes linking.

Deprecations

Caution

This release deprecates the automatic cursor: pointer style on Touchable components. You should now use cursor: pointer in your stylesheets to enable the pointer cursor. This will be removed in the next major release.

Release 0.75.0

23 Aug 11:59
Compare
Choose a tag to compare

Hey 👋

This is the first React Native visionOS 0.75 release!

There are a few changes:

  • Template is now living outside of @callstack/react-native-visionos, now it's here.
  • Init command is now different. This change is reflected in the docs.
  • We now use a prebuilt version of Hermes 🎉

Get started

To start building with React Native visionOS use this command:

npx @react-native-community/cli@latest init <YourAppName> --template @callstack/visionos-template@latest

Simulator Screenshot - Apple Vision Pro - 2024-08-23 at 13 38 44

Known Issues

Prebuilt Hermes is missing x86 slice which prevents uploading the app to the AppStore using prebuilt Hermes. Fix should come with upcoming releases.

Workaround:

Reinstall pods with RCT_BUILD_HERMES_FROM_SOURCE flag.

RCT_BUILD_HERMES_FROM_SOURCE=true bundle exec pod install

Happy hacking!

Release 0.75.0-rc.2

31 Jul 14:22
Compare
Choose a tag to compare
Release 0.75.0-rc.2 Pre-release
Pre-release

To initialize the project use this command:

npx react-native@latest init VisionApp --template @callstack/visionos-template@0.75.0-rc.2

Known issues

Custom metro resolver @callstack/out-of-tree-platforms is breaking the bundling process (temporarily removed from the metro.config.js)

Release 0.75.0-rc.1

30 Jul 08:07
Compare
Choose a tag to compare
Release 0.75.0-rc.1 Pre-release
Pre-release

Hey!

This is the first RC of React Native visionOS 0.75 🎉

With this release, the template got moved out of the @callstack/react-native-visionos package to @callstack/visionos-template (https://github.com/callstack/visionos-template).

To initialize the project use this command:

npx react-native@latest init VisionApp --template @callstack/visionos-template@0.75.0-rc.1

Known issues

  • Custom metro resolver @callstack/out-of-tree-platforms is breaking the bundling process (temporarily removed from the metro.config.js)

Release 0.74.4

24 Jun 12:39
Compare
Choose a tag to compare

What's Changed

This is a small release including a minor bug fix for ornaments integration.

Full Changelog: https://github.com/callstack/react-native-visionos/commits/v0.74.4-visionos

Release 0.73.12

24 Jun 14:19
94719da
Compare
Choose a tag to compare

What's Changed

Hey, This release is a backport of changes that landed in 0.74.x.

  • feat: add support for ornaments & dev menu trigger by @okwasniewski in #149
  • fix: [Hermes] Can't build a new project for dev #128
  • fix: Asset validation failed - A key for 'MinimumOSVersion' is required #101

Ornaments support

It's now possible to define ornaments on windows by passing closure as the last parameter:

    RCTWindow(id: "SecondWindow", sceneData: reactContext.getSceneData(id: "SecondWindow")) { rootView in
      rootView.ornament(attachmentAnchor: .scene(.bottom)) {
        VStack {
          Button("Hey!") {}
        }
        .glassBackgroundEffect()
      }
    }

simulator_screenshot_1954653E-606E-42F9-8372-A7DB85F3C88A

Full Changelog: https://github.com/callstack/react-native-visionos/commits/v0.74.3-visionos

Release 0.74.3

10 Jun 12:26
6901261
Compare
Choose a tag to compare

What's Changed

  • feat: add support for ornaments & dev menu trigger by @okwasniewski in #149
  • fix: [Hermes] Can't build a new project for dev #128
  • fix: Asset validation failed - A key for 'MinimumOSVersion' is required #101

Ornaments support

It's now possible to define ornaments on windows by passing closure as the last parameter:

    RCTWindow(id: "SecondWindow", sceneData: reactContext.getSceneData(id: "SecondWindow")) { rootView in
      rootView.ornament(attachmentAnchor: .scene(.bottom)) {
        VStack {
          Button("Hey!") {}
        }
        .glassBackgroundEffect()
      }
    }

simulator_screenshot_1954653E-606E-42F9-8372-A7DB85F3C88A

Full Changelog: https://github.com/callstack/react-native-visionos/commits/v0.74.3-visionos

Release 0.74.1

30 Apr 13:25
Compare
Choose a tag to compare

What's Changed

  • feat: include privacy info manifest #144

Full Changelog: v0.74.0-visionos...v0.74.1-visionos

Release 0.73.11

30 Apr 13:44
41cf9dd
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.74.1-visionos...v0.73.11-visionos

Release 0.74.0

24 Apr 13:31
Compare
Choose a tag to compare

Hey!

This is the first 0.74 stable release! It contains all of the changes from upstream React Native so for full changelog checkout the blog post: https://reactnative.dev/blog/2024/04/22/release-0.74

Try it out by running:

npx @callstack/react-native-visionos@latest init TestApp

Note: Hermes is temporarily disabled in the Podfile (for new projects) official visionOS support in Hermes will be available soon. If you want to run Hermes anyway, check out this issue: #128