Skip to content

Latest commit

 

History

History
107 lines (77 loc) · 2.46 KB

CHANGELOG.md

File metadata and controls

107 lines (77 loc) · 2.46 KB

0.20.0

  • Fix security issue
  • Rename feature serve to serve-static
  • Add api to NamedFile

0.19.0

  • rewrite Error
  • add acme support
  • rename HttpError to StatusError, ReadError to ParseError.
  • fix router bugs.

0.18.0

  • remove Response::render_json

0.17.3

  • add piece

0.16.8

  • update dependencies

0.16.7

  • add logging middleware

0.16.6

  • improve http error catch.

0.16.5

  • nativeTls supported.

0.16.4

  • Add keys to Depot debug message
  • Response will set default http error when set status_code if it is error code.

0.16.3

  • BasicAuthValidator async validate function

0.16.2

  • Fix cookie not write bug.
  • rename all features name, repalce '_' with '-'.

0.16.1

  • Add trait IntoAddrIncoming.

0.16.0

  • RustlsListener hot reload supported.
  • Create a new Server API simpler than hyper's Server API.

0.15.0

  • core: Use hyper Server and remove TlsServer. Add TlsListener, TcpListener, UnixListener, JoinedListener.
  • core: depot api changed.
  • core: change trait Handler and add FlowCtrl.
  • extra: add session supports.

0.14.0

  • 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.

0.13.3

  • upgrade to rust edition 2021;
  • many apis changed;
  • add many unit tests and fix many bugs.

0.12.2

  • core: add with_path to Router.

0.12.0

  • core: use multer to parse multipart.
  • core: FilePart rename filename to file_name.

0.11.6

  • extra: fix proxy bug.

0.11.5

  • extra: pub fs and dir mod in serve.
  • fix bug: wrong Stream impl for Body.

0.11.4

  • feature: Add regex support for wildcard match with * or **.
  • use static var for default catchers.

0.11.2

  • fix bug: in router num with no limit.

0.11.1

  • extra serve: move default chunk size to name file.
  • core fs: rewrite chunked file.
  • fix: after handler must be executed.
  • remove double check cell.