simplesamlphp / simplesamlphp-module-oidc

A SimpleSAMLphp module for OIDC OP support.
Other
45 stars 22 forks source link

Start with version 5 #211

Closed cicnavi closed 9 months ago

cicnavi commented 9 months ago

Since SimpleSAMLphp v2.1 is out for some time, start with v5 of the module which is compatible with SSP v2.1, so users can start using it.

codecov[bot] commented 9 months ago

Codecov Report

Attention: 341 lines in your changes are missing coverage. Please review.

Comparison is base (895abfd) 52.65% compared to head (b973d1c) 53.26%.

Files Patch % Lines
src/Services/DatabaseMigration.php 0.00% 43 Missing :warning:
src/Server/Grants/AuthCodeGrant.php 0.00% 41 Missing :warning:
src/Forms/ClientForm.php 0.00% 34 Missing :warning:
src/Services/Container.php 0.00% 33 Missing :warning:
src/ModuleConfig.php 51.16% 21 Missing :warning:
src/Services/LoggerService.php 0.00% 19 Missing :warning:
src/Services/SessionService.php 0.00% 16 Missing :warning:
src/Server/Grants/RefreshTokenGrant.php 0.00% 12 Missing :warning:
src/Services/IdTokenBuilder.php 0.00% 11 Missing :warning:
src/Server/Grants/ImplicitGrant.php 0.00% 10 Missing :warning:
... and 37 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #211 +/- ## ============================================ + Coverage 52.65% 53.26% +0.60% - Complexity 878 984 +106 ============================================ Files 108 109 +1 Lines 3667 3809 +142 ============================================ + Hits 1931 2029 +98 - Misses 1736 1780 +44 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

cicnavi commented 9 months ago

The following will be postponed for version 6:

New features

Major impact changes

Medium impact changes

Low impact changes

Below are some internal changes that should not have impact for the OIDC OP implementors. However, if you are using this module as a library or extending from it, you will probably encounter breaking changes, since a lot of code has been refactored:

tvdijen commented 9 months ago

It's a bit much to review, but I think it's mostly about the strict_types=1, right?

cicnavi commented 9 months ago

Erm, actually there was fair amount of refactoring done. I've described changes in https://github.com/simplesamlphp/simplesamlphp-module-oidc/blob/dev-v5/UPGRADE.md

The most important for me is that you are ok with creating the major release of the module compatible with SSP v2.1 now (without the above mentioned features that I've originally planed in v5).

tvdijen commented 9 months ago

Yeah sure, go ahead!