Commit Graph

279 Commits

Author SHA1 Message Date
Tienson Qin
c48e230c6a Merge branch 'master' into feat/db 2025-05-26 16:38:50 +08:00
Tienson Qin
9043a5d37b chore: bump to 0.10.12 2025-05-25 18:15:50 +08:00
Tienson Qin
ed69263838 chore: bump rsapi 2025-05-24 23:53:51 +08:00
Tienson Qin
d077e58ac7 downgrade @electron/rebuild 2025-05-24 16:29:00 +08:00
Tienson Qin
97669c46e2 test: downgrade electron 2025-05-24 16:16:12 +08:00
Tienson Qin
b419ff0dc4 test: downgrade electron and better-sqlite3 2025-05-23 18:27:26 +08:00
Tienson Qin
f9834d95c6 chore: bump to 0.10.11 2025-05-19 22:43:15 +08:00
Tienson Qin
5e1a968530 Merge branch 'master' into feat/db 2025-05-13 18:22:20 +08:00
Tienson Qin
10d70d79fb fix: fastify cors version 2025-05-08 21:31:24 +08:00
Tienson Qin
93bb8ac224 chore: bump electron to 36.2.0 2025-05-08 14:53:00 +08:00
Tienson Qin
6028f3b5d8 fix: windows release build 2025-05-08 07:42:43 +08:00
Tienson Qin
f4e5755c78 fix: ci hang 2025-05-08 06:15:01 +08:00
Tienson Qin
f349f5cc04 downgrade Electron to 35.2.2 2025-05-08 05:06:03 +08:00
Tienson Qin
00442982cc Revert "chore: bump electron"
This reverts commit c02d9e4ac8.
2025-05-08 04:50:04 +08:00
Tienson Qin
c02d9e4ac8 chore: bump electron 2025-05-08 04:19:16 +08:00
Tienson Qin
94cf0f313a chore: bump version to track missing addresses bug 2025-04-25 00:39:57 +08:00
Gabriel Horner
c294f078b6 Merge branch 'master' into feat/db 2025-03-11 13:27:33 -04:00
Tienson Qin
ac0a0dae72 chore: bump electron to 35.0.1 2025-03-11 23:17:36 +08:00
Gabriel Horner
dbb84f0327 Merge branch 'feat/db' into refactor/tag-as-type 2024-12-19 15:29:25 -05:00
Gabriel Horner
89a108f846 Merge branch 'master' into feat/db 2024-12-19 11:44:00 -05:00
Tienson Qin
d1052601d8 fix: keep electron-devtools-installer in devDependencies 2024-12-17 22:04:28 +08:00
Tienson Qin
78aef61360 Add electron-devtools-installer 2024-12-17 22:04:28 +08:00
Tienson Qin
61a150695e chore: bump better-sqlite3 2024-12-11 00:32:49 +08:00
Tienson Qin
cbbefaa278 copy from c6bf04c287 2024-12-10 22:53:29 +08:00
Tienson Qin
7fd0541c22 fix: add string-width resolution 2024-12-10 21:45:09 +08:00
rcmerci
da781b03c1 update rsapi 2024-12-10 20:31:56 +08:00
Tienson Qin
10caf40312 chore: bump electron 2024-12-10 20:16:07 +08:00
Gabriel Horner
c6bf04c287 fix: Unable to install and start electron after package.json changes
For osx with node 18.X, yarn install in static/ failed hard with error:
Error [ERR_REQUIRE_ESM]: require() of ES Module
<path>/node_modules/string-width/index.js

Solution in
https://github.com/yarnpkg/yarn/issues/8994#issuecomment-2207025146
initially worked but also needed to add strip-ansi for install to
consistently work
2024-12-04 13:51:43 -05:00
charlie
c862e5c7d7 fix(electron): upgrade api server https://github.com/logseq/db-test/issues/181 2024-12-04 14:39:43 +08:00
Bad3r
39a1b95b18 Upgrade dugite Dependency (2.5.1->2.7.1) to Resolve Linux Build Issues (#11550)
### Overview

This PR addresses a build failure encountered on Linux systems within the Logseq DB branch. The issue stems from a hash mismatch in the dugite dependency, which prevents successful builds. By upgrading dugite to the latest stable version, this PR aims to resolve the build errors without introducing any regressions.

Problem Description

Over the past few days, attempts to build logseq-desktop on Linux have consistently failed due to a hash mismatch error in the dugite package. Below is the error log for reference:
```sh
error /tmp/makepkg/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/dugite: Command failed.
Exit code: 1
Command: node ./script/download-git.js
Arguments: 
Directory: /tmp/makepkg/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/dugite
Output:
Validation failed. Expected '78375b97c802caa33c4ab585e3cf113001f0f53d0ab623ef0086e7c5b819189d' but got '1605228e7cad9e7229a8ff992b8c100caaf632323402dd64475efd33ee8acc01'
/tmp/makepkg/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/dugite/script/download-git.js:123
          rmSync(tempFile)
          ^

ReferenceError: rmSync is not defined
    at /tmp/makepkg/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/dugite/script/download-git.js:123:11
    at Hash.<anonymous> (/tmp/makepkg/logseq-desktop-git/src/logseq-desktop-git/static/node_modules/dugite/script/download-git.js:18:5)
    at Hash.emit (node:events:529:35)
    at finish (node:internal/streams/writable:748:10)

```

I acknowledge that building the db branch locally is not the recommended testing method. However, this approach facilitates my workflow by integrating custom scripts for window layout management. Rest assured, all issues I report are still reproduced and verified on official testing builds such as test.logseq.com and db-demo.logseq.com before any bug reports are submitted.


This error is easy to fix by upgrading the duglite dependency. I have been using this fix for the last few commits over the past two days and there are no issues with the change.

Please consider accepting this PR i.e. upgrading duglite if it doesn't affect anything else.

Changelog:
https://github.com/desktop/dugite/releases
2024-12-04 08:11:34 +08:00
charlie
fb411a767a chore(deps): upgrade electron stuff 2024-11-29 14:51:09 +08:00
charlie
915e36581c dev(electron): support react developer tool for development 2024-09-11 18:18:15 +08:00
charlie
3dc019b567 Merge branch 'master' into feat/db 2024-06-26 10:02:41 +08:00
Tienson Qin
05f14033c4 chore: remove better-sqlite3 from electron 2024-06-15 00:29:39 +08:00
Tienson Qin
0ce2ee42db Revert "refactor: use files instead of sqlite for electron db storage"
This reverts commit c2c5ab80aa.
2024-06-13 13:04:00 +08:00
Tienson Qin
c2c5ab80aa refactor: use files instead of sqlite for electron db storage 2024-06-11 08:30:49 +08:00
Andelf
629aa4e3b1 chore(release): bump version 0.10.10 2024-06-01 01:19:57 +08:00
Andelf
e6173e8810 Update Electron 28 (#11304)
* chore: update electron

Close #11303

* chore: update deps

* fix(test): utils import
2024-05-13 12:59:18 +08:00
Andelf
b419b955cc Add MSI build for windows (#11301) 2024-05-09 16:35:49 +08:00
Andelf
c67b8b5fa4 chore(release): bump version 0.10.9 2024-04-23 12:24:30 +08:00
KaMeHb-UA
87dbf5ca21 add build support for linux arm64 2024-04-02 15:56:31 +08:00
KaMeHb-UA
5366cd5435 update dugite to 2.5.1 2024-04-02 15:56:31 +08:00
Andelf
2febcb42d9 fix(build): upgrade electron-forge to v7
- use team id based notarize
2024-03-27 18:32:02 +08:00
Andelf
4127b4095f chore(release): bump version 0.10.8 (#11133) 2024-03-19 23:19:46 +08:00
Andelf
215b67570b chore(deps): update rsapi and fix token expire 2024-03-06 18:06:27 +08:00
Andelf
1ff9f7a1b2 chore(release): bump version 0.10.7 2024-02-29 23:18:26 +08:00
Andelf
562c23aba2 chore(release): bump version 0.10.6 2024-02-05 13:39:17 +08:00
Reilly Brogan
a6d13fb7b2 Update better-sqlite to v9.3.0 2024-01-19 13:33:07 +08:00
Andelf
c4341c1884 chore(release): bump version 0.10.5 2024-01-18 21:13:29 +08:00
Andelf
bdf39b1a8f chore(release): bump version 0.10.4 2024-01-17 16:26:54 +08:00