What's Changed
Bugfixes
- Fix the typing for
url_for
kwargs unpack by @whiskeyriver in #1610 - Fix #1615: Using
websocket_listener
in controller causesTypeError: .handler_fn() got multiple values for argument 'socket'
by @provinzkraut in #1627
New features
- Add
connection_accept_handler
towebsocket_listener
by @peterschutt in #1572 - Add
block
andtimeout
parameters toWebSocketTestSession
receive methods by @provinzkraut in #1593 - Add
--app-dir
option to CLI by @cofin in #1506 - Add repository signature namespace by @sonpro1296 in #1618
- MessagePack support and generator methods to
WebSocket
by @provinzkraut in #1626 - Sentinel column support for SQLAlchemy repository by @cofin in #1603
- Alias generator for DTO field names by @abdulhaq-e in #1590
- Support nested field exclusion in DTO Factory by @peterschutt in #1596
- Support managing a WebSocket's lifespan using a context manager in WebSocket listeners by @provinzkraut in #1625
- WebSocket broadcast / channels by @provinzkraut in #1587
Other changes
- Add ModelProtocol to
contrib.sqlalchemy.base.__all__
by @provinzkraut in #1582 - Make
dto.factory.backends
private by @peterschutt in #1589
Internal
- Move model parsing into
AbstractDTOBackend
. by @peterschutt in #1597 - DTO: Refactor transfer model production by @peterschutt in #1632
Documentation
- Fix typo / formatting in basic application tutorial by @provinzkraut in #1583
- DTO docs by @peterschutt in #1569
- Add Jacob Coffee as a maintainer by @provinzkraut in #1594
- Fix wrong CLI argument name by @provinzkraut in #1633
- Fix a function name typo by @erhuabushuo in #1598
New Contributors
- @erhuabushuo made their first contribution in #1598
- @whiskeyriver made their first contribution in #1610
Full Changelog: v2.0.0alpha5...v2.0.0alpha6