Home

>

Tools

>

Payload CMS

>

Releases

>

Release 1.0.15

Payload CMS Release: Release 1.0.15

Tag Name: v1.0.15

Release Date: 8/4/2022

Payload CMS LogoPayload CMS

Payload 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.

TL;DR

Payload CMS v1.0.15 introduces a minor but important update that threads the forceNullable parameter through the buildObjectType function. This change improves type handling in GraphQL schemas, ensuring that object types can be properly marked as nullable when required. While this is a small update, it enhances the consistency and reliability of GraphQL schema generation within Payload CMS.

Highlight of the Release

    • Improved GraphQL schema generation with proper nullable type handling
    • Enhanced consistency in object type definitions

Migration Guide

No migration is required for this release. The changes are internal and should not affect existing implementations.

Upgrade Recommendations

This is a minor maintenance release that improves internal GraphQL type handling. While not critical, upgrading is recommended for all users to ensure consistent behavior with GraphQL schema generation, especially if you're working with complex object types that may need to be nullable.

To upgrade:

npm install [email protected]
# or
yarn add [email protected]

Bug Fixes

No specific bug fixes were documented in this release. The changes appear to be focused on internal code improvements rather than addressing specific issues.

New Features

No significant new features were added in this release. This update focuses on internal improvements to GraphQL schema generation.

Security Updates

No security fixes were included in this release.

Performance Improvements

No specific performance improvements were documented in this release. The changes are primarily related to type handling in GraphQL schema generation.

Impact Summary

This release has a low impact on existing Payload CMS implementations. The change to thread the forceNullable parameter through the buildObjectType function is an internal improvement that enhances GraphQL schema generation. Users who rely heavily on GraphQL queries with complex object types may notice more consistent behavior, particularly when dealing with nullable fields. No breaking changes were introduced, and no migration steps are required.

Full Release Notes

Statistics:

File Changed3
Line Additions15
Line Deletions12
Line Changes27
Total Commits2

User Affected:

  • Benefit from more consistent GraphQL schema generation with proper nullable type handling
  • Experience fewer edge cases when working with complex object types in GraphQL queries
  • May notice improved type safety when working with the GraphQL API

Contributors:

jmikrut