# Deprecations

The document contains all breaking changes in application and processing.

# 2020-10-31

  • Webserver
    • use new URL for uploads (/webfiles/ => /_/uploads/)

# 2020-10-30

  • LPL (Lotus Programming Language)
  • Panels
    • render.display is deprecated, use extra.enabled
  • Lattenizer
    • $_linker->nextAllowed() is deprecated, no replacement
    • $_linker->nextLink() is deprecated, use $_linker->nextLink($id)
    • {lotuslink process-detail $id} is deprecated, use $_linker->detailLink($id)

# 2020-10-01

  • API
    • /api/v1/snippets moved to /api/v1/application/snippets
    • /api/v1/user-groups/{gid} user group ident changed from id -> gid
    • /api/v1/user-groups/{gid}/append-users user group ident changed from id -> gid

# 2020-08-04

  • API
    • /api/v1/processes request structure of variables changed
    • {variables: [ { name: invoice, value: "2020000123" } ]
    • {variables: [ { name: invoice, value: "2020", operator: "~" } ]
    • {variables: [ { name: invoice, value: "6000", operator: ">", cast: "number" } ]

# 2020-07-12

  • Processing
    • field inbox moved under meta.inbox.description
  • Panels
    • calendar: rename modify to modifyExpiration

# 2020-06-08

  • API: /api/v1/calendar endpoint removed
  • Processing
    • deprecate typeDef at files variable definition (moved to file_upload panel)
    • deprecate typeDef at datus variable definition (moved to datus panel)
  • Panels

# 2020-04-14

API endpoints support include key in URL. Related data are included if query key include with items separated by comma , is sent. Otherwise are sent only their IDs (in case data can be fetched separately, otherwise key is not included at all)

/api/v1/timers

  • response
    • key processStep renamed to process_step

/api/v1/plans

  • request
    • query key include (include=creator,template)
  • response
    • template_id and creator_id replaced by template['id'] and creator['id']

/api/v1/processes

  • request
    • variables are now only name => value pairs instead of ['name' => 'example', 'value' => 'variable data']
    • query key include (include=creator,template,currentStep,steps,variables)
  • response
    • removed id of variable from variables - it's internal and cannot be used in any way
    • creator_id replaced by creator['id']
    • removed name because it's template property, use include=template instead
    • template is not included by default, only template['id'], use include=template instead
    • current_step is not included by default, use include=currentStep instead
    • variables are not included by default, use include=variables instead
    • steps are not included by default, use include=steps instead
    • steps contain key inbox
    • steps content synchronized with current_step
    • steps keys resolver_id and resolver_fullname replaced by resolver['id']. Fetch user data separately instead
    • process data returned by /processes and /processes/{id} synchronized, processes from both contain the same

/api/v1/snippets

  • request
    • query key include (creator)
  • response
    • author_id replaced by creator['id']

/api/v1/template-processes

  • request
    • query key include (include=creator,steps)
  • response
    • creator_id and creator_fullname replaced by creator['id']. Fetch user data separately or use include=creator instead
    • steps no longer contain steps count and are not included by default. Use include=steps to fetch steps (with sid, name and type keys
    • processes no longer contain processes count and are fully removed, use /processes?templateId={templateId} instead

/api/v1/user-groups

  • request
    • query key include (include=users)
  • response
    • userIds replaced by users - instead of list of user id's is sent list of users with id only - Use include=users to fetch users.

# 2020-02-21

  • Processing: convert $__user from SecurityUserProxy to UserProxy

# 2019-11-04

  • Processing many config keys related to ui moved under config > ui
    • all panels - title -> ui > title
    • all panels - description -> ui > description
    • all panels - text -> ui > description (except next)
    • next - text -> ui > tooltip
    • next - caption -> ui > caption
    • quick_action - list of actions is under actions key
    • discussion - placeholder -> ui > placeholder
    • process_delete - caption -> ui > caption
    • sudo_self_resolver - color -> ui > color
    • youtube_player - ratio -> ui > ratio
    • map - height -> ui > height
  • Processing LPL support
    • youtube_player - video & ratio

# 2019-10-17

  • API: /api/v1/user-groups/{id} remove gid from request body (disabled to edit)

# 2019-10-16

  • Environment variables for Adminus CRM renamed from ADMINUS to ADMINUS_CRM

# 2019-10-15

  • API: /api/v1/processes/{pid}/tags uses template tag key instead of ID

# 2019-10-07

  • Processing
    • dropped expiration from Process template and Process
    • dropped mutation_process_expiration
    • planning panel/callback modify changed from enum to bool (no BC break)
  • API
    • /api/v1/processes/{pid}/plans/{sid} modify from enum to bool (BC break)
    • expiration removed from process detail

# 2019-08-06

  • API
    • snippet create name moved from url to body. Returns 201 on success
    • snippet delete id instead of name. Return 204 on success
    • /api/v1/user/detail/{id} moved to /api/v1/user/{id}
    • /api/v1/users/detail/email?email=foo merged to /api/v1/users?email=foo
    • /api/v1/user-groups/{id}/combine moved to /api/v1/user-groups/{id}/append-users
    • /api/v1/processes/detail/{id} moved to /api/v1/processes/{id}
    • tag create returns 201 on success.
    • tag delete returns 204 on success.
    • /api/v1/start-process moved to /api/v1/template-processes/{id}/start-process
    • /api/v1/template-processes/{id}/start-process, templateId instead od template
    • /api/v1/process/{id}/upload moved to //api/v1processes/{id}/upload
    • /api/v1/processes parameter creator renamed to creatorId
    • /api/v1/template-processes/detail/{id} moved to /api/v1/template-processes/{id}
    • /api/v1/template-processes/startable moved to /api/v1/template-processes?startableOnly=true
    • in all responses creator, resolver renamed to creator_id and resolver_id

# 2019-06-04

  • LPL - increase_interval renamed to timeCombine
  • ProcessStepTimers - __sum property removed