Changelog
Source:NEWS.md
RserveTS 0.8.3
CRAN release: 2026-09-24
-
ts_compile.character()andts_deploy()default output to undertempdir()(oroptions(RserveTS.compile_dir = ...)/ envRSERVETS_COMPILE_DIR) instead of writing beside the source file; passfilename/fileto choose an explicit path. - Consolidate
ts_*()type constructors onto a singletype_objectshelp page (?ts_numeric,?ts_dataframe, etc.). - Consolidate widget docs onto a single
createWidgethelp page (?widgetActions,?observer,?tsWidget). -
ts_compile()hoists nested widget connectors to named top-level TypeScript exports (export const+T*aliases), ordered by child-widget dependencies. -
ts_compile.character()gainsformatandprettier_cmdto run Prettier (or a compatible CLI) on generated.tsoutput;prettier_cmddefaults togetOption("RserveTS.prettier_cmd")(NULLuntil set), with fallback toRserveTS_PRETTIER_CMD/PATH. -
ts_compile.ts_function()also honoursformat/prettier_cmd; both methods defaultformattogetOption("RserveTS.format", FALSE). -
ts_compile()roxygen documentsformat/prettier_cmdand clarifies file-path vsts_functionarguments. - add
widgetActions()for typed widget action definitions used bycreateWidget(actions = ...). - restore separate
createWidget()andwidgetActions()reference docs/exports and update pkgdown reference indexing. - stabilize widget observer tests by replacing parent-environment assignments with explicit test state environments.
RserveTS 0.8.2
- fix
ts_compile()app schema output by emitting a named*AppSchemaobject with typed default export. - add compile regression test coverage for named app schema and default export shape.
RserveTS 0.8.0
- Simplify widget creation with
createWidget()function. Now takes default values for properties, and automatically flushes state changes to TypeScript after execution.
RserveTS 0.7.0
- Enhanced
createWidget()function with support for child widgets. Widgets can now contain other widgets as properties, enabling hierarchical widget structures. The function now properly handles child widget initialization and state management. - Add
objectSignalsas dependency - Export
tsWidgetbase class for proper class lookup
RserveTS 0.6.0
Add new widget functionality to simplify creating widget objects that store state that can be modified by the JS application. The node package
@tmelliott/react-rservecontains hooks for working with these widgets.fix bug (use inherits() instead of class() == ““)