Skip to content

chore: release v0.20.0#1760

Closed
mre wants to merge 1 commit intomasterfrom
release-plz-2025-07-04T21-05-01Z
Closed

chore: release v0.20.0#1760
mre wants to merge 1 commit intomasterfrom
release-plz-2025-07-04T21-05-01Z

Conversation

@mre
Copy link
Member

@mre mre commented Jul 4, 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/.tmp72pqUv/lychee/lychee-lib/src/collector.rs:26
  type Collector is no longer RefUnwindSafe, in /tmp/.tmp72pqUv/lychee/lychee-lib/src/collector.rs:26
  type Collector is no longer UnwindSafe, in /tmp/.tmp72pqUv/lychee/lychee-lib/src/collector.rs:26
  type Collector is no longer RefUnwindSafe, in /tmp/.tmp72pqUv/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/.tmp72pqUv/lychee/lychee-lib/src/types/input.rs:123
  lychee_lib::Input::get_contents now takes 7 parameters instead of 5, in /tmp/.tmp72pqUv/lychee/lychee-lib/src/types/input.rs:323
  lychee_lib::Input::get_sources now takes 5 parameters instead of 1, in /tmp/.tmp72pqUv/lychee/lychee-lib/src/types/input.rs:433
  lychee_lib::extract::Extractor::new now takes 3 parameters instead of 2, in /tmp/.tmp72pqUv/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/.tmpWukavE/lychee-lib/src/types/input.rs:112
  field headers of struct Input, previously in file /tmp/.tmpWukavE/lychee-lib/src/types/input.rs:114
  field regex of struct RegexFilter, previously in file /tmp/.tmpWukavE/lychee-lib/src/filter/includes.rs:8
  field regex of struct RegexFilter, previously in file /tmp/.tmpWukavE/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/.tmp72pqUv/lychee/lychee-lib/src/filter/regex_filter.rs:6
  field RegexFilter.regex in file /tmp/.tmp72pqUv/lychee/lychee-lib/src/filter/regex_filter.rs:6
Changelog

lychee-lib

0.20.0 - 2025-08-19

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

  • 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-19

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

  • 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-07-04T21-05-01Z branch from 6dceb6a to 8e43326 Compare July 6, 2025 08:50
@mre mre mentioned this pull request Jul 8, 2025
@mre mre force-pushed the release-plz-2025-07-04T21-05-01Z branch from 8e43326 to 9670720 Compare July 9, 2025 22:08
@mre mre force-pushed the release-plz-2025-07-04T21-05-01Z branch 2 times, most recently from fc11a9e to 4a0636a Compare July 25, 2025 10:11
@mre mre force-pushed the release-plz-2025-07-04T21-05-01Z branch 4 times, most recently from 46913e9 to df49bd3 Compare July 30, 2025 17:21
@mre mre changed the title chore: release v0.20.0 chore: release v0.19.2 Aug 8, 2025
@mre mre force-pushed the release-plz-2025-07-04T21-05-01Z branch 7 times, most recently from f51223b to 04d5c58 Compare August 12, 2025 10:24
@mre mre changed the title chore: release v0.19.2 chore: release v0.20.0 Aug 14, 2025
@mre mre force-pushed the release-plz-2025-07-04T21-05-01Z branch 4 times, most recently from b5b1d33 to 3b6debb Compare August 17, 2025 12:14
@mre mre force-pushed the release-plz-2025-07-04T21-05-01Z branch from 3b6debb to bca5c8d Compare August 19, 2025 13:23
@mre mre closed this Aug 19, 2025
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.

1 participant