Skip to content

Update dependency fivefilters/readability.php to v4 - #146

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/fivefilters-readability.php-4.x
Open

Update dependency fivefilters/readability.php to v4#146
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/fivefilters-readability.php-4.x

Conversation

@renovate

@renovate renovate Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
fivefilters/readability.php ^3.3^4.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

fivefilters/readability.php (fivefilters/readability.php)

v4.1.0

Compare Source

Added
  • metadataOnly option (PHP-specific): extract only the title and metadata, skipping content extraction entirely. parse() then skips every stage that mutates the document (noscript image unwrapping, script removal, document prep, and the article grab itself), so a passed-in \Dom\HTMLDocument is guaranteed to be left unmodified. The returned Article has the content-derived properties set to null, as when no content is found (hasContent() returns false)
Changed
  • Article's content-derived properties (content, textContent, length, images) are now computed lazily from contentElement on first access (via property hooks) and cached, so callers that only use contentElement, hasContent() or the metadata no longer pay for serializing the article HTML and text on every parse. Reads are unchanged (same names, same types, same values); hasContent() now checks contentElement. json_encode() and var_dump() output is preserved via jsonSerialize()/__debugInfo() (note that both trigger the full serialization). Two edges to note: the Article constructor no longer takes content/textContent/length/images (it derives them from contentElement), and the lazy properties, being virtual, no longer appear in get_object_vars() or (array) casts

v4.0.0

Compare Source

First stable release of the 4.0 series — a ground-up rewrite. This release includes all changes from v4.0.0-beta.1 below (see UPGRADE.md for the 3.x → 4.0 migration guide), plus the following changes since beta.1:

Changed
  • Widened dependency constraints so the library co-installs with a broader range of applications: psr/log now accepts ^1.0 || ^2.0 || ^3.0 (the library only consumes the interface, so every major works) and rowbot/url now accepts ^3.1.7 || ^4.0 (older majors avoid rowbot/url 4.x's hard requirements on psr/log ^3 and newer brick/math, both common sources of version conflicts). Note: rowbot/url 3.x emits PHP 8.4 implicit-nullable deprecation notices internally; it is only loaded on PHP 8.4 (PHP 8.5+ uses the native Uri\WhatWg\Url), and Composer still picks 4.x unless another dependency forces an older version
  • CI now also runs the test suite against the lowest allowed dependency versions (composer update --prefer-lowest) to keep the widened constraints honest

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update fivefilters/readability.php:4.1.0 --with-dependencies --ignore-platform-req=ext-* --ignore-platform-req=lib-* --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - laravel/framework is locked to version v12.19.3 and an update of this package was not requested.
    - laravel/framework v12.19.3 requires league/commonmark ^2.7 -> satisfiable by league/commonmark[2.7.0].
    - league/commonmark 2.7.0 requires league/config ^1.1.1 -> satisfiable by league/config[v1.2.0].
    - league/config v1.2.0 requires nette/schema ^1.2 -> satisfiable by nette/schema[v1.3.2].
    - nette/schema v1.3.2 requires php 8.1 - 8.4 -> your php version (8.5.10) does not satisfy that requirement.


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.

0 participants