Commit Graph

258 Commits

Author SHA1 Message Date
Gabriel Horner
89a108f846 Merge branch 'master' into feat/db 2024-12-19 11:44:00 -05: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
Andelf
333c9a9ad8 fix(rsapi): refine build, supports old glibc
See-also: #10811
2024-01-10 11:22:31 +08:00
Andelf
c4919145ba chore(release): bump version 0.10.3 2023-12-25 21:02:59 +08:00
Andelf
74f56002b3 fix: do not use asar 2023-12-23 12:45:07 +08:00
Andelf
8871bee48d chore(release): bump version 0.10.2 2023-12-21 23:15:26 +08:00
Andelf
de13df4722 chore(deps): upgrade electron v27 2023-12-13 20:53:13 +08:00
Andelf
285463fddb enhance(build): use asar, add windows zip release 2023-12-11 19:01:26 +08:00
Andelf
990c7a55ee chore(release): release 0.10.1 (#10640) 2023-12-06 18:38:07 +08:00
Andelf
c44715d9fe chore: bump version 0.10.0 2023-11-28 22:44:42 +08:00
Andelf
2b4229db1f chore(deps): upgrade rsapi, rm doh 2023-11-13 20:16:15 +08:00
Andelf
77d92f4d08 chore(release): bump version 0.9.20 2023-11-01 13:43:01 +08:00
Andelf
952b03d19e chore(deps): update rsapi 2023-11-01 01:59:25 +08:00
Andelf
1e7495ec1c fix(linux): downgrade electron to v25
Close #10436
2023-11-01 00:34:33 +08:00
Andelf
41a48184bc chore(deps): upgrade electron v26 2023-10-27 12:26:50 +09:00
Andelf
bd36efe4f7 chore: bump version 0.9.19 2023-10-11 22:04:58 +09:00
Andelf
6eb82e822a chore: bump version 0.9.18 2023-09-21 00:38:43 +09:00
Andelf
6909768b03 enhance(electron): support socks5 proxy 2023-09-12 17:06:20 +09:00
Andelf
645a8d32df chore: bump version 0.9.17 2023-09-07 11:37:19 +08:00
Andelf
e043a2c3fa chore(release): bump version 0.9.16 (#10149) 2023-09-06 14:52:25 +00:00
dependabot[bot]
4876a7884c chore(deps): bump semver from 7.3.5 to 7.5.2 in /resources
Bumps [semver](https://github.com/npm/node-semver) from 7.3.5 to 7.5.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.5...v7.5.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-25 04:49:39 +08:00
Andelf
f134570551 chore(release): bump version 0.9.15 2023-08-22 22:06:51 +08:00
Andelf
d85177827a chore(release): bump version 0.9.14 2023-08-17 19:58:45 +08:00