Skip to content

Commit b52618c

Browse files
committed
Bump major version
1 parent dc0a3e6 commit b52618c

File tree

5 files changed

+14
-6
lines changed

5 files changed

+14
-6
lines changed

source/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Unclutter - Ad blocker for Reading",
3-
"version": "0.15.5",
3+
"version": "0.16.0",
44
"description": "A new kind of reader mode to remove distractions, find popular quotes, outline pages & more.",
55
"homepage_url": "https://github.com/lindylearn/unclutter",
66
"manifest_version": 3,

source/manifest_v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Unclutter - Ad blocker for Reading",
3-
"version": "0.15.5",
3+
"version": "0.16.0",
44
"description": "A new kind of reader mode to remove distractions, find popular quotes, outline pages & more.",
55
"homepage_url": "https://github.com/lindylearn/unclutter",
66
"icons": {

source/overlay/outline/updateMessages.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ export async function getVersionMessagesToShow(): Promise<VersionMessage[]> {
1616
// but hide messages the user has dismissed
1717
const dismissedVersions = await getDismissedVersionMessages();
1818
const messagesToShow = newMessages
19-
.filter(({ version }) => !dismissedVersions.includes(version))
20-
.slice(0, 3);
19+
.slice(0, 2) // only show newest updates
20+
.filter(({ version }) => !dismissedVersions.includes(version));
2121

2222
return messagesToShow;
2323
}
@@ -52,6 +52,10 @@ export async function saveDismissedVersionMessage(version: string) {
5252
}
5353

5454
function getMainVersion(version: string) {
55+
if (!version) {
56+
return "";
57+
}
58+
5559
// drop bugfix release number
5660
return version.split(".").slice(0, 2).join(".");
5761
}

source/settings-page/Options.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ function OptionsPage({}) {
169169
}
170170
>
171171
<p>
172-
Click the underlined text on 55,688 supported articles to
172+
Click the underlined text on 86,457+ supported articles to
173173
show related conversations from{" "}
174174
<a
175175
href="https://news.ycombinator.com"

source/versions.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
},
1414
{
1515
"version": "0.15.0",
16-
"updateMessage": "New update: Article unclutter animation and stability improvements."
16+
"updateMessage": "New update: Improved article unclutter animation."
17+
},
18+
{
19+
"version": "0.16.0",
20+
"updateMessage": "New update: Reliability improvements, element blocker & report page button."
1721
}
1822
]

0 commit comments

Comments
 (0)