Skip to content

Commit ca955af

Browse files
release: v0.7.2 (#74)
release v0.7.2
2 parents 4ca54ec + 55e4c64 commit ca955af

10 files changed

Lines changed: 561 additions & 442 deletions

File tree

.github/pull_request_template.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
## TLDR of changes
2+
3+
4+
## What kind of changes does this PR introduce?
5+
6+
__Tick all that apply__
7+
8+
- [ ] fix: A bug fix. Correlates with PATCH in SemVer
9+
- [ ] feat: A new feature. Correlates with MINOR in SemVer
10+
- [ ] docs: Documentation only changes
11+
- [ ] style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
12+
- [ ] refactor: A code change that neither fixes a bug nor adds a feature
13+
- [ ] perf: A code change that improves performance
14+
- [ ] test: Adding missing or correcting existing tests
15+
- [ ] build: Changes that affect the build system or external dependencies (example scopes: pip, docker, npm)
16+
- [ ] ci: Changes to CI configuration files and scripts (example scopes: GitLabCI)
17+
18+
19+
## Please check if the PR fulfills these requirements
20+
21+
- [ ] I have read and followed the [Contributing guidance](../CONTRIBUTE.md)
22+
- [ ] Docs have been added / updated
23+
- [ ] Tests and Linting in the CI are passing
24+
- [ ] Changes have been reviewed and approved by a Project Maintainer

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
## v0.7.2 (2026-04-02)
2+
3+
### Fix
4+
5+
- amend messaging for missing CSV fields check in ddb reader (#83)
6+
- ensure publish audit only captures information about the indivdual submission (#77)
7+
8+
### Refactor
9+
10+
- add extra clarification to the units presented in the file size row of the error report (#81)
11+
112
## v0.7.1 (2026-03-12)
213

314
### Fix

CONTRIBUTE.md

Lines changed: 37 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,42 @@
11
# DVE Contributing guidelines
22

3-
# Developer information
3+
__If you're planning to contribute to the DVE, please follow all the guidance below. Failure to follow the guidance in this document may result in your contributions being automatically rejected.__
44

55
## Getting started
66

7-
To begin with I would recommend that users read all the documentation available within the [docs](./docs/). It gives an overview of how the DVE works and how to work with the dischema json document.
7+
I would recommend that you read all the documentation available within the [docs](https://nhsdigital.github.io/data-validation-engine/). It gives an overview of how the DVE works and how to work with the dischema json document.
88

99
## General requirements
10-
To start contributing to the DVE project you will need the following tooling available:
10+
11+
To start contributing to the DVE project you will need the tooling listed within the `.tool-versions` or `mise.toml`. The following tools are required because...
12+
1113
| Tool | Version | Reason |
1214
| ---- | ------- | ------ |
13-
| `Python` | 3.7.17 | Currently supported version of `Python` for the DVE. |
14-
| `Poetry` | 1.4.2 | Build and venv tool used for the DVE. |
15+
| `Python` | 3.11 | Latest version of Python supported by the DVE. |
16+
| `Poetry` | 2.2.1 | Build and package manager tool used for the DVE. |
1517
| `Java` | java liberica-1.8.0 | `Java` version required for `PySpark`. |
16-
| `pre-commit` | 2.21.0 | Currently installed as part of the `poetry` venv but seperate installation is fine. |
17-
| `commitizen` | 3.9.1 | Like `pre-commit`, installed as part of the `poetry` venv but seperate installation is fine. This is used to manage commits and automated semantic versioning. |
18+
| `pre-commit` | 4.3.0 | Currently installed as part of the `poetry` venv but seperate installation is fine. |
19+
| `commitizen` | 4.9.1 | Like `pre-commit`, installed as part of the `poetry` venv but seperate installation is fine. This is used to manage commits and automated semantic versioning. |
1820
| `git-secrets` | Latest | Utilised as part of the `pre-commit` to ensure that no secrets are commited to the repository. There is a helper installation script within [scripts](/scripts/git-secrets/). |
1921

20-
Additionally, we have created a [asdf support](.tool-versions) and [mise-en-toml](.mise.toml) for those utilising `asdf` or `mise-en-toml` software.
22+
You can install all the developer requirements with the following command:
23+
24+
```bash
25+
poetry install --with dev
26+
```
2127

2228
## Testing Requirements
2329

2430
Testing requirements are given in [pyproject.toml](./poetry.toml#48) under `tool.poetry.group.test.dependencies`. These are always pinned versions for consistency, but should be updated regularly if new versions are released. The following core packages are used for testing:
2531
- [pytest](https://docs.pytest.org/en/stable/): Used for Python unit tests, and some small e2e tests which check coverage.
2632
- [behave](https://github.com/behave/behave): Used for full, business-driven end-to-end tests.
27-
- [coverage](https://coverage.readthedocs.io/en/7.10.7/): Used to get coverage for `pytest` tests.
33+
- [coverage](https://coverage.readthedocs.io/en/): Used to get coverage for `pytest` tests.
34+
35+
You can install these requirements with the following command:
36+
37+
```bash
38+
poetry install --with test
39+
```
2840

2941
## Linting/Formatting/Type Checking Requirements
3042

@@ -38,6 +50,12 @@ This mostly breaks down to:
3850

3951
We use these tools to ensure that code quality is not excessively compromised, even when working at pace.
4052

53+
You can install these requirements with the following command:
54+
55+
```bash
56+
poetry install --with lint
57+
```
58+
4159
## Installation for Development
4260

4361
We are utilising Poetry for build dependency management and packaging. If you're on a system that has `Make` available, you can simply run `make install` to setup a local virtual environment with all the dependencies installed (this won't install Poetry for you).
@@ -50,6 +68,16 @@ Tests should be run after installing the package for development as outlined abo
5068
- To check the coverage run `poetry run coverage report -m`
5169
- To run the behave tests, run `poetry run behave tests/features` (these are not included in coverage calculations)
5270

71+
## Committing
72+
73+
We use [commitizen](https://github.com/commitizen-tools/commitizen) to commit new changes. This ensures...
74+
75+
1. A consistent standard for the commit messages
76+
2. Generation of changelog from the commit messages
77+
3. Allows for automatic bumping of the version based on the changes
78+
79+
Please use `poetry run cz c` or `cz c` (if already in the venv).
80+
5381
## Submitting a pull request
5482

5583
If you want to contribute to the DVE then please follow the steps below:

docs/user_guidance/install.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ Once you have installed the DVE you are almost ready to use it. To be able to ru
8383

8484
| DVE Version | Python Version | DuckDB Version | Spark Version | Pydantic Version |
8585
| ------------ | -------------- | -------------- | ------------- | ---------------- |
86+
| >=0.7.2 | >=3.10,<3.12 | 1.1.* | 3.4.* | 1.10.16 |
8687
| >=0.6 | >=3.10,<3.12 | 1.1.* | 3.4.* | 1.10.15 |
8788
| >=0.2,<0.6 | >=3.10,<3.12 | 1.1.0 | 3.4.4 | 1.10.15 |
8889
| 0.1 | >=3.7.2,<3.8 | 1.1.0 | 3.2.1 | 1.10.15 |

0 commit comments

Comments
 (0)