Changelog
[Unreleased] - 2024-01-XX
Section titled β[Unreleased] - 2024-01-XXββ οΈ Breaking Changes
Section titled ββ οΈ Breaking Changesβ- ERP Connection Management: Changed authorization requirements for all ERP connection endpoints from
requireAuthtorequireAdmin, enforcing admin-only access:- Affected Endpoints:
GET /api/erp/connections- List connectionsPOST /api/erp/connections- Create connectionGET /api/erp/connections/[id]- Get connection detailsPUT /api/erp/connections/[id]- Update connectionDELETE /api/erp/connections/[id]- Delete connectionPOST /api/erp/connections/[id]/sync- Sync connection dataGET /api/erp/connections/[id]/access- List connection accessPOST /api/erp/connections/[id]/access- Grant connection accessDELETE /api/erp/connections/[id]/access/[targetUserId]- Remove connection accessGET /api/erp/connections/test- Test connection endpoints
- Previous Behavior: Any authenticated user could manage ERP connections
- New Behavior: Only admin users can manage ERP connections
- Impact: Non-admin users can no longer create, update, delete, sync, or manage access to ERP connections
- Migration: Ensure users who need to manage ERP connections have admin roles
- Documentation: See detailed migration guide for complete instructions
- Affected Endpoints:
-
GitHub Actions JSON Parsing Error: Fixed incorrect use of
fromJson()with string literals in deployment workflows. Changed fromfromJson(needs.build.outputs.web-built || 'false')toneeds.build.outputs.web-built == 'true'for proper boolean evaluation. -
Workflow Version Consistency: Standardized all GitHub Actions to latest stable versions across all workflows:
- Node.js & Package Managers: Updated to Node.js v20 and pnpm v10.11.1 consistently
- Core Actions: Updated to
actions/checkout@v4,actions/setup-node@v4,actions/setup-python@v5 - Artifact Actions: Updated to
actions/upload-artifact@v4,actions/download-artifact@v4 - Docker Actions: Updated to
docker/setup-buildx-action@v3,docker/build-push-action@v6 - Specialized Actions: Updated to
dorny/paths-filter@v3,cloudflare/pages-action@v1.3.0 - Security Actions: Updated to
aquasecurity/trivy-action@0.30.0,github/codeql-action/upload-sarif@v3 - pnpm Action: Updated to
pnpm/action-setup@v4across all workflows
-
Coolify CLI Issue: Replaced non-existent
@coolify/clipackage with webhook-based deployment approach:- Removed CLI installation and authentication steps
- Implemented webhook triggers for each service deployment
- Updated required secrets from authentication credentials to webhook URLs
Updated
Section titled βUpdatedβ- Documentation: Updated GitHub README and deployment guides to reflect webhook-based approach
- Secrets Configuration: Changed required secrets from Coolify credentials to webhook URLs:
COOLIFY_STAGING_WEBHOOK_WEB,COOLIFY_STAGING_WEBHOOK_PDF_API,COOLIFY_STAGING_WEBHOOK_PDF_WORKERCOOLIFY_PRODUCTION_WEBHOOK_WEB,COOLIFY_PRODUCTION_WEBHOOK_PDF_API,COOLIFY_PRODUCTION_WEBHOOK_PDF_WORKER
Technical Details
Section titled βTechnical Detailsβ- Fixed conditional deployment logic in
deploy-staging.ymlanddeploy-production.yml - Standardized GitHub Actions versions across
branch-protection.ymlandci-cd-pipeline.yml - Implemented proper webhook-based deployment pattern for Coolify integration
- Updated troubleshooting documentation to reflect webhook approach