Problem/Motivation

Drupal 10.0 development


Thank you so much for the Drupal Core team

Following with


Proposed resolution

  • Support Drupal ~10 and change all deprecated packages, classes, functions, asset libraries to the Drupal 10 way
  • Real physical testing with Drupal ~10
  • Automated upgrade to Drupal ~10

Remaining tasks

  • ✅ File an issue
  • ✅ Addition/Change/Update/Fix
  • ✅ Testing to ensure no regression
  • ➖ Automated unit testing coverage
  • ➖ Automated functional testing coverage
  • ➖ UX/UI designer responsibilities
  • ➖ Readability
  • ➖ Accessibility
  • ➖ Performance
  • ➖ Security
  • ➖ Documentation
  • ✅ Code review by maintainers
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Release notes snippet
  • ✅ Release google_analytics_reports-8.x-3.0, google_analytics_reports-4.0.0-alpha2

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3277448: Support Drupal 10 and update all use of deprecation in the Google Analytics Reports module
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

Rajab Natshah created an issue. See original summary.

  • Rajab Natshah committed a11c7b4 on 8.x-3.x
    Issue #3277448: Support Drupal 10 and update all use of deprecations in...

  • Rajab Natshah committed 9d22c2f on 4.0.x
    Issue #3277448: Support Drupal 10 and update all use of deprecations in...
rajab natshah’s picture

Title: Support Drupal 10 and update all use of deprecations in the Google Analytics Reports module » Issue #3277448: Support Drupal 10 and update all use of deprecations in the Google Analytics Reports module
rajab natshah’s picture

Title: Issue #3277448: Support Drupal 10 and update all use of deprecations in the Google Analytics Reports module » Support Drupal 10 and update all use of deprecations in the Google Analytics Reports module
Issue summary: View changes
rajab natshah’s picture

Status: Active » Needs review
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Title: Support Drupal 10 and update all use of deprecations in the Google Analytics Reports module » Support Drupal 10 and update all use of deprecation in the Google Analytics Reports module

marcusvsouza made their first commit to this issue’s fork.

rajab natshah’s picture

rajab natshah’s picture

Issue summary: View changes

VladimirAus made their first commit to this issue’s fork.

vladimiraus’s picture

Version: 8.x-3.x-dev » 4.0.x-dev
Assigned: rajab natshah » Unassigned
Status: Needs review » Reviewed & tested by the community

  • Rajab Natshah committed 901a86ab on 4.0.x
    Issue #3277448: Support Drupal 10 and update all use of deprecation in...

  • Rajab Natshah committed 7a22f7ba on 8.x-3.x
    Issue #3277448: Support Drupal 10 and update all use of deprecation in...

  • Rajab Natshah committed aeccc494 on 8.x-3.x
    Issue #3277448: Support Drupal 10 and update all use of deprecation in...
rajab natshah’s picture


CONTRIBUTED PROJECTS
--------------------------------------------------------------------------------
Google Analytics Reports 8.x-3.0-rc3
Scanned on Tue, 01/17/2023 - 22:41.

2 errors found. 2 warnings found. Avoid some manual work by using drupal-rector
for fixing issues automatically or Upgrade Rector to generate patches.

Drupal 10 compatibility

modules/contrib/google_analytics_reports/google_analytics_reports.install:
┌─────────┬──────┬────────────────────────────────────────────────────────┐
│ STATUS  │ LINE │                        MESSAGE                         │
├─────────┼──────┼────────────────────────────────────────────────────────┤
│ Fix now │ 85   │ Call to deprecated function drupal_uninstall_schema(). │
│         │      │ Deprecated in drupal:9.2.0 and is removed from         │
│         │      │ drupal:10.0.0. No direct replacement is provided.      │
│         │      │                                                        │
└─────────┴──────┴────────────────────────────────────────────────────────┘

modules/contrib/google_analytics_reports/google_analytics_reports_api/src/Form/G
oogleAnalyticsReportsApiAdminSettingsForm.php:
┌──────────┬──────┬─────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                         MESSAGE                         │
├──────────┼──────┼─────────────────────────────────────────────────────────┤
│ Fix with │ 116  │ Call to deprecated function render(). Deprecated in     │
│ rector   │      │ drupal:9.3.0 and is removed from drupal:10.0.0. Use     │
│          │      │ Drupal\Core\Render\RendererInterface::render() instead. │
│          │      │                                                         │
└──────────┴──────┴─────────────────────────────────────────────────────────┘

modules/contrib/google_analytics_reports/google_analytics_reports.info.yml:
┌──────────┬──────┬────────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                          MESSAGE                           │
├──────────┼──────┼────────────────────────────────────────────────────────────┤
│ Check    │ 0    │ Value of core_version_requirement: ^8 || ^9 is not         │
│ manually │      │ compatible with the next major version of Drupal core. See │
│          │      │ https://drupal.org/node/3070687.                           │
│          │      │                                                            │
└──────────┴──────┴────────────────────────────────────────────────────────────┘

modules/contrib/google_analytics_reports/google_analytics_reports_api/google_ana
lytics_reports_api.info.yml:
┌──────────┬──────┬────────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                          MESSAGE                           │
├──────────┼──────┼────────────────────────────────────────────────────────────┤
│ Check    │ 0    │ Value of core_version_requirement: ^8 || ^9 is not         │
│ manually │      │ compatible with the next major version of Drupal core. See │
│          │      │ https://drupal.org/node/3070687.                           │
│          │      │                                                            │
└──────────┴──────┴────────────────────────────────────────────────────────────┘



  • Rajab Natshah committed c91ed6c8 on 4.0.x
    Issue #3277448: Support Drupal 10 and update all use of deprecation in...
rajab natshah’s picture

Had Real physical testing round for Google Analytics Reports

Attached the Bash files for the full testing round

  • 3.x-dev with Drupal ~9.0
  • 3.x-dev with Drupal ~10.0
  • 4.x-dev with Drupal ~9.0
  • 4.x-dev with Drupal ~10
rajab natshah’s picture

Status: Reviewed & tested by the community » Fixed
rajab natshah’s picture

Assigned: Unassigned » mohammed j. razem
Issue summary: View changes
Status: Fixed » Needs review
rajab natshah’s picture

Assigned: mohammed j. razem » Unassigned
Issue summary: View changes
Status: Needs review » Fixed
Issue tags: +google_analytics_reports-8.x-3.0, +google_analytics_reports-4.0.0-alpha2
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Status: Fixed » Closed (fixed)

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