Releases: TaskarCenterAtUW/TDEI-python-lib-osw-validation
Releases · TaskarCenterAtUW/TDEI-python-lib-osw-validation
v0.3.3
What's Changed
- [0.3.3] Fixed Task-2817 & Issue-2844 by @sujata-m in #52
- [0.3.3] Fixed Task-2817 & Issue-2844 by @sujata-m in #53
Changes
- Updated validation to surface uploaded ZIP names (not temp extract dirs) when structure errors occur.
- Clarified unsupported GeoJSON message to list allowed patterns as
*.{edges, nodes, points, lines, zones, polygons}.geojson; synced error template and tests. - Added unit coverage for additional-properties hint and structure error filenames; refreshed
unit_test_overview.md. - Bumped package version to
0.3.3and documented changes inCHANGELOG.md. - https://dev.azure.com/TDEI-UW/TDEI/_workitems/edit/2817
- https://dev.azure.com/TDEI-UW/TDEI/_workitems/edit/2844
Full Changelog: 0.3.2...0.3.3
v0.3.2
v0.3.1
0.2.16
v0.3.0
v0.2.15
v0.2.14
v0.2.13
v0.2.12
Added
- Per-geometry schema support: auto-picks Point/LineString/Polygon schemas with sensible defaults.
- Structured per-feature issues output (former “fixme”): one best, human-friendly message per feature.
- Friendly error formatter:
- Compacts
Enumerrors. - Summarizes
anyOfby unioning required keys → “must include one of: …”.
- Compacts
_feature_index_from_error()to reliably extractfeature_indexfromjsonschema_rserror paths._get_colset()utility for safe set extraction with diagnostics for missing columns.- Unit tests covering helpers, schema selection, and issues aggregation.
Changed
validate()now streamsjsonschema_rserrors; legacyerrorslist remains but is capped bymax_errors.ValidationResultnow includesissues.- Schema selection prefers geometry from the first feature; falls back to filename heuristics (
nodes/points,edges/lines,zones/polygons).
Fixed
- Robust GeoJSON/extension handling:
- Safe fallback to index when
_idis missing. - Non-serializable property detection in extensions (with clear messages).
- Safe fallback to index when
- Safer flattening of
_w_id(list-like) for zone validations.
What's Changed
Full Changelog: 0.2.11...0.2.12