v4.0.6
This release connects to the v2 of the REST API and includes changes to request and response formats.
Improvements
- Lighter codebase, faster endpoints. In some cases, endpoint response times are up to 50% faster (non-cached).
- Consistent error responses with verbose messages.
- The Select Dropdown Metafield now includes both
key
andvalue
in the API response.
Changes
_id
has been changed toid
.type_slug
has been changed totype
.status
can now either bepublished
orany
(which returns latest Object version draft or published).query
is now the primary method for fetching and filtering Objects (Advanced Queries from v1). See Queries and Logic for examples.- Single Objects must now be fetched using
id
. To fetch byslug
, you will need to usequery
. metafields
are hidden by default.- Stricter user input requirements. No additional fields are possible in the body for
POST
andPATCH
requests. - There is a new, more secure token authentication strategy.