Releases: pikulev/hario-core
Releases · pikulev/hario-core
v0.4.2
v0.4.1
v0.4.0
v0.4.0
- BREAKING: The old
flatten(which stringifies nested structures) is now calledstringify. - BREAKING: The new
flattenhas 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
flattentransformer that fully flattens nested HAR entries into a flat dict, with customizable key separator and flexible array handling viaarray_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_idtransformer 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
v0.3.1
- FIX real-world HAR compatibility: made nested fields like
postData.paramsoptional 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
pagesandpagereflinks. - 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.