Skip to content

0.1.5 - 2025-03-23

Choose a tag to compare

@github-actions github-actions released this 23 Mar 20:11

Release Notes

馃殌 Features

  • Indicator enum added with variants corresponding to valid values for the Indicator parameter.
  • AreaOrCountry enum added with variants for valid values of the "AreaOrCountry" parameter in BEA requests.
  • ItaFrequency and ItaFrequencies types added to represent valid values for the "Frequency" parameter of the ITA dataset in BEA requests.
  • SelectionSet enum added as an alternative abstraction to the SelectionKind enum.
  • Frequency::all method added to generate valid request parameters for all frequencies. Only implemented for a subset of datasets.
  • ItaDatum and ItaData types added to accomodate data responses for the ITA dataset. Iterator implemented for the Ita type. Ita::queue and Ita::iter methods added.
  • ITA variant added to the TryFrom impl for Results.
  • Convenience method ParameterValueTable::parameter_fields added to provide access to the value contained within the variant.
  • Added the Queue::load_par method to enable parallel loading through the rayon library.
  • The Dataset::initial_load_par method implements parallel queue loading for benchmarking purposes.

馃殰 Refactor

  • Internal macro impl_json_to_bea_error! added to facilitate conversion of JSON parsing errors to the umbrella internal error type.
  • Convenience function result_to_data added to convert a serde_json::Value representing a BEA result, to a serde_json::Value representing the Data portion of the Result. Steps a couple levels down the JSON value tree, preventing rightward drift in the caller.
  • lib.rs updated with added types.
  • Added check_indicators to mod.rs to provide access to unit tests.
  • ITA variant added to the download_summary function.

馃摎 Documentation

  • Comments added to the check_datasets test.
  • README.md updated with ITA stats.

馃И Testing

  • The check_indicators test ensures all values in the BEA response parse to valid Indicator variants.
  • Added check_indicators to unit tests.
  • Data download tests temporarily refocued on ITA for active development.

鈿欙笍 Miscellaneous Tasks

  • Incremental version to 0.1.4 in Cargo.toml.
  • Patch updates to jiff and reqwest dependencies.
  • Noise trimmed from tracing logs.
  • mod.rs updated to include added types.
  • ITA variant for Dataset added to path generation handling in App::destination method.
  • Loading benchmark added to test parallel loading with rayon.
  • Update to convenience commands in the justfile.

Download bears 0.1.5

File Platform Checksum
bears-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
bears-x86_64-apple-darwin.tar.xz Intel macOS checksum
bears-x86_64-pc-windows-msvc.zip x64 Windows checksum
bears-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

Verifying GitHub Artifact Attestations

The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:

gh attestation verify <file-path of downloaded artifact> --repo crumplecup/bears

You can also download the attestation from GitHub and verify against that directly:

gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>