PowerShell 5.1 Out-File -Encoding UTF8 adds BOM (EF BB BF) which breaks SQL execution on production. Also fix manifest JSON serializing full PS objects instead of plain strings. - build-update.ps1: use UTF8Encoding($false) for all file writes - build-update.ps1: force .ToString() on Get-Content results - UpdateRepository.php: strip BOM and normalize line endings in executeSql - Rebuild ver_0.304 package files (clean SQL + manifest) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
23 lines
913 B
JSON
23 lines
913 B
JSON
{
|
|
"version": "0.304",
|
|
"date": "2026-02-22",
|
|
"checksum_zip": "sha256:98199d033813aadab54cbd6cb495218df5df8f7bc5467ddfb132e7e139aff893",
|
|
"files": {
|
|
"added": [
|
|
"updates/0.30/ver_0.303.zip",
|
|
"updates/0.30/ver_0.303_manifest.json"
|
|
],
|
|
"modified": [
|
|
"autoload/Domain/PaymentMethod/PaymentMethodRepository.php",
|
|
"autoload/admin/Controllers/ShopPaymentMethodController.php",
|
|
"templates/shop-basket/basket-payments-methods.php"
|
|
],
|
|
"deleted": []
|
|
},
|
|
"directories_deleted": [],
|
|
"sql": [
|
|
"ALTER TABLE pp_shop_payment_methods ADD COLUMN min_order_amount DECIMAL(10,2) DEFAULT NULL;",
|
|
"ALTER TABLE pp_shop_payment_methods ADD COLUMN max_order_amount DECIMAL(10,2) DEFAULT NULL;"
|
|
],
|
|
"changelog": "NEW - konfigurowalne limity kwotowe metod platnosci (min/max kwota zamowienia)"
|
|
} |