Releases: dasch-swiss/dsp-tools
Releases · dasch-swiss/dsp-tools
v7.2.0
7.2.0 (2024-05-08)
Enhancements
- excel2xml: if value is not valid, print warning instead of raising an error (only where it is possible) (DEV-3571) (#938) (3ae536d)
- new-excel2json: new lists section and excel (DEV-3462) (#916) (92cf58d)
- start-stack: make pre-loaded projects on localhost optional (DEV-3560) (#932) (d8ab847)
Bug Fixes
Maintenance
- add DspToolsUserWarning class (#936) (fd0871d)
- add ruff ignore to pre-commit hook (#940) (9b14121)
- bump start-stack to 2024.05.01 (DEV-3612) (#944) (b1e5a46)
- deps-dev: bump jinja2 from 3.1.3 to 3.1.4 (#942) (5499e3b)
- deps: bump the all-dependencies group with 15 updates (#934) (548b6b4)
- fix typo (#927) (e52a8ce)
- prepend warning message with category (#937) (e5bbb83)
v7.1.3
7.1.3 (2024-04-24)
Bug Fixes
Maintenance
- add "Deprecated" section in release notes (#918) (8b24372)
- bump start-stack to 2024.04.02 (#923) (daacd16)
- bump versions of pre-commit hooks (#914) (7102e94)
- ci: fix ruff format checking (#915) (270dc6f)
- deps: bump idna from 3.6 to 3.7 (#912) (4c7bc29)
- fix excel2xml testdata (#921) (1771f5f)
- small fixes in pyproject.toml (#913) (ffa6cf3)
Deprecated
v7.1.2
7.1.2 (2024-04-10)
Bug Fixes
- excel2json: if gui_order is empty no warning is longer displayed (DEV-3469) (#908) (a278e3e)
- excel2properties no longer crashes if optional columns are missing (DEV-3468) (#907) (523d55b)
Maintenance
- add type annotations for pandas and networkx (#896) (bb0b3c6)
- bump start-stack to 2024.04.01 (#905) (04faeec)
- deps: bump the all-dependencies group with 10 updates (#894) (0e66199)
- remove .gitmodules file (#897) (64e4fe3)
- set api log level in docker-compose.yml (#899) (2a8d574)
Documentation
v7.1.1
v7.1.0
7.1.0 (2024-03-27)
Enhancements
- excel2xml: allow for single tags in XML text (DEV-3427) (#885) (c73b126)
- save warnings and errors in second file with loguru (DEV-3406) (#883) (7818325)
Bug Fixes
- create: fix crash when no project is on the server new error (DEV-3420) (#882) (ca9a674)
- xmlupload: don't stop xmlupload when resource is wrong (DEV-3419) (#880) (86795ec)
Maintenance
- bump start-stack to 2024.03.02 (#891) (ce8d6be)
- ci: make logging file available after e2e test (DEV-3436) (#887) (5825b3c)
- fix typo (#889) (be0ae62)
- remove timestamp from warnings.log (#888) (8fb0842)
- test: make tests smaller in test_excel2xml_cli.py (#884) (7418870)
- test: use regex.escape everywhere (#886) (d0061db)
Documentation
v7.0.0
7.0.0 (2024-03-13)
⚠ BREAKING CHANGES
Enhancements
- prompt before continuing when using an outdated version (DEV-3350) (#850) (38907fa)
- remove --verbose flag from xmlupload (DEV-3389) (#869) (1e2e170)
- resume an interrupted xmlupload (DEV-3323) (#853) (4acf841)
- resume-xmlupload: add option to skip the first resource (DEV-3412) (#878) (a53785f)
Bug Fixes
- add "packaging" as dependency (DEV-3368) (#856) (81508b0)
- create: fix crash when no project is on the server (DEV-3405) (#875) (9607799)
- don't retry on 404 project not found (DEV-3362) (#857) (5c19f60)
- don't retry on errors in the 400 range (DEV-3349) (#877) (c543274)
- ingest: ingest container must be part of knora-net (DEV-3370) (#858) (cd018ee)
- pypi: prevent that PR merged into PR is published to pypi (DEV-3394) (#871) (3d5e071)
- release-please: adapt version check (DEV-3363) (#854) (d04b731)
- resume-xmlupload: make it impossible to resume after all resources have been created (DEV-3398) (#865) (8aa5d30)
- resume-xmlupload: make resource counting more user friendly (DEV-3397) (#864) (2b5295d)
- xmlupload: don't crash if the project has more than 50 errors (DEV-3364) (#855) (a0be38e)
- xmlupload: don't loose elements when stashing standoff properties (DEV-3151) (#870) (c8e8966)
- xmlupload: exit with code 0 if xmlupload finishes with batch (DEV-3396) (#863) (8a15973)
- xmlupload: fix xmlupload text as xml when uploading stash (DEV-3361) (#851) (79a643a)
Maintenance
- bump start-stack to 2024.03.01 (#879) (b1c8262)
- connection: call specific error response codes (DEV-3339) (#832) (d8531bd)
- deps-dev: bump the all-dependencies group with 5 updates (#849) (4c8b942)
- excel2xml: better error message for invalid text values (#861) (914acd8)
- fix test_xml_validation_low_level.py (#837) (3e758c7)
- project create: add erroneously removed exc_info in logging (DEV-3294) (#866) (19d1f25)
- ruff reformatting (#867) (5ed62fc)
- ruff.lint.isort: force-single-line (#840) (fb3c1d9)
- test: make integration test excel2json (#841) (e5b0206)
- test: make integration test excel2xml (#842) (8b12f8b)
- test: make integration test general commands (#846) (0e61eef)
- test: make integration test ingest-xmlupload (#843) (fb58779)
- test: make integration test project (#844) (a7e0fc6)
- test: make integration test utils (#847) (089c41d)
- test: make integration test xmlupload (#845) (f80cc90)
- xmlupload (#852) (c8e6284)
Documentation
v6.0.0
6.0.0 (2024-02-28)
⚠ BREAKING CHANGES
Enhancements
- Remove fast-xmlupload command (DEV-3324) (#830) (0c9d077)
- xmlupload: check if text encoding in data conforms to type specified in ontology (DEV-3279) (#821) (449f780)
- xmlupload: check if the encoding in the text-prop is consistent (DEV-3296) (#818) (4ae8469)
Bug Fixes
- don't crash when dsp-tools is run offline (DEV-3338) (#833) (901b86d)
- excel2json: allow resources to have no cardinalities (DEV-3333) (#834) (b55224a)
Maintenance
- bump start-stack to 2024.02.02 (#836) (f83ce78)
- correct docs in regard to gui-element of hasComment (#816) (3f869d9)
- fix typo in check_consistency_with_ontology.py (#813) (bc01027)
- ontology_client: make retrieval of ontologies more flexible (DEV-3308) (#820) (327f61e)
- refactor validate xml in preparation for extension (#814) (652aa9f)
- remove docker as dependency (#835) (7f98945)
- renaming functions of ontology checks in xmlupload (#817) (e6b0e7d)
- test_xmlupload: separate tests (#824) (7333136)
- test: add pytest entrypoint (#823) (e31da78)
- test: test_shared.py turn into pytest (#826) (46e7743)
- test: test_upload_stashed_xml_texts.py turn into pytest (#825) (755323f)
- test: turn into pytest test_xmlupload.py (#827) (c0d1c97)
- test: turn xml_utils.py into pytest (#828) (e97084f)
- update data.xsd regarding TextValue encoding for hasComment (#811) (af86b94)
- xml_validation: turn into pytest (#815) (516a2de)
- xmlupload: improve parse xml function (#819) (9947607)
Documentation
v5.8.1
5.8.1 (2024-02-14)
Maintenance
- bump start-stack to 2024.02.01 (#806) (9080f47)
- models-project: remove all project update code (#802) (1aa39a1)
- models-user-project: delete dead code (#800) (12813bc)
- remove dead parameter in ontology client (#809) (8095ba3)
- remove sourcery (#805) (c3ccc36)
- rename value.py file into formatted_text_value.py (#807) (90af390)
- renaming functions in preparation for TextValue verification (#808) (9f06f3f)
- test-create-project: turn unittests into pytests (#804) (8c667a6)
v5.8.0
5.8.0 (2024-02-01)
Enhancements
Bug Fixes
- don't crash if pip is not found (DEV-3256) (#791) (15f6e31)
- xmlupload: don't retry on OntologyConstraintException (DEV-3255) (#783) (ef577ac)
Maintenance
- bump start-stack to hotfixed 2024.01.01 (#801) (b721fdd)
- delete dead code fragments (#792) (c5b9872)
- deps: bump the all-dependencies group with 8 updates (#787) (0c1a5e2)
- excel2json-lists: fix two ruff PLW0603 (#778) (5f53c38)
- model-project: fix one ruff PLR0912 (#782) (25ad02d)
- models-group: delete unnecessary action object (#794) (24fdc9f)
- models-listnode: delete actions object (#795) (f7a2ec9)
- models-listnode: delete dead code (#797) (fea23fd)
- models-ontology: delete actions object (#796) (28299fa)
- models-project: delete dead code (#798) (dcdbaaf)
- models-propertyclass: fix PLR0912 (#784) (51d4265)
- models-resourceclass: fix ruff PLR0912 (#788) (ed10c27)
- models-user: fix three ruff PLR0912 (#780) (820fc25)
- project_client: delete dead code (#793) (b5963de)
- project_validate: fix one ruff PLR0912 (#781) (9ccd2a7)
- propertyclass-resourceclass: delete dead code (#799) (d17b656)
- remove dead code with vulture (#790) (aba9aef)
- remove ruff ignore PLR0912 (Too many branches) (#789) (e93b049)
- test_create_get_xmlupload: fix one ruff PLR0912 (#785) (c09c0c6)
- use pytest's tmp_path fixture (#786) (c01a08f)
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)
- improv...