Production Hotfix Sync & Release Notes
Synced working production hotfixes and release portal content back into git in 3.4.3
Overview
v3.4.3 was the cleanup patch that brought the final working production hotfixes and release-portal state back into the repository, closing the drift between what was running in production and what was in source control.
MYOB Configuration Fixes
Environment variable bindings (services.yaml) - removed default:: wrappers from all MYOB env var bindings (e.g., %env(default::MYOB_BASE_URL)% became %env(MYOB_BASE_URL)%), making the env vars required rather than silently defaulting to empty strings. This was the final fix after v3.4.2 externalized the config but used overly permissive defaults.
Client constructor (MyobClient.php) - fixed entity URL construction to hardcode /entity/ in the path (the v3.4.2 extraction missed this segment), and changed the $company parameter to nullable (?string).
Connection diagnostics (ProjectInvoiceController.php) - the myobTestConnection endpoint was expanded from a simple login check into a multi-probe diagnostic. It now hits invoice ($top=1), customer list (with and without $expand=Results), and item list endpoints, reporting JSON validity, exception messages, result counts, and response previews. This was built during live production MYOB troubleshooting and kept as an operational diagnostic tool.
Release Portal Update
The releases site homepage (releases/app/(home)/page.tsx) was rewritten from showcasing v3.3 (Dossier-API Integration) to v3.4.2 (Platform Expansion & Hardening). Highlights, stats, timeline entries, and feature descriptions were all updated. The releases/content/docs/v3-4/ section was created with its initial index.mdx and meta.json.
Files Touched
| File | Change |
|---|---|
config/services.yaml | Modified - MYOB env var bindings |
Controller/Api/ProjectInvoiceController.php | Modified - expanded MYOB diagnostics |
Library/Myob/MyobClient.php | Modified - URL construction, nullable company |
releases/app/(home)/page.tsx | Modified - homepage rewrite |
releases/content/docs/index.mdx | Modified - latest release pointer |
releases/content/docs/meta.json | Modified - sidebar entry |
releases/content/docs/v3-4/index.mdx | Added |
releases/content/docs/v3-4/meta.json | Added |
Changelog Reference
fix: sync production hotfixes and release notes(#663)