Skip to content

Latest commit

 

History

History
40 lines (38 loc) · 1.75 KB

CHANGELOG.md

File metadata and controls

40 lines (38 loc) · 1.75 KB

Changelog

  • 2.3.0-1

    • Added properties viewIds and viewInfos properties to the object returned by useJoinedViews
    • Deprecated views property in favor of viewIds in object returned by useJoinedViews
    • Added optional viewData property to the CroquetRoot.sessionParams prop (from @croquet/croquet2.0.0-42)
    • ReactModel.handleViewJoin receives second argument viewInfo of type ViewInfo
    • ReactModel.handleViewExit receives second argument viewInfo of type ViewInfo
  • 2.2.1

    • Bug fix: QFunc handlers survive minification
  • 2.2.0

    • Added showChildrenWithoutSession prop to CroquetRoot
    • Added deferSession prop to CroquetRoot
    • Added useLeaveSession hook
    • Added useSetSession hook
    • Added useIsJoined hook
    • Added useSessionParams hook
    • Renamed useConnectedViews to useJoinedViews (old name still available as an alias)
    • Renamed useCroquetSession to useSession (old name still available as an alias)
    • Renamed useCroquetView to useView (old name still available as an alias)
    • Improved session transitioning: Application only re-renders when new connection is fully established
    • Strengthened typing definitions
  • 2.1.2

    • Update @croquet/croquet to ^2.0.0-19
  • 2.1.1

    • Update @croquet/croquet to ^2.0.0-18
    • React Model uses super.subscribe() to subscribe to view-join and view-exit events
  • 2.1.0

    • Optimize useConnectedViews to minimize rerenders
    • Update CroquetRoot to not rerender when model changes
    • Added useModelSelector hook
    • Updated typing annotations for useModelRoot
  • 2.0.2

    • Export CroquetContext
  • 2.0.1

    • Reduce view-side handler invocations (using oncePerFrame)
    • Model-side handler survives minification step
  • 2.0.0

    • Major new release with magic ✨