All Release Notes
Audit Log now tracks Custom Object Changes
2 December 2021
Composable Commerce
HTTP API
Enhancement
Audit LogExtensibilityGraphQL
We have extended the abilities of Audit Log to include the tracking of changes made against Custom Objects. This enhancement will start tracking new Custom Object Changes made and these Changes will be automatically added into your Audit Log responses.
Changes:
- [API] Added the
view_key_value_documents:{projectKey}
scope. - [API] Added
key-value-document
to ChangeHistoryResourceType. - [API] Added AddPropertyChange.
- [API] Added RemovePropertyChange.
- [API] Added SetPropertyChange.
- [API] Added SetValueChange.
- [API] Added CustomObjectLabel.
- [GraphQL API] Added the following types to the graphQL schema:
CustomObjectLabel
,CustomObjectChangeInput
. - [GraphQL API] Added queries
customObject
andcustomObjects
. - [GraphQL API] Added
CustomObject
to the ResourceType enum.
The following change was introduced in terms of GraphQL SDL:
type CustomObjectLabel {container: Stringkey: String}customObjects(date: DateRangelimit: Intoffset: Intsource: Sourcetype: TypeclientId: StringuserId: StringcustomerId: Stringchanges: [CustomObjectChangeInput!]expand: Boolean): ChangeHistoryQueryResults!@auth(permissions: [view_audit_logview_productsview_ordersview_customersview_key_value_documents])customObject(id: String!date: DateRangelimit: Intoffset: Intsource: Sourcetype: TypeclientId: StringuserId: StringcustomerId: Stringchanges: [CustomObjectChangeInput!]expand: Boolean): ChangeHistoryQueryResults!@auth(permissions: [view_audit_logview_productsview_ordersview_customersview_key_value_documents])enum CustomObjectChangeInput {addPropertyremovePropertysetPropertysetValue}