Repository navigation
Releases
Releases · WebEferen/segment
v0.4.0
v0.3.0
v0.2.1
Patch Changes
- 94337ed: Embed the original TypeScript in the published
dist/*.js.mapfiles. The package does not shipsrc/, so consumer bundlers warned that every sourcemap pointed to missing source files.
v0.2.0
Minor Changes
- 1ba7b25: Add a React binding at the new
segment-state/reactentry point: the sameuseValue,useStatus, anduseDraftcontract as the Octane binding, built onuseSyncExternalStoreand React 19'suse(). The entry re-exports the whole application API, so a React application imports from one place and never loads Octane. Theoctaneandreactpeer dependencies are both optional; an application installs only the renderer it uses.
v0.1.0
Minor Changes
-
eb3b55a: Export Octane hooks from segment-state, make Octane required, retain the renderer-free segment-state/core entry point, and remove segment-state/octane.
-
82fd047: Move SSR serialization and port attachment to tree-shakeable entry points with
standalonedehydrate,hydrate, andattachPortfunctions.Import SSR helpers from
segment-state/ssrand migrate
store.dehydrate(options)todehydrate(store, options)and
store.hydrate(payload, options)tohydrate(store, payload, options). Import
attachPortfromsegment-state/portsand migratestore.attach(port)to
attachPort(store, port).
v0.0.2
Patch Changes
- ceb8960: Document the complete server-to-client hydration flow and strengthen release
automation with packed-artifact validation, mandatory pull-request changesets, and
trusted npm publishing.