From fde02a113442af0c104086f74616433e84e588bc Mon Sep 17 00:00:00 2001 From: Seamus Lee <seamuslee001@gmail.com> Date: Wed, 8 May 2019 12:46:07 +1000 Subject: [PATCH] Add in Change log describing the changes made to API for dev/core#475 --- docs/api/changes.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/api/changes.md b/docs/api/changes.md index 50d8ff4f..3b0e4600 100644 --- a/docs/api/changes.md +++ b/docs/api/changes.md @@ -4,6 +4,10 @@ This page lists changes to CiviCRM core which affect the ways in which developer ## APIv3: Framework +### 5.12 Support for string 'NULL' as an accepted value for custom data fields + +The API has now been changed such that when setting the value of a custom field using the API if you pass the string 'NULL' then it will set the field value to be the String NULL not the database NULL. If you want the value to be truely NULL then you need to either not pass in the value or use 'null' instead + ### 5.8 Support for Extension Examples in the API Explorer. From 5.8 it is now possible for Extension authors to store examples for their API entities in a folder `<extensiondir>/api/v3/examples/<entity>/<file>` in the same structure as is in core. They will now be displayed in the API Explorer just like the core examples. -- GitLab