Releases: Language-Research-Technology/arocapi
Releases · Language-Research-Technology/arocapi
v2.0.4
v2.0.3
v2.0.2
v2.0.1
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.
Features
v1.2.2
v1.2.0
1.2.0 (2025-10-30)
Features
- add development server with file handler and Oni UI integration (0dba3e4)
- add entity transformer system (7c639de)
- add file and RO-Crate handler system with streaming support (cffe023)
- add support for File entity type (edab2bb)
- add tests (dde7485)
- create dummy data for development (747c774)
- refactor in line with latest API changes (7bc19d8)
- switch entityType to a string so we don't restrict upstream types (24b9e72)
Bug Fixes
- add migration for entityType (56c1dc5)
- broken types from test additions (e12d7a0)
- fixes after testing against oni (32b1b87)
- issues picked up in review (f0587b1)
- make changes for upcoming prisma v7 (bfce95a)
- recordType is now a scalar (8b064cc)
- vite 4 uses esbuild and needs v8 ignore comments preserved (29de4ad)
- vite4 has better coverage detection - fill in the blanks (8f3829e)