Logseq DB - Changelog

Changelog from: 2025-05-13 to: 2025-05-18

New Feature

  • Add native datepicker for journals in capacitor-new (ed8e7d9da)
  • Enhance db graph query function to support lookup by property ident (046a59312)

Enhancement

  • Improve config.edn for new db graphs by removing file graph keys and comments (dda13d61b)
  • Enable counts for linked references to provide better overview in filters (120730a8d)
  • Add import option to allow existing pages to keep their properties (bd115eef0)
  • Enhance CLI built db graphs to have same config.edn as UI ones (f896a774e)
  • Show block breadcrumbs on header and in cmdk/node reference (568db4a75)
  • Save only namespaced pages to Library (5f547a4e1)

Bug Fix

  • Fix pages displayed as invalid ref in table view (09b333a5c)
  • Resolve issue where can’t switch to another graph if current one failed to open (12c6928ba)
  • Fix export of invalid keywords in graph exports (1f685deff)
  • Resolve app failing on creating properties due to cljs conditional checks (edae0853a)

Chore

  • Remove deprecated dependencies from removed slides (637955cf1)
  • Update comments and aliases for consistency in deps.edn files (1d8869a4a)
  • Remove unused dep from capacitor-file-sync and capacitor fs (0d99eea39)

Performance

  • Upgrade better-sqlite3 to match node bump for test stability (dc0e22498)

Refactoring

  • Ensure all ::sqlite-export keys aren’t passed to sqlite.build for cleaner code (c308e04b9)
  • Move :block/title to page-or-block-attrs (reverted due to test failures) (a02e842ea)
3 Likes

Changelog from: 2025-05-18 to: 2025-05-26

New Features

  • Capacitor: Added login modal page. (b938086c9)
  • Block Manipulation: Implemented block zoom in functionality. (5f1de13b2)
  • Mobile Editing: Added support for swipe to select blocks, preventing scroll. (f4e49a4b1)
  • Search: Improved search functionality in the application (c9044afb3)

Enhancements

  • Capacitor Mobile UX: Numerous improvements to the mobile user experience, including login modals, navigation tabs, block editing, and styles. (93b959987, eb2bf614f, 97f917a17, 582ac7695)
  • Property Editing: Improved tag properties with select functionality. (65f5b9cd6)
  • Sidebar Navigation: Enhanced sidebar navigation with mod+j support for block manipulation and search access. (fb1d38bc6)
  • Mobile Bar: Reused the mobile bar component throughout the Capacitor app to ensure consistency and improve maintainability. (eb2bf614f)
  • Graph Selection: The Switch Graph functionality has been improved in capacitor. (03de1aed5)
  • Property Configuration: Added ability to configure a property and delete it through the table header on mobile. (4ef77e3a3)

Bug Fixes

  • Capacitor Navigation: Resolved issues with navigation tabs on Android devices. (1e5ae97a1)
  • Block Alignment: Fixed an issue related to block alignment bugs within logseq. (0a65f7d6a)
  • Property Validation: Addresses issues where invalid properties were added and breaking app state. (4b39ce213)
  • Graph Import Errors: Resolved a bug with graphs importing and merging when using the property classes option. (471889729)
  • Keyboard Input: Fixed an issue where the system keyboard would flicker or hide during block editing on mobile. (146c04fcc)
  • Property Popup Issues: Corrected problems with double popups when selecting properties in the UI. (d666d1ddf)

Performance Improvements

  • File Parsing Performance: Refactored file parsing logic to improve performance by moving it to a worker thread. (See upstream/refactor/move-file-parse-to-worker)
  • Slow Editing Fix: Addressed a performance bottleneck that was causing slowdowns during file editing. (ed32cfb4c)

Refactoring

  • Page Parent Refactor: Cleaned up code related to page parent management, improving robustness and handling of converted tags. (See upstream/refactor/page-parent)
  • Dev Command Cleanup: Simplified dev commands that were incorrectly appearing in the command list (62aa8c55a)

Chore & Dependencies Updates

  • Electron Downgrade: Temporarily downgraded Electron and Better SQLite to resolve build issues.(b419ff0dc)
  • Babel Dependency Upgrade: Updated Babel runtime and helpers. (8bfb0c91d, e2694bbae)
  • Vite Dependency Upgrade: Updated Vite packages in the project (08287c411)
2 Likes

Changelog from: 2025-05-26 to: 2025-05-31

Spotlight

  • Logseq DB git branch feat\db merged to master with 7322 commits :tada:
    • What does this mean?
      • Same app to work with Logseq DB graph and MD
      • Improved UI now available on MD graph
      • Improved security with dependency upgrades (node.js, electron…)
      • Performance improvement across the board.
    • Notable changes
      • The slide feature is disabled
    • Area of improvement
      • Plugins should have some minor adjustment from plugin developers
      • Potential unknown bugs(your feedback will be greatly appreciated)

New Features

  • Mobile: Added native inline calendar for iOS devices. (44cbbd0c)
  • Mobile: Added login state management for mobile apps (b37ca0c1)

Enhancements

  • Sync: Enhanced network status synchronization to the worker process. (5384ec06)
  • Search: Improved search functionality with support for recent search history and updates. (26113f47)
  • Address Suggestions: Added address suggestions from Gabriel and Zhiyuan. (a2cf44dc)
  • UI: Moved the sync indicator to the right side of the screen. (8a35115e)

Bug Fixes

Database & Data Management

  • Fixed an issue where deleting addresses could lead to problems with ref-counting. (db100235)
  • Fixed a regression in the query builder affecting multiple property types, including checkboxes. (04190d22)
  • Fixed a sorting issue with the :date property in table views. (a4747903)
  • Enhanced garbage collection to remove unused addresses and retain only referenced entries. (b60df1fcad)

Real-Time Collaboration (RTC)

  • Fixed an issue where duplicate blocks were created for new journal pages during RTC. (66237f1c)
  • Addressed duplicate block ID creation during RTC synchronization. (4f6c0fee)

User Interface (UI)

  • Fixed an issue where the add button was not displayed correctly. (b37ca0c1)
  • Fixed a bug where #Task was added to blocks incorrectly during status/deadline modifications. (8a5e38af)
  • Fixed issue causing problems with publishing due to :block/tags (06b43ba5)
  • Fixed alias reference display issues (d78bd644)

General Fixes

  • Fixed reference inheritance issues in page filters. (b14696f8)
  • Fixed an issue with extracted block IDs. (4ed15c7d)

Refactoring

  • Code Quality: Addressed and resolved various linting issues across the codebase. (ce791172)

Chore

  • Updated documentation links and removed feat/db mentions. (ac975766)
  • Removed unused files from the project. (f9934c7c)

Performance

  • Increased test data to 1,000,000 datoms (5a705911)
4 Likes

Changelog from: 2025-05-31 to: 2025-06-07

New Feature

  • Add a command to GC current graph and schedule regular garbage collection runs. (ad190a0f3)
  • Upgrade pdfjs in the development environment.(84183068f)
  • Implement a dark theme for mobile (iOS). (52cd74461)
  • Add native inline calendar on iOS devices.(44cbbd0c8)

Enhancement

  • Put pages before blocks in autocomplete suggestions for improved UX. (20ec61641)
  • Show editor popups at the top left corner of the screen.(184add530)
  • Enhance mobile UX by displaying downloading modals and using smaller font sizes for graph names. (dbc2064dc, fe5bf6cc0)
  • Sync system theme mode for improved mobile experience (d3c15abf1).

Bug Fix

  • Fix: Error when using an outdated frontend incompatible with the database graph version.(ba168f077)
  • Prevent duplicated first blocks from being created for new journal pages during real time collaboration (8eee397b4).
  • Fix block reference display in table view on initial load.(96028fa6d)
  • Correct page properties functionality for hide empty, hide by default and ui position. (75104470a).
  • Fix issue where deleting blocks in containers moved the cursor to another container.( f7035a026)
  • Resolve crash related to linked references on mobile with a large number of refs (000d9aee0).
  • Fix issue where text overlapped for Deadline and Scheduled properties (e21ae5a52)
  • Resolve a crash in the table view.(c4e4e28be).
  • Fixes issue with pdf viewer opening and asset loading during publishing (69fce60cf, ea6d2678f).
  • Fix issue preventing keyboard from re-opening when editing another block on mobile (b9290b81b)

Chore

Performance

  • Unmount journals when searching in the capacitor new build for improved performance.(f40a4a9bb).
  • Defer loading more scripts during publishing (56e8a298b)

Refactoring

  • Collect :graph-git-sha when missing addresses to streamline address handling.(4f72220b7)
6 Likes

Logseq Changelog (2025-06-07 to 2025-06-18)

Spotlight

The Library implementation enables page management capabilities via an automatically collection of namespace pages, which makes building hierarchy structures easier. This change also comes with the renaming of the property: Parent to Extends.

Demo: Library demo | Loom

New Feature

Library Feature

  • Library page implementation with page management capabilities (c209d577c)
  • Ability to create pages directly on Library (f442ae82a)
  • Ability to move existing pages to Library (b348b031e)
  • Ability to delete pages from Library (ed42ae17b)
  • List pages only on the Library page (edfd02027)
  • Add pages to the bottom of Library page (3fc6710f0)

Import & Export Features

Task Management

  • Reset both scheduled and deadline for repeat tasks when done (6b39fdaaf)

Enhancement

User Experience

  • More intuitive UX for tag properties with vertical display and descriptions (cada17252)
  • Show configure tag instead of create tag when exists (25bd22522)
  • CMDK tag configure (1d3e8a170)
  • Convert existing page to a tag when tagging a block (e92ea7a77)
  • Render blocks by their orders (3b718f70c)
  • Display parent page when referencing a page (68640cb4e)
  • Show border for repeat task settings (84da22b2b)
  • Use yyyymmdd to search journals (3bdd46a89)
  • Set initial height for pictures (f4f15c251)
  • Preload children references when loading a block (7d8be5107)
  • Don’t show child page properties on Library (266369471)

Mobile Improvements

Performance & Data Management

  • Transfer bytes when sending data from worker to UI (4bef3c68b)
  • Export SQLite every 30 seconds and run VACUUM when GC (018f954af)
  • Update remote-function (706c859ed)

Plugin & API Improvements

Import & Asset Handling

  • Import asset metadata with metadata display to user (4524fc837)
  • Import assets handles unused assets and existing assets (f318d6853)
  • Put library page name to config to make it easier to rename (53e0d1a4c)

Bug Fix

Core Functionality

  • Able to convert an existing page to a property (88216d299)
  • Load all user datoms when opening a graph (54a82f38c)
  • Task status in references are not loaded when rendering (e09b8ca97)
  • Tag properties migration (e5a75db04)
  • Block/tags are not displayed on table view (015819481)
  • Migrate for using properties as tags (170b0a9a8)
  • Missing db/ident for inline tags (9bb6842b1)
  • Remove :block/order for tags (785e5b320)

User Interface

Property System

  • Don’t popup property config when cmd+click the property title (6fec5f1c1)
  • Disallow classes as properties (1fe835e56, 73db9a2ac)
  • Property? should not treat classes as properties (2e19702af)
  • Migrated properties not migrating :logseq.property/type (b48dfce55)
  • Add migration to separate properties from classes (096c47465)
  • Some properties may not have index (47ccc9e90)
  • Bulk set property with type checkbox (691f5534a)

Task & Repeat System

  • Task sort by scheduled field make empty rows disappeared (1cac99d0c)
  • Wrong interval for repeat tasks (83a281c78)
  • Ensure future time when reschedule a task (956330f9f)
  • Set next repeat time based on the time user has picked (e7480b6f2)
  • Set recur frequency default to 1 if it’s empty (2acf40a56)
  • Applying a template to the Journal tag removes it (b1ee3f5a5)

Editor & Content

  • Block content (Icon + Text) misaligned (692b518a4)
  • Limit image width (51a93051b)
  • Moving the focus up and down doesn’t work properly (47cc2c998)
  • Disable annoying node preview when editing (f7fe81441)
  • Click a link in node reference opens the node (dcc2e9d37)
  • Don’t highlight datetime property value when hovering the value (1ea936eca)

Query & References

  • Filters not work for linked references (be66270a4)
  • No child block inheritance from parent blocks when filtering (9f50aca90, 3cbdcfc1b)
  • Query tables not rendering contents on app start up (6551c9ba9)
  • Edit query button move around left and right side (a6bd17547)

Flashcards & Learning

  • Flashcard review showing blank after one or two cards (8994647dc)
  • Card modal blink when switching to the next card (f9cf6adcf)
  • Card doesn’t change after reviewed (0a0612fe6)

Links & Pages

Platform & Cross-platform

  • Use fs.renameSync instead of shell commands for cross-platform file move (bb71aa9ba)
  • Replace ‘mv’ with cross-platform compatible file move in gulpfile.js (f9d6b77b5)

Mobile-specific

Plugin API

  • :logseq.Editor.getBlock error when includeChildren is true (d6dae4d92)
  • Upsert block property (0ebff0105)

Import/Asset Handling

  • Importing assets for more complex blocks like paragraphs with links (501063e62)
  • Importing assets in subdirectories (bb31c4e6f)
  • CLI import not copying assets to correct location (3fa32ae99)

Real-time Collaboration

  • Keep online-users info when reuse same WebSocket (2e1bbd839)
  • Missing create-by-ref (e5a441783)
  • Repo has wrong graph-schema-version in all-repos (d6a96e825)

Chore

Maintenance

Testing

Test Infrastructure

Test Fixes

Refactoring

Code Organization

  • Move reference fns to logseq.db.common.reference (be66270a4)
  • Rename :block.temp/fully-loaded? to :block.temp/load-status (3b718f70c)
  • Remove buggy parent cycle detect (3b718f70c)
2 Likes

Changelog (2025-06-18 to 2025-07-05)

New Feature

Page and Block Management

  • Added page-block conversion functionality with #Page tag support (2f78ca8, 5f4fa3b) ==> (to be merged soon for alpha testing)
  • Implemented move blocks feature via cmd+k (dc9f714)
  • Added support for importing page and block embeds (507ff3c)
  • Enhanced import functionality for markdown quotes with #Quote support (5b4f43d, 8c6146a)

Tag System

  • Added extends support for multiple tags with cycle validation (cc39c1c, 9c49f63)
  • Implemented “p t” keyboard shortcut to set tags for selected blocks (9ea2826)

Mobile Platform

  • Introduced new mobile application with enhanced UI and performance optimizations (8de6681, 48da90f)

Enhancement

Performance Improvements

  • Optimized linked references performance by avoiding recursive rules and using block/path-ref (d8a07234)
  • Implemented virtualized lists for blocks and grouped results by default (6f4e8cc, 76a8f8c)
  • Reduced get-block calls when children have been loaded (119485f, b6c06b6)
  • Improved sort view data performance using datoms when possible (0047730)
  • Lazy rendering of references and DOM node recycling when folding (6c14572, 82e3589)
  • Avoided re-running built-in queries when collapsed (33331cc)

User Experience

  • Enhanced block selection with visible add button improvements (a97e7ff, afc36f4)
  • Improved image asset UX with dots menu for actions (6dca6de, 71cdd4a)
  • Don’t clear input after adding a page to Library (2708743)
  • Separated delete local graph and remote graph options (73fdd87)
  • Updated “p a” to toggle displaying all properties including hidden ones (9ea2826)
  • Renamed ‘All pages’ to ‘Pages’ for consistency with other sidebar items (a7562d7)

Import System

  • Enhanced import to support classes and properties from multiple namespaces (16ac807)
  • Improved AST block handling for query conversions (58d3abb, cc05518)

Developer Tools

  • Added CLI support for exporting different types and diffing exports (0cb5c99, 32a29f5)
  • Enhanced schema CLI with optional export functionality (b6cb124)
  • Added tests for unique namespaced pages and graph validations (4b5305e)

Plugin System

  • Improved plugin APIs for block properties with better validation (87474891, 69b779e)
  • Enhanced get db indent from plugin caller (3a66ea8)

Bug Fix

Block and Page Management

  • Fixed block could be converted to page creating invalid nodes (8b08d0f)
  • Fixed blocks to #Page allowing invalid titles (7f82448)
  • Fixed built-in pages being turned into tags (e489cc2, b22e5af)
  • Fixed delete at end concatenating wrong blocks (19513d3)
  • Fixed indentation after embedded node (a365154)
  • Fixed can’t edit blocks on tags (c8e869d)
  • Fixed lost editor focus when indenting to embed node (a63d21c)

Import and Export

  • Fixed import property changes from :node to :default on same page (42f0519)
  • Fixed import not handling scheduled and deadline property on same block (fdff75c)
  • Fixed import fails on query sort with built-in properties (957eab7)
  • Fixed :block/alias not exported with :page export (0f3957a)
  • Fixed failed to export EDN because default value property referenced (7037a84)

Database and Validation

  • Fixed batch delete tags breaking pages (48adb27)
  • Fixed batch remove required property resulting in invalid entities (39e2967)
  • Fixed unset property breaking system nodes/pages (cbfe855)
  • Fixed delete default property values when deleting blocks (bbbb2f3)
  • Fixed URL type validation and unknown error in db validations (c770c91)
  • Fixed tags having duplicate names (e4ffd13)

User Interface

  • Fixed tag completion showing 2 entries for existing tag (b940138)
  • Fixed number value not saved when redirecting to another page (04d3d02)
  • Fixed pressing ESC while typing Chinese losing cursor (3e8d0f0)
  • Fixed breadcrumb inline display issues (1e59e8e, df9f64b)
  • Fixed display tweet macro instead of embed in table view (9209118)
  • Fixed images in table view and asset display in property values (1aa21ec, d14cfb0)

File Handling

  • Fixed uploaded file cannot be opened in file graphs (e73caeb)
  • Fixed asset links with regex characters not getting updated (7968058)
  • Fixed open asset file with default app on Electron (ff2ebe3)
  • Fixed assets referenced in blocks not loading correctly on initial graph load (477029d)

Search and Queries

  • Fixed building search index shouldn’t be blocked by one block (b5f0a4d)
  • Fixed graph view issues (ac019a2)

Mobile Platform

  • Fixed popup auto-close for /scheduled and /deadline (8de6681)
  • Fixed set property value doesn’t close popup (33b5da8)
  • Fixed status bar color for Android platform (1f63233)

Performance

Memory and Rendering

  • Implemented lazy rendering of references to improve page load times (6c14572)
  • Optimized get-class-extends performance (2023d87)
  • Fixed slow scrolling on 40k all pages (7b5e545)

Refactoring

Code Organization

  • Renamed sqlite.build :build/class-parent to :build/class-extends (268889d)
  • Simplified web assets path and removed sync static files (be6be68, 32d70b2)
  • Replaced capacitor references with mobile (9a7d43d)

Database Schema

  • Updated schema.org JSON file to latest version 29.2 with 19 new tags and 48 properties (d63a5ff)

Chore

Dependencies and Build

  • Bumped pbkdf2 from 3.1.2 to 3.1.3 in /packages/tldraw (e209a65)
  • Fixed test build can’t be watched with shadow-cljs upgrade (1b3a9cd)

Code Maintenance

  • Fixed wording in messages for better grammar (33464da)
  • Removed dev flags and image placeholders (9f924dd, f848889)
  • Enhanced migrate fixes to be pure functions (dfa428c)

Testing

  • Added comprehensive e2e tests for page-block conversion and move functionality (74036e2, b44292d)
  • Added tag-basic tests and property-related e2e tests (665a5a3, f818491)

Thanks to Contributors