Releases: Hochfrequenz/xml-fundamend-python
v0.21.0
What's Changed
- chore: set min version of ahbicht to 0.16 by @hf-kklein in #142
- fix: use
"SG\d+"
as Segment Group ID, not"\d+"
alone by @hf-kklein in #143
Full Changelog: v0.20.0...v0.21.0
v0.20.0
What's Changed
Min version of e-foli now is v2 => UTILMDS and UTILMDG are distinguished.
- build(deps): bump pylint from 3.3.6 to 3.3.7 by @dependabot in #138
- chore(ci): use dedicated dependabot org-secret to check out XML submodule by @hf-kklein in #140
- build(deps): bump efoli from 1.4.0 to 2.0.0 by @dependabot in #141
Full Changelog: v0.19.0...v0.20.0
v0.19.0
What's Changed
For all versions <0.19 the AhbReader and MigReader omitted Segments in between <Uebertragungsdatei>
and <M_FORMAT>
where FORMAT
is e.g, 'MSCONS' or 'UTILMD'.
The effect was, that you couldn't find and UNA, UNB or UNZ segments in neither the MIG nor the AHB (see issue #57 where you also find examples.)
We decided against modeling the Übertragungsdatei as separate class and add an extra hierarchy layer to our data model because since some XML AHBs/MIGs do contain the extra layer and others don't this would overcomplicate things for consumers with only little added value. Instead the respective segments are appended to the elements
before/after the segments from inside the <M_FORMAT>
tag and have a boolean flag is_on_uebertragungsdatei_level
which indicates if they are located outside the <M_FORMAT>
tag (true
).
- feat: Support
<Uebertragungsdatei>
inMigReader
(adds flagis_on_uebertragungsdatei_level
to MIGSegment
model) by @hf-kklein in #133 - feat: Support
<Uebertragungsdatei>
inAhbReader
(adds flagis_on_uebertragungsdatei_level
to AHBSegment
model) by @hf-kklein in #132 - feat: Add
Segment.is_on_uebertragungsdatei_level
to AHB(esser) View (the aggregated instead of only the bare data model) by @hf-kklein in #134
Full Changelog: v0.18.1...v0.19.0
v0.18.1
What's Changed
- fmt: format all
.sql
with jetbrains builtin sql formatter by @hf-kklein in #136 - fix:
segmentgroup_id
s always start w/SG
, neitherSGSG
nor by @hf-kklein in #135
Full Changelog: v0.18.0...v0.18.1
v0.18.0
What's Changed
- fix: use
EdifactFormat
as type for theformat
property of AHB & MIG by @hf-kklein in #129
Full Changelog: v0.17.2...v0.18.0
v0.17.2
What's Changed
- feat: re-add type of row to ahbesser view by @hf-kklein in #127
Full Changelog: v0.17.1...v0.17.2
v0.17.1
What's Changed
- chore: use typer echo instead of print by @hf-krechan in #126
- chore: bump ahbicht min-version (reduces number of invalid expressions) by @hf-kklein in #128
Full Changelog: v0.17.0...v0.17.1
v0.17.0
What's Changed
- feat: Prepare For Multi-Command CLI Interface by @hf-krechan in #121
Full Changelog: v0.16.0...v0.17.0
v0.16.0
What's Changed
- feat: join
v_ahbesser
with newly introducedahb_expressions
table by @hf-kklein in #125
Full Changelog: v0.15.0...v0.16.0
v0.15.0
What's Changed
- chore: move classes in sqlmodels sub-package; re-export in
__init__.py
by @hf-kklein in #120 - build(deps): bump typing-extensions from 4.13.1 to 4.13.2 by @dependabot in #119
- chore: include AHB PK in materialized AHB view by @hf-kklein in #122
- chore: Add Unique Constraints to Paket/Bedingung/Ubbedingung tables by @hf-kklein in #123
- Add
ahb_expressions
table + model class with bedingungstexts (usable ifffundamend[sqlmodels,ahbicht]
is installed) by @hf-kklein in #124
Full Changelog: v0.14.0...v0.15.0