Releases: OCR-D/core
Releases · OCR-D/core
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
v2.55.2
v2.55.1
v2.55.0
Added:
/workflow
endpoint that can handleocrd process
workflows and distribute jobs page-wise across workers, #1083, #1105, #1108, #1109
Changed:
- METS Server: Make sockets world-readable and -writable, #1098, #1099
- METS Server: Implement find_files support for
local_filename
andurl
, #1100 - Logging: consistent logger names derived from
ocrd.
, #1101 - Logging: consistent logging across the packages, including
ocrd_network
, #1101 ..
page range operator: allow single-page ranges, #1106, #1107
v2.54.0
Added:
- METS Server: providing concurrent additional access to the METS file for parallel processing, #966
- Web API: Cache jobs in the processing server with an optional callback once processed, #1069
- Web API: Lock pages output file groups of a workspace to prevent simultaneous non-additive access to workspaces, #1069
- Web API: Support job dependency for caching complete fully-deterministic workflows, #1069
- Web API: Processing server will start all ready requests, not just the first one, #1069
- Web API: Workers will create on demand, retry attempts configurable via
OCRD_NETWORK_WORKER_QUEUE_CONNECT_ATTEMPTS
, #1093 ocrd_utils.config
to collect all configuration based on environment variables in one place, #1081- Processor CLI: Warn if a given page ID cannot be found in METS, #1088, #1089
Changed:
- Processors now have
worker
andserver
subcommands, with separate --help, for starting processing worker/processor server, #1087 - Move
tf_disable_interactive_logs
(to silence keras/tensorflow print statements) toocrd_utils.logging
and do not call on module-level, #1090, #1091 - 🔥 We do now properly distinguish between original and local-file FLocat, original URL will not be changed for downloads anymore, #323, #1079
- 🔥 logging has been streamlined to be better usable as a library, #1080