Skip to content

Commit 4db5fe6

Browse files
authored
feat: release 2.1.0 - Laravel 10 + PHP 8.2 Support (#20)
* Update composer.json for Laravel 10 and PHP 8.2 * Migrate phpunit.xml configuration * Update GH workflow * Drop PHP 8.0 support * Update GH actions versions * chore: prepare release 2.1.0
1 parent 26f5b21 commit 4db5fe6

File tree

5 files changed

+29
-27
lines changed

5 files changed

+29
-27
lines changed

.github/workflows/run-tests.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,22 @@ jobs:
88
strategy:
99
fail-fast: true
1010
matrix:
11-
php: [ 8.0, 8.1 ]
12-
laravel: [ 9.* ]
11+
php: [ 8.1, 8.2 ]
12+
laravel: [ 9.*, 10.* ]
1313
include:
1414
- laravel: 9.*
1515
testbench: 7.*
16+
- laravel: 10.*
17+
testbench: 8.*
1618

1719
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
1820

1921
steps:
2022
- name: Checkout code
21-
uses: actions/checkout@v2
23+
uses: actions/checkout@v3
2224

2325
- name: Cache dependencies
24-
uses: actions/cache@v2
26+
uses: actions/cache@v3
2527
with:
2628
path: ~/.composer/cache/files
2729
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
All notable changes to `laravel-mail-export` will be documented in this file.
44

5+
## 2.1.0 - 2023-09-01
6+
7+
- Laravel 10 Support [#20](https://github.com/Pod-Point/laravel-mail-export/pull/20)
8+
- New contributor [clnt](https://github.com/clnt)
9+
510
## 2.0.0 - 2022-08-04
611

712
- Laravel 9 Support **Breaking change** [#17](https://github.com/Pod-Point/laravel-mail-export/pull/17)

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Laravel Mail Export
22

33
[![Latest Version on Packagist](https://img.shields.io/packagist/v/pod-point/laravel-mail-export.svg?style=flat-square)](https://packagist.org/packages/pod-point/laravel-mail-export)
4-
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/pod-point/laravel-mail-export/run-tests?label=tests)
4+
[![tests](https://github.com/Pod-Point/laravel-mail-export/actions/workflows/run-tests.yml/badge.svg?branch=2.x)](https://github.com/Pod-Point/laravel-mail-export/actions/workflows/run-tests.yml)
55
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
66
[![Total Downloads](https://img.shields.io/packagist/dt/pod-point/laravel-mail-export.svg?style=flat-square)](https://packagist.org/packages/pod-point/laravel-mail-export)
77

@@ -13,7 +13,7 @@ This can be useful when wanting to store emails sent for archive purposes.
1313

1414
You can install the package via composer:
1515

16-
For Laravel 9.x
16+
For Laravel 9.x and 10.x
1717

1818
```bash
1919
composer require pod-point/laravel-mail-export

composer.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
}
1212
],
1313
"require": {
14-
"php": "^8.0",
15-
"illuminate/filesystem": "^9.0",
16-
"illuminate/mail": "^9.0",
17-
"illuminate/support": "^9.0",
14+
"php": "^8.1",
15+
"illuminate/filesystem": "^9.0|^10.0",
16+
"illuminate/mail": "^9.0|^10.0",
17+
"illuminate/support": "^9.0|^10.0",
1818
"nesbot/carbon": "^2.0"
1919
},
2020
"require-dev": {
21-
"orchestra/testbench": "^7.0"
21+
"orchestra/testbench": "^7.0|^8.0"
2222
},
2323
"autoload": {
2424
"psr-4": {

phpunit.xml.dist

+11-16
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
3-
backupStaticAttributes="false"
4-
beStrictAboutTestsThatDoNotTestAnything="false"
5-
bootstrap="vendor/autoload.php"
6-
colors="true"
7-
convertErrorsToExceptions="true"
8-
convertNoticesToExceptions="true"
9-
convertWarningsToExceptions="true"
10-
processIsolation="false"
11-
stopOnFailure="false"
12-
>
13-
<testsuites>
14-
<testsuite name="Package Test Suite">
15-
<directory suffix=".php">./tests/</directory>
16-
</testsuite>
17-
</testsuites>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" backupGlobals="false" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
3+
<testsuites>
4+
<testsuite name="Package Test Suite">
5+
<directory>tests</directory>
6+
</testsuite>
7+
</testsuites>
8+
<source>
9+
<include>
10+
<directory suffix=".php">src/</directory>
11+
</include>
12+
</source>
1813
</phpunit>

0 commit comments

Comments
 (0)