Visitar URL original
release v0.10.0 (#144) by georgeRobertson · Pull Request #144 · NHSDigital/data-validation-engine · GitHub
Skip to content

release v0.10.0 (#144) - #144

Draft
georgeRobertson wants to merge 47 commits into
mainfrom
release_v010
Draft

georgeRobertson wants to merge 47 commits into
mainfrom
release_v010

Conversation

@georgeRobertson

@georgeRobertson georgeRobertson commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

TLDR of changes

Features

  • feat: added new section within the dischema to store entity hierarchy information
    • feat: add orphan record identification and removal (duckdb and spark)
    • feat: group rejections for mandatory primary keys
    • feat: add facility to add additional checks at end of file transformation stage
  • feat: add empty_entity check post filters for mandatory entities
  • feat: add error_report config to toggle record rejection reporting

Fixes

  • fix: add user feedback message for unsupported file type
  • fix: change record rej ct to be eq to records processed when file rejected
  • fix: add entity into data contract details to deal with duplicate column definitions
  • fix: ensure that original entity details persisted in feedback messages for further processing
  • fix: ensure network and load_dtd are disabled in xml reading
  • fix: exit processing for files that fail file transformation
  • fix: refactor the join_header method in duckdb to deal with out of bound date values
  • fix: ensure that null records are not included in record counts when determining if entity empty
  • fix: adjust regex check for timezone offsets, allowing : to be included
  • fix: total no records rejected showing when it shouldn't
  • fix: ensure error summary sheet populates entities in deterministic way

Refactors

  • refactor: remove original entities
  • refactor: removed ods udfs as they were functionally useless
  • refactor: rename of error code and messages related to empty entities post business rules
  • refactor: uppercase all entity names in error report

Build

  • build: upgrade duckdb to v1.4
  • build: upgrade urllib3 from 2.7 to 2.8
  • build: upgrade typing_extensions from 4.15.0 to 4.16.0
  • build: min python version is now 3.11

Docs

  • docs: added json schema for entity relationships
  • docs: add dev classifier
  • docs: add documentation around entity relationships
  • docs: add error_reports to json schemas

What kind of changes does this PR introduce?

Tick all that apply

  • fix: A bug fix. Correlates with PATCH in SemVer
  • feat: A new feature. Correlates with MINOR in SemVer
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
  • refactor: A code change that neither fixes a bug nor adds a feature
  • perf: A code change that improves performance
  • test: Adding missing or correcting existing tests
  • build: Changes that affect the build system or external dependencies (example scopes: pip, docker, npm)
  • ci: Changes to CI configuration files and scripts (example scopes: GitLabCI)

Please check if the PR fulfills these requirements

  • I have read and followed the Contributing guidance
  • Docs have been added / updated
  • Tests and Linting in the CI are passing
  • Changes have been reviewed and approved by a Project Maintainer

* feat: added proposals for new models and objects to store entity hierarchy information

* docs: added json schema for entity relationships
@georgeRobertson georgeRobertson changed the title feature: add entity hierarchy handling (#143) release v0.10.0 (#144) Aug 25, 2026
georgeRobertson and others added 28 commits August 27, 2026 11:41
build: upgrade duckdb to v1.4
…ckground writer queue type and use in orphaned records implementation (#153)
* docs: update jsonschema for entity relationships to include group rej code+message
redundant in the grand scheme of things and was increasing the I/O overhead
* fix: exit processing xml files that fail XSD

* refactor: add CriticalFeedbackMessage which exits the pipeline asap

number of feedback messages to reduce and removal of specific error code+messages for certain readers to become generic ft_error_code/message
georgeRobertson and others added 18 commits October 9, 2026 10:43
refactor the advanced docs section
…n determining if entity empty (#182)

* test: additional tests with record index for entity empty check functions
)

Co-authored-by: vaibhavtiwari16 <249828730+vaibhavtiwari16@users.noreply.github.com>
* docs: update docs related to v0.10.0 release

* docs: fix typo in upperbound python version for v0.10.0
@sonarqubecloud

Copy link
Copy Markdown

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants