All notable changes to the vortex-api will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- New selectors:
activeProfileId,nextProfileId,profiles,lastActiveProfiles,enabledModCountForProfile,discovered,userInfo,isPremium,shouldShowPremiumAd,isAnalyticsEnabled,isTelemetryEnabled,mainPage,secondaryPage,notifications - New action creator:
setUseModernLayout - New telemetry event classes:
CollectionsDraftedEvent,CollectionsDraftUploadedEvent,CollectionsDraftUpdateUploadedEvent - New interfaces:
IProgressProfile,IProgressProfileDeploying,IProgressWithProfilefor deploy progress tracking - New type:
PropsCallbackTyped<T>as a typed variant ofPropsCallback - New function:
withTrackedActivity<T>for activity tracing runElevatedandrunThreadednow directly exported (previously re-exports fromvortex-run)IActionOptionsandIMainPageOptions:isClassicOnlyandisModernOnlyproperties for layout filteringIMainPageOptions:mdiproperty for icon supportISettingsInterface:primaryToolandtoolspropertiesIWindow:useModernLayoutpropertyISteamEntry:compatDataPath,protonPath,usesProtonproperties for Proton supportIState.persistent.healthCheckandIState.session.healthCheckstateUserCancelednow exposes askippedproperty
- Package renamed from
vortex_develto@vortex/renderer; entry point changed fromindex.d.tstoapi.d.ts runElevatedhas a new signature:(ipcPath, func, args?) => Promise<string>usingIElevatedIpcIconconverted from class component toFC<IIconProps>DNDContainerconverted from class component toFC<IDNDContainerProps>MainPageconverted from class to const with.Bodyand.HeaderstaticsDebouncernow extendsGenericDebouncerbase classUserCanceledchanged from opaque constructor to a proper class extendingError- All
Archivegetters now return| undefined ReduxProp.calculate()return type widened fromTtoT | undefinedIGameStore.getGameStorePathreturn type widened fromstringtostring | undefinedIGameStoreEntry.gameStoreIdtype widened fromstringtostring | undefinedMissingInterpreter.urlandSetupError.componentreturn types widened tostring | undefinedIPersistormethod return types changed fromPromisetoPromiseLikeIDialogContent.parameterstype tightened fromanytoRecord<string, string | number>PropsCallbacktype tightened from() => anyto() => { [key: string]: unknown }logparameterlevelchanged fromLogLeveltoLevel,metadatafromanytounknownterminateparametererrorchanged fromIErrortoReportableError- Multiple selectors tightened from
anystate toIState - Broad Bluebird to native Promise migration across
fsnamespace
makeRemoteCallnow returnsneverand is marked@deprecated. Usewindow.apiinsteadlogfunction invortex-api/util/logmarked@deprecated. Importlogdirectly fromvortex-apior usewindow.api.log(level, message, metadata)insteadIExtensionContext.onceMainmarked@deprecated. We discourage calling code on Main, since extensions are no longer executing on it.
bundleAttachmentfunction removedextendfunction (extensible component factory) removedTailwindexport (SVG paths, tab/form/button components, typography) removed