fix(deps): update module github.com/mmcdole/gofeed to v1.4.0#128
Open
renovate[bot] wants to merge 1 commit into
Open
fix(deps): update module github.com/mmcdole/gofeed to v1.4.0#128renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Contributor
Author
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.3.0→v1.4.0Release Notes
mmcdole/gofeed (github.com/mmcdole/gofeed)
v1.4.0Compare Source
This release focuses on bug fixes for malformed and off-spec feeds. Illegal XML control characters, unusual date formats, incorrectly typed JSON Feed fields, and unescaped ampersands in URLs could previously break a parse or silently drop content. The parser now handles these cases without failing the feed or losing the affected content.
It also fixes a lazy-initialization data race when a default-configured
Parseris reused across goroutines (#278). Three new options give callers more control over resource use: an HTTP response-size limit, optional retention of the original source feed, and a switch to disable RSS content-image scanning.For RSS and Atom, the universal
Parser.Parsemethod no longer holds two complete copies of the raw feed in memory during format detection. It examines the first 4 KiB, detects the format, and then parses directly from the reader. The returnedFeedis still fully materialized, so this is not a streaming API. JSON Feed decoding still buffers the complete document.Compatibility
golang.org/x/netfrom v0.4.0 to v0.56.0 to resolve 22 reachable vulnerabilities reported bygovulncheck; that release and itsgolang.org/x/textdependency require Go 1.25.ParseURLnow applies a 30-second request timeout.ParseURLWithContextcontinues to use the caller's context.Parsenow examines only the first 4 KiB to detect the feed type. RSS and Atom roots must begin within that window. In v1.4.0, a JSON Feed whose complete document does not fit within the window is not detected by the universalParserand returnsErrFeedTypeNotDetected.ErrFeedTypeNotDetected.Error()now begins with lowercasefailed.Feednow has private storage for the original source feed, so external positionalFeed{...}literals no longer compile; keyed literals are unaffected.Added
Parser.MaxByteSizeandErrResponseTooLargeto limit response bodies fetched byParseURLandParseURLWithContext. (#286)Parser.KeepOriginalFeedandFeed.OriginalFeed()for access to the parsed*rss.Feed,*atom.Feed, or*json.Feed. (#289)DefaultRSSTranslator.DisableContentImageScanto skip the HTML image fallback on large feeds while preserving existing behavior by default. (#330)Parsing and translation fixes
Parseris reused across goroutines. (#278)xml:basevalues without mutating sibling scope. (#240, #283, #290)guidisPermaLinkhandling and replace the invaliditunes:subtitlefeed-link fallback withatom:link. (#283, #322)<cloud>children, and non-content<encoded>elements without losing the feed. (#284, #295, #317, #318, #325)Enclosure.Length; and reject out-of-range numeric sizes safely. (#279, #326)Dependencies and maintenance
jsoniterwithencoding/json. (#280)github.com/mmcdole/goxpp/v2v2.0.0. (#329)goqueryandcascadiawith directx/net/htmltraversal. (#330)golang.org/x/netandgolang.org/x/textfor security, and upgradetestifyandurfave/cli.Contributors
Contributions in this release came from @mmcdole, @TypicalAM, @oprudkyi, and @akfaew.
Full changelog: mmcdole/gofeed@v1.3.0...v1.4.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.