Skip to content

Commit bde3727

Browse files
samizdamn.gnato
andauthored
set version 0.1.0 in changelog (#32)
* set version 0.1.0 in changelog * Remove dto staff from project * Update readme and changelog, prepare v0.2.0 --------- Co-authored-by: n.gnato <[email protected]>
1 parent ce10d04 commit bde3727

19 files changed

+14
-364
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [0.2.0] - 2025-03-14
10+
11+
### Removed
12+
- Dto tests
13+
14+
## [0.1.0] - 2025-03-14
15+
916
### Deprecated
1017
- mark classes in namespace FreeElephants\JsonApiToolkit\DTO are deprecated
1118

@@ -132,7 +139,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
132139
### Added
133140
- FastRoute Dispatcher generation from swagger operationIds
134141

135-
[Unreleased]: https://github.com/FreeElephants/json-api-php-toolkit/compare/0.0.15...HEAD
142+
[Unreleased]: https://github.com/FreeElephants/json-api-php-toolkit/compare/0.1.0...HEAD
143+
[0.1.0]: https://github.com/FreeElephants/json-api-php-toolkit/compare/0.0.15...0.1.0
136144
[0.0.15]: https://github.com/FreeElephants/json-api-php-toolkit/compare/0.0.14...0.0.15
137145
[0.0.14]: https://github.com/FreeElephants/json-api-php-toolkit/compare/0.0.13...0.0.14
138146
[0.0.13]: https://github.com/FreeElephants/json-api-php-toolkit/compare/0.0.12...0.0.13

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* [x] Build FastRoute Dispatcher by defined in OAS3 `operationsIds` values
1010
* [x] Serialize Doctrine entities with Neomerx schemas (resolve issue https://github.com/neomerx/json-api/issues/40)
1111
* [ ] Generate PHP Data Transfer Objects by OAS3 `reponseBody` and `requestBody` schema reference compliance with json:api
12-
* [x] Map Psr Requests to Data Transfer Objects
1312
* [x] Validate incoming Psr Requests with swagger specification and user defined rules, and build Psr Response with json:api errors
1413
* [x] Map application models to Psr Response compliance with json:api structure
1514

@@ -26,11 +25,14 @@ Available in [/docs](/docs).
2625
#### Index:
2726
1. [Routing](/docs/routing.md)
2827
1. [Serialize doctrine entities](/docs/doctrine.md)
29-
1. [DTO from psr server request](/docs/dto-psr7.md)
3028
1. [Validation](/docs/validation.md)
3129

3230
## Development
3331

3432
All dev env is dockerized. Your can use make receipts and `bin/` scripts without locally installed php, composer.
3533

3634
For run tests with different php version change `PHP_VERSION` value in .env and rebuild image with `make build`.
35+
36+
## See also:
37+
38+
Package for map PSR-7 http messages with Json Api structure to PHP DTO: https://github.com/FreeElephants/json-api-dto

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"doctrine/persistence": "^2.0|^3.0",
1919
"fig/http-message-util": "^1.0",
2020
"free-elephants/i18n": "^0.0.1",
21-
"free-elephants/json-api-dto": "^0.0.1",
2221
"laminas/laminas-stratigility": "^3.2",
2322
"laravel-json-api/neomerx-json-api": "^5.0.2",
2423
"league/openapi-psr7-validator": "0.19 - 0.22",
@@ -41,6 +40,7 @@
4140
"suggest": {
4241
"doctrine/orm": "^2.7",
4342
"free-elephants/di": "*",
43+
"free-elephants/json-api-dto": "*",
4444
"laminas/laminas-httphandlerrunner": "*",
4545
"nyholm/psr7": "^1.2"
4646
},

docs/dto-psr7.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/FreeElephants/JsonApiToolkit/DTO/AbstractAttributes.php

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/FreeElephants/JsonApiToolkit/DTO/AbstractDocument.php

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/FreeElephants/JsonApiToolkit/DTO/AbstractRelationships.php

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/FreeElephants/JsonApiToolkit/DTO/AbstractResourceObject.php

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/FreeElephants/JsonApiToolkit/DTO/BaseKeyValueStructure.php

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/FreeElephants/JsonApiToolkit/DTO/Reflection/SuitableRelationshipsTypeDetector.php

Lines changed: 0 additions & 27 deletions
This file was deleted.

src/FreeElephants/JsonApiToolkit/DTO/RelationshipToOne.php

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/FreeElephants/JsonApiToolkit/DTO/ResourceIdentifierObject.php

Lines changed: 0 additions & 11 deletions
This file was deleted.

tests/FreeElephants/JsonApiToolkit/DTO/DocumentTest.php

Lines changed: 0 additions & 84 deletions
This file was deleted.

tests/FreeElephants/JsonApiToolkit/DTO/Example/Attributes.php

Lines changed: 0 additions & 10 deletions
This file was deleted.

tests/FreeElephants/JsonApiToolkit/DTO/Example/OneRelationships.php

Lines changed: 0 additions & 11 deletions
This file was deleted.

tests/FreeElephants/JsonApiToolkit/DTO/Example/TwoRelationships.php

Lines changed: 0 additions & 11 deletions
This file was deleted.

tests/FreeElephants/JsonApiToolkit/DTO/Reflection/SuitableRelationshipsTypeDetectorTest.php

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)