279 Commits

Author SHA1 Message Date
charlie
b6e12a263d chore(libs): build cljs sdk with the latest sdk 2026-04-20 12:54:35 +08:00
charlie
68db72d69d chore(libs): bump version 2026-04-18 18:58:10 +08:00
megayu
76285de44b refactor: toolchain upgrade (#12517)
* chore(deps): upgrade Clojure version to 1.12.4 across multiple dependency files

* chore: bump shadow-cljs to 3.3.6

* chore: bump org.clojure/clojurescript to 1.12.134

* chore(deps): upgrade Clojure version to 1.12.4 in workflow files

* chore(deps): upgrade Java version to 21 in workflow files

* chore(deps): upgrade Node.js version to 24 in workflow files

* chore(deps): upgrade Node.js version to 24 in Dockerfile

* feat(updater): migrate electron-forge to electron-builder

* fix wrong android app version

* fix workflow

* feat(dependency-upgrade): add max-update-interval option for dependency audits

* chore(deps): upgrade electron-builder and electron-updater

* fix: update manual verification instructions for Electron shim cache

* chore: update shadow-cljs version to 3.4.4 across all dependencies

* chore: upgrade electron version to 41.2.1

* chore: update metosin/malli dependency to latest

* chore: upgrade cider-nrepl version to 0.59.0 in dependencies

* chore: upgrade clj-kondo version to 2026.04.15 and fix warning

* chore: move Electron windows build configuration from yml to ci

* chore: update Electron signing configuration to extend from base config

* fix: replace icon file for NSIS compatibility

* chore: resolve metosin/malli version conflicts

* chore: upgrade jdk to 21 in e2e workflow

---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2026-04-17 19:40:01 +08:00
Charlie
a95483655b refactor: plugin libs (#12395)
This pull request refactors the plugin library infrastructure and adds new experimental features for hosted/sidebar renderers. The main changes include:

Purpose: Refactor plugin communication library (Postmate) to support MessageChannel for improved performance, add support for hosted/sidebar renderers in plugins, add new debug APIs, and consolidate helper functions.

Changes:

Added MessageChannel support to Postmate for optimized plugin-host communication with backward compatibility
Introduced hosted renderer and sidebar renderer APIs for plugins to register custom UI components
Added new app APIs: get_current_route, export_debug_log_db, reset_debug_log_db
Refactored helper functions from helpers.ts to common.ts and updated all import paths
Extended block property APIs to include class properties with default values
Added comprehensive documentation for experiments APIs and plugin development
Added E2E test for plugin marketplace installation
Version bump from 0.2.12 to 0.3.1
2026-04-14 14:29:22 +08:00
megayu
d6403b7746 dependencies upgrade (#12460) 2026-03-23 21:32:28 +08:00
megayu
adbaf10abc chore: tech stack upgrade (#12448)
* fix(lint): make worker/frontend separation lint work on Windows

* chore: update cljs:electron-watch script to include test flag

* chore: remove dead root dependencies

* chore(deps): converge better-sqlite3 to 12.6.2 across deps packages

* chore(deps): converge fs-extra to ^11.3.0 across package roots

* fix(test): correct parameters for create-if-not-exists function

* chore(deps): converge cljs-bean to 1.9.0 across deps roots

* fix(tests): escape regex in cljs:run-test script

* chore: pin root packageManager to yarn 1.22.22

* chore(build): replace del with fs.rmSync in gulp clean

* chore(build): replace npm-run-all with npm-run-all2

* chore(security): upgrade dompurify and unify sanitizer path

* chore(observability): upgrade web sentry to 8.x

* chore: remove unused react-draggable dependencies

* chore(ci): fix windows release artifact collection

* fix(build): create static dir before gulp clean scans it

* fix: update nbb-logseq dependency to version feat-db-v33

* fix(test): move start-time initialization after clone repo

* fix(deps): update nbb dependencies and adjust test script paths to compatible with windows path delimiter

* chore(deps): remove dead meander dependency

---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2026-03-13 13:20:49 +08:00
charlie
4bca11329b chore(libs): bump new version 2026-01-19 18:33:31 +08:00
charlie
110084e4ba enhance(apis): add today page 2026-01-19 15:35:05 +08:00
charlie
af51223ff6 enhance(apis): add setPropertyNodeTags function for managing property tags 2026-01-17 15:05:35 +08:00
charlie
e94959690d enhance(api): managing property choice values 2026-01-16 18:16:16 +08:00
charlie
542a704bcf fix(docs): correct formatting and variable names 2026-01-14 16:13:47 +08:00
charlie
621afe27d2 fix(docs): correct formatting and spacing 2026-01-14 16:03:28 +08:00
charlie
9837087c74 chore(libs): update AGENTS.md and add db_query_guide.md for improved documentation 2026-01-14 16:01:14 +08:00
charlie
c8148f66ef chore(libs): add Logseq plugin development agent guide 2026-01-07 20:43:45 +08:00
charlie
ffdb990d84 chore(libs): rename db_properties_notes to db_properties_guide and update README references 2026-01-07 20:43:12 +08:00
charlie
23c6f81010 enhance(libs): add get_file_content function for retrieving file content 2026-01-06 12:42:29 +08:00
charlie
74bfe36d8f enhance(libs): update IDBProxy interface and improve documentation 2026-01-06 11:05:08 +08:00
charlie
8d7aaa791e enhance(apis): add setFileContent method for built-in file paths 2026-01-06 10:49:31 +08:00
charlie
d1bbb5ad16 chore(libs): add development notes 2026-01-05 18:10:35 +08:00
charlie
2642765ebf chore: update db_properties_skill.md with enhanced property schema APIs and examples 2026-01-04 16:36:02 +08:00
charlie
a2bfb39632 chore: update version to 0.2.11 and add developer notes for Logseq DB properties 2026-01-04 16:29:17 +08:00
charlie
baff8a4cc1 enhance(apis): add support for tag properties in createTag API 2026-01-03 21:51:23 +08:00
charlie
460eefb960 enhance(apis): add reset option to upsertBlockProperty for block properties 2026-01-01 17:49:24 +08:00
Tienson Qin
bcc478b5f7 refactor: separate og and db version (#12276)
separate og and new version apps

remove file sync, tldraw, excalidraw and zotero
2025-12-29 15:39:32 +08:00
charlie
5f185a39c6 chore(libs): upgrade libs core and yarn.lock 2025-12-29 14:18:55 +08:00
charlie
3d78209a60 chore(libs):bump new version 2025-12-26 15:26:12 +08:00
Charlie
fbe6b998b6 enhance(plugins): apis related improvements (#12266) 2025-12-25 13:25:12 +08:00
Gabriel Horner
a630835cee chore: update libs links so they are compatible with DB 2025-12-19 11:34:54 -05:00
charlie
dc4c712089 enhance(apis): add note for setBlockIcon method 2025-12-10 14:49:29 +08:00
charlie
e8d06f6fa8 chore(ci): update dependencies and add GitHub Actions workflow for syncing plugin documentation 2025-12-10 14:48:41 +08:00
charlie
61d28c307e chore(libs): bump version to 0.2.9 2025-12-09 16:31:25 +08:00
charlie
e5903e1c21 enhance(apis): add tag related apis 2025-12-09 16:31:25 +08:00
sander boer
d737a447c2 feat: allow user to add an allow list (#12236) 2025-12-04 10:56:16 +08:00
benjypng
458d6d71e5 Update dompurify dependency version (#12242)
Updated dompurify dependency from version 2.5.4 to 3.2.4.

DOMPurify before 3.2.4 has an incorrect template literal regular expression when SAFE_FOR_TEMPLATES is set to true, sometimes leading to mutation cross-site scripting (mXSS).
2025-12-04 10:15:00 +08:00
Sal Rahman
2dd0193166 Fix: update logseq.Editor.getPageBlocksTree's return type. (#12212)
Changes the logseq.Editor.getPageBlocksTree's return type from
Promise<Array<BlockEntity>> to Promise<Array<BlockEntity> | null>.

Closes #12211.

Co-authored-by: Charlie <xyhp915@qq.com>
2025-11-25 09:57:07 +08:00
Tienson Qin
0a54e807bb enhance(api): plugin class with ident like plugin.class.id/class-name (#12200)
* enhance(api): plugin class with ident like `plugin.class.id/class-name`
* enhance(apis): remove support for namespace separator in create tag
* enhance(apis): get tag with ident or uuid
* fix(lint): remove unused vars
* fix(apis): sanitize user property name
* enhance(apis): get tag ex info
* chore: bump libs version
---------
Co-authored-by: charlie <xyhp915@qq.com>
2025-11-14 10:48:08 +08:00
charlie
025e2e70de feat(apis): export prepend_block_in_page function
fix(editor): convert opts to JS object in insert_block
chore: bump version to 0.2.7
2025-11-07 15:01:12 +08:00
charlie
bd4b022a08 enhance(apis): enhance createTag function to accept options for custom UUID 2025-11-06 15:46:31 +08:00
charlie
96ffb4d16d enhance(apis): rename tag property functions for consistency 2025-11-06 14:12:00 +08:00
charlie
0046fff9a2 enhance(apis): types 2025-11-06 11:46:04 +08:00
charlie
9eb65b473e enhance(apis): rename tag functions to block tag for clarity and update version 2025-11-05 17:02:38 +08:00
charlie
51fbc705de enhance(apis): add create, add, and remove tag functions 2025-11-05 15:43:33 +08:00
charlie
28bc28ecd3 enhance(apis): support custom uuid to create page 2025-10-30 21:38:04 +08:00
charlie
501230b0d3 enhance(plugin): support development entry for plugins 2025-10-29 18:36:01 +08:00
Tienson Qin
4fb291f08d chore: bump cljs-libs 2025-10-24 23:49:49 +08:00
Tienson Qin
d8809f0b7e feat: cljs sdk (#12168)
Add clojurescript plugins API
2025-10-21 16:32:12 +08:00
Tienson Qin
8efd79ece9 add new apis to js sdk 2025-10-20 18:33:01 +08:00
Tienson Qin
3cc530a16f refactor(plugins): separate file graph apis 2025-10-07 21:26:23 +08:00
Charlie
2809f78574 fix(plugin): api types 2025-09-25 13:22:17 +08:00
charlie
2236f3fc14 enhance(api): add get_page_properties function and update related tests 2025-09-05 11:48:42 +08:00