diff --git a/.github/workflows/audits.yml b/.github/workflows/audits.yml index 7d3b3b9..fa49aa5 100644 --- a/.github/workflows/audits.yml +++ b/.github/workflows/audits.yml @@ -7,7 +7,7 @@ on: - cron: '0 0 * * 3' jobs: - audit-dependencies: + audit-dependencies-on-laravel-10: runs-on: ${{ matrix.os }} continue-on-error: ${{ matrix.experimental }} strategy: @@ -15,10 +15,99 @@ jobs: os: - "ubuntu-latest" php: - - "7.3" - - "7.4" - - "8.0" - - "8.1" + - 8.1 + - 8.2 + laravel: + - "10.x" + experimental: + - false + + name: PHP${{ matrix.php }}-${{ matrix.os }} with Laravel ${{ matrix.laravel }} + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php }} + extensions: dom, curl, libxml, mbstring, zip, pcntl, sqlite3, pdo_sqlite, pdo_mysql, bcmath, intl, gd, exif, iconv, imagick, fileinfo + coverage: none + + - name: Install Laravel ${{ matrix.laravel }} + run: | + composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update + + - name: Install dependencies + uses: "ramsey/composer-install@v2" + with: + dependency-versions: "highest" + composer-options: "--prefer-dist --prefer-stable --no-cache" + + - name: Installed dependencies + run: composer show -D + + - name: Audit dependencies + run: composer audit + + audit-dependencies-on-laravel-9: + runs-on: ${{ matrix.os }} + continue-on-error: ${{ matrix.experimental }} + strategy: + matrix: + os: + - "ubuntu-latest" + php: + - '8.0' + - 8.1 + - 8.2 + laravel: + - "9.x" + experimental: + - false + + name: PHP${{ matrix.php }}-${{ matrix.os }} with Laravel ${{ matrix.laravel }} + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php }} + extensions: dom, curl, libxml, mbstring, zip, pcntl, sqlite3, pdo_sqlite, pdo_mysql, bcmath, intl, gd, exif, iconv, imagick, fileinfo + coverage: none + + - name: Install Laravel ${{ matrix.laravel }} + run: | + composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update + + - name: Install dependencies + uses: "ramsey/composer-install@v2" + with: + dependency-versions: "highest" + composer-options: "--prefer-dist --prefer-stable --no-cache" + + - name: Installed dependencies + run: composer show -D + + - name: Audit dependencies + run: composer audit + + audit-dependencies-on-laravel-8: + runs-on: ${{ matrix.os }} + continue-on-error: ${{ matrix.experimental }} + strategy: + matrix: + os: + - "ubuntu-latest" + php: + - 7.3 + - 7.4 + - '8.0' + - 8.1 laravel: - "8.x" experimental: diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 5497a19..8263011 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -13,7 +13,7 @@ jobs: os: - "ubuntu-latest" php: - - "8.0" + - '8.0' laravel: - "9.x" dependencies: diff --git a/.github/workflows/tests-on-windows.yml b/.github/workflows/tests-on-windows.yml index 60ea8e3..472227b 100644 --- a/.github/workflows/tests-on-windows.yml +++ b/.github/workflows/tests-on-windows.yml @@ -17,6 +17,7 @@ jobs: - 8.2 laravel: - "9.x" + - "10.x" dependencies: - "highest" - "lowest" @@ -67,6 +68,7 @@ jobs: laravel: - "8.x" - "9.x" + - "10.x" dependencies: - "highest" - "lowest" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 861b722..edac3fd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,6 +19,7 @@ jobs: - 8.2 laravel: - "9.x" + - "10.x" dependencies: - "highest" - "lowest" @@ -69,6 +70,7 @@ jobs: laravel: - "8.x" - "9.x" + - "10.x" dependencies: - "highest" - "lowest" diff --git a/CHANGELOG-2.x.md b/CHANGELOG-2.x.md index 1694c29..f789b15 100644 --- a/CHANGELOG-2.x.md +++ b/CHANGELOG-2.x.md @@ -2,6 +2,14 @@ This changelog references the relevant changes (bug and security fixes) done to `laravie/serialize-queries`. +## 2.2.0 + +Released: 2023-01-17 + +### Changes + +* Added support for Laravel Framework v10. + ## 2.1.0 Released: 2022-11-23 diff --git a/composer.json b/composer.json index 7be92fa..5e57d0f 100644 --- a/composer.json +++ b/composer.json @@ -24,11 +24,11 @@ }, "require": { "php": "^7.3 || ^8.0", - "illuminate/database": "^8.67 || ^9.44", - "illuminate/queue": "^8.67 || ^9.44" + "illuminate/database": "^8.67 || ^9.44 || ^10.0", + "illuminate/queue": "^8.67 || ^9.44 || ^10.0" }, "require-dev": { - "orchestra/testbench": "^6.22 || ^7.16", + "orchestra/testbench": "^6.22 || ^7.16 || ^8.0", "phpstan/phpstan": "^1.8" }, "config": {