- Fixed peewee dbtransaction for fastapi.
- Removed deprecated peewee autorollback option.
- Added annotated fastapi dependencies.
- Possible fix for Honeybadger exception masking the actual exceptions.
- Honeybadger 403 errors will not be raised anymore.
- Improved FastAPI honeybadger integration.
- Added socialauth.goog.fetch_info_using_jwt for fetching user info using Google JWT
- Won't rotate logs by default. Pass rotate=True.
- Added support for Piccolo ORM
- Fixed get_by_secondary_key of CachedModel
- Added secondary_key support for CachedModel
- Added @response_model for FastAPI endpoints
- Fixed operation_id generation
- Fixed _get_matched_keys access for ReadOnlyCachedModel
- site_ctx implementation for FastAPI
- user_agent directive for FastAPI & Hug
- ignore_site_ctx implementation for FastAPI & Hug
- count_matched_keys implementation for ReadOnlyCachedModel
- Breaking: moved apphelpers.sessions.whoami to apphelpers.rest.{hug/fastapi}.whoami
- New convenient decorators in apphelpers.rest.endpoint
- any_group_required and all_groups_required implementation for FastAPI
- Improved errors
- Other improvements and fixes
- Moved CI from travis to github actions
- Support for FastAPI framework.
- Email INTERNAL_EMAIL_DOMAINS will also restrict bcc email recipients.
- Fixed typo
- settings.INTERNAL_EMAIL_DOMAINS must me defined for email sending safety in non-prod env. e.g. INTERNAL_EMAIL_DOMAINS = ['example.com', 'example.org'] allows sending emails to only address ending with example.com or example.org
- Reusable utility format_msg added in email module to format email message
- Support for optionally addding headers added to email message
- For site-bound sessions, restrict access if site_id is missing
- session destroy fix for site-bound sessions
- site_id check fix for site-bound sessions
- Support for new directives: user_groups, user_site_groups, user_site_ctx
- Ambiguously named groups_required decorator is now replaced with any_group_required
- New decorator: all_groups_required
- Support for resyncing & destroying context bound session
- Support for context bound sessions
- Implement ReadWriteCachedModel.decrement()
- Extend sesion timeout fix for lookup key
- Implement sessions.sid2uid()
- Rename Config directive MD_* to SMTP_*
- Fix for SMTP+SSL connection
- applogger: general purpose application logging
- Support for custom authorizaion
- Report function args in honeybadger context
- New options groups_forbidden and groups_required to secure API access
- First release on PyPI.