Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.94 KB

CHANGELOG.md

File metadata and controls

50 lines (35 loc) · 1.94 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Changed

  • Corrected the declared MSRV to 1.88, which the locked dependency graph requires via time 0.3 - the previously declared 1.75 was never buildable
  • Bumped GitHub Actions to their latest major versions

Added

  • npm run bump / npm run release scripts that tag a version and create the GitHub Release, which the release workflow publishes to crates.io

Added

  • set_on_authentication_required callback for re-authenticating a client before automatically retrying a Request that returned 401 Unauthorized, on both the async and blocking clients

Added

  • JsonServiceClient for consuming ServiceStack APIs with generated typed DTOs
  • IRequest/IReturn/IReturnVoid traits, letting the client infer each API's Response Type and HTTP Method from its Request DTO
  • Structured ResponseStatus errors in WebServiceException, incl. field errors
  • api() results that return errors instead of a separate Err
  • Auth with Basic Auth, API Keys, Bearer Tokens, Refresh Tokens and Session Cookies
  • Batched (send_all), one-way (publish) and custom URL Requests
  • Built-in ServiceStack DTOs referenced by generated DTOs (ResponseStatus, QueryBase, QueryResponse<T>, Authenticate, ...)
  • Optional blocking feature with a sync client in servicestack::blocking
  • Optional multipart feature for file uploads