Releases: Hochfrequenz/efoli.ts
Releases · Hochfrequenz/efoli.ts
Release list
v2.0.0
Breaking: input that previously returned a value now throws. Signatures are unchanged, so no compile error warns you.
getEdifactFormatVersion(new Date("nonsense"))returnedFV2704— the newest format version — because anInvalid Date's time isNaNand every comparison against it is false. It now throws. Any UI building aDatefrom free text needs atry/catch.getEdifactFormatVersionLabelreturnedundefinedfor anything outside the enum, and a native function for inherited keys like"toString". It now throws. A caller usinggetEdifactFormatVersionLabel(fv) ?? "unbekannt"goes from rendering a fallback to throwing.- A
CalendarDatethat is not a real date ({ month: 13 }, April 31st, February 29th in a non-leap year), whose components are not integers, or whose year lies outside 1–9999 now throws instead of being normalized into a neighbouring month.
See the README's new Validation section.
What's Changed
- Reject key dates that cannot denote a real instant by @hf-kklein in #15
Full Changelog: v0.1.0...v2.0.0
v1.0.0
Same code as v0.1.0 — same commit, no functional change — released as 1.0.0 to mark the package as production ready. The version number now reflects the maturity efoli.ts already had.
What's Changed
- Add format version FV2704 (valid from 2027-04-01) by @hf-kklein in #14
Full Changelog: v0.0.9...v1.0.0
v0.1.0
What's Changed
- Add format version FV2704 (valid from 2027-04-01) by @hf-kklein in #14
Full Changelog: v0.0.9...v0.1.0
v0.0.9
What's Changed
- Refuse to publish a release that is not on main by @hf-kklein in #13
Full Changelog: v0.0.7...v0.0.9
v0.0.8
v0.0.7
What's Changed
- feat: add getEdifactFormatVersionLabel by @hf-kklein in #12
Full Changelog: v0.0.5...v0.0.7
v0.0.6
v0.0.5
v0.0.4
What's Changed
- fix: copy working release workflow from TransformerBeeClient.ts by @hf-kklein in #10
Full Changelog: v0.0.3...v0.0.4
v0.0.3
What's Changed
- Add FV2610 and getEdifactFormatVersionValidFrom by @hf-kklein in #8
- Fix OIDC publish: remove registry-url from setup-node by @hf-kklein in #9
Full Changelog: v0.0.2...v0.0.3