PackageTrack
Sign in Get early access

github.com/mmcdole/gofeed

v1.4.2 #460 most downloaded on Go modules mmcdole/gofeed

What this package is like to depend on

Last release 3 days ago

20 Aug 2026

Ships unpredictably

gaps range from 9 days to 1.1 years

Most releases are documented

notes for 9 of 11 stable releases

Nothing withdrawn

no release was ever pulled

10 years old

86 releases · first in 2016

10 releases in the last 12 months

see the full history below

Release timeline

86 releases · Apr 2016 to Aug 2026
2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 86
  1. v1.4.3-0.20260820160103-0d789596150c 20 Aug 2026 pre-release

    Nothing published for this version

  2. v1.4.2 20 Aug 2026
    Release notes

    This patch fixes two parser regressions. JSON feeds larger than the 4096-byte detection window are now detected and parsed completely, and RSS feeds with an unknown default namespace on <rss> are parsed as native RSS while recognized extension namespaces retain their meaning.

    Changes

    • Detect JSON feeds larger than the sniffing window. (#348)
    • Tolerate an unknown default namespace on the RSS root. (#347)
    • Update actions/setup-go from v6 to v7. (#337)

    Full changelog: v1.4.1...v1.4.2

    Open source →
  3. v1.4.2-0.20260810233137-41f33bc35f22 10 Aug 2026 pre-release

    Nothing published for this version

  4. v1.4.1 10 Aug 2026
    Release notes

    This patch fixes namespace handling for Atom links embedded in RSS feeds. Atom self and WebSub hub links are now preserved in Feed.Extensions["atom"]["link"] even when a feed uses a local default namespace or a different prefix.

    It also makes prefixed Atom and RDF documents parse consistently, preserves compatibility with commonly seen content:encoded namespace variants, and updates golang.org/x/net to v0.57.0.

    Changes

    • Fix namespace-aware Atom extension parsing. (#339)
    • Update golang.org/x/net to v0.57.0. (#336)

    Full changelog: v1.4.0...v1.4.1

    Open source →
  5. v1.4.1-0.20260713141224-e010ca02e0eb 13 Jul 2026 pre-release

    Nothing published for this version

  6. v1.4.0 11 Jul 2026
    Release notes

    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 Parser is 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.Parse method 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 returned Feed is still fully materialized, so this is not a streaming API. JSON Feed decoding still buffers the complete document.

    Compatibility

    • Go 1.25 or newer is required. v1.4.0 updates golang.org/x/net from v0.4.0 to v0.56.0 to resolve 22 reachable vulnerabilities reported by govulncheck; that release and its golang.org/x/text dependency require Go 1.25.
    • ParseURL now applies a 30-second request timeout. ParseURLWithContext continues to use the caller's context.
    • Parse now 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 universal Parser and returns ErrFeedTypeNotDetected.
    • The text returned by ErrFeedTypeNotDetected.Error() now begins with lowercase failed.
    • No exported v1 identifier was removed. Feed now has private storage for the original source feed, so external positional Feed{...} literals no longer compile; keyed literals are unaffected.

    Added

    • Add Parser.MaxByteSize and ErrResponseTooLarge to limit response bodies fetched by ParseURL and ParseURLWithContext. (#286)
    • Add Parser.KeepOriginalFeed and Feed.OriginalFeed() for access to the parsed *rss.Feed, *atom.Feed, or *json.Feed. (#289)
    • Add DefaultRSSTranslator.DisableContentImageScan to skip the HTML image fallback on large feeds while preserving existing behavior by default. (#330)

    Parsing and translation fixes

    • Fix a data race when the same default-configured Parser is reused across goroutines. (#278)
    • Limit universal-parser format detection to a 4 KiB lookahead, parse RSS and Atom directly from the reader without retaining two complete raw copies, and propagate reader I/O errors. (#327)
    • Preserve parse errors when closing an HTTP response also returns an error.
    • Tolerate non-HTTP URI schemes and resolve RSS and Atom xml:base values without mutating sibling scope. (#240, #283, #290)
    • Resolve every URI-bearing HTML attribute, including elements with multiple URI attributes. (#323)
    • Preserve ordinary Atom content that merely looks like base64 and trim whitespace-prefixed Atom links. (#238, #283)
    • Promote embedded Atom author, date, content, summary, and category elements from RSS into universal fields. (#292)
    • Correct RSS guid isPermaLink handling and replace the invalid itunes:subtitle feed-link fallback with atom:link. (#283, #322)
    • Handle illegal C0 XML controls, mixed CDATA content, namespace whitespace, <cloud> children, and non-content <encoded> elements without losing the feed. (#284, #295, #317, #318, #325)
    • Continue entity decoding after bare ampersands without corrupting query parameters that resemble legacy HTML entities. (#319, #321)
    • Correct named timezone offsets and additional date layouts. (#234, #282, #324)
    • Tolerate off-spec JSON Feed IDs, booleans, attachment sizes, and durations; use attachment byte size for Enclosure.Length; and reject out-of-range numeric sizes safely. (#279, #326)
    • Prevent sorting panics when items have nil parsed publication dates.

    Dependencies and maintenance

    • Replace jsoniter with encoding/json. (#280)
    • Migrate to github.com/mmcdole/goxpp/v2 v2.0.0. (#329)
    • Replace goquery and cascadia with direct x/net/html traversal. (#330)
    • Upgrade golang.org/x/net and golang.org/x/text for security, and upgrade testify and urfave/cli.
    • Expand regression fixtures and consolidate parser and translator control flow. (#332, #333)
    • Add contributor guidance and test-fixture conventions. (#331)
    • Modernize GitHub Actions with stable/oldstable builds, race-enabled shuffled tests, Staticcheck, govulncheck, Codecov, and Dependabot; remove the defunct Travis configuration. (#297, #335)

    Contributors

    Contributions in this release came from @mmcdole, @TypicalAM, @oprudkyi, and @akfaew.

    Full changelog: v1.3.0...v1.4.0

    Open source →
  7. v1.3.1-0.20260706175210-16bfe363a6b3 06 Jul 2026 pre-release

    Nothing published for this version

  8. v1.3.1-0.20260706070823-0b052e9a937b 06 Jul 2026 pre-release

    Nothing published for this version

  9. v1.3.1-0.20260706060305-dbf5a632a32d 06 Jul 2026 pre-release

    Nothing published for this version

  10. v1.3.1-0.20260706051212-7afaf81b961c 06 Jul 2026 pre-release

    Nothing published for this version

  11. v1.3.1-0.20250526060306-aa3774a4295e 26 May 2025 pre-release

    Nothing published for this version

  12. v1.3.1-0.20250525172809-933ae9ccafe5 25 May 2025 pre-release

    Nothing published for this version

  13. v1.3.1-0.20250103001757-1a928bdf4a47 03 Jan 2025 pre-release

    Nothing published for this version

  14. v1.3.0 01 Mar 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v1.2.1...v1.3.0

    Open source →
  15. v1.2.2-0.20240301032856-9455e2b8fe26 01 Mar 2024 pre-release

    Nothing published for this version

  16. v1.2.2-0.20240223183105-454d6a3b65eb 23 Feb 2024 pre-release

    Nothing published for this version

  17. v1.2.2-0.20240207140508-38e4aa413062 07 Feb 2024 pre-release

    Nothing published for this version

  18. v1.2.2-0.20231222214230-e8b4fbbb2cf4 22 Dec 2023 pre-release

    Nothing published for this version

  19. v1.2.2-0.20231006132357-854312822b61 06 Oct 2023 pre-release

    Nothing published for this version

  20. v1.2.2-0.20230917190119-4a75004200da 17 Sep 2023 pre-release

    Nothing published for this version

  21. v1.2.2-0.20230902152719-c1b8aed35726 02 Sep 2023 pre-release

    Nothing published for this version

  22. v1.2.2-0.20230720040137-5ec358ead51b 20 Jul 2023 pre-release

    Nothing published for this version

  23. v1.2.2-0.20230324231925-9ac1e33bcc7a 24 Mar 2023 pre-release

    Nothing published for this version

  24. v1.2.1 28 Feb 2023
    Release notes

    Fixes concurrency / thread safety issues when re-using a parser.

    Open source →
  25. v1.2.0 29 Jan 2023
    Release notes

    Bug fixes and support for multiple link tags in rss feeds.

    Open source →
  26. v1.1.4-0.20230228201216-901f297afba1 28 Feb 2023 pre-release

    Nothing published for this version

  27. v1.1.4-0.20230204002904-20c6436facdc 04 Feb 2023 pre-release

    Nothing published for this version

  28. v1.1.4-0.20230129070320-29a58021c9f4 29 Jan 2023 pre-release

    Nothing published for this version

  29. v1.1.4-0.20230128174236-26a6aecf6df9 28 Jan 2023 pre-release

    Nothing published for this version

  30. v1.1.4-0.20220530151727-7c163b185c39 30 May 2022 pre-release

    Nothing published for this version

  31. v1.1.4-0.20220530141819-2d63bb4b874b 30 May 2022 pre-release

    Nothing published for this version

  32. v1.1.4-0.20211013195857-68ee9054d97b 13 Oct 2021 pre-release

    Nothing published for this version

  33. v1.1.3 20 Apr 2021
    Release notes

    Ability to parse custom fields in rss that are not part of the spec (#…

    …177)

    Open source →
  34. v1.1.2 19 Apr 2021
    Release notes

    Support multiple links (#164)

    * Add Feed.Links

    * Update tests, don't create empty list

    * Use same rel logic for RSS atom extensions

    * Support for JSON feed

    * Fix invalid JSON and run `go mod tidy`

    * Fix tests, don't return empty strings

    Open source →
  35. v1.1.1 08 Apr 2021

    Nothing published for this version

  36. v1.1.1-0.20210305010708-1850ec19c3f1 05 Mar 2021 pre-release

    Nothing published for this version

  37. v1.1.1-0.20210224022651-70d9d43ec2ea 24 Feb 2021 pre-release

    Nothing published for this version

  38. v1.1.1-0.20201005053009-96998c2d6be5 05 Oct 2020 pre-release

    Nothing published for this version

  39. v1.1.1-0.20200917135307-d1e28ead8578 17 Sep 2020 pre-release

    Nothing published for this version

  40. v1.1.0 06 Sep 2020
    Release notes

    We have JSON Feeds!

    Huge thanks to @sudhanshuraheja and @nkanaev for getting JSON feed support across the finish line!

    Open source →
  41. v1.0.1-0.20200726131730-193d002a07e6 26 Jul 2020 pre-release

    Nothing published for this version

  42. v1.0.1-0.20200529143706-22a67f9156f2 29 May 2020 pre-release

    Nothing published for this version

  43. v1.0.0 31 Mar 2020

    Nothing published for this version

  44. v1.0.0-beta2.0.20200331235650-4298e4366be3 31 Mar 2020 pre-release

    Nothing published for this version

  45. v1.0.0-beta2.0.20200329195756-2251b4421421 29 Mar 2020 pre-release

    Nothing published for this version

  46. v1.0.0-beta2.0.20200307020205-1ed4d84b36ec 07 Mar 2020 pre-release

    Nothing published for this version

  47. v1.0.0-beta2.0.20200211015426-1c1bb315fdac 11 Feb 2020 pre-release

    Nothing published for this version

  48. v1.0.0-beta2.0.20191110175127-b4a66758a404 10 Nov 2019 pre-release

    Nothing published for this version

  49. v1.0.0-beta2.0.20191110165642-b11c1e394b9f 10 Nov 2019 pre-release

    Nothing published for this version

  50. v1.0.0-beta2.0.20190420154928-0e68beaf6fdf 20 Apr 2019 pre-release

    Nothing published for this version

  51. v1.0.0-beta2.0.20190214070559-bef0272b721d 14 Feb 2019 pre-release

    Nothing published for this version

  52. v1.0.0-beta2.0.20190202050737-d62d841d7427 02 Feb 2019 pre-release

    Nothing published for this version

  53. v1.0.0-beta2.0.20190103235747-cfd2ad2a817f 03 Jan 2019 pre-release

    Nothing published for this version

  54. v1.0.0-beta2.0.20181010182736-eb870fd61fb8 10 Oct 2018 pre-release

    Nothing published for this version

  55. v1.0.0-beta2.0.20180914003937-c9d2a409d506 14 Sep 2018 pre-release

    Nothing published for this version

  56. v1.0.0-beta2.0.20180502150452-3ad502aa86db 02 May 2018 pre-release

    Nothing published for this version

  57. v1.0.0-beta2.0.20180220200145-0a05f076cc7a 20 Feb 2018 pre-release

    Nothing published for this version

  58. v1.0.0-beta2.0.20180205193715-0585f0dd2095 05 Feb 2018 pre-release

    Nothing published for this version

  59. v1.0.0-beta2 03 Jan 2018 pre-release

    Nothing published for this version

  60. v1.0.0-beta.0.20180103222911-42010a154d24 03 Jan 2018 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive