* types: remove problematic Record<string, any>
* types: remove `[key: string]: any` which clobbers all other type info
* fix: support alternative dev entrypoint
* fix: normalize boolean value to string
* fix: identify field used for legacy themes (?)
* fix: add missing `effect` and `iir` properties, which are likely internal only
* docs: move comment to JS Doc so it should show up in docs
* fix: add missing internal `lsr` field
* bump package to 0.1.15 to indicate breaking API change
* fix: ensure that Plugins can access their settings... if they exist
* Revert "bump package to 0.1.15 to indicate breaking API change"
This reverts commit 6e0d1094f2.
---------
Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
- fix: Select and Input elements rendered using provideUI via onMacroRendererSlotted don't function #8374
- fix: logseq.Editor.getPageBlocksTree does not work when page uuid is passed in as param #4920
- feat: add a plug-in flag for the plugin slash commands item
- feat: add logseq.App.setCurrentGraphConfigs: (configs: {}) => Promise<void>
- feat: add hook logseq.App.onTodayJournalCreated: IUserHook<{ title: string }
- enhance: auto-check updates for the installed plugins from Marketplace
- feat: expose template-related APIs to SDK
* improve(plugins): install hooks with user options
* improve(plugin): remove todos
* improve(plugin): hook for a specific plugin
* e2e tests
* improve(ui): global search bar for the results from the custom search service
Added
1. All configurations of current graph.
App.getCurrentGraphConfigs: () => Promise<any>
2. All favorite pages list of current graph.
App.getCurrentGraphFavorites: () => Promise<Array<string> | null>
3. All recent pages list of current graph.
App.getCurrentGraphRecent: () => Promise<Array<string> | null>
4. Clear right sidebar blocks.
App.clearRightSidebarBlocks: (opts?: { close: boolean }) => void
5. Support register CodeMirror enhancer. #Experiment feature
Experiments.registerExtensionsEnhancer<T = any>(type: 'katex' | 'codemirror', enhancer: (v: T) => Promise<any>)
6. Support hooks for app search service. #Alpha stage
App.registerSearchService<T extends IPluginSearchServiceHooks>(s: T): void
7. Support focus option for App.insertBlock. Credit to [[tennox]] #PR
Fixed
1. Adjust build script to be compatible for shadow-cljs bundler.
How to set up a clojurescript project with shadow-cljs?
https://github.com/rlhk/logseq-url-plus/blob/main/doc/dev-notes.md
Full-text search, highlights and assets alias support
It also exposes a plugin API for highlight context menu
```ts
/**
* Current it's only available for pdf viewer
* @param label - displayed name of command
* @param action - callback for the clickable item
* @param opts - clearSelection: clear highlight selection when callback invoked
*/
registerHighlightContextMenuItem: (
label: string,
action: SimpleCommandCallback,
opts?: {
clearSelection: boolean
}
) => unknown
```