v2.0.0
2.0.0 (2025-12-11)
⚠ BREAKING CHANGES
- The rocrate JSON column has been removed from the Entity table.
RO-Crate metadata is now served exclusively via the roCrateHandler from external
sources (filesystem, S3, etc.) rather than being stored in the database.
Changes:
- Remove rocrate column from Prisma schema
- Add migration to drop the column
- Update seed script and loadEntities to not store rocrate
- Remove rocrate from OpenSearch index mapping
- Update all test files to remove rocrate from mock data
- Update documentation to clarify rocrate is not stored in DB
The /entity/:id/rocrate endpoint continues to work using the configured
roCrateHandler to serve RO-Crate data from external storage.
- memberOf and rootCollection fields now return objects
with {id, name} instead of string IDs. When the referenced parent entity
doesn't exist, the field returns null.
- Add EntityReference type for memberOf/rootCollection fields
- Add BaseEntity type for intermediate transformation state
- Add resolveEntityReferences helper for batch-fetching parent entities
- Update StandardEntity type to use EntityReference | null
This provides richer entity data without requiring additional API calls
to resolve parent entity names.