Skip to content

v1.3.0

Latest

Choose a tag to compare

@serge-krot serge-krot released this 18 Nov 17:26
· 1 commit to main since this release

✨ Highlights

  • Folders and projects: diagrams and forms are organized in folders, with projects at the top level, a folder of their own for every user and a default folder per user.
  • Process keys and form ids are unique per folder instead of across all models.
  • Read-only models: models open read-only when the user may only view them, and the start page offers only the actions the user may perform.
  • New extension points for the start page, the form editor, autosave and form snapshots.
  • Refreshed design of the toolbar, canvas buttons, tabs, console panel, dialogs and start page.
  • Many fixes for deploying, starting and importing models.

⚠️ Upgrade Notes

  • No global stylesheet (#209): the library no longer bundles main.css and custom-bootstrap.css. dist/cibseven-modeler.css now holds only the styles of the modeler's own components. The host application provides the global and Bootstrap styles.
  • Removed exports (#160, #200): TemplateManagement, AddElementTemplateModal, CategorizedTemplateView and DiagramListItem are no longer exported. Element template management is no longer part of the library; a host can add it to the start page through the new start-page-tools plugin slot. New exports: FilesTable, FolderNameModal, FolderPickerModal, and the template helpers categorizeTemplates, applicableTaskTypes, UNCATEGORIZED_TASK_TYPE and UNCATEGORIZED_GROUP_NAME.
  • Translations (#160, #161): the templatesManagement keys and the top-level Name, Created by and Actions keys were removed from all languages.
  • Peer dependencies: @cib/common-frontend is now ^1.1.0 (was ^1.0.4), vue ^3.5.42 (was ^3.5.33), vue-i18n ^11.4.14 (was ^11.4.0), axios ^1.20.0 (was ^1.18.1) and moment ^2.31.0 (was ^2.30.1). The others are unchanged.
  • Process keys per folder (#217): several folders may now hold models with the same process key or form id. Deploying any of them adds a version to the same process definition.

🚀 New Features

Folders and projects

  • Folders (#176, #189): browse with a breadcrumb; create, rename, move and delete folders; copy or move models into another folder. Folders at the top level are projects.
  • Personal and default folder (#195, #196): every user gets a folder of their own on the first visit, and a star sets the folder the modeler opens by default. Only an administrator can rename, move or delete a user's folder.
  • Files table (#200, #202): folders and models are listed in a table in the layout of the webclient's lists, with a search across all folders and a type filter.
  • Imports land in the open folder (#181): new, imported and dropped models are stored in the folder on screen.
  • Keys per folder (#217): process keys and form ids are checked per folder. A copy into another folder keeps its key, the deploy dialog warns when another model uses the same key, and a form referenced by a BPMN diagram is taken from the same folder first.
  • Rights and read-only mode (#207, #216): the start page shows the user's rights on a project, models open read-only for viewers, and tool plugins are left out of a read-only tab.
  • Open from Cockpit (#205): a model opened from Cockpit opens in its folder; when the stored model differs from the deployed one, the modeler asks which version to open.
  • Copy and move dialog (#220): clearer folder picker for copy and move.

Editor

  • Search button next to the canvas controls of the BPMN and DMN editors (#191).
  • Close tabs from the overflow menu (#159).
  • Expanding a sub-process moves the neighboring elements aside instead of covering them (#188).
  • Element templates without a group are listed under Not categorized (#183).

Extensibility

  • start-page-tools plugin slot on the start page (#160).
  • form-tools plugin panel in the form editor; the plugin gets the editor callbacks and the tab (#173).
  • Autosave hooks (#115, #193): an autosaveHook provided by the host switches on autosave, offered in a menu under the save button. Without a hook, nothing changes.
  • Form history and snapshot comparison in the form toolbar, when the host provides them (#169, #171).

Design

  • Refreshed design of the toolbar, canvas buttons, tabs, console panel and dialogs (#153, #219).
  • Start page aligned with the theme: light New folder and Import buttons, no colour flash between levels, a search field like the webclient's, file menus that stay in view, hover and tooltips on the file menus, and a briefcase icon for projects (#204, #214, #222).
  • Main action last in dialogs (#202).
  • The bpmn.io badge sits in the same corner in the BPMN, DMN and form editors (#185).

🛠️ Fixes

  • Deploy and start (#228, #232): Deploy and start starts the executable process instead of failing for diagrams with pools, a double click no longer deploys twice, and Start process starts the definition of the tenant the deployment went to.
  • Deployment errors (#158, #230): the reason of a failed deployment is shown, a failed start is reported, and a wrong password when deploying as another user no longer logs the user out of the host application.
  • Login without Remember me (#231): deploying as the current user works again; the session token is also read from sessionStorage.
  • Import (#225, #229): failed files are no longer counted as imported, Replace no longer marks a tab as saved after a failed update, and Rename of a diagram with a collaboration no longer produces duplicate ids.
  • Process key validation (#227): keys are checked against the XML id rules when creating, copying and renaming on import, so Process_1 is accepted and keys with spaces or : are refused.
  • BPMN validation (#180, #203): aligned with Camunda 7.24. Valid ad hoc sub processes no longer show errors; label-required, fake-join and no-inclusive-gateway are no longer reported; no-implicit-end and no-gateway-join-fork are warnings.
  • Dialogs (#235): one project or diagram per click in the new project and new diagram dialogs, also with repeated clicks or Enter.
  • Form editor (#175): the properties panel updates again after changes.
  • Sub-process breadcrumbs are no longer covered by the palette (#186).
  • CibsevenTable sorts columns with empty cells (#162) and sets aria-sort to the ARIA values ascending, descending and none, without the attribute on non-sortable columns (#211).

🔒 Security

  • Resolved CVEs in the dependency tree (#166, #167, #224): postcss, undici and brace-expansion (build and test toolchain), and dompurify 3.4.17 (via @bpmn-io/form-js). The published library is not affected: it bundles none of them, and @bpmn-io/form-js comes from the host application.

📦 Dependencies

  • @cib/common-frontend 1.1.0, vue 3.5.42, vue-i18n 11.4.14, axios 1.20.0 and moment 2.31.0 (peer dependencies, see Upgrade Notes).
  • Dev and build tooling: eslint 10.8.1, vite 6.4.5, vitest 4.1.12, @vitest/coverage-istanbul 4.1.12, vite-plugin-vue-devtools 8.1.1, bpmnlint 11.15.0 and bpmnlint-plugin-camunda-compat 2.60.3.

New Contributors

Full Changelog: v1.2.0...v1.3.0