Releases: whosramoss/scriptdx
Releases · whosramoss/scriptdx
Release list
v1.2.0
1.2.0 - 2026-09-08
Added
- Optional
streamparameter onlogColor,logSuccess,logError,logSection,simpleLoading, andlinearLoadingfor custom output redirection. - Lazy loading for
FONT_MAPto reduce startup time when fonts are unused. scriptdx/fontsubpath export for explicit font module import.TableOptionstype withcolumnWidthandminWidthoptions forshowTable.columnWidth: "auto"option for dynamic column width based on content.NO_COLORenvironment variable support per no-color.org standard.FORCE_COLORenvironment variable support for CI environments.- Automatic TTY detection to disable colors when output is redirected.
isColorEnabled()function to check current color state.setColorEnabled(enabled: boolean)function for programmatic color control.
Changed
showTablenow accepts optionalTableOptionsthird parameter (backward-compatible).
v1.1.0
1.1.0 - 2026-07-24
Added
- JSDoc documentation on all public API exports for better IDE hints and typedocs.
- Runtime input validation for logger, loading, menu, and table helpers (invalid arguments throw
TypeError). - Expanded asynchronous test coverage for spinner and loading flows.
Changed
- Modularized the public entry point into focused modules (
colors,logger,loading,spinner,menu,table,system,validations,font) while keeping the same public exports. - Simplified the internal
ColorChainimplementation.
v1.0.0
1.0.0 - 2026-05-28
Added
- Initial public release of
scriptdx. - Logger helpers:
logInfo,logSuccess,logWarning,logError,logColor,logSection,logTopic,logQuestion, andcolor.*chains with.bold. - Backward-compatible aliases:
success,info,warning,error,debug. - Loading animations:
simpleLoading,linearLoading. - Step runner with spinner:
runStep; manual spinner viacreateSpinner. - Terminal tables:
showTable,showTableWithBorders. - CLI menu helper:
runMenuByIndex. - Tool validation:
hasTool,summarizeToolValidation. - System helpers:
isLinux,isWindows. - ASCII banner:
showScriptTitle. - Dual ESM/CJS build with TypeScript declarations (
dist/). - Documentation in
docs/(examples and API reference).