Changelog & Roadmap¶
CPRMV has two version numbers (why). A release (vYYYY.MM.N) is what runs on production: /health reports it as release, it tags the image and it names the release's bill of materials. The vocabulary and API version (0.4.3) is the version of the CPRMV vocabulary, its specification and the API's routes and namespaces; it changes only when they do, and several releases can share it.
Releases¶
Releases are numbered since 27 November 2026 and have no changelog of their own in the repository; each entry below is written from the release's pull requests.
v2026.11.1 β A Safe Reference Redirect and the First Semgrep Triage (November 2026)¶
What
/refanswers: GET /ref. How it resolves a reference: Reference Resolution. Where scan decisions are recorded: CI/CD. The tests: Testing.
Vocabulary and API version 0.4.3, unchanged. Production runs 0c4d236 since 27 November 2026, promoted by #45 after the release pull request #44 into acc.
/refno longer echoes the request's headers (#40, closing open-regels/cprmv#1)./reftakes nox-api-keyheader any more, and its307carries none of the request's headers: a client sends its own headers to the new location./rulesand/rawstill pass the caller'sx-api-keyon to a source that needs it./refredirects only to this API or to EU CELLAR. The Semgrep triage found an open redirect on the same route: the ELI method put the raw reference into its SPARQL query to CELLAR, so a crafted reference could rewrite the query and choose the item/refredirected to. The ELI method now answers only a reference of URI-safe characters afterhttp://data.europa.eu/eli/that matches its reference format, and returns nothing for any other, without querying CELLAR./refthen redirects only to a path on this API (not//host) or to anhttporhttpsURL onpublications.europa.euwithout user info, never to a target with a backslash or a control character, and answers anything else as not a valid or supported reference. A malformed Juriconnect reference, which used to fall through to the CELLAR query and fail with500, gets that answer too.- The first Semgrep triage (#39). Code findings that are false positives are suppressed inline, each with its reason above
# nosemgrep:and the full rule id: theurlopencalls incore_web.py,frbr_sru.pyandeli.py, the method loader's import inserve.py, and the/refredirect.SECURITY-PIPELINE.mdsays where each kind of decision is recorded and records one accepted Code finding, the unversioned Logiusrespec-nlgov.jsinhtml/index.html, which has nointegrityhash because Logius replaces it in place. Therespec-mermaidscript on the same page now carriesintegrityandcrossorigin. - Dependencies. In the image:
click8.5.1,caio0.12.10 andannotated-doc0.0.6. For development only:virtualenv21.14.9 and 21.14.13,filelock4 andblack26.10.1, all security fixes, anddistlib0.4.4.safetyis no longer in thetoolsextra (#36). The release's bill of materials isdocs/sbom/cprmv-api-v2026.11.1.cdx.json(98 components), and the Release SBOM run passed. - Deployed. CI run 50 published
0c4d236, the stable VM reported it running at 17:22:38 UTC, anddeploypassed. - Tests. pytest collects 26 tests, all passing in 6.99 s, measured on 28 November from a scratch export: 19 new in
serve_api/test/test_ref.py, which run offline against a fake CELLAR, and the 7 oftest_serve.py, whose reference test no longer reaches CELLAR. CI run 50 passed them and the 69 bats tests, unchanged. The SBOM script's 75 tests passed in the Release SBOM run; locally 74 passed and the one that runs the real CycloneDX tool was skipped, because the tool was not installed.
v2026.11.0 β Release Numbers, a Bill of Materials per Release, and CPRMV on GitHub (November 2026)¶
How a release is cut: CI/CD. What
/healthreports: GET /health. How each tier deploys itself: VM Deployment. The tests: Testing.
Vocabulary and API version 0.4.3, unchanged. Production runs 502a351 since 27 November 2026, promoted by #35.
- A release number beside the version. A release is numbered
vYYYY.MM.N:.0is the month's first release, and the count restarts each month. The number is kept inserve_api/RELEASE, which only a release writes; CI checks it, fails the build on anything but one linevYYYY.MM.N, and builds it into the image, and/healthreports it asrelease, betweenenvironmentandbuild. On production the image is also taggedv2026.11.0. Acceptance reports the last release its code is at or after, andbuild.shasays exactly what runs. No git tags, no GitHub Releases. /bump-release. A Claude Code command in the repository cuts a release: it reconciles the open pull requests, computes the next number, asks whether the vocabulary version changes too (it does not raise it itself), opens the release pull request intoaccand thenaccintomain, checks that both production hosts report the release, and pushesmainto GitLab, which publishes the specification. It never merges a pull request and never pushes toaccormain; a maintainer merges both.- A bill of materials per release. Each release commits a CycloneDX 1.6 SBOM of the shipped Python dependencies,
docs/sbom/cprmv-api-v2026.11.0.cdx.json(98 components), generated deterministically from the hash-lockedserve_api/requirements.txt. A new workflow, Release SBOM, fails a release pull request whose SBOM does not match the requirements, and a push tomainwithout a release number or its SBOM; it keeps a copy as a 90-day artifact and is not a required check. The release is in the file's name only: inside, the root component iscprmv@0.4.3, the vocabulary version.cprmv-api-0.4.3.cdx.jsonrecords what production ran before release numbers, and is byte for byte the same file, because the release changed no dependency. The image carries its own SBOM attestation in GHCR, which covers the Debian packages. - Developed on GitHub. Since 26 November 2026 (#26, #28, #31, production at
8f01b2b) development, issues and CI are at open-regels/cprmv, default branchacc; GitLab keeps only the job that publishes the specification. Rulesets onaccandmainrequireaudit,scan,testandbuildbefore a pull request merges. Actions are pinned to commit hashes, the Python and Caddy images by digest, and both requirements files carry hashes; Renovate moves them after 14 days, and a dailypip-auditfails on any advisory in a shipped package. Six shipped packages with advisories were upgraded on the way, among themfastmcpto 4.1.8. The image moved from Docker Hub toghcr.io/open-regels/cprmv-api, with a provenance attestation, and the Docker Hub Compose file is gone. - Each tier deploys itself. Each tier runs on its own Azure VM, which deploys the head of its branch within minutes of the merge, checks it, and restores the previous deployment if the check fails;
cprmv.open-rules.euis served by the stable VM./healthreports the environment, the release, the commit and run the image was built from, and its digest. For this release, CI run 21 published502a351, the stable VM reported it running at 08:58 UTC, anddeploypassed. - Tests. pytest collects seven tests, all passing, measured on 27 November from a scratch export; the new one checks that
/healthreads the release on every request. CI run 21 passed them and 69 bats tests, 15 of them new forscripts/read-release.sh. The SBOM script has 75 tests of its own, which the Release SBOM run passed; locally 74 passed and the one that runs the real CycloneDX tool was skipped, because the tool was not installed.
Vocabulary and API versions¶
This changelog is maintained starting from CPRMV / CPRMV API v0.4.0. Usage of earlier versions is deprecated and at own risk. Note that CPRMV / CPRMV API still is highly subject to change.
v0.4.3 (November 2026)¶
What a RuleSet is now: CPRMV Vocabulary. The new sources: Publication Repositories. The new endpoints: API Endpoints. The tests: Testing.
v0.4.3 - CPRMV
- Updates URIs and documentation to mention
0.4.3instead of0.4.2(vocabulary namespacehttps://standaarden.open-regels.nl/standards/cprmv/0.4.3#). - A RuleSet is an FRBR Endeavor.
cprmv:RuleSetis a subclass offrbr:Endeavorinstead offrbroo:F1_Work, so a rule set can be a Work, an Expression, a Manifestation or an Item; it is also aprov:Bundle, andcprmv:Ruleaprov:Entity.cprmv:isBasedOnbecomes a subproperty offrbr:relatedEndeavour(and stays one ofprov:wasDerivedFrom). - Instruments.
cprmv:InstrumentwithStandard,ToolandMethod; acprmv:RuleMethodis acprmv:Method. cprmv:AgreementEchelonis renamedcprmv:NaturalEchelon, in the vocabulary and the SHACL shapes.- Method modules. A module bundles methods (
cprmvmethods:hasMethods): new arecore.api,iou(IOU Norms and Operaton),digitaal-stelsel-omgevingswet(DSO, with DSO as a service register),register-overheids-organisaties(ROO, an organisation register) andsttr. The Normenbrief method gives way toiou-norms. - The ReSpec documentation has two new introductory chapters, a chapter per method module with links to working examples, a class diagram per OWL class, examples and links to the RDF definitions. The PDF version builds again. The Pages job no longer builds the ReSpec; it publishes the committed output (the in-CI build failed on the release merge, pipeline #821).
v0.4.3 - CPRMV API
- Supports CPRMV 0.4.3; serve-API and methods namespaces
https://cprmv.open-regels.nl/0.4.3/β¦. The committedserve_api/data/is now whatmake methodsgenerates, so/methodslists every acknowledged method. - New sources. Organisations from the Register van Overheidsorganisaties (
ROOβ¦), norms from the IOU Norms API (IOU-NORMS_β¦) and STTR decision models from the DSO (DSO_β¦), each with the service and competent authority it belongs to where the source says so. A DSO request needs the caller's own DSO key in thex-api-keyheader, which the API passes on. /raw/{rule_id_path}returns the original publication as a download. The RuleSet no longer carriesprov:wasDerivedFrom;/rawserves what it was derived from./methodstakes amethod_name, and/0.4.3/methods/{method_name}is meant to give one method's knowledge, so that method URIs in the ReSpec resolve; it returns the node typed by that method, or the whole graph when there is none (open-regels/cprmv#2).- The EU CELLAR helper endpoints
/cellar-by-celexand/cellar-by-eliare removed;/refstill resolves ELI references to Formex 4 on EU CELLAR. - MCP is reachable. The MCP server is mounted at
/mcp/on the API itself, after every route, and answers on all three hosts. This replaces thecombined_appof the October fix (standards/cprmv#31). - The Docker image includes
serve_api/methods/. test_get_rootexpects0.4.3; nothing else in the tests changed. Atd597671pytest collected 3 tests inserve_api/test/test_serve.pyand 3 passed in 6.68 s, measured on 24 November from a scratch export on Windows with Python 3.14.3 (the pinnedrequirements-dev.txtwithoutuvloop, pluspywin32andcolorama); CI on Linux (pipeline #824) passed the same suite. Ten tests are still commented out; see Testing.
Found while documenting it. The /ref redirect carries the request's own headers back to the caller, the x-api-key with them (open-regels/cprmv#1); fixed in v2026.11.1. open-regels/cprmv#2 collects the rest: /0.4.3/methods/{method_name} and method_name return the whole graph for an unknown name or for roo and dso; /mcp redirects to plain http://; IOU Norms definitions arrive as the text of a Python dictionary in the 0.4.1 namespace, and their date goes out as valid-on where the Linked Data Explorer reads valid_on; the frbr: prefix lacks its #; cprmv:Method is labelled "Tool"; the AgreementEchelon β NaturalEchelon rename is not announced in the upstream changelog; and the Dockerfile comment, the /ref docstring and a mutable default argument in cbd_cprmv_json are stale or fragile.
v0.4.2 (October 2026)¶
How the API now finds its sources: Architecture. The vocabulary: CPRMV Vocabulary. The tests: Testing.
v0.4.2 - CPRMV
- Updates URIs and documentation to mention
0.4.2instead of0.4.1(vocabulary namespacehttps://standaarden.open-regels.nl/standards/cprmv/0.4.2#). - Echelons. A
cprmv:Echelonand six subclasses β Agreement, Semantic, Ontologic, Logic, Operable and Support β to which rule methods can be related, withcprmv:refinesTowardsandcprmv:refinesFrombetween them. - Acknowledgement of services and organisations.
OrganisationRegister,ServiceRegister,OrganisationCatalog,ServiceCatalog,AcknowledgedOrganisationandAcknowledgedService, related bycprmv:acknowledges, so that a catalog published in a register can act as an official publication method. cprmv:SerialisationMethodis added, andReferenceMethod(previously misspelledReferencenMethod) becomes a subclass ofPublicationMethod.- The method knowledge is split into modules, one folder per method under
rdf/0.4.2/methods/. New acknowledged methods include Catala, OpenFisca, ALEF with RegelSpraak, MC/DC as a test method, Legifrance and DSO as publication methods, STTR, the Normenbrief and RegelRecht; NRML is removed. - SHACL without recursion. The recursive
hasPartlist shape is replaced by a sequence-path shape, and the API's output for BWB, CVDR, DMN and Formex 4 validates against the shapes β DMN and Formex 4 with placeholdervalidFromandisOutputOfvalues for now.idandcommentaccept language-tagged strings. - The ReSpec documentation gains generated chapters on the methods and the API, and
npm run buildcreates the folders it writes to. The deprecatedexample/andtools/folders are removed.
v0.4.2 - CPRMV API
- Rule methods are plugins. Each publication and reference method is a Python module in
serve_api/methods/, loaded at startup byload_methods()and configured from its RDF description; the detection and transformation functions that lived inserve.pyare gone. - MCP through FastMCP at
/mcp, replacingfastapi-mcp. In the current deployment/mcpanswers 404 β the MCP app is built before the routes it should expose, and the container serves the plain app (standards/cprmv#31). - Python 3.14; the package versions are unpinned in
pyproject.tomland locked inrequirements.txt, with a script to refresh them. - Updates URIs and documentation to mention
0.4.2instead of0.4.1(serve-API and methods namespaceshttps://cprmv.open-regels.nl/0.4.2/β¦). - Ten of the thirteen API tests are disabled while they are rewritten for the plugin structure; see Testing.
The released image could not load its methods
The serve_api/Dockerfile on main does not copy serve_api/methods/, so an image built from it loads no rule method: every /rules ID answered No supported publication repository⦠and /ref returned 500 on all three hosts after the 0.4.2 deployment. The hosts were redeployed on 10 October 2026 with an image built from the fix in standards/cprmv!20. That merge request was closed; the same line reached main with v0.4.3.
v0.4.1 (June 2026)¶
v0.4.1 - CPRMV
- Updates URIs and documentation to mention
0.4.1instead of0.4.0(vocabulary namespacehttps://standaarden.open-regels.nl/standards/cprmv/0.4.1#). cprmv:RuleSetis now a subclass of FRBR Work (frbroo:F1_Work) instead ofeli:LegalResource: a formalisation such as a business rule is not in itself a legal resource in the ELI sense (noteeli:LegalResourceis itself a subclass of FRBR Work).cprmv:isBasedOnis now a subproperty offrbroo:R2_is_derivative_ofinstead ofeli:based_on; it remains a subproperty ofprov:wasDerivedFrom.- Documentation on properties added to the ReSpec specification.
- Class diagram in the ReSpec docs now uses the Elk layout engine (rectangular edges) via PlantUML instead of Graphviz.
- Fixes publication paths in the ReSpec document.
- Adds a PDF version of the ReSpec (built with pandoc, committed to the repository).
npm run build(andfull-package.json, which also generates the PDF and runs shaclgen) now also updates the ReSpec folder bundled with the CPRMV API.
v0.4.1 - CPRMV API
- Updates URIs and documentation to mention
0.4.1instead of0.4.0(serve-API/methods namespaceshttps://cprmv.open-regels.nl/0.4.1/β¦). /refendpoint reworked: the reference method is auto-detected from a singlereferencequery parameter (the/ref/{referencemethod}/{reference}path form is gone). Now (partly) supports Juriconnect, ELI to EU CELLAR, the CPRMV API/rulesrule-id path, and an experimental ELI style for NL (BWB/CVDR) references.- Bugfix: invalid arguments in a Juriconnect reference no longer cause an internal server error.
/cellar-by-celexnow redirects to the CELLAR output instead of returning the CELLAR URL as text.- New
/cellar-by-elihelper β works like/cellar-by-celexbut accepts ELI references (only those explicitly linked to EU CELLAR documents; partial ELIs do not resolve). - Fixes a quote-escaping bug for certain BWB resources.
/rulesalways returns acprmv:RuleSetwith at least the selectedcprmv:Ruleas part of it, so RuleSet-level properties always travel with the rule.- The RuleSet instance returned by
/rulesnow lives in thecprmv.open-regels.nl/operaton.open-regels.nlnamespace instead ofopencatalogi.open-regels.nl. /rulesautomatically adds a provenance link to the source publication on BWB, CVDR, FMX4 and DMN RuleSets (prov:wasDerivedFrom, the superproperty ofcprmv:isBasedOn)./rulesunformatnow applies before serializing to any requested format (e.g. rdflib'sn3), not onlycprmv-json./rulestransforms and dumps JSON in UTF-8 encoding.- Retrieving DMN files is now documented in the
/rulesSwagger docs. - Adds (basic) support for using the CPRMV API as an MCP server (
/mcp).
v0.4.0 β Initial Release (February 2026)¶
v0.4.0 - CPRMV
- More elaborated and updated RDFS/OWL/SHACL specification of CPRMV. Adds several new classes like types of methods. Adds start for alignment with ELI.
- Changes the official cprmv URI to one that resolves to the respective documentation
- Normative section generated from RDFS/OWL/SHACL in the ReSpec documentation
- Generated class diagram in ReSpec documentation
v0.4.0 - CPRMV API
- bugfixes around support for BWB schema (now supports circulaireβs)
- Adds /respec section hosting the respec documentation (besides the official URI)
- Adds /ref endpoint which is going to support all reference methods (but currently only implements juriconnect at a basic level)
- Allows for retrieving DMN 1.3 rulesets published in acknowledged (in value list in cprmvmethods.ttl) Operaton servers (currently only operaton.open-regels.nl)
Roadmap¶
Completed¶
| Feature | Version |
|---|---|
/ref without echoed headers or off-site redirects; the first Semgrep triage |
v2026.11.1 |
Release numbers, a release SBOM, /bump-release |
v2026.11.0 |
| CPRMV / CPRMV API | v0.4.3 |
| CPRMV / CPRMV API | v0.4.2 |
| CPRMV / CPRMV API | v0.4.1 |
| CPRMV / CPRMV API | v0.4.0 |
| CPRMV | v0.3.1 |
Planned¶
The repository's roadmap notes that it can change at any moment.
v0.4.4 β expected by 21 December 2026
- CPRMV: echelons and rule methods soft-typed with a type property, to simplify the vocabulary; method configuration layered by governance level (local, national, EU, worldwide); acknowledgement of the methods in the legal-technology typology inventory, PNA Group's iKnow as an analysis method, and more; DMN knowledge sources read as
cprmv:isBasedOn; Operaton rulesets referenced by name. - CPRMV API: every RuleSet referenced to a service with the right competent authority, for all supported methods; organisation and service catalogs in references; rule-method types keep their own class in the API; Catala, RegelSpraak, OpenFisca, Legifrance and MC/DC;
cprmv:isBasedOnrelations found automatically with ref2link and usable in references.
v0.4.5 β expected in the first quarter of 2027
- CPRMV: officially published Dutch parliamentary documents and the rulesets based on them; fully traceable examples from parliament to executed rules (Article 7a of the Dutch old-age pension law, the Flevoland home-battery subsidy, the Normenbrief, a service based on an STTR published in the DSO).
- CPRMV API: parliamentary documents; a cache for RuleSets, with recaching on request or when a new version appears and settings for memory and disk use; the API as a publishing node for one organisation's RuleSets, registered as that organisation's publication repository, with RuleSets signed by a key of the competent authority; security improvements.