Skip to content

Releases: pikulev/hario-core

v0.4.2

14 Jun 23:32
0d509dc

Choose a tag to compare

v0.4.2

  • FIX: Fixed serialization of extended fields (e.g., DevTools) in HarLog dump. Now all additional fields are correctly preserved when calling model_dump().

v0.4.1

14 Jun 20:53
5e31057

Choose a tag to compare

v0.4.1

  • FIX: Removed the mistakenly added rich dependency from the requirements.

v0.4.0

14 Jun 10:04
c13de58

Choose a tag to compare

v0.4.0

  • BREAKING: The old flatten (which stringifies nested structures) is now called stringify.
  • BREAKING: The new flatten has different behavior—please update your code if you relied on the old flatten logic.
  • BREAKING: Pipeline now requires a list of transformers and a PipelineConfig instance (no more id_fn/id_field in constructor).
  • BREAKING: Pipeline.process now expects a list of dicts (e.g., from HarLog.model_dump()["entries"]).
  • New: Introduced a new flatten transformer that fully flattens nested HAR entries into a flat dict, with customizable key separator and flexible array handling via array_handler. Designed for advanced analytics and BI.
  • New: PipelineConfig class for configuring batch size, processing strategy (sequential/thread/process/async), and max_workers.
  • New: Parallel and batch processing strategies for large HAR files (process, thread, async).
  • New: Benchmarks and benchmarking scripts for pipeline performance (see benchmarks/).
  • New: All transformers (flatten, normalize_sizes, normalize_timings, set_id) are now implemented as picklable callable classes, fully compatible with multiprocessing.
  • New: set_id transformer for assigning IDs to entries using any function (e.g., by_field, uuid).
  • Internal: Test suite and samples updated for new API and real-world HAR compatibility.

v0.3.1

10 Jun 20:42

Choose a tag to compare

v0.3.1

  • FIX real-world HAR compatibility: made nested fields like postData.params optional in models, so parsing DevTools and other real HAR files is more robust.
  • All test samples are now based on real HAR data with valid pages and pageref links.
  • Documentation and comments are now only in English.
  • Added section on extensibility and DevTools support to the docs.
  • Minor fixes for mypy/flake8 compatibility and test infrastructure.