Releases: dasch-swiss/dsp-tools
Releases · dasch-swiss/dsp-tools
v10.4.0
10.4.0 (2025-02-12)
Enhancements
Maintenance
- bump stack to 2025.02.02 (#1420) (0ebe609)
- optimise release process: deduce api commit hash from version tag (#1410) (ee1b39e)
- test: don't print user facing warnings during test runs (#1415) (55bff2e)
- Update uv.lock (#1404) (8e48113)
- validate-data: class structure of
InputProblem
(#1406) (7c6b6a6) - validate-data: harmonise datatype of
ValidationResult
parameters (#1416) (1ff12ac) - validate-data: make instance variable names uniform (#1407) (b02bd1e)
- validate-data: move mappers and constants to own file (#1409) (4057609)
- validate-data: simplify cardinality message construction (#1417) (29bccf7)
- validate-data: simplify mapping from violation to user facing problem (#1411) (06c0bc7)
- validate-data: simplify validation query class structure (#1408) (2319e6b)
v10.3.0
10.3.0 (2025-02-05)
Enhancements
- start-stack: remove special docker compose for validation (DEV-4548) (#1386) (a0f8116)
- validate-data: add
AudioSegment
andVideoSegment
(DEV-4464) (#1384) (0106a35) - validate-data: add permissions cardinalities (DEV-4528) (#1381) (2534792)
- validate-data: validate target of stand-off links (DEV-4443) (#1392) (b37d43c)
- xmllib: add footnotes helper functions (DEV-4561) (#1398) (c53aca8)
- xmllib: add helper function to create standoff link tags (DEV-4563) (#1401) (5714ba4)
Bug Fixes
- validate-data: add correct query parameter for requesting lists (DEV-4550) (#1388) (443a8da)
- validate-data: include LinkValueProperty in knora-subset and remove witespaces (DEV-4547) (#1385) (28699b6)
Maintenance
just clean
removes also built documentation site (#1402) (9c9045d)- bump dsp-ingest to v0.18.1 (#1403) (cd01da7)
- bump versions for 2025.02.01 (#1394) (dce7910)
- bump versions for 2025.02.01 #2 (#1397) (7719419)
- revert to previous version (#1395) (fd497ce)
- Update uv.lock after new release (#1382) (60a963c)
- xmllib: generalise escape reserved characters function (#1400) (2e57f4b)
Documentation
v10.2.0
10.2.0 (2025-01-23)
Enhancements
- validate-data:
seqnum
andisPartOf
(DEV-4242) (#1373) (832fc4f) - validate-data: improve performance time for SHACL construction (DEV-4523) (#1378) (a9bdaac)
- validate-data: prevent erroneous ontology for
seqnum
andisPartOf
(DEV-4517) (#1374) (070fef7) - validate-data: validate
hasComment
on values (DEV-4472) (#1371) (33f6339) - validate-data: validate
knora-api:Region
(DEV-4462) (#1380) (0b954d6)
Maintenance
- bump dependencies / fix new linter errors / format according to new formatter rules (#1368) (4d32cfb)
- bump versions for 2025.01.02 DSP release (#1379) (65f57e8)
- upgrade
rdflib
and fix typing (#1370) (adbe88c) - validate-data: add logging (#1377) (92f36c7)
- validate-data: change SHACLValidator structure (#1375) (57df7eb)
- validate-data: improve user message (#1363) (77684f0)
- validate-data: simplify internal representation of file values (#1367) (c9665ca)
v10.1.1
v10.1.0
10.1.0 (2025-01-15)
Enhancements
- xmllib: dsp-base resources: add checks and improve robustness of serialisation (DEV-4485) (#1354) (5b20bc0)
- xmllib: make checks for non-empty input consistent (DEV-4435) (#1353) (0acc6dd)
Maintenance
- bump start-stack to 2025.01.01 (#1364) (35d0e8f)
- upgrade
rdflib
dependency (#1351) (58ff473) - upload-files: stream big files (DEV-4469) (#1335) (201c515)
- validate-data: consolidate constants (#1358) (b60a40f)
- validate-data: make structure of deserialised dataclasses more generic (#1360) (5563ee0)
- xmllib: simplify serialisation of values (#1355) (895274b)
Documentation
v10.0.0
10.0.0 (2024-12-18)
⚠ BREAKING CHANGES
Enhancements
- remove support for knora-base:Annotation (DEV-4430) (#1314) (469473a)
- validate-data:
knora-api:LinkObj
(DEV-4463) (#1342) (f9dee0f) - validate-data: change message for files added to resources without representation (DEV-4453) (#1333) (738ad7f)
- validate-data: validate
DocumentRepresentation
,ArchiveRepresentation
,TextRepresentation
(DEV-4334) (#1331) (c3d69d2) - validate-data: validate
StillImageRepresentation
(DEV-4336) (#1330) (15cdf26) - validate-data: validate AudioFileValue (DEV-4332) (#1326) (e0988c6)
- xmllib: add examples to docstrings (DEV-4423) (#1316) (bfbc2ed)
- xmllib: ensure that non-empty lists are found during add multiple values (DEV-4421) (#1311) (44b1418)
- xmllib: expose lib through init and enable colored printing (RDU-39) (#1315) (c5f594d)
- xmllib: remove
add_comment
method from base resources if they are mandatory (DEV-4415) (#1307) (fc0f143) - xmllib: simplify creation of geometry-prop with classes (RDU-55) (#1300) (b8fb42f)
- xmlupload: add license / copyright as optional attributes in
iiif-uri
andbitstream
(DEV-4355) (#1293) (d401a49)
Bug Fixes
- ingest-xmlupload: remove leading slash (#1321) (ca3b2aa)
- remove wrong min cardinality for
hasComment
inLinkObj
(DEV-4465) (#1343) (0f0aa2e) - start-stack: allow erasing project on localhost (DEV-4422) (#1338) (0783bde)
- validate-data: ensure turtle files are in the distribution (DEV-4423) (#1313) (37846cf)
- validate-data: message of LinkValue in SHACL (DEV-4471) (#1344) (b90f043)
- xmllib: allow single quotes and plus in URI (#1332) (8285bb3)
- xmllib: check if richtext input is string like before value conversion (DEV-4418) (#1308) (5d35058)
- xmllib: correct
LinkObj
cardinalities according toknora-base
(DEV-4434) (#1317) (144d779) - xmllib: don't crash if comment input is
nan
(DEV-4399) (#1297) (d16769f) - xmllib: parse richtext correctly (DEV-4419) (#1309) (5a9d9e7)
- xmllib: remove outdated information in docstring (RDU-66) (#1347) (ac36864)
- xmlupload: inform user if resource transformation failed (DEV-4456) (#1336) (c797d78)
- xmlupload: stop complete crash if an error ocurrs during serialisation (DEV-4419) (#1310) (88b8350)
Maintenance
- bump start-stack to 2024.12.01 (#1329) (502b9f9)
- just:
just clean
: ignore errors (#1334) (4c0df87) - upgrade deps / fix new typing errors of types-lxml / resolve 1 warning (#1323) (7253422)
- validate-data: change deserialisation in preparation for dsp in-built resource validation (#1340) (fd92906)
- validate-data: change exclusion of properties from gui-order to
isEditable
(DEV-4281) (#1337) (d8867cd) - validate-data: change graph creation (#1346) (c0435bd)
- validate-data: rename cardinality turtle file (#1341) (acfd1f1)
- xmllib: change boolean conversion (#1324) (363fbb6)
- xmlupload: adapt intermediary resource transformation (#1319) (087ac5e)
- xmlupload: allow pretty printing bitstream and iiif-uri (DEV-4404) (#1306) (0e46387)
- xmlupload: correct
isSegmentOf
into the correct property name when parsing the XML (#1305) (a8098e8) - xmlupload: create intermediary class structure for data (#1304) (207a04f)
- xmlupload: create resource with rdflib (#1339) (f5d66a5)
- xmlupload: group file for the preparation of an upload (#1328) (78717d3)
- xmlupload: integrate intermediary class structure into upload (#1320) (9889219)
- xmlupload: serialise file values with rdflib (#1288) (e47d38c)
Documentation
- fix indentation and content of ingest-xmlupload ([#1301](https://github.com/dasch-swis...
v9.2.0
9.2.0 (2024-11-25)
Enhancements
- allow uploading JSON files as assets (DEV-4327) (#1267) (8f6be06)
- rename CLI command
xml-validate
tovalidate-data
(DEV-4219) (#1203) (8c10f83) - start-stack: make api version necessary for validation accessible through a flag (DEV-4200) (#1194) (081a6f2)
- validate-data: add unique value constraint (DEV-4202) (#1236) (595bb11)
- validate-data: check file value cardinality (DEV-4338) (#1264) (cefc466)
- validate-data: ensure only known resources are used (DEV-4268) (#1263) (dbbaefe)
- validate-data: make content validation conform with
dash
syntax (DEV-4233) (#1211) (2af7a69) - validate-data: validate
MovingImageRepresentation
(DEV-4333) (#1268) (4594ff9) - validate-data: validate cardinality with
dash:closedByTypes
(DEV-4231) (#1209) (e883cbb) - validate-data: validate generic content of values (DEV-4225) (#1208) (86042ff)
- validate-data: validate link value class type (DEV-4237) (#1215) (9e306c2)
- validate-data: validate list nodes (DEV-4131) (#1240) (332387a)
- validate-data: validate text value type (DEV-4209) (#1205) (cafca60)
- xmllib: add
create_label_to_name_list_node_mapping()
to lib (DEV-4293) (#1245) (c0cdbeb) - xmllib: add english and german to boolean value converter (DEV-4311) (#1260) (9b70810)
- xmllib: add factory method to resources (DEV-4189) (#1185) (99c76ea)
- xmllib: add helpers from
excel2xml
toxmllib
(DEV-4316) (#1261) (fb88558) - xmllib: add migration metadata to resources (DEV-4194) (#1190) (1784065)
- xmllib: add optional value to dsp base resource (DEV-4289) (#1244) (ef309ba)
- xmllib: change order of parameters in add values (DEV-4255) (#1232) (44b3d44)
- xmllib: check tags of richtext values (RDU-58) (#1282) (289251a)
- xmllib: create permissions (DEV-4192) (#1191) (cfe95aa)
- xmllib: rename add multiple function (DEV-4249) (#1223) (df5f87f)
- xmllib: rename default permissions enum (DEV-4248) (#1222) (8b5f858)
- xmllib: replace newline with XML tag (DEV-4195) (#1189) (3419b34)
- xmlvalidate: add CLI command (DEV-4119) (#1193) (1db3135)
- xmlvalidate: add save graph flag to CLI (DEV-4206) (#1199) (aa55a2f)
- xmlvalidate: reformat validation results graph (DEV-4133) (#1187) (e655d98)
- xmlvalidate: save large number of errors as csv (DEV-4208) (#1200) (841975a)
- xmlvalidate: send validation request to API (DEV-4177) (#1186) (57099e4)
- xmlvalidate: value type checks (DEV-4122) (#1197) (bf509cd)
Bug Fixes
- add missing dependency in xmllib (DEV-4254) (#1228) (26bd3dc)
- ci: pin the python version used in the CI (#1230) (ec75682)
- create: always respect admin status of user in JSON file (DEV-4239) (#1217) (0e3c654)
- ingest-xmlupload: correctly encode special chars / support absolute paths (DEV-4156, DEV-4166) (#1247) (435e283)
- ingest-xmlupload: strip leading
/
of absolute paths before sending to ingest (DEV-4300) (#1252) (695b189) - ingest: escape slash in filepath / improve error communication (#1291) (b580f89)
- validate-data: don't crash if list nodes have special characters (DEV-4299) (#1251) (e7871fc)
- validate-data: enable usage of other ontologies besides the default ontology (DEV-4263) (#1235) (a2f7959)
- validate-data: extract richtext as string if it starts with a tag (DEV-4280) (#1250) (71eaa23)
- validate-data: fix inheritance cardinality violations in properties (DEV-4278) (#1241) (e745e2a)
- validate-data: prevent SimpleText Class shape to be used at the wrong place (DEV-4224) (#1206) (e0e686f)
- validate-data: revert to exclusion of properties through gui-order (DEV-427...
v9.1.0
9.1.0 (2024-10-01)
Enhancements
- validate: reformat input XML data (DEV-4124) (#1164) (45af782)
- validate: Write SHACL Shapes Turtle File (api-shapes) (DEV-4120) (#1163) (afb2a21)
- xmllib: new functionality (RDU-38) (#1129) (1dc09f8)
- xmlvalidate: add cardinalitiy restrictions to resource (DEV-4121) (#1178) (d2536c7)
- xmlvalidate: get ontologies from API (DEV-4150) (#1171) (2e599bd)
- xmlvalidate: SPARQL create resource SHACL (DEV-4123) (#1174) (ff550b3)
Bug Fixes
- excel2json: write newlines correctly into the "description" field of the JSON file (RDU-45) (#1170) (889d11f)
- ingest-xmlupload: only convert absolute path from mapping CSV to relative path if necessary (#1176) (72ee250)
- progress bar recovers after resizing the Terminal window (DEV-4110) (#1161) (7b4cc12)
- start-stack:
--latest
flag ships latest versions of all backend components, instead of only API (DEV-4100) (#1159) (6bbec2c) - xmlupload: allow more URLs (#1177) (f9aa882)
- xmlupload: increase timeout for file uploads to 10 min (#1169) (a5766ee)
- xmlupload: subpar output of onto consistency check (DEV-3727) (#1143) (edb58a9)
Maintenance
- bump ruff (#1172) (e65c753)
- bump stack to 2024.09.01 (#1183) (28a9f1c)
- deps-dev: bump the all-dependencies group across 1 directory with 9 updates (#1148) (07910b6)
- migrate from poetry to uv (DEV-4040) (#1160) (6845b1a)
- Revert "chore: Fix tests not being executed on release-please branch" (#1158) (3af3d91)
- xmllib: make dsp built-in resources interface consistent (DEV-4186) (#1182) (1f10fb3)
- xmlupload: remove lineColor key from geometry value JSON object (DEV-4132) (#1166) (8169cce)
- xmlvalidate: change qname transformation (#1168) (9efe030)
- xmlvalidate: change structure of XML deserialisation (DEV-4125) (#1173) (50a35e3)
- xmlvalidate: rename test fixtures files (#1175) (b023c6d)
- xmlvalidate: replace value BN with IRI (DEV-4187) (#1181) (1a34288)