Skip to content

Commit a2f689f

Browse files
committed
Release 0.2.0
The updater, update notifications and What's New, with CHANGELOG.md's 0.2.0 section as the release's notes. 0.1.0 has no updater, so it is installed by hand once; the README's Features line no longer promises Restart to update on macOS and the .tar.gz.
1 parent 4ba271f commit a2f689f

6 files changed

Lines changed: 14 additions & 8 deletions

File tree

‎.github/release-notes.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
| **Fedora, openSUSE** | `console-editor-{{version}}.x86_64.rpm` · `.aarch64.rpm` |
1111
| **Other Linux** | `.AppImage` or `.tar.gz` (x64 and arm64) |
1212

13-
Already have Console Editor 0.2.0 or later? It tells you about this release by itself. On Windows and with the AppImage, `.deb` or `.rpm`, click **Download and install**, then **Restart to update** (the `.deb` and `.rpm` ask for your password); on macOS it downloads and checks the disk image for you.
13+
Console Editor 0.2.0 and later tell you about new releases by themselves. On Windows and with the AppImage, `.deb` or `.rpm`, click **Download and install**, then **Restart to update** (the `.deb` and `.rpm` ask for your password); on macOS it downloads and checks the disk image for you. Coming from 0.1.0, install this release by hand once.
1414

1515
The disk images, the Windows installers and the `.deb` packages were each installed and tested on a machine of their architecture before this release was drafted, and an installed Windows app and AppImage were updated to a newer build.
1616

‎CHANGELOG.md‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
55

66
## [Unreleased]
77

8+
## [0.2.0] - 2026-09-24
9+
10+
Console Editor now keeps itself up to date. Version 0.1.0 had no updater, so this one is installed by hand; the ones after it come to you.
11+
812
### Added
913

1014
- **Updates.** Console Editor checks GitHub for a new release when it starts and every few hours, and tells you when there is one. One click downloads it in the background. On Windows and with the AppImage it then installs when you click **Restart to update** or quit the app; the `.deb` and `.rpm` install it when you click **Restart to update**, after asking for your password. Your unsaved edits come back as drafts. On macOS it downloads the new disk image, checks it and opens it for you to drag into Applications (installing in place needs builds signed with an Apple Developer ID); a `.tar.gz` copy gets the new archive in Downloads. Turn the checks off in **Settings**, or check any time from **Help › Check for Updates…**.
@@ -25,5 +29,6 @@ The first release.
2529
- **Session restore:** closing keeps unsaved edits as drafts and reopens your tabs and the last page.
2630
- **Installers** for macOS (Apple silicon and Intel), Windows (x64 and ARM) and Linux (AppImage, `.deb`, `.rpm`, `.tar.gz`; x64 and arm64).
2731

28-
[Unreleased]: https://github.com/olehwebdev/console-editor/compare/v0.1.0...HEAD
32+
[Unreleased]: https://github.com/olehwebdev/console-editor/compare/v0.2.0...HEAD
33+
[0.2.0]: https://github.com/olehwebdev/console-editor/compare/v0.1.0...v0.2.0
2934
[0.1.0]: https://github.com/olehwebdev/console-editor/releases/tag/v0.1.0

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Console Editor makes that workflow first-class. It embeds a browser, intercepts
7474
- **Never loses work.** Overrides persist and can be switched on and off one by one. Closing the app keeps unsaved edits as drafts and reopens your tabs and the last page next time.
7575
- **Stays fast on big bundles.** Multi-megabyte files open in a lighter highlight-only mode, and the file tree is virtualized.
7676
- **Keeps the site contained.** A site gets no permissions silently: camera, clipboard, location and similar ones prompt, the rest are denied. Its pop-ups stay under the editor's control, and a "Leave site?" guard can't block a reload.
77-
- **Keeps itself up to date.** A new release shows up as a notification with its notes on a **What's New** page, like VS Code's. One click downloads it, and **Restart to update** installs it (on Windows and with the AppImage, quitting does too); your unsaved edits come back as drafts.
77+
- **Keeps itself up to date.** A new release shows up as a notification with its notes on a **What's New** page, like VS Code's. On Windows and Linux (AppImage, `.deb`, `.rpm`) one click downloads it and **Restart to update** installs it (on Windows and with the AppImage, quitting does too), keeping your unsaved edits as drafts. On macOS and with the `.tar.gz` it downloads and checks the new version for you to install.
7878

7979
## Install
8080

‎package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "console-editor",
33
"productName": "Console Editor",
4-
"version": "0.1.0",
4+
"version": "0.2.0",
55
"private": true,
66
"description": "Desktop editor for live-patching the JS/CSS/HTML of any website (including cross-site iframes) without rebuilding it.",
77
"keywords": [

‎test/e2e/updates.e2e.test.ts‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* installs one into a packaged app.
66
*/
77
import { createHash } from 'node:crypto';
8-
import { existsSync } from 'node:fs';
8+
import { existsSync, readFileSync } from 'node:fs';
99
import { mkdtemp, readdir, readFile, rm } from 'node:fs/promises';
1010
import { createServer, type Server } from 'node:http';
1111
import type { AddressInfo } from 'node:net';
@@ -20,6 +20,7 @@ const built = existsSync(join(root, 'out/main/index.js'));
2020
const sandboxArgs = process.getuid?.() === 0 ? ['--no-sandbox'] : [];
2121

2222
const NEXT = '9.9.9';
23+
const { version: VERSION } = JSON.parse(readFileSync(join(root, 'package.json'), 'utf8')) as { version: string };
2324
const ASSET = manualAssetName(NEXT, process.platform, process.arch === 'arm64' ? 'arm64' : 'x64');
2425
const ASSET_BYTES = Buffer.alloc(2_000_000, 3);
2526
const NOTES = 'Faster everything, as promised.';
@@ -112,7 +113,7 @@ describe.skipIf(!built)('Updates', () => {
112113
await page.getByText(NOTES).waitFor();
113114
await expect.poll(() => page.getByTestId('update-card').getByRole('heading', { level: 2 }).textContent()).toBe(`Version ${NEXT} is available`);
114115
// This build's own notes, from CHANGELOG.md, marked as the one installed.
115-
await page.getByRole('region', { name: 'Version 0.1.0' }).getByText('Installed').waitFor();
116+
await page.getByRole('region', { name: `Version ${VERSION}` }).getByText('Installed', { exact: true }).waitFor();
116117
await expect.poll(() => win.getByRole('tab', { name: "What's New" }).count()).toBe(1);
117118
});
118119

0 commit comments

Comments
 (0)