Releases: Language-Research-Technology/arocapi
Releases · Language-Research-Technology/arocapi
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)
v1.1.0
v1.0.5
v1.0.4
v1.0.3
v1.0.0
1.0.0 (2025-08-26)
Features
- add CORS support (93924b6)
- add mysql to docker (f50fc95)
- bootstrap fastlify (90660ac)
- implement rocrate path (e50e86a)
- implement search api (f7b0197)
- Make the API mountable (527b24e)
- start on entities (08c6d9b)
Bug Fixes
- catch errors (f860c67)
- clean up the dist dir before dev (690200a)
- database URL loading (b0d6a1a)
- move to node type stripping instead of tsx (c944bac)
- package.json name and description (2227bde)
- remove unneeded entries from tsconfig.json (4b489da)
- switch back to mysql 8 to avoide buffer errors (59e8672)
- update pnpm lock (254a2b5)