Skip to content

Releases: Hochfrequenz/efoli.ts

v2.0.0

Choose a tag to compare

@hf-kklein hf-kklein released this 09 Sep 09:55
f81e055

Breaking: input that previously returned a value now throws. Signatures are unchanged, so no compile error warns you.

  • getEdifactFormatVersion(new Date("nonsense")) returned FV2704 — the newest format version — because an Invalid Date's time is NaN and every comparison against it is false. It now throws. Any UI building a Date from free text needs a try/catch.
  • getEdifactFormatVersionLabel returned undefined for anything outside the enum, and a native function for inherited keys like "toString". It now throws. A caller using getEdifactFormatVersionLabel(fv) ?? "unbekannt" goes from rendering a fallback to throwing.
  • A CalendarDate that 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

Choose a tag to compare

@hf-kklein hf-kklein released this 09 Sep 08:18
2da073f

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

Choose a tag to compare

@hf-kklein hf-kklein released this 09 Sep 08:17
2da073f

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

Choose a tag to compare

@hf-kklein hf-kklein released this 19 Aug 11:03
ea845e7

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

Choose a tag to compare

@hf-kklein hf-kklein released this 27 May 15:33
bb26102

Add getEdifactFormatVersionLabel

v0.0.7

Choose a tag to compare

@hf-kklein hf-kklein released this 27 May 15:26
bb26102

What's Changed

Full Changelog: v0.0.5...v0.0.7

v0.0.6

Choose a tag to compare

@hf-kklein hf-kklein released this 27 May 15:21
ba7f00f

Retry with Trusted Publisher configured

v0.0.5

Choose a tag to compare

@hf-kklein hf-kklein released this 27 May 15:12
ba7f00f

Test release for OIDC publish fix (setup-node@v6)

v0.0.4

Choose a tag to compare

@hf-kklein hf-kklein released this 27 May 14:46
88700d0

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

Choose a tag to compare

@hf-kklein hf-kklein released this 27 May 14:28
d9c6eea

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