Skip to content

chore: release v0.20.0#1808

Merged
thomas-zahner merged 1 commit intomasterfrom
release-plz-2025-08-19T13-23-22Z
Aug 22, 2025
Merged

chore: release v0.20.0#1808
thomas-zahner merged 1 commit intomasterfrom
release-plz-2025-08-19T13-23-22Z

Conversation

@mre
Copy link
Copy Markdown
Member

@mre mre commented Aug 19, 2025

🤖 New release

  • lychee-lib: 0.19.1 -> 0.20.0 (⚠ API breaking changes)
  • lychee: 0.19.1 -> 0.20.0

lychee-lib breaking changes

--- failure auto_trait_impl_removed: auto trait no longer implemented ---

Description:
A public type has stopped implementing one or more auto traits. This can break downstream code that depends on the traits being implemented.
        ref: https://doc.rust-lang.org/reference/special-types-and-traits.html#auto-traits
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/auto_trait_impl_removed.ron

Failed in:
  type Collector is no longer UnwindSafe, in /tmp/.tmpKVbHWS/lychee/lychee-lib/src/collector.rs:26
  type Collector is no longer RefUnwindSafe, in /tmp/.tmpKVbHWS/lychee/lychee-lib/src/collector.rs:26
  type Collector is no longer UnwindSafe, in /tmp/.tmpKVbHWS/lychee/lychee-lib/src/collector.rs:26
  type Collector is no longer RefUnwindSafe, in /tmp/.tmpKVbHWS/lychee/lychee-lib/src/collector.rs:26

--- failure method_parameter_count_changed: pub method parameter count changed ---

Description:
A publicly-visible method now takes a different number of parameters.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#fn-change-arity
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/method_parameter_count_changed.ron

Failed in:
  lychee_lib::Input::new now takes 3 parameters instead of 5, in /tmp/.tmpKVbHWS/lychee/lychee-lib/src/types/input.rs:132
  lychee_lib::Input::get_contents now takes 7 parameters instead of 5, in /tmp/.tmpKVbHWS/lychee/lychee-lib/src/types/input.rs:332
  lychee_lib::Input::get_sources now takes 5 parameters instead of 1, in /tmp/.tmpKVbHWS/lychee/lychee-lib/src/types/input.rs:446
  lychee_lib::extract::Extractor::new now takes 3 parameters instead of 2, in /tmp/.tmpKVbHWS/lychee/lychee-lib/src/extract/mod.rs:34

--- failure struct_pub_field_missing: pub struct's pub field removed or renamed ---

Description:
A publicly-visible struct has at least one public field that is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/struct_pub_field_missing.ron

Failed in:
  field excluded_paths of struct Input, previously in file /tmp/.tmpO3JCo2/lychee-lib/src/types/input.rs:112
  field headers of struct Input, previously in file /tmp/.tmpO3JCo2/lychee-lib/src/types/input.rs:114
  field regex of struct RegexFilter, previously in file /tmp/.tmpO3JCo2/lychee-lib/src/filter/includes.rs:8
  field regex of struct RegexFilter, previously in file /tmp/.tmpO3JCo2/lychee-lib/src/filter/includes.rs:8

--- failure struct_pub_field_now_doc_hidden: pub struct field is now #[doc(hidden)] ---

Description:
A pub field of a pub struct is now marked #[doc(hidden)] and is no longer part of the public API.
        ref: https://doc.rust-lang.org/rustdoc/write-documentation/the-doc-attribute.html#hidden
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/struct_pub_field_now_doc_hidden.ron

Failed in:
  field RegexFilter.regex in file /tmp/.tmpKVbHWS/lychee/lychee-lib/src/filter/regex_filter.rs:6
  field RegexFilter.regex in file /tmp/.tmpKVbHWS/lychee/lychee-lib/src/filter/regex_filter.rs:6
Changelog

lychee-lib

0.20.0 - 2025-08-21

Added

  • make wikilink extraction and checking opt-in (#1803)
  • skip fragment checking for unsupported MIME types (#1744)
  • add 'user-content-' prefix to support github markdown fragment (#1750)

Fixed

  • fix comment for ErrorKind::InvalidFragment (#1775)
  • do not check the fragment when http response err but accepted (#1763)
  • treat a fragment in an empty directory as an error (#1756)
  • resolve index file inside a directory (#1752)
  • skip fragment check if website URL doesn't contain fragment (#1733)

Other

  • Bump dependencies (#1811)
  • Skip binary and invalid UTF-8 inputs (#1810)
  • Refactor input dumping and path retrieval with extension filtering (#1648)
  • Use a HashSet to store inputs and avoid duplicates (#1781)
  • add --index-files flag, and turn off index file checking by default (#1777)
  • Cleanup input example (#1792)
  • FIx missing identifier in snap build action; add snap install to readme (#1793)
  • Fix clippy lints; refactor code slightly
  • refactor test_fragments to clarify expected successes/fails (#1776)
  • Revert to previous behaviour: linking to directories results in Status::Ok(StatusCode::OK)
  • Make excluded_paths part of Collector instead of Input
  • Minor improvements
  • Make regex field in RegexFilter private
  • Apply clippy suggestions
  • Update flag description & clean up
  • Replace Vec with dedicated PathExcludes type
  • Unwrap option type
  • Fix basic auth (#1748)
  • Update 'Users' section in the README
  • Add ProseKit to users
  • Migrate to Clippy 1.88 (#1749)
  • Add xml schema found in xsd files to list of exclusions (#1735)

lychee

0.20.0 - 2025-08-21

Added

  • make wikilink extraction and checking opt-in (#1803)
  • skip fragment checking for unsupported MIME types (#1744)
  • add 'user-content-' prefix to support github markdown fragment (#1750)

Fixed

  • do not check the fragment when http response err but accepted (#1763)
  • treat a fragment in an empty directory as an error (#1756)
  • resolve index file inside a directory (#1752)
  • skip fragment check if website URL doesn't contain fragment (#1733)

Other

  • Bump dependencies (#1811)
  • Skip binary and invalid UTF-8 inputs (#1810)
  • Refactor input dumping and path retrieval with extension filtering (#1648)
  • Use a HashSet to store inputs and avoid duplicates (#1781)
  • add --index-files flag, and turn off index file checking by default (#1777)
  • Cleanup input example (#1792)
  • FIx missing identifier in snap build action; add snap install to readme (#1793)
  • refactor test_fragments to clarify expected successes/fails (#1776)
  • Fix test
  • Remove JSON output files even on test failures
  • Add regression test
  • Improve test
  • Make excluded_paths part of Collector instead of Input
  • Make regex field in RegexFilter private
  • Apply clippy suggestions
  • Test regex functionality in --exclude-path flag
  • Update flag description & clean up
  • Replace Vec with dedicated PathExcludes type
  • Unwrap option type
  • Replace unmaintained human-sort with numeric-sort (#1759)
  • Fix basic auth (#1748)
  • Update 'Users' section in the README
  • Add ProseKit to users
  • Migrate to Clippy 1.88 (#1749)
  • fix assertion in fragment checks
  • Replace unreliable API URL
  • display unsupported URLs (#1727)


This PR was generated with release-plz.

@mre mre force-pushed the release-plz-2025-08-19T13-23-22Z branch from 5d83868 to 4cbb921 Compare August 21, 2025 10:05
@mre mre force-pushed the release-plz-2025-08-19T13-23-22Z branch from 4cbb921 to 0bc2302 Compare August 21, 2025 20:12
@thomas-zahner thomas-zahner merged commit e510602 into master Aug 22, 2025
5 of 6 checks passed
@thomas-zahner thomas-zahner deleted the release-plz-2025-08-19T13-23-22Z branch August 22, 2025 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants