Releases: OCR-D/core
Releases · OCR-D/core
v2.60.0
Fixed:
Changed:
cli.workspace.WorkspaceCtx
andResolver.resolve_mets_arguments
now have defaults formets_server_url
,mets_basename
andautomatic_backup
, slub/mets-mods2tei#68, #1156- 🔥 switch to
pyproject.toml
, derive version from git, separate build from install, #1065
v2.59.1
v2.59.0
Changed:
- Change web API paths to avoid any potential URL segment clashes, #1136, OCR-D/spec#250
GET /
->GET /info
POST /
->POST /run
/{job-id}
->/job/{job-id}
/{job-id}/log
->/log/{job-id}
Fixed:
- WorkspaceBagger: do not overwrite files in case of filename conflict, #1129, #1137
- Update apidocs to include
ocrd_network
, #1131
Added:
ocrd workspace update-page
to set attributes on themets:div
of a page, #1133, #1134ocrd workspace list-page
now has configurable output format and optional partitioning of the page list, #1140, #1141ocrd zip bag
,ocrd workspace merge
,ocrd workspace clone
now support whitelisting/blacklisting file groups, #356, #383, #506, #582, #1138, #1139- workflow endpoint supports storing and deduplicating workflows, #1143
Removed:
v2.58.1
v2.58.0
Fixed:
helpers.run_cli
: Handle bothint
andstr
log levels, #1121- bashlib: typo
ocrd_argv
->ocrd__argv
, #1122, #1123 processing workers: pass log level as string andHandle logging of bashlib workers separately, #1123 #1127initLogging
at the right time,ocrd workspace bulk-add
now supports-U/--mets-server-url
, #1126- bashlib: Support
-U
as alias for--mets-server-url
, #1126
Added:
v2.57.2
v2.57.0
v2.56.0
Changed:
- A separate logging dir tree structure for the modules (processing servers, processing workers, processor servers, mets servers, processing jobs). Configurable with env v
- Processing job-level logging - each job is logged into a separate file with format
{job_id}.log
- Processing job-level logging file paths are added to the Job models and preserved in the database.
- The
ocrd_network
logging is based on the format provided inocrd_utils
- Processing job-level logging - each job is logged into a separate file with format
- Support env variable
OCRD_NETWORK_SOCKETS_ROOT_DIR
for setting the root directory for METS server sockets, #1111 - An endpoint
/job/{id}/log
for getting the log file of a processing job of a processor, #1111