ITADN
pallets-eco/flask-admin

版本发布 8

v2.0.0
? · 2025-10-25

Breaking changes from v1.6.1: * Removed support for Python <3.10 * Use of the `boto` library has been replaced by `boto3`. S3FileAdmin and S3Storage now accept an `s3_client` parameter taking a `boto3.client('s3')` instance rather than `aws_access_key_id`, `aws_secret_access_key`, and `region` parameters. * Azure Blob Storage SDK has been upgraded from the legacy version (v2) to the latest version (v12). AzureFileAdmin now accept `blob_service_client` rather than `connection_string` to give more flexibility with connection types. * Flask-BabelEx is no longer supported; the package is no longer maintained and Flask-Babel is recommended/active instead. * Mongoengine support in Flask-Admin no longer uses Flask-Mongoengine, as that library is no longer actively maintained. * Bootstrap2 and Bootstrap3 themes are no longer available. * `Admin()` now takes a `theme` parameter that encapsulates all of the configuration options for theming the admin instance. This replaces the `template_mode` parameter. * All remaining Flask-Admin config has been namespaced under `FLASK_ADMIN_`. | Config variable name | What's changed | |------------------------------------|------------------------------------| | FLASK_ADMIN_SWATCH | Removed; use <span class="title-ref">Theme(swatch=...)</span> instead | | FLASK_ADMIN_FLUID_LAYOUT | Removed; use <span class="title-ref">Theme(fluid=...)</span> instead | | MAPBOX_MAP_ID | Renamed to FLASK_ADMIN_MAPBOX_MAP_ID | | MAPBOX_SEARCH | Renamed to FLASK_ADMIN_MAPBOX_SEARCH | | MAPBOX_ACCESS_TOKEN | Renamed to FLASK_ADMIN_MAPBOX_ACCESS_TOKEN | | GOOGLE_MAPS_API_KEY | Renamed to FLASK_ADMIN_GOOGLE_MAPS_API_KEY | | DEFAULT_CENTER_LAT | Renamed to FLASK_ADMIN_DEFAULT_CENTER_LAT | | DEFAULT_CENTER_LONG | Renamed to FLASK_ADMIN_DEFAULT_CENTER_LONG | | ADMIN_RAISE_ON_INTEGRITY_ERROR | Renamed to FLASK_ADMIN_RAISE_ON_INTEGRITY_ERROR | | ADMIN_RAISE_ON_VIEW_EXCEPTION | Renamed to FLASK_ADMIN_RAISE_ON_VIEW_EXCEPTION | New functionality: * Added support for Python <=3.13 * The default query for pymongo can be overridden * Flask async routes are supported * Flask-Admin now supports the `host_matching` mode of Flask apps. See documentation for how to configure this where needed. * Flask-Admin is now compatible with SQLAlchemy v2+, Flask v3+, WTForms v3+, and Pillow v10+. * Flask-Admin now declares its dependencies and supported dependency versions more cleanly, including using pip extras. If you use Flask-Admin with SQLAlchemy, for example, you should use `pip install flask-admin[sqlalchemy]` or list `flask-admin[sqlalchemy]` in your requirements.txt or pyproject.toml files. * Apps using content security policies to restrict the assets that can be loaded can now whitelist Flask-Admin's assets by passing a `csp_nonce_generator` function to the Admin instance. See examples or documentation for how to configure this where needed. * `page_size_options` can now be configured on Admin models, to restrict the page sizes that users can select. These are now enforced properly and cannot be bypassed by URL hacking. Fixes: * Bootstrap menu icons should show up properly and not duplicated * Redis CLI commands are now case insensitive * SQLAlchemy boolean filters now convert "1" and "0" to Python booleans, which fixes a type coercion issue with psycopg(3). * Jinja templates can now be loaded in StrictUndefined mode. * Remove an implicit dependency on `packaging` * Fixed an error caused by the fallback implementation of `gettext()` (when used in templates) * Fixes compatibility with WTForms 3.2+. * The `Apply` button for filters will show/hide correctly again * Fix `translations_path` attribute when Flask-Admin is used with Flask-Babel * Some translation updates. * Date fields no longer override `widget` if set in `form_args` * “Save and Continue Editing” button no longer discards the “return URL” (allowing to retain filters when switching back to the list) Misc: * Translations and docs have been updated * Various type hinting improvements and fixes

v2.0.0a4预发布
? · 2025-02-22

Breaking changes: * Azure Blob Storage SDK has been upgraded from the legacy version (v2) to the latest version (v12). AzureFileAdmin now accept `blob_service_client` rather than `connection_string` to give more flexibility with connection types.

v2.0.0a3预发布
? · 2024-11-23

Fixes: Jinja templates can now be loaded in StrictUndefined mode. Remove an implicit dependency on packaging

v2.0.0a1预发布
? · 2024-10-26

2.0.0a1 ------- Fixes: * Fixes compatibility with WTForms 3.2+. * The `Apply` button for filters will show/hide correctly again * Fix `translations_path` attribute when Flask-Admin is used with Flask-Babel * Some translation updates. * Date fields no longer override `widget` if set in `form_args` * “Save and Continue Editing” button no longer discards the “return URL” (allowing to retain filters when switching back to the list)

v2.0.0a0预发布
? · 2024-09-03

## Changes from v1.x Breaking changes: - Added support for Python 3.12 - Dropped support for Python 3.7 - Flask-BabelEx is no longer supported; the package is no longer maintained and Flask-Babel is recommended/active instead. - Flask-Mongoengine is no longer supported due to that package being unmaintained. - Bootstrap2 and Bootstrap3 themes are no longer available. - `Admin()` now takes a `theme` parameter that encapsulates all of the configuration options for theming the admin instance. This replaces the `template_mode` parameter. - All remaining Flask-Admin config has been namespaced under `FLASK_ADMIN_`. | Config variable name | What’s changed | |----|-----------------------------------------------| | FLASK_ADMIN_SWATCH | Removed; use `Theme(swatch=...)` instead | | FLASK_ADMIN_FLUID_LAYOUT | Removed; use `Theme(fluid=...)` instead | | MAPBOX_MAP_ID | Renamed to FLASK_ADMIN_MAPBOX_MAP_ID | | MAPBOX_SEARCH | Renamed to FLASK_ADMIN_MAPBOX_SEARCH | | MAPBOX_ACCESS_TOKEN | Renamed to FLASK_ADMIN_MAPBOX_ACCESS_TOKEN | | GOOGLE_MAPS_API_KEY | Renamed to FLASK_ADMIN_GOOGLE_MAPS_API_KEY | | DEFAULT_CENTER_LAT | Renamed to FLASK_ADMIN_DEFAULT_CENTER_LAT | | DEFAULT_CENTER_LONG | Renamed to FLASK_ADMIN_DEFAULT_CENTER_LONG | | ADMIN_RAISE_ON_INTEGRITY_ERROR | Renamed to FLASK_ADMIN_RAISE_ON_INTEGRITY_ERROR | | ADMIN_RAISE_ON_VIEW_EXCEPTION | Renamed to FLASK_ADMIN_RAISE_ON_VIEW_EXCEPTION | Title New features: - Flask-Admin now supports the `host_matching` mode of Flask apps. See documentation for how to configure this where needed. - Flask-Admin is now compatible with SQLAlchemy v2+, Flask v3+, WTForms v3+, and Pillow v10+. - Flask-Admin now declares its dependencies and supported dependency versions more cleanly, including using pip extras. If you use Flask-Admin with SQLAlchemy, for example, you should use `pip install flask-admin[sqlalchemy]` or list `flask-admin[sqlalchemy]` in your requirements.txt or pyproject.toml files. - Apps using content security policies to restrict the assets that can be loaded can now whitelist Flask-Admin’s assets by passing a `csp_nonce_generator` function to the Admin instance. See examples or documentation for how to configure this where needed. - `page_size_options` can now be configured on Admin models, to restrict the page sizes that users can select. These are now enforced properly and cannot be bypassed by URL hacking. And various smaller bug fixes and documentation updates.

v2.0.0a0预发布
? · 2024-08-09

<!-- Release notes generated using configuration in .github/release.yml at master --> ## What's Changed ### Breaking changes 🛠 * Remove python 3.7 compatibility; add python 3.12 by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2453 * Replace Flask-BabelEx with Flask-Babel by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2460 * String null fix by @dgilman in https://github.com/pallets-eco/flask-admin/pull/2321 * Pull together all Flask-Admin theme configuration by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2462 * Use `FLASK_ADMIN_` prefix for all `app.config` configuration by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2472 * Remove (flask-)mongoengine support :( by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2493 ### Exciting new features 🎉 * Support mongoengine.DateField sorting by @amazingguni in https://github.com/pallets-eco/flask-admin/pull/2114 * Add Flask `host_matching` support to admin instances by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2461 ### Bug fixes 🐛 * In contrib/geoa factor out tileLayer(...).addTo(map) and update mapbox attributes by @TomGoBravo in https://github.com/pallets-eco/flask-admin/pull/2220 * Prevent using deprecated _data property in Peewee contrib by @nad2000 in https://github.com/pallets-eco/flask-admin/pull/1890 * Fixes #1728 by @macnewbold in https://github.com/pallets-eco/flask-admin/pull/2383 * Fixed AJAX data separator for select2 by @mklassen in https://github.com/pallets-eco/flask-admin/pull/2342 * solve sqlalchemy multiplte relationships issue by @jubafourali in https://github.com/pallets-eco/flask-admin/pull/1773 * Fixes missing parameters for InlineHstoreList by @Zasgard in https://github.com/pallets-eco/flask-admin/pull/2320 * Fix unexpected keyword argument for MongoFileField by @mbednarik in https://github.com/pallets-eco/flask-admin/pull/2273 * Fix value of `desc` param in filter form (`1` instead of `"True"`) by @ibushong in https://github.com/pallets-eco/flask-admin/pull/2265 * Fixes #2406: Multiple requests are sent when opening create, edit, and detail modals due to repetitive load of `bs4_modal.js` by @irtimir in https://github.com/pallets-eco/flask-admin/pull/2407 * Fix already exists translation by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2464 * Fix modal regression by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2468 ### Other changes * Bump vendored moment.min.js to 2.29.4 by @jamesliu4c in https://github.com/pallets-eco/flask-admin/pull/2387 * Add support for Pillow 10 by @tjni in https://github.com/pallets-eco/flask-admin/pull/2374 * Require Pillow >= 9.1.0 by @alanhamlett in https://github.com/pallets-eco/flask-admin/pull/2392 * Use isinstance instead of comparing class type by @alanhamlett in https://github.com/pallets-eco/flask-admin/pull/2393 * Remove Outdated Imports by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2335 * Remove use of deprecated query.get() by @mklassen in https://github.com/pallets-eco/flask-admin/pull/2340 * Docs + Example: Switch to maintained version of flask-security by @Dosenpfand in https://github.com/pallets-eco/flask-admin/pull/2373 * Fix incorrect docstrings in BaseModelView by @TurnrDev in https://github.com/pallets-eco/flask-admin/pull/2380 * Add extra_css and extra_js to advanced docs by @alanhamlett in https://github.com/pallets-eco/flask-admin/pull/2394 * Start removing code from _compat.py by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2329 * change the README to the correct path by @Yakikim in https://github.com/pallets-eco/flask-admin/pull/2272 * Update readme to add Pallets Ecosystem notice by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2434 * Standardise project structure for the Pallets Ecosystem by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2436 * Disable typing tests until we've typed the project by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2441 * Replace inspect.getargspec() that was removed in Python 3.11 by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2397 * Bump the github-actions group across 1 directory with 5 updates by @dependabot in https://github.com/pallets-eco/flask-admin/pull/2446 * Use correct file in examples/bootstrap4 by @OpenSourceSimon in https://github.com/pallets-eco/flask-admin/pull/2416 * Tuple field_flags are deprecated by @mklassen in https://github.com/pallets-eco/flask-admin/pull/2341 * Re-enable the `typing` github action by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2445 * Add missing `name` args to formatter functions by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2454 * Update README.md: Little fixes, better grammar, syntax and look. by @princerb in https://github.com/pallets-eco/flask-admin/pull/2450 * Fix examples/sqla-custom-inline-forms/app.py by @shouldsee in https://github.com/pallets-eco/flask-admin/pull/2362 * fix: example code for sqla-custom-inline-forms by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2465 * geo_alchemy: make application context available to db function by @mreid-tt in https://github.com/pallets-eco/flask-admin/pull/2410 * Test tsv model export using tablib by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2399 * Fix translating after WTForms 3 removed form._get_translations by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2473 * Remove bootstrap 2 and 3 by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2477 * Allow customising `page_size` options, and prevent arbitrary page sizes by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2479 * Fix Exception: Cannot find reverse relation for model by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2398 * Dependencies via pip extras by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2476 * Remove `appengine` support by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2481 * Fix test_different_bind_joins UnboundExecutionError by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2484 * SQLAlchemy 2.0 Compatibility by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2483 * Test min deps by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2482 * Revert "Add SQLAlchemy 1 support back to test_multi_pk.py" by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2491 * Support Content-Security-Policies via nonce values by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2480 * Replace obsolete intersphinx_mapping by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2494 * Update PostGIS Docker image by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2497 * Replace filter support for sqlalchemy_enum34 with sqlalchemy.Enum by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2496 * Compatibility with Flask 3, WTForms 3, SQLAlchemy 2.0 and others by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2467 * Fix doc build errors by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2500 * Add jinja2, markupsafe and werkzeug to dependencies by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2498 * Add changelog entry for v2 alpha release by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2499 * Fix styling when CSP is enabled by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2501 ## New Contributors * @jamesliu4c made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2387 * @tjni made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2374 * @mklassen made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2340 * @macnewbold made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2383 * @Dosenpfand made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2373 * @TurnrDev made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2380 * @jubafourali made their first contribution in https://github.com/pallets-eco/flask-admin/pull/1773 * @Zasgard made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2320 * @mbednarik made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2273 * @Yakikim made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2272 * @samuelhwilliams made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2434 * @amazingguni made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2114 * @OpenSourceSimon made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2416 * @princerb made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2450 * @irtimir made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2407 * @dgilman made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2321 * @shouldsee made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2362 * @mreid-tt made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2410 **Full Changelog**: https://github.com/pallets-eco/flask-admin/compare/v1.6.1...v2.0.0a0

v2.0.0a0预发布
? · 2024-08-08

<!-- Release notes generated using configuration in .github/release.yml at master --> ## What's Changed ### Breaking changes 🛠 * Remove python 3.7 compatibility; add python 3.12 by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2453 * Replace Flask-BabelEx with Flask-Babel by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2460 * String null fix by @dgilman in https://github.com/pallets-eco/flask-admin/pull/2321 * Pull together all Flask-Admin theme configuration by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2462 * Use `FLASK_ADMIN_` prefix for all `app.config` configuration by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2472 * Remove (flask-)mongoengine support :( by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2493 ### Exciting new features 🎉 * Support mongoengine.DateField sorting by @amazingguni in https://github.com/pallets-eco/flask-admin/pull/2114 * Add Flask `host_matching` support to admin instances by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2461 ### Bug fixes 🐛 * In contrib/geoa factor out tileLayer(...).addTo(map) and update mapbox attributes by @TomGoBravo in https://github.com/pallets-eco/flask-admin/pull/2220 * Prevent using deprecated _data property in Peewee contrib by @nad2000 in https://github.com/pallets-eco/flask-admin/pull/1890 * Fixes #1728 by @macnewbold in https://github.com/pallets-eco/flask-admin/pull/2383 * Fixed AJAX data separator for select2 by @mklassen in https://github.com/pallets-eco/flask-admin/pull/2342 * solve sqlalchemy multiplte relationships issue by @jubafourali in https://github.com/pallets-eco/flask-admin/pull/1773 * Fixes missing parameters for InlineHstoreList by @Zasgard in https://github.com/pallets-eco/flask-admin/pull/2320 * Fix unexpected keyword argument for MongoFileField by @mbednarik in https://github.com/pallets-eco/flask-admin/pull/2273 * Fix value of `desc` param in filter form (`1` instead of `"True"`) by @ibushong in https://github.com/pallets-eco/flask-admin/pull/2265 * Fixes #2406: Multiple requests are sent when opening create, edit, and detail modals due to repetitive load of `bs4_modal.js` by @irtimir in https://github.com/pallets-eco/flask-admin/pull/2407 * Fix already exists translation by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2464 * Fix modal regression by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2468 ### Other changes * Bump vendored moment.min.js to 2.29.4 by @jamesliu4c in https://github.com/pallets-eco/flask-admin/pull/2387 * Add support for Pillow 10 by @tjni in https://github.com/pallets-eco/flask-admin/pull/2374 * Require Pillow >= 9.1.0 by @alanhamlett in https://github.com/pallets-eco/flask-admin/pull/2392 * Use isinstance instead of comparing class type by @alanhamlett in https://github.com/pallets-eco/flask-admin/pull/2393 * Remove Outdated Imports by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2335 * Remove use of deprecated query.get() by @mklassen in https://github.com/pallets-eco/flask-admin/pull/2340 * Docs + Example: Switch to maintained version of flask-security by @Dosenpfand in https://github.com/pallets-eco/flask-admin/pull/2373 * Fix incorrect docstrings in BaseModelView by @TurnrDev in https://github.com/pallets-eco/flask-admin/pull/2380 * Add extra_css and extra_js to advanced docs by @alanhamlett in https://github.com/pallets-eco/flask-admin/pull/2394 * Start removing code from _compat.py by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2329 * change the README to the correct path by @Yakikim in https://github.com/pallets-eco/flask-admin/pull/2272 * Update readme to add Pallets Ecosystem notice by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2434 * Standardise project structure for the Pallets Ecosystem by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2436 * Disable typing tests until we've typed the project by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2441 * Replace inspect.getargspec() that was removed in Python 3.11 by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2397 * Bump the github-actions group across 1 directory with 5 updates by @dependabot in https://github.com/pallets-eco/flask-admin/pull/2446 * Use correct file in examples/bootstrap4 by @OpenSourceSimon in https://github.com/pallets-eco/flask-admin/pull/2416 * Tuple field_flags are deprecated by @mklassen in https://github.com/pallets-eco/flask-admin/pull/2341 * Re-enable the `typing` github action by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2445 * Add missing `name` args to formatter functions by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2454 * Update README.md: Little fixes, better grammar, syntax and look. by @princerb in https://github.com/pallets-eco/flask-admin/pull/2450 * Fix examples/sqla-custom-inline-forms/app.py by @shouldsee in https://github.com/pallets-eco/flask-admin/pull/2362 * fix: example code for sqla-custom-inline-forms by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2465 * geo_alchemy: make application context available to db function by @mreid-tt in https://github.com/pallets-eco/flask-admin/pull/2410 * Test tsv model export using tablib by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2399 * Fix translating after WTForms 3 removed form._get_translations by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2473 * Remove bootstrap 2 and 3 by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2477 * Allow customising `page_size` options, and prevent arbitrary page sizes by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2479 * Fix Exception: Cannot find reverse relation for model by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2398 * Dependencies via pip extras by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2476 * Remove `appengine` support by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2481 * Fix test_different_bind_joins UnboundExecutionError by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2484 * SQLAlchemy 2.0 Compatibility by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2483 * Test min deps by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2482 * Revert "Add SQLAlchemy 1 support back to test_multi_pk.py" by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2491 * Support Content-Security-Policies via nonce values by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2480 * Replace obsolete intersphinx_mapping by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2494 * Update PostGIS Docker image by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2497 * Replace filter support for sqlalchemy_enum34 with sqlalchemy.Enum by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2496 * Compatibility with Flask 3, WTForms 3, SQLAlchemy 2.0 and others by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2467 * Fix doc build errors by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2500 * Add jinja2, markupsafe and werkzeug to dependencies by @cjmayo in https://github.com/pallets-eco/flask-admin/pull/2498 * Add changelog entry for v2 alpha release by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2499 * Fix styling when CSP is enabled by @samuelhwilliams in https://github.com/pallets-eco/flask-admin/pull/2501 ## New Contributors * @jamesliu4c made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2387 * @tjni made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2374 * @mklassen made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2340 * @macnewbold made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2383 * @Dosenpfand made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2373 * @TurnrDev made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2380 * @jubafourali made their first contribution in https://github.com/pallets-eco/flask-admin/pull/1773 * @Zasgard made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2320 * @mbednarik made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2273 * @Yakikim made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2272 * @samuelhwilliams made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2434 * @amazingguni made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2114 * @OpenSourceSimon made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2416 * @princerb made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2450 * @irtimir made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2407 * @dgilman made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2321 * @shouldsee made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2362 * @mreid-tt made their first contribution in https://github.com/pallets-eco/flask-admin/pull/2410 **Full Changelog**: https://github.com/pallets-eco/flask-admin/compare/v1.6.1...v2.0.0a0

1.6.1v1.6.1
? · 2023-06-19

* SQLAlchemy 2.x support * General updates and bug fixes * Dropped WTForms 1 support