Repository navigation
Releases
Releases · monumental-archive/edtf
v2.0.0
Immutable
release. Only release title and notes can be modified.
2.0.0 - 2026-11-23
Breaking
- the
pg14feature ofedtf-postgresis removed;
1.3.5 is the last release that has it.
🤖 Generated with Claude Code (#316) - Y-prefixed years of 19 or more digits (Y1E18 and
larger, in either spelling) no longer parse, and an oversized
exponent reports "year out of supported range" instead of "exponent
out of supported range".
--------- (#332) edtf_min/edtf_maxreturn-infinity/infinity
instead of NULL for a day outside the Postgres date range (before
4714-11-24 BC or after 5874897-12-31). Bounds in years ≤ 0 also change,
which is the fix.
--------- (#334)Notegains the variantEdtfCaseNormalized, so an
exhaustive match onNotemust handle it. Russian "xxxx" now reads as
the masked yearXXXX, not39XX.
--------- (#340)- edtf-wasm's Rust API no longer has its own
edtf_wasm::Summary;summarizereturnsedtf_core::Summary, with
the same fields and the same JSON. The JS surface is unchanged. (#373) 1868-1871~reads as1868~/1871~(was
1868/1871~);1914 or 1985~reads as1914~ | 1985~(was
1914 | 1985~); a range ambiguous on both sides reports every
combination instead of refusing. (#374)- before/after, century parts, BC centuries and "or"
lists now emit ISO's one-of sets ([..1916],[1800..1829],
[-0199..-0100],[1863,1864]), and centuries count from the year
divisible by 100.Note::OpenIntervalis nowNote::BeforeAfter,
Note::CenturyPartIntervalisNote::CenturyPartand
Note::BcCenturyIntervalisNote::BcCentury.
--------- (#378) Options::default_centuryisOption<Century>,
built withCentury::new(first_year); a value that is not a
century's first year no longer constructs, and the JS
defaultCenturyoption rejects it. (#382)Note::EdtfCaseNormalizedis renamed
Note::EdtfLettersNormalized, with the message "EDTF letters read in
either case or script; written as upper-case Latin". (#381)- every public type of edtf-core with a rule has private
fields and validating constructors;SetElement::Rangeholds a
SetRange;TimeShiftis a struct;Unenumerable::YearRangeOverflow
is removed; underserde,Edtfis its canonical string and no other
model type deserialises; edtf-calendars'Convertedno longer
deserialises andgregorian_to_julianno longer returnsInvalidDate.
--------- (#385) convertreturnsedtf_core::EdtfandConverted
is removed;CalendarErrorgainsMalformed;convertrefuses a
result EDTF cannot spell withOutOfRange. (#391)
Added
Changed
Fixed
- move edtf-postgres to pgrx 0.20.0 at rust 1.99.1 (#293)
- print the year i64::MIN without overflow (#333)
- skip a leading -- end-of-options marker (#336)
- read ranges and "or" sides through one grammar (#335)
- let before/after take a span, read sub-year codes (#339)
- update pgrx to 0.20.1 (#344)
- refuse century 0 as a bare left range endpoint (#346)
- hold the fuzz crate to msrv, clippy and deny policy (#354)
- lock file maintenance (#352)
- distribute a stated year to a typed xxxx year (#399)
- never split a range inside an iso date (#403)
- refuse a span by the end its row reads (#406)
- end no date unit at a hyphen number suffix (#409)
Documentation
- record the concept doi in the citation file (#264)
- re-point carlallenn/edtf links to monumental-archive/edtf (#287)
- correct the postgres matrix and three wrong doc comments (#375)
Testing
- adopt the canon's rust mutation leg (#275)
- pin the to_pg_date range guard's edges (#306)
- kill the parse_julian_parts sign-check mutant (#307)
- assert year 0 displays unsigned (#305)
- kill the 3 edtf-wasm mutation survivors (#308)
- kill or explain the edtf-core mutation survivors (#309)
- kill or explain the edtf-normalize mutation survivors (#311)
- commit the seed corpus and hold it to the fixtures (#314)
- add inputs that reach new code (#322)
- hold sql assertions in the corpus alone (#338)
- assert a february julian day number (#343)
- fuzz the normaliser and the relation algebra (#347)
- seed every reachable line and branch, measured per target (#350)
- record equivalent mutants at their sites (#359)
- sweep the bound conversion over the date range (#376)
- add inputs that reach new code (#377)
- search the arithmetic over every i64 year (#390)
- make the cli one function held by properties (#394)
- assert each general rule once, in every engine (#392)
- retire the parse target into roundtrip (#405)
- assert the composition rules once (#393)
CI
- adopt the canon's rust branch-coverage floor (#273)
- remove codecov.yml for the org's global yaml (#277)
- update canon to v1.72.0 and swap in the subject stubs (#317)
- update canon to v1.73.0 and adopt its fuzz floor lines (#320)
- update canon to v1.75.0 and drop the advisory ignore (#321)
Dependencies
v1.3.5
Immutable
release. Only release title and notes can be modified.
v1.3.4
edtf-wasm-v1.2.3
Immutable
release. Only release title and notes can be modified.
Other
- No code changes. Carries the release assets the 1.2.x line never got:
the v1.2.0, v1.2.1 and v1.2.2 publish runs all stalled in the registry
canary, after their crates had reached the registries. All three remain
valid, verifiable versions on crates.io/npm. The cause was the canary
pointing CARGO_HOME at an empty directory while running a toolchain
mise provisions against it, which hangs the first cargo call; fixed in
#135 and reproduced under test before the fix landed.
edtf-postgres-v1.2.3
Immutable
release. Only release title and notes can be modified.
Other
- No code changes. Carries the release assets the 1.2.x line never got:
the v1.2.0, v1.2.1 and v1.2.2 publish runs all stalled in the registry
canary, after their crates had reached the registries. All three remain
valid, verifiable versions on crates.io/npm. The cause was the canary
pointing CARGO_HOME at an empty directory while running a toolchain
mise provisions against it, which hangs the first cargo call; fixed in
#135 and reproduced under test before the fix landed.
edtf-normalize-v1.2.3
Immutable
release. Only release title and notes can be modified.
Other
- No code changes. Carries the release assets the 1.2.x line never got:
the v1.2.0, v1.2.1 and v1.2.2 publish runs all stalled in the registry
canary, after their crates had reached the registries. All three remain
valid, verifiable versions on crates.io/npm. The cause was the canary
pointing CARGO_HOME at an empty directory while running a toolchain
mise provisions against it, which hangs the first cargo call; fixed in
#135 and reproduced under test before the fix landed.
edtf-core-v1.2.3
Immutable
release. Only release title and notes can be modified.
Other
- No code changes. Carries the release assets the 1.2.x line never got:
the v1.2.0, v1.2.1 and v1.2.2 publish runs all stalled in the registry
canary, after their crates had reached the registries. All three remain
valid, verifiable versions on crates.io/npm. The cause was the canary
pointing CARGO_HOME at an empty directory while running a toolchain
mise provisions against it, which hangs the first cargo call; fixed in
#135 and reproduced under test before the fix landed.
edtf-cli-v1.2.3
Immutable
release. Only release title and notes can be modified.
Other
- No code changes. Carries the release assets the 1.2.x line never got:
the v1.2.0, v1.2.1 and v1.2.2 publish runs all stalled in the registry
canary, after their crates had reached the registries. All three remain
valid, verifiable versions on crates.io/npm. The cause was the canary
pointing CARGO_HOME at an empty directory while running a toolchain
mise provisions against it, which hangs the first cargo call; fixed in
#135 and reproduced under test before the fix landed.
edtf-calendars-v1.2.3
Immutable
release. Only release title and notes can be modified.
Other
- No code changes. Carries the release assets the 1.2.x line never got:
the v1.2.0, v1.2.1 and v1.2.2 publish runs all stalled in the registry
canary, after their crates had reached the registries. All three remain
valid, verifiable versions on crates.io/npm. The cause was the canary
pointing CARGO_HOME at an empty directory while running a toolchain
mise provisions against it, which hangs the first cargo call; fixed in
#135 and reproduced under test before the fix landed.
edtf-wasm-v1.1.2
Immutable
release. Only release title and notes can be modified.