v4.1.0
What's Changed
Added
-
Added benchmark_validation.py script for comparing batch vs legacy validation performance #274
-
Added
--batch-sizeoption tobatchcommand for configurable chunk processing (default: 2000) #274
Changed
-
Implemented compiled validator caching using
@functools.lru_cacheto avoid recompiling JSON schemas #274 -
Implemented direct dictionary passing to worker processes via pickle instead of temp file I/O #274
-
Implemented pre-warming of schema cache before forking worker processes via Copy-on-Write #274
-
Allow both
--feature-collectionand--item-collectioninbatchandvalidatecommand interface #274 -
Updated batch command output format to match validate command, including all fields: version, path, schema, error_type, error_message, failed_schema, recommendation #274
-
Unified validator cache control with
--schema-cache-sizeoption to control both fetch/parse and compiled validator caching #274 -
Added input validation for
--batch-sizeoption (minimum value: 1) #274
Fixed
-
Fixed batch command error grouping to work with new validation message format #274
-
Fixed validator cache to respect runtime
--schema-cache-sizechanges via dynamic cache builder #274
Full Changelog: v4.0.1...v4.1.0