* Emails are now case-insensitive. Thanks MariusMez for raising this point! * 🛑 Be sure to read the migration doc for important notices : [Migration documentation](https://frankie567.github.io/fastapi-users/migration/2x_to_3x/)
2.0.1
Not secure
Bug fixes
* Fix 171 : Swagger documentation for `/register` endpoint only shows relevant fields. Thanks martincolladofab! * The recommendation now is **not** to make the `UserRegister` model inherit from the `User` model. This way, you can fine tune the fields you want for registration.
2.0.0
Not secure
Breaking changes
* JWT authentication backend now outputs token in `access_token` property rather than `token`.
* Add `get_optional_user_*` dependency callables to optionally retrieve an authenticated user without raising an HTTP error. [[Documentation](https://frankie567.github.io/fastapi-users/usage/dependency-callables/#get_optional_current_user)]
Bug fixes
* Remove users router instantiated by `FastAPIUsers` in its constructor.