Commit Graph

7 Commits

Author SHA1 Message Date
bca558fad3 Update Payload dependencies to 3.56.0 and implement DefaultTemplate layout
- Updated all @payloadcms/* dependencies from 3.37.0 to 3.56.0
- Implemented DefaultTemplate from @payloadcms/next/templates with proper props structure
- Fixed TypeScript compilation by adding proper Locale type import
- Feature flags admin interface now wrapped in PayloadCMS default admin layout with navigation sidebar
- Verified build process works with updated dependencies

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-03 16:38:31 +02:00
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
3c06eba812 Bump version to 0.0.5 2025-09-28 18:19:36 +02:00
d0acfd058a Bump version to 0.0.5 2025-09-28 18:18:40 +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