0.5.10 (2021-04-14)
Bug Fixes
- feeds collectionSlug through me auth for graphql resolver (9ee2f9c)
Tag Name: v0.5.10
Release Date: 4/14/2021
Payload CMSPayload CMS is a modern, self-hosted headless content management system built with TypeScript, Node.js, and MongoDB. It's designed specifically for developers who want full control over their content management system while maintaining a powerful admin interface for content editors.
Payload CMS v0.5.10 fixes an authentication issue in GraphQL resolvers where the collectionSlug was not being properly passed through the me authentication process. This ensures proper authentication context when using the GraphQL API.
me resolverNo migration steps are required for this release. The fix is backward compatible and should work automatically after upgrading.
This is a recommended upgrade for all users who utilize GraphQL with authentication in their Payload CMS implementation, particularly those using the me resolver. The update is minor and fixes an authentication issue without introducing breaking changes.
collectionSlug was not being properly passed through the me authentication process for GraphQL resolversme resolver now have the proper collection context for authenticationNo new features were added in this release.
While not explicitly labeled as a security fix, the authentication improvement for GraphQL resolvers enhances security by ensuring proper authentication context is maintained when using the me resolver in GraphQL queries.
No specific performance improvements were included in this release.
This release addresses a specific authentication issue in the GraphQL API where the collectionSlug was not being properly passed through the me authentication process. While small in scope (only 32 additions and 9 deletions across 6 files), this fix is important for maintaining consistent authentication behavior between REST and GraphQL APIs. Users who rely on authenticated GraphQL queries, particularly those using the me resolver, will benefit from this update as it ensures proper authentication context is maintained.