ver. 0.302: REST API product variants, attributes dictionary, attribute filtering
- Add variant CRUD endpoints (variants, create_variant, update_variant, delete_variant) - Add dictionaries/attributes endpoint with multilingual names and values - Add attribute_* filter params for product list filtering by attribute values - Enrich product detail attributes with translated names (attribute_names, value_names) - Include variants array in product detail response for parent products - Add price_brutto validation on product create - Batch-load attribute/value translations (4 queries instead of N+1) - Add 43 new unit tests (730 total, 2066 assertions) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
BIN
updates/0.30/ver_0.302.zip
Normal file
BIN
updates/0.30/ver_0.302.zip
Normal file
Binary file not shown.
19
updates/0.30/ver_0.302_manifest.json
Normal file
19
updates/0.30/ver_0.302_manifest.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"version": "0.302",
|
||||
"date": "2026-02-22",
|
||||
"checksum_zip": "sha256:9a105e21eefa97b885d75f000be958e0604f119a01f0266ffc8ecdb34b346a7c",
|
||||
"files": {
|
||||
"modified": [
|
||||
"autoload/Domain/Attribute/AttributeRepository.php",
|
||||
"autoload/Domain/Product/ProductRepository.php",
|
||||
"autoload/api/ApiRouter.php",
|
||||
"autoload/api/Controllers/DictionariesApiController.php",
|
||||
"autoload/api/Controllers/ProductsApiController.php"
|
||||
],
|
||||
"added": [],
|
||||
"deleted": []
|
||||
},
|
||||
"directories_deleted": [],
|
||||
"sql": [],
|
||||
"changelog": "NEW - REST API wariantow produktow (CRUD), slownik atrybutow, filtrowanie po atrybutach, wzbogacone atrybuty z tlumaczeniami"
|
||||
}
|
||||
@@ -1,4 +1,7 @@
|
||||
<b>ver. 0.301 - 22.02.2026</b><br />
|
||||
<b>ver. 0.302 - 22.02.2026</b><br />
|
||||
NEW - REST API wariantów produktów (CRUD), słownik atrybutów, filtrowanie po atrybutach, wzbogacone atrybuty z tłumaczeniami
|
||||
<hr>
|
||||
<b>ver. 0.301 - 22.02.2026</b><br />
|
||||
NEW - Ukrywalne filtry tabel, mobilna wersja szczegółów zamówienia
|
||||
<hr>
|
||||
<b>ver. 0.300 - 21.02.2026</b><br />
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?
|
||||
$current_ver = 301;
|
||||
$current_ver = 302;
|
||||
|
||||
for ($i = 1; $i <= $current_ver; $i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user