3.153.0 release notes
4 days ago by ReadMe API
- ⚠️ Breaking changes
- Added US address validation on Location endpoints (
POST /resources/locations/v2.0,PATCH /resources/locations/v2.0/{location}). WhencountryisUS,stateis now required andpostCodemust be a valid US ZIP code format. Additionally, the ZIP code is validated to match the providedstate. - Added US address validation on User v1.1 endpoints (
POST /resources/users/v1.1,PATCH /resources/users/v1.1/{user}). WhencountryisUS,post_codemust be a valid US ZIP code andstateis required (when the state profile field is enabled). The ZIP code is validated to match the providedstate.
- Added US address validation on Location endpoints (
- 🔧 Improvements
- When updating a US user via
PATCH /resources/users/v1.1/{user}, the existingcountry,post_code, andstatevalues are now used as defaults for ZIP code validation when those fields are not included in the request. This ensures partial updates are validated correctly against the full address context.
- When updating a US user via