All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- First-Class TypeScript Support: Introduced the
createRhinoStorefactory function to automatically infer store keys and types. - useSyncExternalStore Architecture: Swapped the internal architecture to an event-driven subscription model, drastically improving performance and completely eliminating "Provider Hell" (deeply nested context providers).
- [Breaking]
RhinoProviderno longer accepts astoreprop. Instead, you initialize your store usingcreateRhinoStore, which generates a custom provider and custom hooks. - [Breaking] Removed legacy/undocumented exports
CombineProvidersandcreateGlobalState. - [Breaking] Removed global legacy hooks (
useRhinoState,useRhinoValue,useSetRhinoState). You must now usecreateRhinoStoreto generate your hooks. RhinoProvidernow uses a single unified React Context instead of generating a context for every state key.