Skip to content

Releases: dolamroth/starlette-web

0.1.10

23 Sep 20:01
Compare
Choose a tag to compare

CHANGES

FIXES

  • Fixed typo in constance docs
  • Fixed cache tests with anyio.move_on_after (related to abovementioned anyio update)

0.1.9

29 Apr 18:31
Compare
Choose a tag to compare

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 for apispec
  • Allow passing schema context to _validate and _response methods of BaseHTTPEndpoint
  • Use ExitStack instead of nullcontext (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

07 Feb 19:25
Compare
Choose a tag to compare
  • 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

20 Jan 15:26
Compare
Choose a tag to compare
  • Updated requirements' versions
  • Added experimental support of MQTT channel layer (atop of gmqtt)
  • Allow custom kwargs on Channel subscribe and publish methods
  • Added option to switch between date and auto 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

17 Sep 14:28
Compare
Choose a tag to compare
  • Renamed EnumTypeColumn to ChoiceColumn
  • Force ChoiceColumn to only accept subclass of starlette_web.common.utils.choices.Choices
  • Make Choices accept labels
  • Allow passing non-empty response body for 204, 304 status codes (circumvents specific uvicorn check)

0.1.5

02 Sep 09:56
Compare
Choose a tag to compare

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

18 Apr 20:51
Compare
Choose a tag to compare

BREAKING CHANGE -- deprecated response_status in BaseHttpEndpoint, default error_schema and response now return payload directly. You have to manually change default renderer and error_schema, should you want to implement otherwise.

0.1.3

15 Apr 08:44
96bd141
Compare
Choose a tag to compare
  • 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

13 Apr 19:28
Compare
Choose a tag to compare
  • BREAKING CHANGE: contrib.apispec: OpenApiView now represents both old OpenApiView and RedocView. Specify GET-param format (redoc/openapi) to vary output. This matches the behavior of schema-view from drf-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

0.1.1

02 Apr 21:37
514e68e
Compare
Choose a tag to compare
  • Added experimental support for Filesystem Storage
  • Brought some fixes from other forks of encode/broadcaster
  • Fixed "asgi.py" in repository
  • Minor refactoring