**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](https://mwdb.readthedocs.io/en/latest/whats-changed.html#important-change-replaced-flask-restful-with-own-lightweight-implementation)
**New features and improvements:**
- Support for Prometheus metrics (https://github.com/CERT-Polska/mwdb-core/pull/908, [Prometheus metrics docs](https://mwdb.readthedocs.io/en/latest/prometheus-guide.html))
- Refactored search engine to improve search performance for configs, attributes and file names (https://github.com/CERT-Polska/mwdb-core/pull/906)
- UI: changed attribute adding modal to always show preview and make JSON values less concerning (https://github.com/CERT-Polska/mwdb-core/pull/921)
- Limited default verbosity of logs (https://github.com/CERT-Polska/mwdb-core/pull/909, see [note about enable_debug_log](https://mwdb.readthedocs.io/en/latest/whats-changed.html#important-change-changes-in-logging-introduced-prometheus-metrics))
- Added support for `execute` attribute that is passed to Karton to enable/disable execution in sandbox (https://github.com/CERT-Polska/mwdb-core/pull/904, thanks msm-cert)
- Flask-Limiter was replaced with direct use of limits library (https://github.com/CERT-Polska/mwdb-core/pull/915)
- Dropped usage of Flask-Restful (https://github.com/CERT-Polska/mwdb-core/pull/916)
**Bug fixes**:
- Fix: installation issues on Debian 12 (bumped psycopg2-binary to 2.9.9, https://github.com/CERT-Polska/mwdb-core/pull/922)
- Fix: ISE 500 on user removal (https://github.com/CERT-Polska/mwdb-core/pull/913)
- Fix: Don't treat 0 number as an empty attribute value (https://github.com/CERT-Polska/mwdb-core/pull/920)
- Fix: MWDB doesn't surrender on Karton when can't be loaded eagerly and tries to load it lazily (https://github.com/CERT-Polska/mwdb-core/pull/919)
- Web: Fixed race condition with applying request_timeout value (https://github.com/CERT-Polska/mwdb-core/pull/905)
**Full Changelog**: https://github.com/CERT-Polska/mwdb-core/compare/v2.11.0...v2.12.0