Releases: dolamroth/starlette-web
Releases · dolamroth/starlette-web
0.1.10
CHANGES
- Updated anyio from 4.4.0 to 4.6.0. This fixes many important cancellation issues on asyncio backend. See https://github.com/agronholm/anyio/releases/tag/4.5.0 and https://github.com/agronholm/anyio/releases/tag/4.6.0 for more information
- Updated libraries versions
- Allow disabling fetching database connection for Http and WS endpoints, if it is not needed
- Split JWTAuthBackend to common and contrib version, so that user does not have to always import contrib model
User
- Added openapi summary to all endpoints
FIXES
- Fixed typo in
constance
docs - Fixed cache tests with
anyio.move_on_after
(related to abovementioned anyio update)
0.1.9
BREAKING INCOMPATIBLE CHANGES
settings.DB_USE_CONNECTION_POOL_FOR_MANAGEMENT_COMMANDS
removed in favor of command line option--use_pool
- added
settings.SKIP_CHECKS
and--skip_checks
to control, whether checks should be skipped on application startup
CHANGES
- py_win_task_scheduler on Windows: added warning, if
show
command has insufficient priviledges, also show reason of error - Added decorator for
marshmallow.fields.Method
to introspect its schema forapispec
- Allow passing schema context to
_validate
and_response
methods ofBaseHTTPEndpoint
- Use
ExitStack
instead ofnullcontext
(which is not available until Python 3.11) - Add missing dependency exceptiongroup (which is not automatically installed on Python 3.12)
- Tested and documented authentication for websockets
- (Partially) fixed possible backpressure problem on Channels with InMemoryChannel
- Fixed error in
AnonymousUser
0.1.8
- Refactored InMemoryChannelLayer, allow setting
max_buffer_size
- Fix bug in Channels, where publishing within other subscribe loop with InMemoryChannelLayer could lead to deadlock
- Use StarletteJSONEncoder for jwt.encode
- Allow using password validation with generic BaseUserMixin
- Additional options to supply error detail, fix certain condition when error detail was not returned
- Fixed Dockerfile with respect to new version of starlette/github CI
0.1.7
- Updated requirements' versions
- Added experimental support of MQTT channel layer (atop of gmqtt)
- Allow custom kwargs on Channel
subscribe
andpublish
methods - Added option to switch between
date
andauto incrementing
(django-like) prefix for migrations (by @Merser4) - Introspection for API schemas classnames collisions
- Introspection for API path params
- Added example of per-route middleware (like
decorator_from_middleware
) - Refactoring (--settings, channels, apps validations, aiosmtplib, etc.)
0.1.6
0.1.5
BREAKING INCOMPATIBLE CHANGES:
- Removed deprecated ModelMixin. Now only SQLAlchemy.ORM should be used for all queries.
Fixes:
- fixed shielding in base websocket endpoint and test chat endpoint
- fixed nginx sample config
- added missing
chardet
dependency - reverted using
async with
in base http endpoint
Additions:
- added
StorageManager
interface - added non-zero retry intervals for all locks
0.1.4
0.1.3
- Changes setup.py/setup.cfg in favor of pyproject.toml, fixed markdown on pypi and removed
__pycache__
from build - Fixed handling incorrect number of parameters in starlette-web-admin
- Added settings.DEFAULT_REQUEST_PARSER and settings.DEFAULT_RESPONSE_RENDERER
0.1.2
- BREAKING CHANGE:
contrib.apispec
: OpenApiView now represents both old OpenApiView and RedocView. Specify GET-paramformat
(redoc
/openapi
) to vary output. This matches the behavior ofschema-view
fromdrf-yasg
and makes it simplier to obtain SCHEMA_URL in redoc endpoint. - Fixed multiple possible bugs on startup, relating to missing checks
- Fixed bug with introspecting management command on Linux
- Updated library versions for better support with Python 3.9 and 3.11
- Added helper argparse_types for management commands (
starlette_web.common.management.utils
) - Added missing
notin
lookup for ModelMixin, documented its usage