Skip to content

v0.6.0

Choose a tag to compare

@joemasilotti joemasilotti released this 10 Apr 18:58
· 224 commits to main since this release

Breaking

  • Scoped npm packages. The unscoped ruby-native npm package is replaced with two scoped packages published under the Ruby Native org: @ruby-native/react and @ruby-native/vue. Update your imports:
    • import { NativeTabs } from "ruby-native/react"import { NativeTabs } from "@ruby-native/react"
    • import { NativeTabs } from "ruby-native/vue"import { NativeTabs } from "@ruby-native/vue"
    • In package.json, replace "ruby-native": "..." with "@ruby-native/react": "^0.6.0" or "@ruby-native/vue": "^0.6.0" depending on your framework.

Fixed

  • React and Vue Inertia components now build cleanly in Vite consumers. The @inertiajs/* router is imported dynamically (silently skipped when Inertia isn't installed), and react / vue are no longer marked optional in peerDependenciesMeta (only @inertiajs/react and @inertiajs/vue3 remain optional). Previously, Vite's optional-peer-dep shim broke the components' static imports.