Skip to content

Releases: paperclip-rs/paperclip

v0.6.1

15 Oct 15:17
6278968
Compare
Choose a tag to compare

[0.6.1] - 2021-10-15

Fixed

  • Actix2 plugin: fix compilation error ReqData not found

What's Changed

Full Changelog: v0.6.0...v0.6.1

v0.6.0

14 Oct 08:51
c411f85
Compare
Choose a tag to compare

Added

  • Add support for actix-web-macros methods routing PR#289
  • Actix plugin: add an empty impl for actix-web ReqData<T>
  • Add support for the #[serde(skip)] attribute in structs and enums.
  • Expose openapi v3 spec through with_json_spec_v3_at and with_raw_json_spec_v3 - this is done through a conversion from
    the v2 types to v3 and so all existing code should be valid. It also means that we're not yet exposing any specific
    v3 features.
  • Added new method trim_base_path to trim the api base path from all method paths.
  • Apiv2Schema supports url PR#334
  • Add swagger-ui for visualization/test of API via with_swagger_ui_at PR#331.

Changed

  • Actix plugin: #[api_v2_errors] macro now supports adding different error schemes per response code.
  • Actix plugin: Add new #[api_v2_errors_overlay] macro which can be used to filter out unwanted responses from an existing error type.

Fixed

  • Optional type aliases like type Email = Option<String> will not be added to the required fields.
  • Actix plugin: Path tuples now inherit field names and descriptions from doc comments

What's Changed

New Contributors

Full Changelog: v0.5.0...v0.6.0

v0.5.0

30 Nov 12:19
Compare
Choose a tag to compare
Update book

v0.4.1

01 Jul 18:33
Compare
Choose a tag to compare
Bump minor version for release

v0.4.0

13 Jun 17:01
Compare
Choose a tag to compare
Switch to mime::Mime for MediaRange

v0.3.0

30 Jul 11:16
Compare
Choose a tag to compare
Updated for release

v0.2.0

02 Jul 19:15
Compare
Choose a tag to compare
Update CHANGELOG

v0.1.0

13 Jun 05:46
Compare
Choose a tag to compare
Releasing 0.1.0