Miniflux 2.1.2
Release date:
Changes
api: rewrite API integration tests without build tagsci: add basic ESLinter checksci: enable go-critic linter and fix various issues detectedci: fix JavaScript linter path in GitHub Actionscli: avoid misleading error message when creating an admin user automaticallyconfig: addFILTER_ENTRY_MAX_AGE_DAYSoptionconfig: bump the number of simultaneous workersconfig: renamePROXY_*options toMEDIA_PROXY_*config: usecrypto.GenerateRandomBytesinstead of doing it by handhttp/request: refactor conditions to be more idiomatichttp/response: remove legacyX-XSS-Protectionheaderintegration/rssbrige: fix rssbrige importintegration/shaarli: factorize the header+payload concatenation as dataintegration/shaarli: no need to base64-encode then remove the padding when we can simply encode without paddingintegration/shaarli: the JWT token was declared as using HS256 as algorithm, but was using HS512integration/webhook: add category title to request bodylocale: update Turkish translationsman page: sort config options in alphabetical ordermediaproxy: reduce the internal indentation ofProxifiedUrlby inverting some conditionsmediaproxy: simplify and refactor the packagemodel: replaceOptional{Int,Int64,Float64}with a generic functionOptionalNumber()model: use struct embedding forFeedCreationRequestFromSubscriptionDiscoveryto reduce code duplicationreader/atom: avoid debug message when the date is emptyreader/atom: changeif !a { a = } if !a {a = }constructs intoif !a { a = ; if !a {a = }}to reduce the number of comparisons and improve readabilityreader/atom: Move the population of the feed’s entries into a new function, to make BuildFeed easier to understand/separate concerns/implementation detailsreader/atom: refactor Atom parser to use an adapterreader/atom: usesort+compactinstead ofcompact+sortto remove duplicatesreader/atom: when detecting the format, detect its version as wellreader/encoding: inline a one-liner functionreader/handler: fix force refresh featurereader/json: refactor JSON Feed parser to use an adapterreader/media: remove a superfluous error-check:strconv.ParseIntreturns0when passed an empty stringreader/media: simplify switch-case by moving a common condition above itreader/processor: compile block/keep regex only once per feedreader/rdf: refactor RDF parser to use an adapterreader/rewrite: inline some one-line functionsreader/rewrite: simplifyremoveClickbaitreader/rewrite: transform a free-standing function into a methodreader/rewrite: use a proper constant instead of a magic number inapplyFuncOnTextContentreader/rss: add support for<media:category>elementreader/rss: don’t add empty tags to RSS itemsreader/rss: refactor RSS parser to use a default namespace to avoid some limitations of the Go XML parserreader/rss: refactor RSS Parser to use an adapterreader/rss: remove some duplicated code in RSS parserreader: ensure that enclosure URLs are always absolutereader: move iTunes and GooglePlay XML definitions to their own packagesreader: parse podcast categoriesreader: remove trailing space inSiteURLandFeedURLstorage: do not store empty tagsstorage: simplifyremoveDuplicates()to use asort+compactconstruct instead of doing it by hand with a hashmapstorage: Use plain strings concatenation instead of building an array and then joining ittimezone: make sure the tests pass when the timezone database is not installed on the hostui/css: alignmin-widthwith the othermin-widthvaluesui/css: fix regression: “Add to Home Screen” button is unreadableui/js: don’t use lambdas to return a function, use directly the function insteadui/js: enable trusted-typesui/js: fix download button loading labelui/js: fix JavaScript error on the login page when the user not authenticatedui/js: inline one-line functionsui/js: inline somequerySelectorAllcallsui/js: reduce the scope of some variablesui/js: remove a hack for “Chrome 67 and earlier” since it was released in 2018ui/js: replaceDomHelper.findParentwith.closestui/js: replaceletwithconstui/js: simplifyDomHelper.getVisibleElementsby using afilterinstead of a loop with an indexui/js: use aSetinstead of an array in aKeyboardHandler’s memberui/js: use some ternaries where it makes senseui/static: make use ofHashFromByteseverywhereui/static: set minifier ECMAScript versionui: add keyboard shortcuts for scrolling to top/bottom of the item listui: add media player control playback speedui: remove unused variables and improve JSON decoding insaveEnclosureProgression()validator: display an error message on edit feed page when the feed URL is not unique- Bump
github.com/coreos/go-oidc/v3from3.9.0to3.10.0 - Bump
github.com/go-webauthn/webauthnfrom0.10.1to0.10.2 - Bump
github.com/tdewolff/minify/v2from2.20.18to2.20.19 - Bump
google.golang.org/protobuffrom1.32.0to1.33.0
Attachments
- https://github.com/miniflux/v2/releases/download/2.1.2/miniflux-darwin-amd64
- https://github.com/miniflux/v2/releases/download/2.1.2/miniflux-darwin-arm64
- https://github.com/miniflux/v2/releases/download/2.1.2/miniflux-freebsd-amd64
- https://github.com/miniflux/v2/releases/download/2.1.2/miniflux-linux-amd64
- https://github.com/miniflux/v2/releases/download/2.1.2/miniflux-linux-arm64
- https://github.com/miniflux/v2/releases/download/2.1.2/miniflux-linux-armv5
- https://github.com/miniflux/v2/releases/download/2.1.2/miniflux-linux-armv6
- https://github.com/miniflux/v2/releases/download/2.1.2/miniflux-linux-armv7
- https://github.com/miniflux/v2/releases/download/2.1.2/miniflux-openbsd-amd64
- https://github.com/miniflux/v2/releases/download/2.1.2/miniflux-windows-amd64.exe
- https://github.com/miniflux/v2/releases/download/2.1.2/miniflux-2.1.2-1.0.x86_64.rpm
- https://github.com/miniflux/v2/releases/download/2.1.2/miniflux_2.1.2_amd64.deb
- https://github.com/miniflux/v2/releases/download/2.1.2/miniflux_2.1.2_arm64.deb
- https://github.com/miniflux/v2/releases/download/2.1.2/miniflux_2.1.2_armhf.deb