Home

>

Tools

>

Payload CMS

>

Releases

>

Release 0.10.11

Payload CMS Release: Release 0.10.11

Tag Name: v0.10.11

Release Date: 10/8/2021

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 v0.10.11 fixes a critical bug in the local API that prevented array and block data from being properly passed through. This is an important fix for developers using the local API to interact with array and block field types.

Highlight of the Release

    • Fixed critical bug in local API that prevented array and block data from being properly passed
    • Ensures consistent behavior between local API and other API endpoints
    • Improves reliability when working with complex field types

Migration Guide

No migration steps are required for this release. The fix is backward compatible and should work automatically after updating to v0.10.11.

If you were previously implementing workarounds to handle array or block data in local API calls, you can now remove those workarounds as the core functionality has been fixed.

Upgrade Recommendations

This is a recommended upgrade for all users who utilize the local API with array or block field types. The bug fix addresses a specific issue that could cause data inconsistency or loss when working with these field types through the local API.

To upgrade:

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

No configuration changes are required after upgrading.

Bug Fixes

Local API Array and Block Data Fix

Fixed a critical bug in the local API where array and block data was not being properly passed through API calls. This issue could cause unexpected behavior when:

  • Working with nested data structures
  • Attempting to access or manipulate array fields via the local API
  • Using block fields with the local API

The fix ensures that all data types, including complex nested structures like arrays and blocks, are properly handled and passed through the local API.

New Features

No new features were added in this release. This is a bug fix release focused on resolving an issue with the local API.

Security Updates

No security fixes were included in this release. The focus was on fixing the local API bug related to array and block data.

Performance Improvements

No specific performance improvements were included in this release. The focus was on fixing the local API bug related to array and block data.

Impact Summary

This release fixes a specific but important bug in Payload's local API functionality. The issue prevented array and block data from being properly passed through local API calls, which could lead to incomplete data or errors when working with these field types.

The fix ensures that all data structures, including complex nested ones like arrays and blocks, are handled correctly by the local API. This brings the local API's behavior in line with the REST and GraphQL endpoints, providing a consistent experience across all API interfaces.

While this is a small release in terms of code changes, it addresses a significant pain point for developers who rely on the local API for server-side operations involving complex field types.

Full Release Notes

0.10.11 (2021-10-08)

Bug Fixes

  • bug with local API and not passing array / block data (fd4fbe8)

Statistics:

File Changed3
Line Additions9
Line Deletions2
Line Changes11
Total Commits2

User Affected:

  • Can now correctly pass array and block data through the local API
  • No longer need to implement workarounds for handling array/block data in local API calls
  • Will experience more reliable data handling when working with complex field types

Contributors:

jmikrut