Skip to content

FUND-2747 DRC: phase out API version 1.0 (keep 1.1/1.5/1.7) - #233

Merged
heuvea merged 5 commits into
mainfrom
feature/FUND-2747-DRC-1_7-phase-out-v1_0
Sep 25, 2026
Merged

heuvea merged 5 commits into
mainfrom
feature/FUND-2747-DRC-1_7-phase-out-v1_0

Conversation

@heuvea

@heuvea heuvea commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Removes DRC (Documenten) API version 1.0 so the service supports the latest
three versions only (1.1, 1.5, 1.7).

  • Drop 1.0.0/1.0.1 from ApiMetaData.SupportedVersions and the LatestVersion_1_0
    constant.
  • Remove the 1.0-only EnkelvoudigInformatieObjecten actions and strip
    [ZgwApiVersion(1.0)] from the shared base-v1 actions (Delete + audit-trail
    reads, GebruiksRechten/ObjectInformatieObjecten CRUD) that keep serving
    1.1/1.5/1.7.
  • Remove the now-dead 1.0-only command/query handlers, request/response
    contract DTOs, validators and Mapster mappings.
  • Keep everything still referenced by 1.1/1.5/1.7 or the internal ServiceAgent
    (shared query-parameter DTOs + mappings, Create/Response DTOs).
  • Migrate the affected unit tests to 1.7 and drop tests for removed mappings.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com# Pull Request

Description

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation

Related Issues

Testing

  • Tests pass
  • Manual testing completed

Checklist

  • Self-review completed
  • Documentation updated (if needed)

heuvea and others added 4 commits September 19, 2026 19:13
Removes DRC (Documenten) API version 1.0 so the service supports the latest
three versions only (1.1, 1.5, 1.7).

- Drop 1.0.0/1.0.1 from ApiMetaData.SupportedVersions and the LatestVersion_1_0
  constant.
- Remove the 1.0-only EnkelvoudigInformatieObjecten actions and strip
  [ZgwApiVersion(1.0)] from the shared base-v1 actions (Delete + audit-trail
  reads, GebruiksRechten/ObjectInformatieObjecten CRUD) that keep serving
  1.1/1.5/1.7.
- Remove the now-dead 1.0-only command/query handlers, request/response
  contract DTOs, validators and Mapster mappings.
- Keep everything still referenced by 1.1/1.5/1.7 or the internal ServiceAgent
  (shared query-parameter DTOs + mappings, Create/Response DTOs).
- Migrate the affected unit tests to 1.7 and drop tests for removed mappings.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings September 24, 2026 10:57
@heuvea heuvea added Documenten API Related to Documenten (DRC) component Maintenance labels Sep 24, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Comment thread src/OneGround.ZGW.Besluiten.Web/Startup.cs Dismissed
Comment thread src/OneGround.ZGW.Zaken.Web/Startup.cs Dismissed
@heuvea
heuvea merged commit 88f6722 into main Sep 25, 2026
8 checks passed
@heuvea
heuvea deleted the feature/FUND-2747-DRC-1_7-phase-out-v1_0 branch September 25, 2026 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documenten API Related to Documenten (DRC) component Maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants