Commit 159941b
authored
feat: kubo 0.43.0, electron 43 (#3188)
* chore: kubo 0.43.0-rc1
Release candidate, for smoke-testing ahead of the v0.43.0 final.
* chore: electron 43.2.0
Brings Chromium 150 and V8 15.0; Node stays on 24.x. None of the
Electron 43 breaking changes reach this app: both showOpenDialog call
sites already pass an explicit defaultPath, showHiddenFiles is unused,
toBitmap is never called, and no window sets titleBarOverlay. The splash
is the only frameless window and its artwork clears the new 8 DIP corner
clip on Linux, so roundedCorners keeps its default.
ensure-electron.js justified its own download path by naming extract-zip,
which electron's install.js no longer uses. Reword around the reason that
still holds, and drop the version-specific framing so it survives the
next bump.
* fix: capture screenshots in the main process
Electron 17 removed desktopCapturer from the renderer, so the preload
has seen it as undefined ever since this app moved to Electron 17 in
v0.19.0, and both the tray item and the global shortcut have thrown a
TypeError on every use. No webPreferences setting brings it back:
sandbox:false and nodeIntegration:true each still leave it undefined.
Capture where the API actually lives instead, asking for thumbnails at
the display's pixel size so they are full-resolution grabs rather than
previews. That drops the renderer round-trip along with getUserMedia,
ImageCapture and the canvas data URL.
- take-screenshot: captureScreens() over desktopCapturer and screen
- webui/screenshot.js and its preload hook are gone
- ipc-main-events: nothing sends SCREENSHOT any more
An empty thumbnail is how a missing macOS screen-recording grant
presents itself, so treat "no usable screen" as an error and raise the
existing notification rather than failing silently.
Closes #2306
* fix(macos): fetch kubo from github releases
kubo 0.43 deprecated distUrl: passing it at all takes the old
dist.ipfs.tech code path and prints a deprecation notice on every build.
The universal binary step was the last caller still doing that, so move
it to releasesUrl, which is where the package already defaults.
Matches #3180, which this branch otherwise supersedes by pinning the
published kubo release rather than a git revision.
* chore: kubo 0.43.0-rc2
* chore: npm audit fix
Resolves 15 advisories in transitive dependencies, all within the
existing semver ranges, so package.json is unchanged.
The 14 remaining need `npm audit fix --force`, which would install
ipfsd-ctl@17 as a breaking change.
* chore: kubo 0.43.01 parent 5cd1123 commit 159941b
8 files changed
Lines changed: 550 additions & 785 deletions
File tree
- pkgs/macos
- scripts
- src
- common
- webui
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
52 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
53 | 71 | | |
54 | 72 | | |
55 | 73 | | |
56 | | - | |
57 | | - | |
| 74 | + | |
58 | 75 | | |
59 | | - | |
60 | | - | |
61 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
62 | 86 | | |
63 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
64 | 90 | | |
65 | | - | |
66 | | - | |
67 | | - | |
| 91 | + | |
| 92 | + | |
68 | 93 | | |
69 | 94 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
101 | 108 | | |
102 | | - | |
103 | | - | |
104 | 109 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
109 | 125 | | |
110 | 126 | | |
111 | 127 | | |
| |||
120 | 136 | | |
121 | 137 | | |
122 | 138 | | |
123 | | - | |
124 | | - | |
125 | 139 | | |
126 | 140 | | |
127 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | | - | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
| |||
This file was deleted.
0 commit comments