v5.7.0
5.7.0 (2024-01-31)
Enhancements
- excel2xml: find_date_in_string(): allow time spans of 1 day (DEV-3154) (#720) (59b5d16)
- excel2xml: make_bitstream_prop(): make file existence check opt-in (DEV-3113) (#709) (1f68943)
- excel2xml: support 2-digit-years in find_date_in_string() (DEV-2633) (#711) (15d3493)
- ingest-upload: create new ingest xmlupload cli command (DEV-3019) (#670) (5745190)
- ingest-xmlupload: add support for dumping HTTP requests (DEV-3167) (#729) (a02dda5)
- option for custom headers in HTTP requests (DEV-3145) (#702) (0cbc78a)
Bug Fixes
- add termcolor as main dependency (DEV-3149) (#706) (4f6cd6d)
- don't retry login when credentials are invalid (DEV-3224) (#763) (41d8217)
- excel2xml, xmlupload: allow commas in URLs (DEV-3183) (#742) (1ee6e36)
- excel2xml: make_text_prop: allow <, >, & in rich texts (DEV-3131) (#691) (228c79f)
- fix wrong resolution of merge conflict (DEV-3161) (#726) (c81c94d)
- fully mask passwords in logfile (DEV-3225) (#761) (87c03d4)
- include stack trace in log file (DEV-3157) (#723) (9046792)
- increase timeout to prevent doubled resources (DEV-3114) (#698) (930df8f)
- ingest-xmlupload: apply mapping.csv even if extension has wrong casing (DEV-3197) (#749) (bac7c79)
- ingest-xmlupload: file check: handle absolute vs. relative paths, save feedback file correctly (DEV-3162) (#727) (c6d2169)
- prevent crash when venv isn't activated correctly (DEV-3233) (#765) (6d339ed)
- properly log requests and their responses (DEV-3186) (#745) (8296254)
- restore authorization header after ConnectionError (DEV-3190) (#744) (d03be2a)
- retry mechanism again catches return codes in the 500 range (DEV-3177) (#740) (c927c21)
- xmlupload: retry on all non-OK response statuses (DEV-3214) (#754) (b85e806)
Maintenance
- add PermanentConnectionError to make BaseError slimmer (DEV-3192) (#741) (ed60319)
- add permission to test data (#768) (a4d93fc)
- add ruff rule to prevent TODO comments (#738) (e897496)
- add User-Agent header to HTTP requests (#737) (85e363b)
- avoid mutable default values in class attributes (DEV-3234) (#764) (1d9e5de)
- bump all dependencies (#734) (d3e238b)
- bump GitHub actions that use a deprecated NodeJS version (#766) (84e8ec0)
- bump start-stack to 2024.01.01 (#771) (2997c05)
- ci: move setup into reusable workflow (#715) (a3799ce)
- ci: revert changes related to merge queue (#719) (ff0e4fe)
- ci: set up merge queue (#717) (1c13f5f)
- connection: content type doesn't have to be parametrized (#752) (2c0febb)
- create: in normal workflow, don't rely on failing request (DEV-3220) (#757) (f9b9677)
- define poetry exec targets for all tools (#695) (c04356b)
- delete dead code in project context (#770) (5159b8d)
- don't log errors multiple times (DEV-3195) (#769) (0025784)
- don't send chat notification on post releases / release only on "feat" or "fix" (DEV-3148) (#707) (fd9b148)
- excel2json-properties: reorganise file (#776) (4b8c060)
- fix pypi.org publishing (#708) (ea56066)
- fix ruff PLR5501 (#774) (1f88112)
- get rid of dead code (#751) (f67eac2)
- get rid of http_call_with_retry (#694) (70f6808)
- get rid of shared.login() function (#714) (28806a0)
- hide stack trace from user (DEV-3158) (#724) (808c01c)
- improve package structure of unittests/cli (#713) (111c6df)
- improve performance with requests.Session object (DEV-3174) (#739) (43caaf9)
- log all HTTP requests, get rid of --dump flag (DEV-3171) (#731) (e2b0598)
- log all requests, also during retry (DEV-3213) (#759) (fd05080)
- make dev-release to pypi.org on every commit to main (DEV-3130) (#699) (b05690b)
- make post releases instead of dev releases (DEV-3130) (#705) (94b289d)
- make XmlUploadError a subclass of BaseError (#746) (12e406f)
- move session renewal into own method (#755) (7adc837)
- move to Python 3.12 (#696) (60f64a2)
- project_validate: fix one ruff PLR0912 (#775) (d7060d6)
- project-create: clean up one ruff PLR0912 and one PLR0913 (#772) (7902840)
- project-get: fix ruff PLR0915 (#773) (71b9b2a)
- PyPI authentication via API token (DEV-3143) (#703) (dd16ef4)
- refactor test_find_date_in_string (#710) (630df2c)
- remove duplicated & outdated docstrings from Connection protocol (#758) (2a04f5a)
- remove unused code (DEV-3152) (#712) (43cba62)
- replace bandit action by ruff's bandit ruleset (DEV-3026) (#722) (76203cf)
- resolve PLR0911 in call_requested_action() (#701) (855231e)
- split up models/helpers.py (#760) (f97cce8)
- tidy up connection class (#747) (eaa1158)
- tidy up Connection class (DEV-3191) (#748) (bd915ef)
- tidy up exceptions (#762) (03213ed)