Skip to content

Obsidian Typings Changelog

This page documents the changes made to the Obsidian Typings project. For the most up-to-date information, refer to the changelog of the individual releases on the GitHub releases page.

Models: Obsidian 1.15.1 (catalyst channel). Internal members can differ in other app versions, so guard the ones you use when your minAppVersion is older.

Branch: release/obsidian-catalyst/1.15.1

Commits: obsidian-catalyst-1.15.1-v1.1.0...obsidian-catalyst-1.15.1-v1.2.0

  • feat(workspace): type the members unset before the layout loads as nullable, with a LayoutReadyWorkspace view (fcf5ea3)
  • fix(workspace): correct members whose declared type disagrees with the 1.15.1 runtime (dfb5729)
  • fix(embed-registry): let EmbedCreator decline a file and loadFile be async (fe0b8a2)
  • fix!: move the Lezer and CodeMirror language/search boundaries behind an opt-in /lezer subpath (06914f0)
  • fix(hotkey-manager)!: type save and load as returning Promise (8667b0d)
  • feat(runtime)!: model the Obsidian catalyst 1.15.1 runtime changes (f6a9f25)
  • fix(pdfjs)!: match the vendored PDF.js page and render task (46d804d)
  • fix(bases)!: type the Bases file view controller as QueryController (c8aa214)
  • feat(sync): declare the local file records and file-event handlers of SyncPluginInstance (9fb7463)
  • feat: type the Workspaces plugin instance state and methods (4668cb8)
  • docs(bases): describe the table scroll position as fractions, not pixels (c0d275a)
  • feat: type the Sync and Publish instance members, the Sync history view and the Publish dialog (8ea2a3c)
  • feat(sync): type the remote vault and the selective-sync filter (943c5c5)
  • fix(lint): raise the shipped-code Node floor to the 1.1.9 launcher’s Node 16.16.0 (4d186a6)
  • docs: do not promise the key-presence precedence of SettingDefinitionBase.disabled (a9fb471)
  • feat: type the quick switcher modal and its file-suggest base (56eaa0f)

Names only, compared with obsidian-catalyst-1.15.1-v1.1.0.

Added (359):

  • CanvasIndex.cancelRun
  • CapacitorAdapter.readByUrl
  • Editor.everyLine
  • Editor.getSelectionHeadingLevel
  • Editor.isSelectionBlockquote
  • Editor.isSelectionBulletList
  • Editor.isSelectionCheckedTask
  • Editor.isSelectionNumberList
  • Editor.iterateSelectedLines
  • EmptyView.updateActions
  • FileManager.getTrashOption
  • FileManager.showSystemTrashFailed
  • FileManager.systemTrashFailure
  • FileSuggestModal
  • FileSuggestModal.allowCreateNewFile
  • FileSuggestModal.constructor__
  • FileSuggestModal.context
  • FileSuggestModal.createButtonEl
  • FileSuggestModal.getSuggestions
  • FileSuggestModal.renderSuggestion
  • FileSuggestModal.shouldShowAlias
  • FileSuggestModal.shouldShowAllTypes
  • FileSuggestModal.shouldShowImages
  • FileSuggestModal.shouldShowMarkdown
  • FileSuggestModal.shouldShowNonAttachments
  • FileSuggestModal.shouldShowNonFileBookmarks
  • FileSuggestModal.shouldShowNonImageAttachments
  • FileSuggestModal.shouldShowUnresolved
  • FileSuggestModal.supportsCreate
  • FileSuggestModalAliasSuggestion
  • FileSuggestModalAliasSuggestion.alias
  • FileSuggestModalAliasSuggestion.downranked
  • FileSuggestModalAliasSuggestion.file
  • FileSuggestModalAliasSuggestion.match
  • FileSuggestModalAliasSuggestion.type
  • FileSuggestModalBookmarkSuggestion
  • FileSuggestModalBookmarkSuggestion.bookmarkPath
  • FileSuggestModalBookmarkSuggestion.item
  • FileSuggestModalBookmarkSuggestion.match
  • FileSuggestModalBookmarkSuggestion.type
  • FileSuggestModalFileSuggestion
  • FileSuggestModalFileSuggestion.downranked
  • FileSuggestModalFileSuggestion.file
  • FileSuggestModalFileSuggestion.match
  • FileSuggestModalFileSuggestion.type
  • FileSuggestModalSuggestion
  • FileSuggestModalUnresolvedSuggestion
  • FileSuggestModalUnresolvedSuggestion.linktext
  • FileSuggestModalUnresolvedSuggestion.match
  • FileSuggestModalUnresolvedSuggestion.type
  • FileSystemAdapter.unreadablePaths
  • GraphRenderer.cancelRender
  • InfinityScroll.blockSize
  • InfinityScroll.cancelCompute
  • InfinityScroll.lastPass
  • InfinityScroll.minPassInterval
  • InfinityScroll.setMinPassInterval
  • Input
  • Input.chunk
  • Input.length
  • Input.lineChunks
  • Input.read
  • InteropLezerTree
  • InteropParseContext
  • InteropSearchQuery
  • InteropStringNodeProp
  • IterMode
  • LayoutReadyWorkspace
  • LayoutReadyWorkspace.activeTabGroup
  • LayoutReadyWorkspace.floatingSplit
  • LayoutReadyWorkspace.layoutReady
  • LezerInterop
  • LezerTree
  • LezerTree.children
  • LezerTree.constructor
  • LezerTree.cursor
  • LezerTree.cursorAt
  • LezerTree.empty
  • LezerTree.length
  • LezerTree.positions
  • LezerTree.prop
  • LezerTree.resolve
  • LezerTree.resolveInner
  • LezerTree.topNode
  • LezerTree.type
  • LezerTreeBuffer
  • LezerTreeBuffer.buffer
  • LezerTreeBuffer.length
  • LezerTreeBuffer.set
  • LezerTreeCursor
  • LezerTreeCursor.firstChild
  • LezerTreeCursor.from
  • LezerTreeCursor.lastChild
  • LezerTreeCursor.name
  • LezerTreeCursor.next
  • LezerTreeCursor.nextSibling
  • LezerTreeCursor.node
  • LezerTreeCursor.parent
  • LezerTreeCursor.prev
  • LezerTreeCursor.prevSibling
  • LezerTreeCursor.to
  • LezerTreeCursor.tree
  • LezerTreeCursor.type
  • LezerTreeFragment
  • LezerTreeFragment.from
  • LezerTreeFragment.offset
  • LezerTreeFragment.to
  • LezerTreeFragment.tree
  • LezerTreeRange
  • LezerTreeRange.from
  • LezerTreeRange.to
  • MountedLezerTree
  • MountedLezerTree.overlay
  • MountedLezerTree.parser
  • MountedLezerTree.tree
  • NodeProp
  • NodeProp.add
  • NodeProp.closedBy
  • NodeProp.constructor
  • NodeProp.contextHash
  • NodeProp.deserialize
  • NodeProp.group
  • NodeProp.lookAhead
  • NodeProp.mounted
  • NodeProp.openedBy
  • NodeProp.perNode
  • NodePropConfig
  • NodePropConfig.deserialize
  • NodePropConfig.perNode
  • NodePropSelectorMap
  • NodePropSource
  • NodeSet
  • NodeSet.types
  • NodeType
  • NodeType.id
  • NodeType.name
  • NodeType.none
  • NodeType.prop
  • Notice.autoHide
  • Notice.hidden
  • Notice.hovered
  • Notice.isHidden
  • Notice.tryHide
  • ObsidianLezerTypes
  • ParseContext
  • ParseContext.get
  • ParseContext.skipUntilInView
  • ParseContext.state
  • ParseContext.viewport
  • ParseContextRange
  • ParseContextRange.from
  • ParseContextRange.to
  • Parser
  • Parser.createParse
  • Parser.parse
  • PartialParse
  • PartialParse.advance
  • PartialParse.parsedPos
  • PartialParse.stopAt
  • PartialParse.stoppedAt
  • PlatformEx.canUseSystemTrash
  • Plugins.getPluginManifest
  • Plugins.isInstalled
  • Plugins.readManifest
  • PublishFileDiff
  • PublishFileDiff.checked
  • PublishFileDiff.ctime
  • PublishFileDiff.mtime
  • PublishFileDiff.path
  • PublishFileDiff.size
  • PublishFileDiff.type
  • PublishFileListSection
  • PublishFileListSection.checkAll
  • PublishFileListSection.childrenEl
  • PublishFileListSection.clear
  • PublishFileListSection.collapsed
  • PublishFileListSection.files
  • PublishFileListSection.headerEl
  • PublishFileListSection.publish
  • PublishFileListSection.sectionEl
  • PublishFileListSection.uncheckAll
  • PublishFileTreeItem
  • PublishFileTreeItem.checkboxEl
  • PublishFileTreeItem.diff
  • PublishFileTreeItem.name
  • PublishFileTreeItem.path
  • PublishFileTreeItem.section
  • PublishFileTreeItem.setChecked
  • PublishModal
  • PublishModal.openReviewChanges
  • PublishModal.plugin
  • PublishModal.reviewChangesSection
  • PublishPluginInstance.getCurrentSlug
  • PublishPluginInstance.modal
  • PublishPluginInstance.openModal
  • PublishPluginInstance.siteId
  • PublishReviewChangesSection
  • PublishReviewChangesSection.app
  • PublishReviewChangesSection.el
  • PublishReviewChangesSection.hide
  • PublishReviewChangesSection.parentModal
  • PublishReviewChangesSection.pathToDiffMap
  • PublishReviewChangesSection.sectionChanged
  • PublishReviewChangesSection.sectionNew
  • PublishReviewChangesSection.sectionUnchanged
  • PublishReviewChangesSection.show
  • QuickSwitcherModal
  • QuickSwitcherModal.constructor2__
  • QuickSwitcherModal.onChooseSuggestion
  • RenderTask.onError
  • ResultDom.changedDuringSearch
  • ResultDom.getQueueSortFunction
  • ResultDom.getRelevance
  • ResultDom.relevance
  • ResultDomItem.getScore
  • ResultDomItem.score
  • ResultDomItem.scoreQuery
  • SearchQuery
  • SearchQuery.caseSensitive
  • SearchQuery.constructor
  • SearchQuery.eq
  • SearchQuery.getCursor
  • SearchQuery.literal
  • SearchQuery.regexp
  • SearchQuery.replace
  • SearchQuery.search
  • SearchQuery.valid
  • SearchQuery.wholeWord
  • SearchQueryConfig
  • SearchQueryConfig.caseSensitive
  • SearchQueryConfig.literal
  • SearchQueryConfig.regexp
  • SearchQueryConfig.replace
  • SearchQueryConfig.search
  • SearchQueryConfig.wholeWord
  • SearchQueryMatch
  • SearchQueryMatch.from
  • SearchQueryMatch.to
  • SearchQueueComponent.setMatched
  • SearchQueueComponent.unmatchedFiles
  • SearchQueueStartOptions.narrows
  • SearchRelevance
  • SearchRelevance.app
  • SearchRelevance.caseSensitive
  • SearchRelevance.matcher
  • SearchRelevance.matchesTitle
  • SearchRelevance.score
  • SwitcherPluginOptions
  • SwitcherPluginOptions.showAllFileTypes
  • SwitcherPluginOptions.showAttachments
  • SwitcherPluginOptions.showExistingOnly
  • SyncFileTreeItem
  • SyncFileTreeItem.sFile
  • SyncFileTreeItem.view
  • SyncFilter
  • SyncFilter._allowSyncFile
  • SyncFilter.allowSpecialFiles
  • SyncFilter.allowSyncFile
  • SyncFilter.allowTypes
  • SyncFilter.changeFilter
  • SyncFilter.clear
  • SyncFilter.clearCache
  • SyncFilter.configDir
  • SyncFilter.filterCache
  • SyncFilter.findUnreadable
  • SyncFilter.ignoreFolders
  • SyncFilter.isPluginFile
  • SyncFilter.set
  • SyncFilterFile
  • SyncFilterFile.folder
  • SyncFilterFile.path
  • SyncLocalFile
  • SyncLocalFile.ctime
  • SyncLocalFile.folder
  • SyncLocalFile.hash
  • SyncLocalFile.mtime
  • SyncLocalFile.path
  • SyncLocalFile.previouspath
  • SyncLocalFile.size
  • SyncLocalFile.synchash
  • SyncLocalFile.synctime
  • SyncPluginInstance.boundOnFileAdd
  • SyncPluginInstance.boundOnFileRemove
  • SyncPluginInstance.boundOnFileRename
  • SyncPluginInstance.changeFilter
  • SyncPluginInstance.filter
  • SyncPluginInstance.getRemoteVaultId
  • SyncPluginInstance.getRemoteVaultName
  • SyncPluginInstance.getStatus
  • SyncPluginInstance.localFiles
  • SyncPluginInstance.onFileAdd
  • SyncPluginInstance.onFileRemove
  • SyncPluginInstance.onFileRename
  • SyncPluginInstance.scanFiles
  • SyncPluginInstance.serverFiles
  • SyncPluginInstance.setAllowSpecialFile
  • SyncPluginInstance.setIgnoreFolders
  • SyncPluginInstance.setRemoteVaultName
  • SyncPluginInstance.setSyncType
  • SyncPluginInstance.skippedFiles
  • …and 59 more

Removed (65):

  • BasesController
  • BasesController.addResult
  • BasesController.app
  • BasesController.buildBasesContext
  • BasesController.clear
  • BasesController.clearError
  • BasesController.ctx
  • BasesController.currentFile
  • BasesController.displayError
  • BasesController.error
  • BasesController.errorEl
  • BasesController.errors
  • BasesController.evaluateRelevantProperties
  • BasesController.events
  • BasesController.filterMenu
  • BasesController.getActiveBasesViewOfType
  • BasesController.getCurrentFile
  • BasesController.getEditorLanguageSupport
  • BasesController.getMockValue
  • BasesController.getMockValueForIdent
  • BasesController.getProperties
  • BasesController.getQueryViewNames
  • BasesController.getViewConfig
  • BasesController.getWidgetForProperty
  • BasesController.initialScan
  • BasesController.mockContext
  • BasesController.newItemMenu
  • BasesController.notifyView
  • BasesController.onConfigChanged
  • BasesController.onResize
  • BasesController.plugin
  • BasesController.promptForAddView
  • BasesController.propertyMenu
  • BasesController.query
  • BasesController.queryState
  • BasesController.queue
  • BasesController.relevantProperties
  • BasesController.removeResult
  • BasesController.requestNotifyView
  • BasesController.results
  • BasesController.resultsMenu
  • BasesController.runQuery
  • BasesController.selectView
  • BasesController.setQuery
  • BasesController.setQueryAndView
  • BasesController.sortMenu
  • BasesController.startLoader
  • BasesController.stopLoader
  • BasesController.update
  • BasesController.updateCurrentFile
  • BasesController.view
  • BasesController.viewContainerEl
  • BasesController.viewEstates
  • BasesController.viewHeaderEl
  • BasesController.viewMenu
  • BasesController.viewName
  • CanvasIndex.frame
  • FileExplorerPlugin.revealInFolder
  • GraphRenderer.renderTimer
  • InfinityScroll.queued
  • InfinityScroll.renderBlockSize
  • PDFPageProxy.height
  • PDFPageProxy.width
  • RecentFileTracker.onFileCreated
  • View.closeable

Models: Obsidian 1.15.1 (catalyst channel). Internal members can differ in other app versions, so guard the ones you use when your minAppVersion is older.

Branch: release/obsidian-catalyst/1.15.1

Commits: obsidian-public-1.15.0-v1.1.0...obsidian-catalyst-1.15.1-v1.1.0 — the first release from this branch, so the range opens at obsidian-public-1.15.0-v1.1.0, the nearest earlier release it was cut from

  • fix(pdfjs)!: reconcile the vendored PDFWorker static API (5f48b6d)
  • feat: add opt-in PDF.js type interoperability (2014cd9)
  • chore: generate README.md from template (f80b0b2)
  • feat: add opt-in Electron type interoperability (7310319)
  • feat: add opt-in Pixi type interoperability (037f730)
  • docs: explain retention of bookmarks with missing targets (cc62005)

Names only, compared with obsidian-public-1.15.0-v1.1.0.

Added (27):

  • ElectronInterop
  • ElectronModuleMember
  • InteropApplication
  • InteropContainer
  • InteropElectronBrowserWindow
  • InteropElectronModule
  • InteropElectronRemote
  • InteropElectronWebContents
  • InteropGraphics
  • InteropICanvas
  • InteropPDFDocumentLoadingTask
  • InteropPDFDocumentProxy
  • InteropPDFPageProxy
  • InteropPDFWorker
  • InteropPdfJsModule
  • InteropPixiModule
  • InteropPixiText
  • InteropRenderTask
  • InteropSprite
  • InteropTextStyle
  • ObsidianElectronTypes
  • ObsidianPdfJsTypes
  • ObsidianPixiTypes
  • PDFWorker.create
  • PDFWorker.workerSrc
  • PdfJsInterop
  • PixiInterop

Removed (1):

  • PDFWorker.getWorkerSrc