Merge branch 'main' into fix/freshrss-inline-footnotes

This commit is contained in:
Brent Simmons authored and GitHub committed 2026-10-08 09:55:54 -07:00
commit 69ff87bda1
10 files changed
+180 -15

No files matched your search

+44
View File
@@ -6,6 +6,50 @@
<description>Most recent NetNewsWire changes with links to updates.</description>
<language>en</language>
<item>
<title>NetNewsWire 7.2b2</title>
<description><![CDATA[
In case you missed 7.2b1 — note the new <code>View > Use Column Layout</code> menu item. Also note the new setting for unread counts at the top of the General (first) settings tab.
<p>
Changes since 7.2b1:
<ul>
<li>Added support for Substack-style footnotes
<li>Improved CJK text rendering in the article view by adding text-autospace
<li>Fixed horizontal overflow of WordPress Math blocks and SVGs in the Tiqoe Dark theme
</ul>
]]></description>
<pubDate>Wed, 7 Oct 2026 10:20:00 -0700</pubDate>
<enclosure url="https://github.com/Ranchero-Software/NetNewsWire/releases/download/mac-7.2b2/NetNewsWire7.2b2.zip" sparkle:version="7219" sparkle:shortVersionString="7.2b2" length="9891509" type="application/zip" />
<sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>
</item>
<item>
<title>NetNewsWire 7.2b1</title>
<description><![CDATA[
<ul>
<li>Added unread count display setting — show the count, show a dot, or hide it — which applies to the Dock icon badge, window title, and sidebar
<li>Added column layout for the timeline — choose View > Use Column Layout
<li>Expanded View > Sort Articles By with more options (works with standard and column layouts)
<li>Made timeline sorting per window instead of one setting for the whole app
<li>Made the Add Feed sheet start with the folder or account selected in the sidebar
<li>Changed the message for adding a feed that’s already added to include the name of the folder (or folders)
<li>Fixed bug where YouTube embeds in articles showed an error instead of playing
<li>Fixed extra whitespace at the end of Slashdot articles and paragraphs running together
<li>Fixed parsing of RSS feed titles when a feed contains a textinput section (Slashdot, for instance)
<li>Added support for the instapaper_ignore class — elements marked with it are now removed from articles
<li>Changed tabs in pre and code elements in articles to display as four spaces
<li>Improved finding feeds in a page by skipping links to PDFs, movies, and other files that can’t be feeds
<li>Changed finding a feed to use the redirected-to URL
<li>Improved font sizing and fixed superscript orphans in table cells in the Tiqoe Dark theme
<li>Sped up Today and unread count queries
<li>Added up to 500 characters of the HTTP error response body to Error Log entries
</ul>
]]></description>
<pubDate>Tue, 6 Oct 2026 21:15:00 -0700</pubDate>
<enclosure url="https://github.com/Ranchero-Software/NetNewsWire/releases/download/mac-7.2b1/NetNewsWire7.2b1.zip" sparkle:version="7217" sparkle:shortVersionString="7.2b1" length="9890992" type="application/zip" />
<sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>
</item>
<item>
<title>NetNewsWire 7.1.5</title>
<description><![CDATA[
+44
View File
@@ -6,6 +6,50 @@
<description>Most recent NetNewsWire changes with links to updates.</description>
<language>en</language>
<item>
<title>NetNewsWire 7.2b2</title>
<description><![CDATA[
In case you missed 7.2b1 — note the new <code>View > Use Column Layout</code> menu item. Also note the new setting for unread counts at the top of the General (first) settings tab.
<p>
Changes since 7.2b1:
<ul>
<li>Added support for Substack-style footnotes
<li>Improved CJK text rendering in the article view by adding text-autospace
<li>Fixed horizontal overflow of WordPress Math blocks and SVGs in the Tiqoe Dark theme
</ul>
]]></description>
<pubDate>Wed, 7 Oct 2026 10:20:00 -0700</pubDate>
<enclosure url="https://github.com/Ranchero-Software/NetNewsWire/releases/download/mac-7.2b2/NetNewsWire7.2b2.zip" sparkle:version="7219" sparkle:shortVersionString="7.2b2" length="9891509" type="application/zip" />
<sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>
</item>
<item>
<title>NetNewsWire 7.2b1</title>
<description><![CDATA[
<ul>
<li>Added unread count display setting — show the count, show a dot, or hide it — which applies to the Dock icon badge, window title, and sidebar
<li>Added column layout for the timeline — choose View > Use Column Layout
<li>Expanded View > Sort Articles By with more options (works with standard and column layouts)
<li>Made timeline sorting per window instead of one setting for the whole app
<li>Made the Add Feed sheet start with the folder or account selected in the sidebar
<li>Changed the message for adding a feed that’s already added to include the name of the folder (or folders)
<li>Fixed bug where YouTube embeds in articles showed an error instead of playing
<li>Fixed extra whitespace at the end of Slashdot articles and paragraphs running together
<li>Fixed parsing of RSS feed titles when a feed contains a textinput section (Slashdot, for instance)
<li>Added support for the instapaper_ignore class — elements marked with it are now removed from articles
<li>Changed tabs in pre and code elements in articles to display as four spaces
<li>Improved finding feeds in a page by skipping links to PDFs, movies, and other files that can’t be feeds
<li>Changed finding a feed to use the redirected-to URL
<li>Improved font sizing and fixed superscript orphans in table cells in the Tiqoe Dark theme
<li>Sped up Today and unread count queries
<li>Added up to 500 characters of the HTTP error response body to Error Log entries
</ul>
]]></description>
<pubDate>Tue, 6 Oct 2026 21:15:00 -0700</pubDate>
<enclosure url="https://github.com/Ranchero-Software/NetNewsWire/releases/download/mac-7.2b1/NetNewsWire7.2b1.zip" sparkle:version="7217" sparkle:shortVersionString="7.2b1" length="9890992" type="application/zip" />
<sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>
</item>
<item>
<title>NetNewsWire 7.1.5</title>
<description><![CDATA[
+4 -2
View File
@@ -171,11 +171,13 @@ function error() {
// Takes into account absoluting of URLs.
function isLocalFootnote(target) {
return target.hash.startsWith("#fn") && target.href.indexOf(document.baseURI) === 0;
return (target.hash.startsWith("#fn") || target.hash.startsWith("#footnote")) && target.href.indexOf(document.baseURI) === 0;
}
function styleLocalFootnotes() {
for (elem of document.querySelectorAll("sup > a[href*='#fn'], sup > div > a[href*='#fn']")) {
// Multimarkdown-style: <sup><a href="#fn…">. Substack-style: a bare
// <a id="footnote-anchor-N" href="#footnote-N"> with no <sup> wrapper.
for (elem of document.querySelectorAll("sup > a[href*='#fn'], sup > div > a[href*='#fn'], a[id^='footnote-anchor-']")) {
if (isLocalFootnote(elem)) {
elem.classList.add("footnote");
}
+35 -6
View File
@@ -125,12 +125,37 @@
if (!target.hash) return;
return decodeURIComponent(target.hash.substring(1));
}
/** @type {{fnref(target:HTMLAnchorElement): string|undefined}[]} */
/**
* @type {{
* fnref(target:HTMLAnchorElement): string|undefined,
* content(targetElement:HTMLElement): string
* }[]}
*/
const footnoteFormats = [
{ // Substack: the ref <a id="footnote-anchor-N" href="#footnote-N">
// points at a backlink <a id="footnote-N">N</a> whose note text lives
// in the sibling elements that follow it, not inside the anchor.
fnref(target) {
if (!target.matches("a[id^='footnote-anchor-']")) return;
return idFromHash(target);
},
content(targetElement) {
let html = "";
let node = targetElement.nextElementSibling;
while (node && !node.matches("a[id^='footnote-']")) {
html += node.outerHTML;
node = node.nextElementSibling;
}
return html;
}
},
{ // Multimarkdown
fnref(target) {
if (!target.matches(".footnote")) return;
return idFromHash(target);
},
content(targetElement) {
return targetElement.innerHTML;
}
}
];
@@ -140,22 +165,26 @@
if (!(ev.target && ev.target instanceof HTMLAnchorElement)) return;
let targetId = undefined;
let format = undefined;
for(const f of footnoteFormats) {
targetId = f.fnref(ev.target);
if (targetId) break;
if (targetId) {
format = f;
break;
}
}
if (targetId === undefined) return;
// Only override the default behaviour when we know we can find the
// target element
const targetElement = document.getElementById(targetId);
if (targetElement === null) return;
ev.preventDefault();
installContainer(ev.target);
void new Footnote(targetElement.innerHTML, ev.target);
void new Footnote(format.content(targetElement), ev.target);
});
// Handle clicks on the footnote reverse link
+25
View File
@@ -1,5 +1,30 @@
# Mac Release Notes
### 7.2b2 7219 7 Oct 2026 - branch: main tag: mac-7.2b2
Added support for Substack-style footnotes
Improved CJK text rendering in the article view by adding text-autospace
Fixed horizontal overflow of WordPress Math blocks and SVGs in the Tiqoe Dark theme
### 7.2b1 7217 6 Oct 2026 - branch: main tag: mac-7.2b1
Added unread count display setting — show the count, show a dot, or hide it — which applies to the Dock icon badge, window title, and sidebar
Added column layout for the timeline — choose View > Use Column Layout
Expanded View > Sort Articles By with more options (works with standard and column layouts)
Made timeline sorting per window instead of one setting for the whole app
Made the Add Feed sheet start with the folder or account selected in the sidebar
Changed the message for adding a feed that’s already added to include the name of the folder (or folders)
Fixed bug where YouTube embeds in articles showed an error instead of playing
Fixed extra whitespace at the end of Slashdot articles and paragraphs running together
Fixed parsing of RSS feed titles when a feed contains a textinput section (Slashdot, for instance)
Added support for the instapaper_ignore class — elements marked with it are now removed from articles
Changed tabs in pre and code elements in articles to display as four spaces
Improved finding feeds in a page by skipping links to PDFs, movies, and other files that can’t be feeds
Changed finding a feed to use the redirected-to URL
Improved font sizing and fixed superscript orphans in table cells in the Tiqoe Dark theme
Sped up Today and unread count queries
Added up to 500 characters of the HTTP error response body to Error Log entries
### 7.1.5 7216 29 Sep 2026 - branch: release/macos-7.1.5 tag: mac-7.1.5
Fixed bug introduced in 7.1.4 where the app wouldn’t ask for notifications permission on launch, which meant no unread count in the Dock icon for new users
+20
View File
@@ -1,5 +1,25 @@
# iOS Release Notes
### 7.2 build 7218 6 Oct 2026 - branch: main tag: iOS-7.2-7218
Added unread count display setting — show the count, show a dot, or hide it — which applies to the app icon badge, feeds list, and widgets
Fixed bug where the timeline selection was cleared when using the left arrow or shift-tab to go back to the feeds list (when multiple columns are showing)
Changed the selection color in the feeds list to blue when it has keyboard focus and multiple columns are showing
Fixed bug where YouTube embeds in articles showed an error instead of playing
Fixed extra whitespace at the end of Slashdot articles and paragraphs running together
Fixed parsing of RSS feed titles when a feed contains a textinput section (Slashdot, for instance)
Added support for the instapaper_ignore class — elements marked with it are now removed from articles
Added support for Substack-style footnotes
Improved CJK text rendering in the article view by adding text-autospace
Changed tabs in pre and code elements in articles to display as four spaces
Improved finding feeds in a page by skipping links to PDFs, movies, and other files that can’t be feeds
Changed finding a feed to use the redirected-to URL
Improved font sizing and fixed superscript orphans in table cells in the Tiqoe Dark theme
Fixed horizontal overflow of WordPress Math blocks and SVGs in the Tiqoe Dark theme
Changed the Tiqoe Dark theme to hide the PBS NewsHour funding invite in Reader View
Sped up Today and unread count queries
Added up to 500 characters of the HTTP error response body to Error Log entries
### 7.1.4 build 7213 18 Sep 2026 - branch: main tag: iOS-7.1.4-7213
This was originally a TestFlight release. It was submitted to the App Store as the 7.1.4 release version on 20 Sep 2026.
+5 -4
View File
@@ -5,15 +5,16 @@ https://github.com/Ranchero-Software/NetNewsWire/milestone/74
## iOS
iOS shipping: 7.1.3 (7206)
iOS shipping: 7.1.4 (7213)
https://github.com/Ranchero-Software/NetNewsWire/releases/tag/iOS-7.1.3-7206
iOS beta: 7.1.4 (7213)
https://github.com/Ranchero-Software/NetNewsWire/releases/tag/iOS-7.1.4-7213
iOS beta: 7.2 (7218)
https://github.com/Ranchero-Software/NetNewsWire/releases/tag/iOS-7.2-7218
## Mac
Mac shipping: 7.1.5
https://github.com/Ranchero-Software/NetNewsWire/releases/tag/mac-7.1.5
Mac beta: none
Mac beta: 7.2b2
https://github.com/Ranchero-Software/NetNewsWire/releases/tag/mac-7.2b2
@@ -1,7 +1,7 @@
#include "./NetNewsWire_version.xcconfig"
// High Level Settings common to both the iOS application and any extensions we bundle with it
MARKETING_VERSION = 7.1.4
MARKETING_VERSION = 7.2
APP_GROUP_ID = group.$(ORGANIZATION_IDENTIFIER).NetNewsWire.iOS$(APP_GROUP_SUFFIX)
@@ -1,7 +1,7 @@
#include "./NetNewsWire_version.xcconfig"
// High Level Settings common to both the Mac application and any extensions we bundle with it
MARKETING_VERSION = 7.1.5
MARKETING_VERSION = 7.2b2
APP_GROUP_ID = group.$(ORGANIZATION_IDENTIFIER).NetNewsWire-Evergreen$(APP_GROUP_SUFFIX)
+1 -1
View File
@@ -1 +1 @@
CURRENT_PROJECT_VERSION = 7216
CURRENT_PROJECT_VERSION = 7219