Skip to content

v0.34.0

Latest

Choose a tag to compare

@aborruso aborruso released this 03 Dec 14:32
· 10 commits to main since this release

Minor release. Ships what landed on main after v0.33.2:

  • Breaking — TIME_PERIOD (#122, #126): get_data, get and run return TIME_PERIOD as the provider writes it (2025, 2024-Q1, 2024-03) instead of a date (2025-01-01). The period start is only an internal key for sorting and for the --end-period / --last-n cutoffs. Scripts that read TIME_PERIOD as a date (DuckDB year()/strftime, Polars .dt) need updating; parse_time_period() is still public. plot is unchanged.
  • CSV values (#122, #126): whole numbers are written without .0 (2676, not 2676.0), on stdout and in --out file.csv; JSON and Parquet keep the number.
  • -o json for data (#121, #125): get and run without --out print a JSON array of rows under -o json / OPENSDMX_OUTPUT=json; before, stdout was always CSV.
  • --end-period cutoff (#124, #125): periods starting after the last day of --end-period are dropped (ISTAT returns one period more). With --last-n N and --end-period, N+1 observations are requested and the last N per series within the range are kept. Weeks follow ISO 8601.
  • --query-file labels (#123, #126): a filter whose codelist is not cached gets its description by downloading the codelist; filters match dimensions case-insensitively.