Created on 31 May 2024, 10 months ago

Problem/Motivation

Normally should target 2.x first however 8.x-1.x uses a different structure than 2.x and is our only production rated branch at the moment making it the priority..

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States cmlara

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @cmlara
  • Pipeline finished with Success
    10 months ago
    Total: 174s
    #187719
  • Pipeline finished with Failed
    10 months ago
    Total: 47s
    #187720
  • Pipeline finished with Canceled
    10 months ago
    #187722
  • Pipeline finished with Failed
    10 months ago
    #187723
  • πŸ‡ΊπŸ‡ΈUnited States cmlara
  • Status changed to Postponed 10 months ago
  • πŸ‡ΊπŸ‡ΈUnited States cmlara
  • πŸ‡ΊπŸ‡ΈUnited States cmlara
  • πŸ‡ΊπŸ‡ΈUnited States cmlara

    Key now supports D11.

  • Status changed to Active 7 months ago
  • πŸ‡―πŸ‡΅Japan ptmkenny

    The dev branch of Encrypt now supports Drupal 11! As a result, I'm setting this to "Active."

  • Merge request !91Resolve #3451696 "Add d11 support" β†’ (Merged) created by cmlara
  • πŸ‡ΊπŸ‡ΈUnited States cmlara

    We still will want to wait for a stable release of Encrypt prior to committing, however this can now proceed with working on the code against the Dev branch.

  • Pipeline finished with Failed
    7 months ago
    Total: 800s
    #289798
  • Pipeline finished with Canceled
    7 months ago
    Total: 151s
    #289871
  • Pipeline finished with Failed
    7 months ago
    Total: 197s
    #289872
  • Pipeline finished with Failed
    6 months ago
    Total: 208s
    #290657
  • @cmlara Thanks for spinning up the new PR.

    I have closed πŸ“Œ Automated Drupal 11 compatibility fixes for tfa Needs review as duplicate
    Pinged @rlhawk β†’ , maintainer of encrypt module for rolling out a new release of encrypt.

  • There's new stable release of encrypt module is out with Drupal 11 support https://www.drupal.org/project/encrypt/releases/8.x-3.2 β†’

  • Pipeline finished with Success
    6 months ago
    Total: 239s
    #298662
  • Pipeline finished with Success
    6 months ago
    Total: 224s
    #298689
  • πŸ‡¬πŸ‡§United Kingdom darren.fisher

    This looks like it is getting close. Thank you for all your hard work so far. Do you need any help with testing or any remaining tasks on this?

    Would be massive for this to get a stable D11 release.

    We're making a policy to move all our clients over to using this module and are looking at starting D11 site migrations in the next couple of months!

  • πŸ‡ΊπŸ‡ΈUnited States cmlara

    Do you need any help with testing or any remaining tasks on this?

    Manual testing is always a positive, especially in any areas that may be less commonly used or that we do not have existing PHPUnit tests.

    I try and give upgrades a once over, however I'm not testing every single possible combination of code execution. This will get better in time as our tests improve and as PHPStan evolves we will be able to depend upon it more.

    This almost went in with the Login Block being broken (apparently we don't test that aspect) and only was caught by PHPStan (where it was hidden by other 'new' warnings unrelated to the D11 upgraded, a fault of mine for not having those cleaned up before the upgrade process started).

    I believe this is close, Unless anything major occurs I currently plan to commit this in the next few days followed by a few days in the dev branch before tagging the official release.

  • πŸ‡¬πŸ‡§United Kingdom darren.fisher

    This is great news. Thank you so much for your work on this.

    I've manually tested the MR as a patch:
    https://git.drupalcode.org/project/tfa/-/merge_requests/91.patch

    I encountered no errors or issues for our use case using both the standard login route and the 'Tfa User login' block.

  • πŸ‡ΊπŸ‡ΈUnited States cmlara

    Committed to dev to allow a few more days of testing usage before tagging a release.

  • Status changed to Downport 4 months ago
  • πŸ‡ΊπŸ‡ΈUnited States cmlara

    @jcnventura Is there a reason you removed the core requirement in composer? This is required for composer to properly function in all use cases.

  • πŸ‡΅πŸ‡ΉPortugal jcnventura

    Mostly because Drupal packager will introduce that automatically, and having it in two places can lead to those values becoming inconsistent with each other. Most modules I see rely on the packager to add that, and unless something breaks it shouldn't really be added to the composer.json file.

  • πŸ‡ΊπŸ‡ΈUnited States cmlara

    Most modules I see rely on the packager to add that

    Most modules have never embraced the composer system fully. The facade was as added as a hack to allow Drupal sites to use composer without having to add a composer.json to each module Now that we have GitLab Ci comper.json is essentially mandatory and it is no longer a significant burden to maintain.

    and unless something breaks it shouldn't really be added to the composer.json file

    Documented https://www.drupal.org/docs/develop/using-composer/add-a-composerjson-fi... β†’ that Composer itself needs it when used to its full capability. It is necessary when using GIT composer repositories (dev branches) and also useful when using manual checkouts for merging with a parent composer.json for easier development.

    having it in two places can lead to those values becoming inconsistent with each other.

    I've seen that from a few modules where the maintainers didn't double check their merge requests, though I haven't seen it cause a major problem in the ecosystem.

    If we don't want to maintain in two places it would be better to set the module.info file to >=10.1 instead and use the composer.json as the official support indicator. Though thank you this reminded me I needed to open πŸ“Œ Prefer composer.json drupal/core requierment over module.info file for supproted versions field Active for the D.O. UI problems that have stopped me from doing that on other modules.

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

Production build 0.71.5 2024