Skip to content

Releases: CERT-Polska/mwdb-core

v2.16.1

16 Dec 18:11
a2f49a0

Choose a tag to compare

Bugfixes:

  • Fix: broken hooks implementation after refactor, resulting in error "missing 1 required positional argument" (#1093)

Full Changelog: v2.16.0...v2.16.1

v2.16.0

01 Dec 13:22
927417a

Choose a tag to compare

Highlights:

  • Minimum supported Python version is 3.10 (#1070)

New features and improvements:

  • UI: Strings preview mode (by @KWMORALE in #1051)
  • Rich attributes: added arrayIndex and isLastElement local variables in array sections (#1060)
  • UI: Object actions are grouped in dropdown (by @KWMORALE in #1063)
  • Performance improvement: objects are ordered by upload_time, not (only) by id, so index is better utilized (#1068)
  • UI: Search field supports syntax coloring and autocompletion (by @psrok1 in #1072)
  • Password-based login can be disabled (#1083)
  • CLI: set-admin-password utility command to set admin password (by @psrok1 in #1084)
  • Web plugins: InjectAfter - allow to inject component in the middle of the original children list (by @psrok1 in #1085)

Bugfixes:

  • Rich attribute: disable auto-URL rendering that breaks URLs and e-mail addresses (#1059)
  • Consistent hooks calling (#1071)

New Contributors

Full Changelog: v2.15.1...v2.16.0

v2.15.1

29 Jul 17:03
4a12eb8

Choose a tag to compare

This release contains minor frontend bugfixes.

What's changed:

  • Fixed CSS for relations graph tags (by @yankovs in #1054)
  • Fix: set maxHeight to 100% for ConfirmationModal (set to 80% in v2.15.0) to keep compatibility with plugin modals that doesn't show correctly (#1055)
  • Added ability to add custom content style to ConfirmationModal (by @yankovs in #1053)

Thanks @yankovs for contributions!

Full Changelog: v2.15.0...v2.15.1

v2.15.0

24 Jun 11:43
1e38fa4

Choose a tag to compare

New features:

  • Lambdas: extension to Rich Attributes that allow transformation of objects and to render arbitrary widgets (by @yankovs and @psrok1 in #1021)
  • Feature: brownout deprecated API features via enable_brownout flag (by @psrok1 in #1007)
  • Feature: more configuration options for logging (#1026)
  • Dots are allowed in user and group names (#1014)
  • 'hash_pathing_fallback' option (#1017)
  • Feature: easy toggle to raw JSON view for Rich Attribute (#1044)

Improvements:

  • Limit exposed relationships type-wise to 100 elements (#1023)
  • Add index on comment.user_id (#992)
  • Changed object.tags eager-load strategy to select-in by @psrok1 in #996
  • Various dependency version bumps (sqlalchemy 1.3 -> 1.4, Vite v4 -> v6

Bugfixes:

  • Fix tag visibility in relation graph #1011 (by @postrowinski in #1012)
  • Fix Prometheus metrics MIME type and bump prometheus-client to 0.21.1 (#1016)

Full Changelog: v2.14.0...v2.15.0

v2.14.0

07 Oct 10:51
fcba133

Choose a tag to compare

New features and improvements:

  • Performance improvements:
    • Set collation of some string fields to 'C' to better utilize btree index. Be aware that database migration may took a while (#959)
    • Add index on comment.object_id column (#988)
  • Open-ID Connect improvements:
    • Fetching userinfo claims from userinfo endpoint, previously we assumed that they'll be send along with ID Token (#972)
    • Plugin-customizable OpenIDProvider class (#982)
    • OpenID Provider group is no longer a workspace and doesn't imply sharing objects within group (#974)
  • Custom rate limit settings for specific group of users (#987)
  • Allow to set limit of tags returned by TagListResource (#960)

Bugfixes:

  • Fix internal server error when querying without field (by @msm-cert in #957)
  • Fix: 'mwdb-core configure web' command after transition to Vite (#966)
  • Fix: 'Back' doesn't work in RecentView because of navigation loop (#975)

Full Changelog: v2.13.0...v2.14.0

v2.13.0

09 Jul 11:41
73d394c

Choose a tag to compare

This release is focused on further improvements of search performance and bugfixes.

It's recommended to upgrade your karton-system to v5.4.0 before applying this upgrade.

New features and improvements:

  • Improved performance of object lists in Web UI (#949)
  • Improved performance of wildcard queries for JSONB fields by @psrok1 in #943
  • Karton is upgraded to v5.4.0 with much faster analysis status lookup method (#938)
  • Tags are passed to Karton tasks (by @aBUDmdBQ in #934)
  • Frontend: added warning banner when server version is different than client version, so user needs to clear cache (#950)
  • Allow to set custom upload size limit via NGINX_MAX_UPLOAD_SIZE env var in mwdb-web Docker image
    (#930)

Bugfixes:

  • Fix: ISE 500 on concurrent tag addition (#926)
  • Fix: ISE 500 when non-numerical value appears in range search in JSON column by @psrok1 in #953
  • Fix possible issues with plugins after replacing Flask-RESTful with own implementation (#937)
  • Fix searching in diff mode (#941)
  • Fix too eager schema for FileItemResponseSchema.latest_config field that affected performance of getting file items (#942)
  • Fix unnecessary joined relationship for 'favorite' parameter affecting performance of searching and getting object lists (#948)

New Contributors

  • @aBUDmdBQ made their first contribution in #934

Full Changelog: v2.12.0...v2.13.0

v2.12.0

08 Mar 16:34
22a95a0

Choose a tag to compare

Upgrade highlights:

If you use plugins that are adding new endpoints to the API, you need to fix Resource imports before upgrade: What's changed

New features and improvements:

  • Support for Prometheus metrics (#908, Prometheus metrics docs)
  • Refactored search engine to improve search performance for configs, attributes and file names (#906)
  • UI: changed attribute adding modal to always show preview and make JSON values less concerning (#921)
  • Limited default verbosity of logs (#909, see note about enable_debug_log)
  • Added support for execute attribute that is passed to Karton to enable/disable execution in sandbox (#904, thanks @msm-cert)
  • Flask-Limiter was replaced with direct use of limits library (#915)
  • Dropped usage of Flask-Restful (#916)

Bug fixes:

  • Fix: installation issues on Debian 12 (bumped psycopg2-binary to 2.9.9, #922)
  • Fix: ISE 500 on user removal (#913)
  • Fix: Don't treat 0 number as an empty attribute value (#920)
  • Fix: MWDB doesn't surrender on Karton when can't be loaded eagerly and tries to load it lazily (#919)
  • Web: Fixed race condition with applying request_timeout value (#905)

Full Changelog: v2.11.0...v2.12.0

v2.11.0

31 Jan 16:57
606f7c7

Choose a tag to compare

New features and improvements:

Full Changelog: v2.10.3...v2.11.0

v2.10.3

25 Oct 14:25
a279a92

Choose a tag to compare

Bugfixes:

  • Bumped Werkzeug to 3.0.1 including critical fix for very slow upload of huge files having speciifc layout (see #885)
  • Fixed uneditable parent field in Upload view (#879)

v2.10.2

05 Sep 13:12
608d4eb

Choose a tag to compare

Bugfixes:

  • Fixed default web_bundle_dir so webapp works correctly in standalone PyPi installation (#873)