Migrating from 0.4
find, update and delete take documentId: string. Strapi 5 content routes do not accept a numeric id. Users and uploads still use a numeric id, because those plugins do.
findwith no id (the old "find all" call) is removed. UsefindFirst.- Every method returns
[error, data, meta]instead of[error, data].meta.paginationcarriestotalandpageCount.const [err, data] = ...still works; the third element is ignored. Tno longer has to declareid.ServiceErrorgainedname,detailsandcause. Strapi'serrorbody, validation details included, is copied into it.defaultLocaleis required. There is no"en"default.StrapiClientstays a shorthand for one collection and now takesdefaultLocale. It has nofiles,users(),single(),auth,route()orgraphql(). Usenew Strapi(...)for those.
The same notes are in MIGRATION.md, which npm and JSR ship with the package.