Commit b3620724ba

b3620724ba167f6d64229f61c4cb5b7612687077

parent: 62e3c7dafd

Verified · cmc

cmc <hello@cleberg.net> · 2026-11-26 18:35 UTC

Version 1.3.1; What's New shows a skipped version's notes

Layout: unified · split

Changed files (7)
Sources/OrgApp/WhatsNew.swift +6 −3 · view
@@ -106,15 +106,18 @@ public enum WhatsNew {
106106 ]
107107 #endif
108108
109 /// The notes to show at launch: those for `version`, the first time it runs after another
110 /// version did. Records `version` as seen. `firstLaunch` is a new install, which shows none.
109 /// The notes to show at launch, the first time `version` runs after another version did: the
110 /// newest notes for a version after the one seen last, up to `version`, so an update that
111 /// skips a version still shows its notes. Records `version` as seen. `firstLaunch` is a new
112 /// install, which shows none.
111113 public static func pending(
112114 version: String = appVersion, firstLaunch: Bool, defaults: UserDefaults = .standard, releases: [ReleaseNotes] = releases
113115 ) -> ReleaseNotes? {
114116 let seen = defaults.string(forKey: seenKey)
115117 defaults.set(version, forKey: seenKey)
116118 guard seen != version, !firstLaunch else { return nil }
117 return releases.first { $0.version == version }
119 func newer(_ a: String, than b: String) -> Bool { a.compare(b, options: .numeric) == .orderedDescending }
120 return releases.first { notes in !newer(notes.version, than: version) && seen.map { newer(notes.version, than: $0) } ?? true }
118121 }
119122}
120123
Tests/OrgAppTests/WhatsNewTests.swift +7 · view
@@ -31,6 +31,13 @@ struct WhatsNewTests {
3131 #expect(WhatsNew.pending(version: "2.0.1", firstLaunch: false, defaults: defaults, releases: releases) == nil)
3232 }
3333
34 @Test func aSkippedVersionsNotesShowAfterTheNextUpdate() throws {
35 let defaults = try defaults()
36 defaults.set("1.9.0", forKey: WhatsNew.seenKey)
37 #expect(WhatsNew.pending(version: "2.0.1", firstLaunch: false, defaults: defaults, releases: releases)?.version == "2.0.0")
38 #expect(WhatsNew.pending(version: "2.0.2", firstLaunch: false, defaults: defaults, releases: releases) == nil)
39 }
40
3441 @Test func itemsHaveDistinctTitles() {
3542 for release in WhatsNew.releases {
3643 #expect(Set(release.items.map(\.id)).count == release.items.count)
ios/AppStore/metadata.md +2 · view
@@ -63,6 +63,7 @@ Everyone who downloaded orgstar before orgstar+ keeps all of it.
6363- Handoff of the open file between iPhone, iPad and Mac; Share Subtree by AirDrop, Mail or Messages.
6464- Sync a git folder through Working Copy.
6565- Faster opening and styling of large files, and many fixes to layout, wording and accessibility.
66- Fixes: an encrypted entry you didn't change keeps its encrypted text when the file is saved, and the passphrase sheet on iPhone and iPad has larger fields and buttons.
6667
6768## Keywords
6869
@@ -143,6 +144,7 @@ org-mode,emacs,outline,todo,agenda,plain text,notes,tasks,gtd,planner,kanban,org
143144- Handoff of the open file between Mac, iPhone and iPad; Share Subtree by AirDrop, Mail or Messages.
144145- A customisable toolbar, a grouped Org menu and Help ▸ Manual.
145146- Faster opening and styling of large files, and many fixes to layout, wording and accessibility.
147- Fixes: an encrypted entry you didn't change keeps its encrypted text when the file is saved.
146148
147149### App Review notes
148150
ios/Orgstar.xcodeproj/project.pbxproj +16 −16 · view
@@ -1116,7 +1116,7 @@
11161116 "@executable_path/../Frameworks",
11171117 );
11181118 MACOSX_DEPLOYMENT_TARGET = 26.0;
1119 MARKETING_VERSION = 1.3.0;
1119 MARKETING_VERSION = 1.3.1;
11201120 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar;
11211121 PRODUCT_MODULE_NAME = Orgstar;
11221122 PRODUCT_NAME = orgstar;
@@ -1146,7 +1146,7 @@
11461146 "@executable_path/../../../../Frameworks",
11471147 );
11481148 MACOSX_DEPLOYMENT_TARGET = 26.0;
1149 MARKETING_VERSION = 1.3.0;
1149 MARKETING_VERSION = 1.3.1;
11501150 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.quicklook;
11511151 PRODUCT_NAME = "$(TARGET_NAME)";
11521152 SDKROOT = auto;
@@ -1173,7 +1173,7 @@
11731173 "@executable_path/Frameworks",
11741174 "@executable_path/../../Frameworks",
11751175 );
1176 MARKETING_VERSION = 1.3.0;
1176 MARKETING_VERSION = 1.3.1;
11771177 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.share;
11781178 PRODUCT_NAME = "$(TARGET_NAME)";
11791179 SKIP_INSTALL = YES;
@@ -1196,7 +1196,7 @@
11961196 "@executable_path/Frameworks",
11971197 "@executable_path/../../Frameworks",
11981198 );
1199 MARKETING_VERSION = 1.3.0;
1199 MARKETING_VERSION = 1.3.1;
12001200 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.share;
12011201 PRODUCT_NAME = "$(TARGET_NAME)";
12021202 SKIP_INSTALL = YES;
@@ -1218,7 +1218,7 @@
12181218 "@executable_path/Frameworks",
12191219 "@executable_path/../../Frameworks",
12201220 );
1221 MARKETING_VERSION = 1.3.0;
1221 MARKETING_VERSION = 1.3.1;
12221222 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.watchkitapp.widgets;
12231223 PRODUCT_NAME = "$(TARGET_NAME)";
12241224 SDKROOT = watchos;
@@ -1248,7 +1248,7 @@
12481248 "$(inherited)",
12491249 "@executable_path/Frameworks",
12501250 );
1251 MARKETING_VERSION = 1.3.0;
1251 MARKETING_VERSION = 1.3.1;
12521252 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar;
12531253 PRODUCT_MODULE_NAME = OrgstarMobile;
12541254 PRODUCT_NAME = Orgstar;
@@ -1271,7 +1271,7 @@
12711271 "@executable_path/../../../../Frameworks",
12721272 );
12731273 MACOSX_DEPLOYMENT_TARGET = 26.0;
1274 MARKETING_VERSION = 1.3.0;
1274 MARKETING_VERSION = 1.3.1;
12751275 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.spotlight;
12761276 PRODUCT_NAME = "$(TARGET_NAME)";
12771277 SDKROOT = macosx;
@@ -1295,7 +1295,7 @@
12951295 "$(inherited)",
12961296 "@executable_path/Frameworks",
12971297 );
1298 MARKETING_VERSION = 1.3.0;
1298 MARKETING_VERSION = 1.3.1;
12991299 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.watchkitapp;
13001300 PRODUCT_NAME = "$(TARGET_NAME)";
13011301 SDKROOT = watchos;
@@ -1320,7 +1320,7 @@
13201320 "@executable_path/Frameworks",
13211321 "@executable_path/../../Frameworks",
13221322 );
1323 MARKETING_VERSION = 1.3.0;
1323 MARKETING_VERSION = 1.3.1;
13241324 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.watchkitapp.widgets;
13251325 PRODUCT_NAME = "$(TARGET_NAME)";
13261326 SDKROOT = watchos;
@@ -1354,7 +1354,7 @@
13541354 "@executable_path/../../../../Frameworks",
13551355 );
13561356 MACOSX_DEPLOYMENT_TARGET = 26.0;
1357 MARKETING_VERSION = 1.3.0;
1357 MARKETING_VERSION = 1.3.1;
13581358 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.widgets;
13591359 PRODUCT_NAME = "$(TARGET_NAME)";
13601360 SDKROOT = auto;
@@ -1381,7 +1381,7 @@
13811381 "@executable_path/../../../../Frameworks",
13821382 );
13831383 MACOSX_DEPLOYMENT_TARGET = 26.0;
1384 MARKETING_VERSION = 1.3.0;
1384 MARKETING_VERSION = 1.3.1;
13851385 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.spotlight;
13861386 PRODUCT_NAME = "$(TARGET_NAME)";
13871387 SDKROOT = macosx;
@@ -1411,7 +1411,7 @@
14111411 "@executable_path/../../../../Frameworks",
14121412 );
14131413 MACOSX_DEPLOYMENT_TARGET = 26.0;
1414 MARKETING_VERSION = 1.3.0;
1414 MARKETING_VERSION = 1.3.1;
14151415 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.quicklook;
14161416 PRODUCT_NAME = "$(TARGET_NAME)";
14171417 SDKROOT = auto;
@@ -1459,7 +1459,7 @@
14591459 "$(inherited)",
14601460 "@executable_path/Frameworks",
14611461 );
1462 MARKETING_VERSION = 1.3.0;
1462 MARKETING_VERSION = 1.3.1;
14631463 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar;
14641464 PRODUCT_MODULE_NAME = OrgstarMobile;
14651465 PRODUCT_NAME = Orgstar;
@@ -1490,7 +1490,7 @@
14901490 "@executable_path/../../../../Frameworks",
14911491 );
14921492 MACOSX_DEPLOYMENT_TARGET = 26.0;
1493 MARKETING_VERSION = 1.3.0;
1493 MARKETING_VERSION = 1.3.1;
14941494 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.widgets;
14951495 PRODUCT_NAME = "$(TARGET_NAME)";
14961496 SDKROOT = auto;
@@ -1536,7 +1536,7 @@
15361536 "$(inherited)",
15371537 "@executable_path/Frameworks",
15381538 );
1539 MARKETING_VERSION = 1.3.0;
1539 MARKETING_VERSION = 1.3.1;
15401540 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar.watchkitapp;
15411541 PRODUCT_NAME = "$(TARGET_NAME)";
15421542 SDKROOT = watchos;
@@ -1564,7 +1564,7 @@
15641564 "@executable_path/../Frameworks",
15651565 );
15661566 MACOSX_DEPLOYMENT_TARGET = 26.0;
1567 MARKETING_VERSION = 1.3.0;
1567 MARKETING_VERSION = 1.3.1;
15681568 PRODUCT_BUNDLE_IDENTIFIER = sh.krz.orgstar;
15691569 PRODUCT_MODULE_NAME = Orgstar;
15701570 PRODUCT_NAME = orgstar;
scripts/build-app.sh +1 −1 · view
@@ -10,7 +10,7 @@
1010set -eu
1111
1212cd "$(dirname "$0")/.."
13version="${1:-1.3.0}"
13version="${1:-1.3.1}"
1414build="${2:-$version}"
1515sign="${ORGSTAR_SIGN:--}"
1616app=".build/app/orgstar.app"
scripts/build-ios-app.sh +1 −1 · view
@@ -5,7 +5,7 @@
55set -eu
66
77cd "$(dirname "$0")/.."
8version="${1:-1.3.0}"
8version="${1:-1.3.1}"
99app=".build/ios-app/orgstar.app"
1010products=".build/ios/Build/Products/Debug-iphonesimulator"
1111
scripts/build-watch-app.sh +1 −1 · view
@@ -7,7 +7,7 @@
77set -eu
88
99cd "$(dirname "$0")/.."
10version="${1:-1.3.0}"
10version="${1:-1.3.1}"
1111app=".build/watch-app/OrgstarWatch.app"
1212products=".build/watch/Build/Products/Debug-watchsimulator"
1313# The app group the complications read the agenda from, on the watch.
Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form