Skip to content

2.0.0

Choose a tag to compare

@datasage datasage released this 10 Aug 23:17
· 2 commits to 2.0.x since this release
1d274cd

First major of this fork line. BC breaks relative to 1.10.1.

api-tools-oauth2 and bshaffer/oauth2-server-php are no longer required — both moved to require-dev with suggest entries. The OAuth2 adapter is one of several this package offers, and a consumer using HTTP basic/digest or a custom adapter should not be made to install an OAuth2 server. A consumer relying on this package to pull OAuth2 in transitively must now require it directly.

Verified by removing both packages outright: 157 of 186 tests pass and all 29 failures are OAuth2 paths, with no bootstrap fatal. Nothing about the coupling is structural — no extends/implements, Module::onMergeConfig touches the factory only as ::class (a compile-time string, no autoload), and both new sites sit behind config guards.

Removed the OAuth2 Mongo storage adapter — the 'mongo' case, createMongoAdapter(), createMongoDatabase() and the config/README examples. 'mongo' is now rejected as an invalid storage adapter type.

Removed the ServiceManager v2 back-compat shims across 9 classes.

Constraints on sibling forks widened to accept their new majors.