Problem/Motivation

The module uses deprecated code.

Proposed resolution

Replace deprecated usage and update info.yml to allow installation on D9

Remaining tasks

User interface changes

None

API changes

None

Data model changes

None

Release notes snippet

None

CommentFileSizeAuthor
#5 3096615-4.patch2.85 KBalexpott
#3 3096615-3.patch2.86 KBalexpott
#2 3096615-2.patch2.83 KBalexpott

Comments

alexpott created an issue. See original summary.

alexpott’s picture

Status: Active » Needs review
StatusFileSize
new2.83 KB
alexpott’s picture

StatusFileSize
new2.86 KB

Here's a less strict version string that's more in line with reality.

hchonov’s picture

+++ b/prefetch_cache.info.yml
@@ -1,6 +1,7 @@
-core: 8.x
+core_version_requirement: ^8 || ^9

IIRC, @Berdir said that we can keep the core key if the core_version_requirement constraint is defined like this. It is required for core <= 8.7.7, right?

alexpott’s picture

StatusFileSize
new2.85 KB

Whoops missed out the core key.

hchonov credited Berdir.

hchonov’s picture

Giving credit to @Berdir as well for helping us with this subject :)

  • hchonov committed 1f1b61d on 8.x-1.x authored by alexpott
    Issue #3096615 by alexpott, Berdir, hchonov: Make Drupal 9 ready and...
hchonov’s picture

Status: Needs review » Fixed

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

krzysztof domański’s picture

Is a new release planned? Current version (8.x-1.0-alpha5) is not compatible with Drupal 9.