Here's a meta issue to track what needs to be done for Drupal 12 support.

I propose adding Drupal 12 support through five MRs:

  1. #3620856: phpstan and phpunit are broken due to quickedit reference, support for diff v1, and 11.3 core HTML change fix the current CI tests so we can get good info on the rest of the MRs
  2. #3566342: Rework plugins as PHP Attributes since we already require 10.3, attributes can be added safely and replace annotations (will need minor rework when #1 is committed because they both change the quickedit lines)
  3. #3599381: Automated Drupal 12 compatibility fixes for json_field 1.x-dev updatebot has a bunch of test attribute fixes
  4. Apply the MR in this issue, which includes the previous three MRs and then fixes the rector phpcs mistakes introduced in #3, adds DI for the hooks, and requires ^11.2 || ^12. The composer install test is failing on D12 because feeds does not yet have a Drupal 12-compatible release, but it is being worked on. (This MR is currently set to draft because it includes test code to fix hook_requirements, but I think that should be its own issue)
  5. #3621264: hook_requirements is deprecated add the hook_requirements replacement (still needs to be done)

However, if #3343634: Add "json" as core data type to Schema and Database API is committed before beta1, there will be a lot more work to do.

Issue fork json_field-3620871

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ptmkenny created an issue. See original summary.

ptmkenny’s picture

Issue summary: View changes
ptmkenny’s picture

Issue summary: View changes
Status: Active » Needs review
ptmkenny’s picture

ptmkenny’s picture

Issue summary: View changes
ptmkenny’s picture

Issue summary: View changes