Update ghcr.io/miniflux/miniflux Docker tag to v2.1.1 #204
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/ghcr.io-miniflux-miniflux-2.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
2.1.0
->2.1.1
Release Notes
miniflux/v2 (ghcr.io/miniflux/miniflux)
v2.1.1
Compare Source
Enter
key as a hotkey to open selected itemvideo
elementposter
attributeindex.xml
feed.atom
andfeed.rss
are used by enterprise-scale/old-school gigantic CMS<title>
elementsgit describe
andrev-parse
stderr: When building from a tarball instead of a cloned git repo, there would be twofatal: not a git repository
errors emitted even though the build succeeds. This is because of howVERSION
andCOMMIT
are set in the Makefile. This PR suppresses the stderr for these variable assignments.CGO_ENABLED=0
forminiflux
targetstaticcheck
andgolangci-lint
insteadgo.mod
and add.exe
suffix to Windows binaryio.ReadSeeker
instead of anio.Reader
to parse feedswww
strings.Builder
instead of abytes.Buffer
strings.NewReader
instead of abytes.NewBufferString
continue
to make the code-flow more obviousinList
, and put their parameters in the right orderisPixelTracker
isValidIframeSource
, by extracting the hostname and comparing it directly, instead of using the full url and checking if it starts with multiple variations of the same one (//
,http:
,https://
multiplied by/www.
)slices
instead of hand-rolled loopscollector/allocator involvements.
Reader
instead of copying to a buffer when parsing an Atom feedview.New
after logging the user in: There is no need to do extra work like creating a session and its associated view until the user has been properly identified and as many possibly-failing sql request have been successfully rungenericProxyRewriter
shouldProxy
function to reduce the copy-pasta.removeUnlikelyCandidates
:.Not
returns a brand newSelection
, copied element by elementEstimateReadingTime
's speed by a factor 7whatlanggo.Detect
is abysmally slow.username
generation for the integration tests: No need to generate random numbers 10 times, generate a single big-enough one. A single int64 should be more than enoughArchiveEntries
andupdateEnclosures
line
is positive since we're checking afterwards that it contains the=
signdefer()
in a loopstrings.ReplaceAll
instead ofstrings.Replace(…, -1)
strings.EqualFold
instead ofstrings.ToLower(…) ==
.WriteString(
instead of.Write([]byte(…
%q
instead of"%s"
internal/worker/worker.go
read-onlyinternal/locale/plural.go
instead of an avalanche ofif
formatFileSize
andduration
implementationprinter.Print
when possibleprinter.Print
tointernal/locale/printer.go
: No need to use variadic functions with string format interpolation to generate static stringsinternal/ui/view/view.go
: No need to create the map item by item when we can create it in one goCountAllFeeds()
: No need to build an empty map to then add more fields in it one by oneinternal/reader/subscription/finder.go
:localizedError
inFindSubscriptionsFromWellKnownURLs
viaslog
file, if only for consistency's sake
subscriptions
slice when using an RSS-bridge,MarkCategoryAsRead
instead of a subqueryCleanOldUserSessions
' query: No need for a subquery, filtering oncreated_at
directly is enoughcleanupEntries
' queryNOT (hash=ANY(%4))
can be expressed ashash NOT IN $4
ArchiveEntries
's query for consistency's sake and replace the=ANY
with anIN
GetEntryIDs
andGetReadTime
's query for consistency's sakeWeeklyFeedEntryCount
: No need for aBETWEEN
: we want to filter on entries published in the last week, no need to express is as "entries published between now and last week", "entries published after last week" is enoughadd_image_title
github.com/google/uuid
dependencies: Replace it with a hand-rolled implementation. Heck, an UUID isn't even a requirement according to Omnivore API docsinternal/reader/icon/finder.go
:apple-touch-icon-precomposed.png
as a fallbackfavicon
icon
first, since it seems to be the most popular one. It used to be last, meaning that pages had to be parsed completely 4 times, instead of one now.findIconURLsFromHTMLDocument
internal/reader/date/parser.go
:Entry
struct to save some memorygolang.org/x/oauth2
from0.17.0
to0.18.0
github.com/prometheus/client_golang
from1.18.0
to1.19.0
github.com/tdewolff/minify/v2
from2.20.16
to2.20.18
github.com/PuerkitoBio/goquery
from1.8.1
to1.9.1
golang.org/x/crypto
from0.19.0
to0.20.0
github.com/go-jose/go-jose/v3
from3.0.1
to3.0.3
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.