Skip to content

Update html2text requirement from 0.6.0 to 0.9.0 #88

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 25, 2023

Updates the requirements on html2text to permit the latest version.

Changelog

Sourced from html2text's changelog.

0.9.0

  • [changed] Config::add_css now returns Result instead of panicking on CSS parse errors. Errors from parsing document CSS are ignored.
  • [added] Support <font color=...> when CSS is enabled.
  • [added] Config::max_wrap_width() to wrap text to a norrower width than the overal size available.
  • [added] Add --wrap-width and --css options to html2text example.

0.8.0

  • [added] CSS: Support more extensive selectors
  • [changed] CSS handling defaults to off; use Config::use_doc_css() or Config::add_css to use CSS.

0.7.1

  • [added] Now recognised CSS display:none
  • [added] Can now add extra CSS rules via Config::add_css.
  • [changed] StyleData::coloured is no longer public.

0.7.0

  • [changed] Remove some noisy stderr output when encoutering control chars (thanks sftse)
  • [added] A builder-based config API.
  • [changed] Updated MSRV to 1.60
  • [fixed] Fixed #88: panic when a width of zero passed in (thanks bingen13)
  • [fixed] Fixed #90: Fixed a divide-by-zero panic with colspan=0 (thanks mtorromeo)
  • [added] Add very basic CSS colour support (under the css feature flag)
  • [changed] Removed ansi_colours feature (from_read_coloured is always available)
  • [changed] Overhauled error handling. Internally (and in the lower level API) errors (mainly "TooNarrow") are passed around with Result. Fixed some panics and infinite loops. (Thanks WIZeaz for fuzzing)

0.6.0

  • [changed] Improve layout of tables thanks to sftse:
    • Table column size estimates have been improved when the source HTML has a lot of unnecessary whitespace.
    • Move the URL footnotes out to the top level, also improving layout of tables containing links.
  • [changed] Some APIs have slightly changed as part of the table improvements, though most users should not be affeted.

0.5.1

  • [fixed] Some tables were rendered too wide.

0.5.0

... (truncated)

Commits
  • 4b3c3fa Merge pull request #102 from jugglerchris/prepare_0.9.0
  • 43386ea Update CHANGELOG again.
  • 514ceb7 Add --css and --wrap-width to html2text example.
  • 2da2461 Update for 0.9.0.
  • 9294dc0 Make add_css() return Result.
  • 6e230ed Merge pull request #101 from jugglerchris/add_wrap_width
  • 0f82174 Disable some tests when tracing is enabled.
  • 4c63620 Add another test for wrap width.
  • 0ef53d2 Add Config::max_wrap_width().
  • 2a1f758 Merge pull request #100 from jugglerchris/better_selectors
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [html2text](https://github.com/jugglerchris/rust-html2text) to permit the latest version.
- [Changelog](https://github.com/jugglerchris/rust-html2text/blob/main/CHANGELOG.md)
- [Commits](jugglerchris/rust-html2text@0.6.0...0.9.0)

---
updated-dependencies:
- dependency-name: html2text
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 25, 2023
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 1, 2024

Superseded by #89.

@dependabot dependabot bot closed this Jan 1, 2024
@dependabot dependabot bot deleted the dependabot/cargo/html2text-0.9.0 branch January 1, 2024 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants