diff --git a/AGENTS.md b/AGENTS.md index fa4e961..8cc5f0f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -250,11 +250,11 @@ spctl --assess --type open --context context:primary-signature --verbose=4 \ dist/PreviewMD---macOS.dmg ``` -The most recently accepted local release is PreviewMD `1.9 (13)`. Its application +The most recently accepted release is PreviewMD `1.9 (13)`. Its application notarization submission is `948b4107-14ea-4381-9b05-28d22af3ac7d`; the final DMG submission is `9dc40a47-728c-49c1-bda7-3dd551090948`. Its release receipt is -`docs/releases/PreviewMD-1.9-13.json`. The public landing-page download remains -at `1.8 (12)` until a separate public publication is requested. +`docs/releases/PreviewMD-1.9-13.json`. The public landing-page download is +`1.9 (13)`, using that same accepted and stapled DMG. ## Versioning diff --git a/docs/releases/PreviewMD-1.9-13.json b/docs/releases/PreviewMD-1.9-13.json index bfbb0d1..184c64c 100644 --- a/docs/releases/PreviewMD-1.9-13.json +++ b/docs/releases/PreviewMD-1.9-13.json @@ -3,7 +3,7 @@ "version": "1.9", "build": "13", "release_date": "2026-10-06", - "distribution": "local installer; no GitHub Release or landing-page download change", + "distribution": "public landing-page download; no GitHub Release", "source_revision": "f8c4fdb23e758dd46b5d8c7dc15296dcfb6d84ab", "fixes_main_revision": "bef87f24b1a49ec25e6aad3b430226a91ea4f99f", "bundle_identifier": "pl.jesion.previewmd", @@ -49,7 +49,7 @@ "sha256": "8404a6157137ad7819f94d7f6a86f61892a0dc6dd1688cc9bbe7bebd514f9feb" } ], - "repository_installer": "dist/PreviewMD-1.9-13-macOS.dmg", + "repository_installer": "site/PreviewMD-1.9-13-macOS.dmg", "repository_fallback_archive": "dist/PreviewMD-1.9-13-macOS.zip", "repository_application": "dist/releases/PreviewMD-1.9-13/PreviewMD.app", "verification": { @@ -59,5 +59,11 @@ "bundled_renderer_and_legal_files_match_source": true, "additional_installer_copy_sha256_matches": true, "previous_release_preserved": true + }, + "local_installer": "dist/PreviewMD-1.9-13-macOS.dmg", + "publication": { + "date": "2026-10-07", + "site_url": "https://experiments.frontierslab.ai/previewmd/", + "download_url": "https://experiments.frontierslab.ai/previewmd/PreviewMD-1.9-13-macOS.dmg" } } diff --git a/site/PreviewMD-1.8-12-macOS.dmg b/site/PreviewMD-1.9-13-macOS.dmg similarity index 52% rename from site/PreviewMD-1.8-12-macOS.dmg rename to site/PreviewMD-1.9-13-macOS.dmg index cd36c23..6930f4d 100644 Binary files a/site/PreviewMD-1.8-12-macOS.dmg and b/site/PreviewMD-1.9-13-macOS.dmg differ diff --git a/site/index.html b/site/index.html index d744e34..6c79359 100644 --- a/site/index.html +++ b/site/index.html @@ -21,7 +21,7 @@ - + @@ -42,8 +42,8 @@

A native Markdown reader and editor for the Mac.

- Download for macOS — free -

v1.8 · ~7.3 MB · Universal 2 · notarized

+ Download for macOS — free +

v1.9 · ~7.3 MB · Universal 2 · notarized

@@ -110,7 +110,7 @@

Plain text, properly typeset.

E = mc2

@@ -135,7 +135,7 @@

Plain text, properly typeset.

- [x] Source & split editing - [x] Tables, diagrams, math & code
$E = mc^2$
-
[Download for macOS — free](PreviewMD-1.8-12-macOS.dmg)
+
[Download for macOS — free](PreviewMD-1.9-13-macOS.dmg)
@@ -364,8 +364,8 @@

Sealed like a document

diff --git a/site/main.js b/site/main.js index c59f8ae..a8e1737 100644 --- a/site/main.js +++ b/site/main.js @@ -7,7 +7,7 @@ below only fixes up the live DOM — no-JS visitors, crawlers and the pre-JS paint read index.html as shipped. ============================================================ */ -const DOWNLOAD_FILE = "PreviewMD-1.8-12-macOS.dmg"; +const DOWNLOAD_FILE = "PreviewMD-1.9-13-macOS.dmg"; /* Document-relative on purpose: the page is served from the site root in local development and from a // subpath in production. A leading slash would miss the proxied endpoint there. */ diff --git a/site/test_server.py b/site/test_server.py index faa89b0..ab7c8d8 100644 --- a/site/test_server.py +++ b/site/test_server.py @@ -17,7 +17,7 @@ class PreviewMDLandingContentTests(unittest.TestCase): analytics_id = "G-8YXDM1JJH2" - release_archive = "PreviewMD-1.8-12-macOS.dmg" + release_archive = "PreviewMD-1.9-13-macOS.dmg" site_dir = Path(__file__).resolve().parent def test_editing_is_presented_as_a_core_capability(self) -> None: @@ -61,7 +61,7 @@ def test_release_archive_is_consistent_in_html_and_javascript(self) -> None: # The working app may be a newer local release. Public download metadata # must describe the exact installer that visitors can currently download. release_info = json.loads( - (self.site_dir.parent / "docs/releases/PreviewMD-1.8-12.json").read_text( + (self.site_dir.parent / "docs/releases/PreviewMD-1.9-13.json").read_text( encoding="utf-8" ) ) @@ -75,8 +75,8 @@ def test_release_archive_is_consistent_in_html_and_javascript(self) -> None: f'const DOWNLOAD_FILE = "{self.release_archive}";', javascript, ) - self.assertEqual(release_info["version"], "1.8") - self.assertEqual(release_info["build"], "12") + self.assertEqual(release_info["version"], "1.9") + self.assertEqual(release_info["build"], "13") self.assertEqual( release_info["repository_installer"], f"site/{self.release_archive}" ) @@ -90,7 +90,9 @@ def test_release_archive_is_consistent_in_html_and_javascript(self) -> None: installer = (self.site_dir / self.release_archive).read_bytes() self.assertEqual(len(installer), artifact["size_bytes"]) self.assertEqual(hashlib.sha256(installer).hexdigest(), artifact["sha256"]) - self.assertIn('main.js?v=db-13', html) + self.assertIn('main.js?v=db-14', html) + self.assertNotIn("PreviewMD-1.8-12-macOS.dmg", html) + self.assertNotIn("PreviewMD-1.8-12-macOS.dmg", javascript) self.assertNotIn("PreviewMD-1.6-10-macOS.dmg", html) self.assertNotIn("PreviewMD-1.6-10-macOS.dmg", javascript) self.assertNotIn("PreviewMD-1.5-7-macOS.zip", html) @@ -133,7 +135,7 @@ def log_message(self, format: str, *args: object) -> None: class PreviewMDServerTests(unittest.TestCase): - archive_name = "PreviewMD-1.8-12-macOS.dmg" + archive_name = "PreviewMD-1.9-13-macOS.dmg" def setUp(self) -> None: self.temporary_directory = TemporaryDirectory() @@ -213,9 +215,9 @@ def test_download_endpoint_rejects_unknown_or_unsafe_files(self) -> None: for file_name in ( "PreviewMD-missing-macOS.dmg", "PreviewMD-missing-macOS.zip", - "../PreviewMD-1.8-12-macOS.dmg", - "../PreviewMD-1.8-12-macOS.zip", - "PreviewMD-1.8-12-macOS.pkg", + "../PreviewMD-1.9-13-macOS.dmg", + "../PreviewMD-1.9-13-macOS.zip", + "PreviewMD-1.9-13-macOS.pkg", "not-previewmd.zip", ): status, payload = self.post_json(