You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(code-governance): add closePR method for PR cleanup (#44)
* feat(code-governance): add closePR method for PR cleanup
- Add closePR() method to close PRs without merging
- Optional deleteBranch parameter to also remove source branch
- Add closedAt field to PRRecord type
- Update tests for new constructor parameter
Enterprise feature requiring portal authentication.
* chore: update version to 2.2.0
* fix(planning): correct getPlanStatus endpoint path
Fixed endpoint path from /api/v1/orchestrator/plan/{id} to /api/v1/plan/{id}
to match agent proxy routes.
* feat(auth): standardize OAuth2 Basic authentication across SDK
- Update addAuthHeaders() to use OAuth2 Basic auth format
- Uses Authorization: Basic base64(clientId:clientSecret) header
- Remove non-standard X-Client-ID and X-Client-Secret headers
- X-License-Key retained as fallback for backward compatibility
- Add comprehensive tests for OAuth2 Basic auth
- Update CHANGELOG with authentication changes
* BREAKING: Remove licenseKey, use only OAuth2 Basic auth (v3.0.0)
- Remove licenseKey field from AxonFlowConfig
- Remove X-License-Key header support
- Simplify addAuthHeaders() to only use OAuth2 Basic auth
- Update all tests to check for Authorization: Basic header
- Update javadoc examples to use clientId/clientSecret
- Update README and CHANGELOG with breaking changes
Breaking Changes:
- licenseKey config option removed
- X-License-Key header no longer sent
- clientId and clientSecret are now required for enterprise features
* docs: Update README with v3.0.0 version and OAuth2 env vars
- Update version to 3.0.0 in Maven and Gradle examples
- Replace AXONFLOW_LICENSE_KEY with CLIENT_ID/CLIENT_SECRET env vars
- Update error handling comment to reference credentials
* fix(auth): make clientSecret optional for community mode
clientId is now the only required credential for features requiring auth.
clientSecret remains optional for community/self-hosted deployments
but is still validated server-side for enterprise mode.
Part of OAuth2 migration - PR #948
* feat(gateway): default empty userToken to 'anonymous'
In community mode without OAuth2, userToken is used for audit/tracking
purposes only. If null or empty, SDK now defaults to 'anonymous' so
callers don't need to handle the fallback themselves.
- Added default handling in ClientRequest constructor
* docs: refine changelog to v2.2.0 (non-breaking release)
- OAuth2-style auth is additive, not breaking (clientId/clientSecret optional)
- Removes breaking change framing for minor version bump
* fix: correct README version to 2.2.0
0 commit comments