Skip to content

Releases: omnidotdev/rdk

@omnidotdev/rdk@0.9.0

11 Feb 03:42
4683b1e

Choose a tag to compare

Minor Changes

  • #67 bb058b5 Thanks @coopbri! - Add magic window module with camera passthrough and device orientation tracking

  • #65 67807e7 Thanks @coopbri! - Add subpath exports for fiducial, geolocation, and immersive modules with multi-entry Vite build

@omnidotdev/rdk@0.8.0

20 Jan 04:02
487dc28

Choose a tag to compare

Minor Changes

  • #59 584773c Thanks @coopbri and @nickw1! - Add GeoLine and GeoPolygon components for rendering paths and areas in AR space using lon/lat coordinates. These components complete the core GeoJSON geometry support:

    • GeoLine: Renders lines (example use cases are roads, paths, routes) using Three.js Line2 for variable width support
    • GeoPolygon: Renders filled polygons (zones, areas, boundaries) with optional holes

    Both components accept GeoJSON-style coordinate arrays [lon, lat, elevation?] for direct compatibility with mapping APIs and the locar-tiler library.

@omnidotdev/rdk@0.7.0

07 Jan 06:56
8f9b8a9

Choose a tag to compare

Minor Changes

  • #56 39954c3 Thanks @coopbri! - Add status flags to backend hooks for safe destructuring.

    useGeolocationBackend() and useFiducialBackend() now return an object with isPending and isSuccess boolean flags instead of returning null on first render. This enables safe destructuring without null checks:

    // before (crashed on first render)
    const geo = useGeolocationBackend();
    const locar = geo?.locar;
    
    // after (safe destructuring)
    const { locar, isPending, isSuccess } = useGeolocationBackend();
    
    if (isSuccess && locar) {
      const worldCoords = locar.lonLatToWorldCoords(lon, lat);
    }

    New exported types: GeolocationBackendState, FiducialBackendState

@omnidotdev/rdk@0.6.0

03 Jan 21:47
2e27df5

Choose a tag to compare

Minor Changes

  • #52 bdb98ff Thanks @coopbri! - Refactor backend registry from array to Map for O(1) type-based lookup. Add type discriminator to Backend interface and new useFiducialBackend/useGeolocationBackend hooks for type-safe backend access. Move anchor registry into geolocation backend.

@omnidotdev/rdk@0.5.2

11 Dec 08:07
e3b1dda

Choose a tag to compare

Patch Changes

@omnidotdev/rdk@0.5.1

02 Dec 22:04
0df416d

Choose a tag to compare

Patch Changes

  • #37 5afc4b2 Thanks @coopbri! - Stabilized options in GeolocationSession and FiducialSession to prevent an infinite render loop when it was not provided as props

  • #39 319f2d0 Thanks @nickw1! - Restored missing locar.getLastKnownLocation() invocation in GeolocationAnchor

@omnidotdev/rdk@0.5.0

29 Nov 03:04
696fd59

Choose a tag to compare

Minor Changes

  • #35 c66a582 Thanks @coopbri! - BREAKING: Changed geolocation module callback prop names: onAttached to onAttach and onGpsUpdated to onGpsUpdate. This normalizes the callbacks to present tense, following the React convention.

Patch Changes

  • #33 826cdb5 Thanks @coopbri! - Reduced bundle size by properly externalizing dependencies

@omnidotdev/rdk@0.4.2

28 Nov 19:51
8e75adc

Choose a tag to compare

Patch Changes

  • #31 a0ac723 Thanks @coopbri! - Fixed a regression where already-registered backends would be reinitialized, causing a render loop

@omnidotdev/rdk@0.4.1

28 Nov 03:52
7b1bbda

Choose a tag to compare

Patch Changes

  • #27 d808716 Thanks @nickw1! - Added onGpsUpdated callback to geolocation backend

  • #30 4027439 Thanks @coopbri! - - Removed XRStoreActions and XRStoreState library exports

    • Added FiducialAnchorProps and GeolocationAnchorProps library exports
    • Fixed GeolocationSession and FiducialSession options prop being typed to any

@omnidotdev/rdk@0.4.0

28 Nov 00:55
62df2d7

Choose a tag to compare

Minor Changes

  • #26 fa31da4 Thanks @coopbri! - Added native WebXR support, powered by @react-three/xr.

    BREAKING: Removed cameraSource prop from XR component. Sessions now auto-configure themselves:

    // before
    <XR cameraSource="video">
      <FiducialSession />
    </XR>
    
    // after
    <XR>
      {/* auto-configures video mode */}
      <FiducialSession />
    </XR>

    New Features:

    • ImmersiveSession component for WebXR AR/VR
    • Nested @react-three/xr's store nested under useXRStore's immersive property
    • Added ImmersiveMode type export, which maps to and from official WebXR modes (immersive-arar, immersive-vrvr, inlineinline)