Motivation

We need to release a new version before Drupal 10 is released 14 December, 2022.

Proposed resolution

The module use two JavaScript libraries that are marked as deprecated in Drupal 9.0 and 9.2 and both will be removed in Drupal 10. The solution is therefore:

  • Create a new 2.0.x branch with D9.2 / D10 support
  • Replace core/jquery.once with core/once - we are using jQuery and not going to remove it so use the alternate version described in https://www.drupal.org/node/3158256.
  • Replace core/jquery.cookie with core/js-cookie. See https://www.drupal.org/node/3104677
  • Update core requirements in both info files to ^9.2 || ^10

Comments

beltofte created an issue. See original summary.

beltofte’s picture

Version: 8.x-1.x-dev » 2.0.x-dev

All 4 points fixed in the 2.0.x branch.

wrd-oaitsd’s picture

2.0.x installs and configures OK for me. I can't actually test Siteimprove functionality with it on my local test site, however. But so far, so good.

beltofte’s picture

Status: Active » Fixed

@wrd-oaitsd: Thanks. I have tested it locally and in a new Drupal 10 demo environment that Siteimproves sales team are using. It looks like everything works as expected.

I have tagged a 2.0.0 release a few minutes ago.

beltofte’s picture

Status: Fixed » Closed (fixed)