v3.0.0
3.0.0 (2026-03-31)
⚠ BREAKING CHANGES
- Entity and File primary keys change from auto-increment
integers to string-based IDs. Entity.rocrateId is renamed to Entity.id,
File.fileId is renamed to File.id. File now has an entityId foreign key
to Entity instead of Entity having a fileId. Redundant fields removed
from File (memberOf, rootCollection, contentLicenseId).
Also includes:
- findFirst replaced with findUnique for primary key lookups
- Promise.all for parallel count+findMany queries
- Simplified transformer types (removed discriminated unions)
- Existing databases must run the migration to rename
tables from Entity/File to entity/file. - update to prisma 7.x
Features
- make geohashPrecision optional in search aggregations (#14) (9e4a546)
- return 422 for malformed OpenSearch query syntax (#15) (38280cb)
- update to prisma 7.x (117efa0)
- use string primary keys and normalise Entity/File schema (#19) (a864503)