Repository navigation
2.0.0 #3
rennf93
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Flask API Guard 2.0.0 — guard-core Migration
Flask API Guard is now a thin adapter over guard-core, the framework-agnostic security engine that also powers fastapi-guard and djapi-guard.
What changed
guard-core1.0.0). This package provides only the Flask integration layer viabefore_request/after_requesthooks.cachetools,maxminddb,pydantic,redis, andrequestsare no longer direct dependencies (they come transitively throughguard-core).guard_core.sync.*modules for Flask's synchronous request model.Zero breaking changes to the public API
All existing imports continue to work exactly as before:
Why v2.0.0
The major version bump reflects the architectural shift — guard-core is now a required dependency, and internal modules (flaskapi_guard.core., flaskapi_guard.handlers., flaskapi_guard.detection_engine.*) no longer exist. If you only used the public API, no migration is needed.
One engine, three frameworks
All three share the same security engine, ensuring consistent behavior across frameworks.
Full Changelog: 1.1.1...2.0.0
This discussion was created from the release 2.0.0
All reactions