Skip to content

Remove deprecated flags from codebase.#2208

Merged
mre merged 1 commit into
masterfrom
remove-deprecated-flags
May 30, 2026
Merged

Remove deprecated flags from codebase.#2208
mre merged 1 commit into
masterfrom
remove-deprecated-flags

Conversation

@mre

@mre mre commented May 25, 2026

Copy link
Copy Markdown
Member

Eventually we have to get rid of the long-deprecated flags in lychee. And I believe now is as good of a time as ever. We don't have to wait for 1.0 to hit (I believe).

This affects the following flags:

  • --exclude-file, which got replaced by .lycheeignore
  • --base, superceded by --base-url.

Wdyt about merging this in and announcing the removal with the next release?

If we decide to do that, I can prepare a PR to update the lychee docs and the lychee action.

This affects the following flags:
- `--exclude-file`, which got replaced by `.lycheeignore`
- `--base`, superceded by `--base-url`.
@mre mre requested review from katrinafyi and thomas-zahner May 26, 2026 13:49

@katrinafyi katrinafyi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy with this. Indeed, we have made other breaking changes without such a long notice period as these options have had.

@thomas-zahner thomas-zahner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I totally agree with this change and see no issues.

Not related to flags, but noticed while searching for deprecations; maybe we could now remove this deprecated usage. It's probably okay to drop support for the old format after almost 2 years. What are your thoughts? Could be done in a separate PR.

#[allow(deprecated)]

@mre mre merged commit 0d99c33 into master May 30, 2026
8 checks passed
@mre mre deleted the remove-deprecated-flags branch May 30, 2026 13:55
@mre

mre commented May 30, 2026

Copy link
Copy Markdown
Member Author

Thanks for review. I will create a follow-up PR for the deprecated code.

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.

3 participants