Skip to content

Commit ec75f3f

Browse files
committed
update drupal version support (drop 9.x and < 10.3)
1 parent 20a1f55 commit ec75f3f

9 files changed

Lines changed: 30 additions & 24 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
drupal_version: ['10.4', '11.0', '11.1']
13+
drupal_version: ['10.4', '10.5', '11.0', '11.1']
1414
module: ['entity_to_text']
1515
include:
1616
- drupal_version: '11.2'
1717
module: 'entity_to_text'
1818
experimental: true
19+
- drupal_version: '11.3'
20+
module: 'entity_to_text'
21+
experimental: true
1922

2023
steps:
2124
- uses: actions/checkout@v4
@@ -38,12 +41,15 @@ jobs:
3841
runs-on: ubuntu-latest
3942
strategy:
4043
matrix:
41-
drupal_version: ['10.4', '11.0', '11.1']
44+
drupal_version: ['10.4', '10.5', '11.0', '11.1']
4245
module: ['entity_to_text']
4346
include:
4447
- drupal_version: '11.2'
4548
module: 'entity_to_text'
4649
experimental: true
50+
- drupal_version: '11.3'
51+
module: 'entity_to_text'
52+
experimental: true
4753

4854
steps:
4955
- uses: actions/checkout@v4
@@ -66,7 +72,7 @@ jobs:
6672
runs-on: ubuntu-latest
6773
strategy:
6874
matrix:
69-
drupal_version: ['10.4']
75+
drupal_version: ['10.5']
7076
module: ['entity_to_text']
7177

7278
steps:

.github/workflows/styles.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- name: Setup PHP
1010
uses: shivammathur/setup-php@v2
1111
with:
12-
php-version: '8.1'
12+
php-version: '8.3'
1313
extensions: mbstring, intl, gd, xml, dom, json, fileinfo, curl, zip, iconv
1414
tools: cs2pr, composer:v2
1515
- uses: actions/checkout@v4
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup PHP
2424
uses: shivammathur/setup-php@v2
2525
with:
26-
php-version: '8.1'
26+
php-version: '8.3'
2727
extensions: mbstring, intl, gd, xml, dom, json, fileinfo, curl, zip, iconv
2828
tools: cs2pr, composer:v2, phpmd
2929
- uses: actions/checkout@v4
@@ -37,7 +37,7 @@ jobs:
3737
- name: Setup PHP
3838
uses: shivammathur/setup-php@v2
3939
with:
40-
php-version: '8.1'
40+
php-version: '8.3'
4141
extensions: mbstring, intl, gd, xml, dom, json, fileinfo, curl, zip, iconv
4242
tools: cs2pr, composer:v2, phpcpd
4343
- uses: actions/checkout@v4

.gitlab-ci.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,14 @@ variables:
3232
SKIP_ESLINT: '1'
3333
# Opt in to testing current minor against max supported PHP version.
3434
OPT_IN_TEST_MAX_PHP: '1'
35-
# Opt in to testing previous & next minor (Drupal 10.1.x and 10.2.x).
35+
# Opt in to testing previous minor (Drupal 11.1.x).
3636
OPT_IN_TEST_PREVIOUS_MINOR: '1'
37+
# Opt in to testing minor (Drupal 11.3-dev).
3738
OPT_IN_TEST_NEXT_MINOR: '1'
38-
# Opt in to testing $CORE_PREVIOUS_MAJOR (currently Drupal 9.5).
39-
OPT_IN_TEST_PREVIOUS_MAJOR: '1'
40-
# The 1.x branch of the module requires PHP >=8.1, rather than core's >=7.4.
41-
CORE_PREVIOUS_PHP_MIN: '8.1'
39+
# The 1.1.x branch of the module requires Drupal 10.4 minimum.
40+
CORE_PREVIOUS_PHP_MIN: '8.2'
4241
# Opt in to testing $CORE_MAJOR_DEVELOPMENT (currently Drupal 11).
43-
# Can't Opt in until the module Paragraphs is ready for Drupal 11.
44-
# OPT_IN_TEST_NEXT_MAJOR: '1'
42+
OPT_IN_TEST_NEXT_MAJOR: '1'
4543

4644
# This module wants to strictly comply with Drupal's coding standards.
4745
phpcs:

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
### Added
9+
- add official support of drupal 10.5
10+
- add official support of drupal 11.2
11+
12+
### Removed
13+
- drop support of drupal below 10.4.x
14+
- drop support of drupal below 10.3.x
15+
- drop support of drupal 9.x
816

917
## [1.1.0] - 2025-02-25
1018
### Removed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG BASE_IMAGE_TAG=10.2
1+
ARG BASE_IMAGE_TAG=10.5
22
FROM wengerk/drupal-for-contrib:${BASE_IMAGE_TAG}
33

44
ARG BASE_IMAGE_TAG

entity_to_text.info.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ name: Entity to Text
22
type: module
33
description: 'Provides a number of utility and helper APIs for developers to transform content into plain text.'
44
package: Search
5-
core_version_requirement: ^9.5 || ^10 || ^11
5+
core_version_requirement: ^10.4 || ^11

modules/entity_to_text_paragraphs/entity_to_text_paragraphs.info.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ name: Entity to Text - Paragraphs
22
type: module
33
description: 'Provides the utility APIs to transforms Paragraphs to Text.'
44
package: Search
5-
core_version_requirement: ^9.3 || ^10 || ^11
5+
core_version_requirement: ^10.4 || ^11
66
dependencies:
77
- entity_to_text:entity_to_text

modules/entity_to_text_tika/entity_to_text_tika.info.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ name: Entity to Text - Tika
22
type: module
33
description: 'Provides the utility APIs to transforms Files to Text.'
44
package: Search
5-
core_version_requirement: ^9.3 || ^10 || ^11
5+
core_version_requirement: ^10.4 || ^11
66
dependencies:
77
- entity_to_text:entity_to_text

modules/entity_to_text_tika/tests/src/Functional/InstallUninstallTest.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,7 @@ public function testInstall(): void {
3434
$edit['modules[entity_to_text_tika][enable]'] = 'entity_to_text_tika';
3535
$this->drupalGet('admin/modules');
3636
$this->submitForm($edit, 'Install');
37-
38-
if (version_compare(\Drupal::VERSION, '10.3', '>=')) {
39-
$this->assertSession()->pageTextContains('Module Entity to Text - Tika has been installed.');
40-
}
41-
else {
42-
$this->assertSession()->pageTextContains('Module Entity to Text - Tika has been enabled.');
43-
}
37+
$this->assertSession()->pageTextContains('Module Entity to Text - Tika has been installed.');
4438

4539
// Makes sure the module has been installed.
4640
$this->assertModules(['entity_to_text_tika'], TRUE);

0 commit comments

Comments
 (0)