- Fix security issue
- Rename feature serve to serve-static
- Add api to NamedFile
- rewrite Error
- add acme support
- rename HttpError to StatusError, ReadError to ParseError.
- fix router bugs.
- remove Response::render_json
- add piece
- update dependencies
- add logging middleware
- improve http error catch.
- nativeTls supported.
- Add keys to Depot debug message
- Response will set default http error when set status_code if it is error code.
- BasicAuthValidator async validate function
- Fix cookie not write bug.
- rename all features name, repalce '_' with '-'.
- Add trait IntoAddrIncoming.
- RustlsListener hot reload supported.
- Create a new Server API simpler than hyper's Server API.
- core: Use hyper Server and remove TlsServer. Add TlsListener, TcpListener, UnixListener, JoinedListener.
- core: depot api changed.
- core: change trait
Handler
and addFlowCtrl
. - extra: add session supports.
- core::http: Request and Response's from_hyper function removed and impl From trait now.
- core::http: Cleanup StatusError.
- core::http: Use FlowState to control write data to response.
- core: remove impl Handler for tuple.
- extra::baisc_auth:
- add USERNAME_KEY and BasicAuthDepotExt
- remove context_key functions.
- extra::jwt_auth:
- add consts AUTH_CLAIMS_KEY, AUTH_STATE_KEY, AUTH_TOKEN_KEY
- all extractors add card_methods functions. CookieExtractor ignore PUT, PATH, POST, PATCH methods for csrf.
- add JwtAuthDepotExt.
- add enum JwtAuthState.
- upgrade to rust edition 2021;
- many apis changed;
- add many unit tests and fix many bugs.
- core: add with_path to Router.
- core: use multer to parse multipart.
- core: FilePart rename filename to file_name.
- extra: fix proxy bug.
- extra: pub fs and dir mod in serve.
- fix bug: wrong Stream impl for Body.
- feature: Add regex support for wildcard match with * or **.
- use static var for default catchers.
- fix bug: in router num with no limit.
- extra serve: move default chunk size to name file.
- core fs: rewrite chunked file.
- fix: after handler must be executed.
- remove double check cell.