You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7d13391
Browse filesBrowse the repository at this point in the historyBrowse files
*Implemented `ResourceProviderMiddleware` and added `ResourceGuardInterface`[https://github.com/dotkernel/api/pull/403](https://github.com/dotkernel/api/pull/403)
26
-
*Updated logic in `ContentNegotiationMiddleware`[https://github.com/dotkernel/api/pull/413](https://github.com/dotkernel/api/pull/413)
27
-
*`AuthenticationMiddleware` no longer extends `AuthenticationMiddleware` from `mezzio/mezzio-authentication`[https://github.com/dotkernel/api/pull/418](https://github.com/dotkernel/api/pull/418)
*Replaced `Twig` with custom templating solution [https://github.com/dotkernel/api/pull/419](https://github.com/dotkernel/api/pull/419)
30
-
*Increased `PHPStan` level to 8 [https://github.com/dotkernel/api/pull/421](https://github.com/dotkernel/api/pull/421)
31
-
*Split the `/security/token` endpoint into two separate endpoints [https://github.com/dotkernel/api/pull/423](https://github.com/dotkernel/api/pull/423)
12
+
*[#358](https://github.com/dotkernel/api/pull/358): Move common logic to Core module
*[#403](https://github.com/dotkernel/api/pull/403): Implemented `ResourceProviderMiddleware` and added `ResourceGuardInterface`
26
+
*[#413](https://github.com/dotkernel/api/pull/413): Updated logic in `ContentNegotiationMiddleware`
27
+
*[#418](https://github.com/dotkernel/api/pull/418): `AuthenticationMiddleware` no longer extends `AuthenticationMiddleware` from `mezzio/mezzio-authentication`
Copy file name to clipboardExpand all lines: docs/book/v7/upgrading/UPGRADE-7.0.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,17 +14,17 @@ Version 7.0 does not change the PHP version or any Composer dependency constrain
14
14
15
15
These changes affect your database schema, configuration, entities or runtime behavior.
16
16
17
-
* Use native UUIDs in database via `ramsey/uuid`: entities get their identifier from the new `UuidIdentifierTrait` and a `UuidType` that declares the SQL type `UUID`. `getUuid()` becomes `getId()` and the `uuid` key becomes `id` in entities, repositories, services, input filters and OpenAPI. A schema migration is required[https://github.com/dotkernel/api/pull/456](https://github.com/dotkernel/api/pull/456)
18
-
* PostgreSQL implementation: in `config/autoload/local.php.dist` the `default` connection is renamed `mariadb`, a `postgresql` connection is added, and `charset` and `collate` are replaced by `collation`. `AbstractEnumType` is reworked, `MigrationsMigratedSubscriber` is added and `config/cli-config.php` is updated[https://github.com/dotkernel/api/pull/462](https://github.com/dotkernel/api/pull/462)
19
-
* Remove `MethodDeprecation` implementation: the attribute and its tests are deleted, and `DeprecationMiddleware` and the error-report handler no longer use it[https://github.com/dotkernel/api/pull/470](https://github.com/dotkernel/api/pull/470)
17
+
*[#456](https://github.com/dotkernel/api/pull/456): Use native UUIDs in database via `ramsey/uuid`: entities get their identifier from the new `UuidIdentifierTrait` and a `UuidType` that declares the SQL type `UUID`. `getUuid()` becomes `getId()` and the `uuid` key becomes `id` in entities, repositories, services, input filters and OpenAPI. A schema migration is required
18
+
*[#462](https://github.com/dotkernel/api/pull/462): PostgreSQL implementation: in `config/autoload/local.php.dist` the `default` connection is renamed `mariadb`, a `postgresql` connection is added, and `charset` and `collate` are replaced by `collation`. `AbstractEnumType` is reworked, `MigrationsMigratedSubscriber` is added and `config/cli-config.php` is updated
19
+
*[#470](https://github.com/dotkernel/api/pull/470): Remove `MethodDeprecation` implementation: the attribute and its tests are deleted, and `DeprecationMiddleware` and the error-report handler no longer use it
20
20
21
21
### Optional updates
22
22
23
23
These changes cover documentation and comments.
24
24
Skipping them does not affect how the API runs.
25
25
26
-
* Clarify instructions regarding multiple connections in `config/autoload/local.php.dist`[https://github.com/dotkernel/api/pull/472](https://github.com/dotkernel/api/pull/472)
27
-
*Update readme and security documents [https://github.com/dotkernel/api/pull/461](https://github.com/dotkernel/api/pull/461)
26
+
*[#472](https://github.com/dotkernel/api/pull/472): Clarify instructions regarding multiple connections in `config/autoload/local.php.dist`
27
+
*[#461](https://github.com/dotkernel/api/pull/461): Update readme and security documents
Copy file name to clipboardExpand all lines: docs/book/v7/upgrading/UPGRADE-7.1.md
+25-25Lines changed: 25 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,37 +13,37 @@ The headline items are the new PHP 8.3 minimum, the upgrade to `mezzio-authentic
13
13
14
14
These changes affect your PHP version, dependencies, configuration, database schema, entities or runtime behavior.
15
15
16
-
* Upgrade `mezzio/mezzio-authentication-oauth2` to `^3.0.1`: the OAuth entities and repositories are adapted, `Admin` and `NumericIdentifierTrait` types are tightened, and the post-install script now generates `config/autoload/mail.local.php`[https://github.com/dotkernel/api/pull/511](https://github.com/dotkernel/api/pull/511)
17
-
* Bump PHPUnit to `^12.5.23` and drop PHP 8.2 support: `composer.json` now requires PHP `~8.3.0 || ~8.4.0 || ~8.5.0` and tests use stubs instead of mocks[https://github.com/dotkernel/api/pull/510](https://github.com/dotkernel/api/pull/510)
18
-
* Implement browscap in `AdminLogin`: the columns `deviceBrand`, `deviceModel`, `osPlatform`, `clientEngine` and `clientVersion` are removed and `isCrawler` is added, so a schema migration is required[https://github.com/dotkernel/api/pull/513](https://github.com/dotkernel/api/pull/513)
19
-
* Remove `config/autoload/mail.global.php`: mail settings now live in `mail.local.php`[https://github.com/dotkernel/api/pull/499](https://github.com/dotkernel/api/pull/499)
20
-
* OAuth2 token invalidated on Composer install/update: adds `bin/generate-oauth2-keys.php`, which skips existing keys, and points `post-update-cmd` to it[https://github.com/dotkernel/api/pull/506](https://github.com/dotkernel/api/pull/506)
21
-
* Add security headers in `config/autoload/response-header.global.php`: `X-Content-Type-Options` and `Referrer-Policy` on all responses, `Cache-Control: no-store` and `Pragma: no-cache` on the token endpoints[https://github.com/dotkernel/api/pull/490](https://github.com/dotkernel/api/pull/490)
22
-
* Add `MalformedRequestBodyMiddleware`, piped in `config/pipeline.php`: a malformed request body now results in a `BadRequestException`[https://github.com/dotkernel/api/pull/476](https://github.com/dotkernel/api/pull/476)
23
-
*Require `symfony/var-exporter` to keep LazyGhost support [https://github.com/dotkernel/api/pull/485](https://github.com/dotkernel/api/pull/485)
24
-
* Core sync: `created` becomes nullable in `TimestampsTrait` and `EntityInterface`, and the Admin, User and role entities are updated[https://github.com/dotkernel/api/pull/486](https://github.com/dotkernel/api/pull/486)
25
-
*Bump `zircote/swagger-php` to `^6.0.0`[https://github.com/dotkernel/api/pull/522](https://github.com/dotkernel/api/pull/522)
16
+
*[#511](https://github.com/dotkernel/api/pull/511): Upgrade `mezzio/mezzio-authentication-oauth2` to `^3.0.1`: the OAuth entities and repositories are adapted, `Admin` and `NumericIdentifierTrait` types are tightened, and the post-install script now generates `config/autoload/mail.local.php`
17
+
*[#510](https://github.com/dotkernel/api/pull/510): Bump PHPUnit to `^12.5.23` and drop PHP 8.2 support: `composer.json` now requires PHP `~8.3.0 || ~8.4.0 || ~8.5.0` and tests use stubs instead of mocks
18
+
*[#513](https://github.com/dotkernel/api/pull/513): Implement browscap in `AdminLogin`: the columns `deviceBrand`, `deviceModel`, `osPlatform`, `clientEngine` and `clientVersion` are removed and `isCrawler` is added, so a schema migration is required
19
+
*[#499](https://github.com/dotkernel/api/pull/499): Remove `config/autoload/mail.global.php`: mail settings now live in `mail.local.php`
20
+
*[#506](https://github.com/dotkernel/api/pull/506): OAuth2 token invalidated on Composer install/update: adds `bin/generate-oauth2-keys.php`, which skips existing keys, and points `post-update-cmd` to it
21
+
*[#490](https://github.com/dotkernel/api/pull/490): Add security headers in `config/autoload/response-header.global.php`: `X-Content-Type-Options` and `Referrer-Policy` on all responses, `Cache-Control: no-store` and `Pragma: no-cache` on the token endpoints
22
+
*[#476](https://github.com/dotkernel/api/pull/476): Add `MalformedRequestBodyMiddleware`, piped in `config/pipeline.php`: a malformed request body now results in a `BadRequestException`
23
+
*[#485](https://github.com/dotkernel/api/pull/485): Require `symfony/var-exporter` to keep LazyGhost support
24
+
*[#486](https://github.com/dotkernel/api/pull/486): Core sync: `created` becomes nullable in `TimestampsTrait` and `EntityInterface`, and the Admin, User and role entities are updated
25
+
*[#522](https://github.com/dotkernel/api/pull/522): Bump `zircote/swagger-php` to `^6.0.0`
26
26
27
27
### Optional updates
28
28
29
29
These changes cover development tooling, CI and documentation.
30
30
Skipping them does not affect how the API runs.
31
31
32
-
* Bump `dotkernel/dot-maker` to `^2.0.0` and add a Composer `conflict` on versions below `2.0`[https://github.com/dotkernel/api/pull/494](https://github.com/dotkernel/api/pull/494)
33
-
* Update PostgreSQL host configuration in `config/autoload/local.php.dist` to `127.0.0.1`[https://github.com/dotkernel/api/pull/465](https://github.com/dotkernel/api/pull/465)
34
-
*Add Bruno collection, update readme [https://github.com/dotkernel/api/pull/516](https://github.com/dotkernel/api/pull/516)
35
-
*Update API version in README example [https://github.com/dotkernel/api/pull/473](https://github.com/dotkernel/api/pull/473)
0 commit comments