open-forms icon indicating copy to clipboard operation
open-forms copied to clipboard

Deprecations to remove in 3.0

Open sergei-maertens opened this issue 1 year ago • 2 comments

A list of breaking changes to make when we get to version 3.0

CTRL + F on DeprecationWarning in the backend to find more.

  • [ ] INVESTIGATE: can we keep existing endpoints on /api/v2/ and new ones to /api/v3/ so we don't have to move everything at once?

  • Appointments

    • [ ] Remove old-style (form.io based) appointment flow
      • [ ] most of appointments.utils
      • [ ] extracting the appointment data from a submission
      • [ ] Frontend code to manage appointment (tab)
    • [ ] Remove "invalid input serializer -> return empty result list" in favour of raising a validation error exception
  • Formio

    • [ ] Old cosign (see https://github.com/open-formulieren/open-forms/issues/3283#issuecomment-1645425517)
      • [ ] Remove component
      • [ ] Remove support for co-sign flow in openforms.authentication views/API endpoints
      • [ ] https://github.com/open-formulieren/open-forms/issues/4308
    • [ ] Remove fd_translations_converter module (this will affect exports < 3.0 that have legacy translations)
    • [x] #3718
    • [ ] Drop password component?
  • Form design

    • [ ] Remove 'formStep' in location action in favour of formStepUuid
    • [ ] Make FormDefinitionSerializer.name readOnly (name is set via translations)
    • [ ] Proper solution for form step references? https://github.com/open-formulieren/open-forms/blob/8f7b003e285893a158036dfc54ffd58f478bd12d/src/openforms/submissions/models/submission_step.py#L98
    • [ ] Delete _data model field https://github.com/open-formulieren/open-forms/blob/8f7b003e285893a158036dfc54ffd58f478bd12d/src/openforms/submissions/models/submission_step.py#L102
  • Styling/NL DS

    • [ ] Remove compatibility shims from of-page-header-* and of-page-footer-* in favour of utrecht-page-header-* and utrecht-page-footer-* tokens
      • components/_page-header.scss
      • components/_page-footer.scss
  • Registration:

    • [ ] Objects API/ZGW groups shouldn't have fields nullable
    • [ ] Remove v1 options of Objects API (templates based), only the "api contract" feature will be supported
    • [ ] Remove objecttype URL -> UUID import converter hook
    • [ ] Remove document type conversion hook (if it exists)
    • [ ] Make migrating easier, see https://github.com/open-formulieren/open-forms/issues/4590#issuecomment-2296053364
  • Misc

    • [ ] Move /api/v2/location/get-street-name-and-city to /api/v3/geo/address-autocomplete
      • Set up a redirect from old to new endpoint
    • [ ] Normalize API endpoints to use dashes rather than underscores
    • [ ] Remove OR filtering in the FD endpoint: https://github.com/open-formulieren/open-forms/pull/3542
    • [ ] Remove legacy digid_eherkenning_oidc callback endpoints
    • [ ] Remove legacy admin/org-oidc callback endpoints

sergei-maertens avatar Jul 21 '23 08:07 sergei-maertens