Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 13, 2025

Bumps flask-admin from 2.0.0a4 to 2.0.2.

Release notes

Sourced from flask-admin's releases.

v2.0.2

v2.0.1

  • Fix documentation
  • Update arabic translations

v2.0.0

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 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

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)

... (truncated)

Changelog

Sourced from flask-admin's changelog.

2.0.2

2.0.1

  • Fix documentation
  • Update arabic translations

2.0.0

Breaking changes:

  • 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_.

.. list-table:: Configuration Changes :widths: 50 50 :header-rows: 1

    • 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

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [flask-admin](https://github.com/pallets-eco/flask-admin) from 2.0.0a4 to 2.0.2.
- [Release notes](https://github.com/pallets-eco/flask-admin/releases)
- [Changelog](https://github.com/pallets-eco/flask-admin/blob/master/doc/changelog.rst)
- [Commits](pallets-eco/flask-admin@v2.0.0a4...v2.0.2)

---
updated-dependencies:
- dependency-name: flask-admin
  dependency-version: 2.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 13, 2025
@codecov
Copy link

codecov bot commented Nov 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.05%. Comparing base (25eb362) to head (dcf4861).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1232   +/-   ##
=======================================
  Coverage   64.05%   64.05%           
=======================================
  Files          40       40           
  Lines        2462     2462           
=======================================
  Hits         1577     1577           
  Misses        885      885           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 25eb362...dcf4861. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant