Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:
- ubuntu-latest

php:
- "8.2"
- "8.3"
- "8.4"
- "8.5"
- "8.6"

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v7

- name: Install PHP
uses: shivammathur/setup-php@v2
Expand All @@ -36,7 +36,7 @@ jobs:
run: echo "COMPOSER_CACHE_DIR=$(composer config cache-dir)" >> $GITHUB_ENV

- name: Cache dependencies installed with composer
uses: actions/cache@v3
uses: actions/cache@v6
with:
path: ${{ env.COMPOSER_CACHE_DIR }}
key: php${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}
Expand All @@ -50,6 +50,6 @@ jobs:
run: vendor/bin/phpunit --colors=always --coverage-clover clover.xml

- name: Send code coverage report to Codecov.io
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v7
with:
token: ${{ secrets.CODECOV_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:
- ubuntu-latest

php:
- "8.2"
- "8.3"
- "8.4"
- "8.5"
- "8.6"

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Install PHP
uses: shivammathur/setup-php@v2
Expand All @@ -36,7 +36,7 @@ jobs:
run: echo "COMPOSER_CACHE_DIR=$(composer config cache-dir)" >> $GITHUB_ENV

- name: Cache dependencies installed with composer
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ${{ env.COMPOSER_CACHE_DIR }}
key: php${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ crashlytics.properties
crashlytics-build.properties
fabric.properties
.phpunit.result.cache
.phpunit.cache
.phpcs-cache
3 changes: 3 additions & 0 deletions .laminas-ci.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"ignore_php_platform_requirements": {
"8.6": true
},
"backwardCompatibilityCheck": true
}
181 changes: 164 additions & 17 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,65 +1,212 @@
# Changelog

## 3.0.0 - 2026-11-30

### Changed

- `Dot\Authentication\Exception\ExceptionInterface` extends `Throwable`.
- `AuthenticationResult::setIdentity()` accepts `null` to clear the identity.
- `AuthenticationResult` constants have the type `int`.
- `UnauthorizedException::__construct()` accepts any `Throwable` as `$previous`.
- PHPStan runs at level 8.
- Tests use PHPUnit 12 and a real identity fixture instead of mocks.
- PHPUnit fails on all issues: notices, warnings, deprecations and risky tests.
- The 2.x line gets only security fixes.

### Added

- Support for PHP 8.6.
- Documentation for v3.
- Upgrade guide from 2.x.

### Deprecated

- Nothing

### Removed

- Support for PHP 8.2.

### Fixed

- `InvalidArgumentExceptionTest` tests the package class instead of the SPL class.

## 2.7.0 - 2025-10-31

### Added

- Support for PHP 8.4 and 8.5.

### Removed

- Support for PHP 8.1.

### Fixed

- PHPStan badges.

## 2.6.0 - 2025-03-05

### Changed

- Replaced Psalm with PHPStan.

## 2.5.1 - 2025-01-27

### Changed

- Codecov runs on PHP 8.4.
- Psalm 6.x.

## 2.5.0 - 2025-01-23

### Added

- Support for PHP 8.4.
- `.laminas-ci.json`.

## 2.4.0 - 2024-05-03

### Added

- Documentation for v2.
- More tests.

### Fixed

- Errors in `README.md` and `usage.md`.

## 2.3.4 - 2023-12-04

### Added

- Support for PHP 8.3.

## 2.3.3 - 2023-10-11

### Changed

- Return type of `IdentityInterface::getId()`.

## 2.3.2 - 2023-08-21

### Changed

- Allow `psr/http-message` 2.x.

### Fixed

- Codecov configuration.
- A return type.

## 2.3.1 - 2023-08-17

### Changed

- Type hints and access modifiers.

### Added

- Static analysis badges.

## 2.3.0 - 2023-07-18

### Added

- Unit tests, PHPCS, static analysis and the test GitHub Actions.

### Changed

- Line endings from CRLF to LF.

## 2.2.0 - 2023-03-29

### Removed

- `laminas/laminas-dependency-plugin`.

## 2.1 - 2022-04-26

### Changed

- Prepared `composer.json` and `README.md` for the release.

## 2.0.0 - 2020-01-30

### Changed
* Laminas and Mezzio migration.

- Laminas and Mezzio migration.

### Added
* Nothing

- Nothing

### Deprecated
* Nothing

- Nothing

### Removed
* Support

- Support

### Fixed
* Nothing

- Nothing

## 1.0.0 - 2018-04-12

Version bump

### Added
* Update composer.json file

- Update composer.json file

### Deprecated
* Nothing

- Nothing

### Removed
* Nothing

- Nothing

### Fixed
* Nothing

- Nothing

## 0.1.1 - 2017-03-10

### Added
* Updated php file headers doc blocks

- Updated php file headers doc blocks

### Deprecated
* Nothing

- Nothing

### Removed
* Nothing

- Nothing

### Fixed
* Nothing

- Nothing

## 0.1.0 - 2017-03-07

Initial tagged release

### Added
* Everything

- Everything

### Deprecated
* Nothing

- Nothing

### Removed
* Nothing

- Nothing

### Fixed
* Nothing

- Nothing
Loading
Loading