Commit Graph

5 Commits

Author SHA1 Message Date
118f1ee2ed Fix test suite and improve security documentation
- Removed broken test that referenced deleted customEndpointHandler
- Removed unused import for createPayloadRequest
- Added production security best practices to README including API key authentication example
- Added rate limiting example for production use
- Added client-side caching recommendations for performance optimization

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-03 14:24:10 +02:00
a6712666af Remove custom API endpoints in favor of Payload's native REST API
- Removed custom endpoint handler and endpoints directory
- Removed enableApi configuration option from plugin
- Updated client hooks to use Payload's native collection API
- Updated documentation to reflect API changes
- Updated view component to handle Payload API response format

The plugin now uses Payload CMS's built-in REST API for the feature-flags collection, which provides standard query syntax, pagination, and automatic access control enforcement.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-03 14:17:11 +02:00
0e39879684 Add security considerations to README for API access control and usage guidelines 2025-09-12 15:42:42 +02:00
81780ab7a9 Replace redundant components with updated feature flag hooks and views. Add comprehensive documentation and ESLint config for improved development workflow. 2025-09-12 15:35:44 +02:00
453b9eac7c Add Payload Feature Flags plugin with custom endpoints and configurations 2025-09-12 11:45:33 +02:00