Skip to content

Releases: paperclip-rs/paperclip

v0.8.2

01 Oct 20:54
80b25af
Compare
Choose a tag to compare

[0.8.2] - 2023-09-27

Fixed

  • Pin openapiv3 to wa breaking change. PR#508

v0.8.1

20 Aug 21:05
015c6bc
Compare
Choose a tag to compare

[0.8.1] - 2023-08-20

Added

  • Add support for PathBuf type. PR#502
  • Add support for actix-identity type. PR#495
  • Add support for head method type. PR#493

Fixed

  • Correct parameter name ordering. PR#504
  • No spec path for json_spec_v3 and swagger-ui combination. PR#498

v0.8.0

14 Jan 23:04
5afe9c5
Compare
Choose a tag to compare

[0.8.0] - 2023-01-14 ⚠️ Breaking Changes

Added

  • Support non-boxed bodies in scope middleware. PR#457
  • Add uuid0 and uuid1 features. PR#461
  • Add Content-Type Header to Swagger-UI Requests. PR#467

Changed

  • Updated copyrights to use "Paperclip Contributors". PR#470
  • Switch from parking_lot to std::sync. PR#473
  • Replaced dependency pin-project with pin-project-lite. PR#472

Fixed

  • Ensures that each chunk is written fully (code-gen). PR#491
  • Strip template pattern from paths. PR#486
  • Inconsistent behavior between rapidoc and swagger_ui (extra slash). PR#460
  • Fixed header-based SecuritySchema conversion for OpenAPI v3. PR#458
  • Respect host setting of v2 spec when converting to v3. PR#463
  • Move root level extensions to root. PR#464
  • Apiv2Header link in documentation. PR#468

v0.7.1

27 Jul 08:07
Compare
Choose a tag to compare

[0.7.1] - 2022-07-27

Added

  • Add support for PATCH methods. PR#422
  • Add support for header parameters through the newly introduced Apiv2Header derive macro. PR#413
  • Add support for RapiDoc UI. PR#420
  • Add example support for derived Apiv2Schema. PR#421
  • Add ability to not generate documentation for some operations through the skip attribute on api_v2_schema macro. PR#423
  • Add support for deprecated operations. PR#424

Fixed

  • Fix missing slash between url parts PR#416
  • Properly support non-BoxBody response payload types PR#414
  • Fix required fields definition when using serde flatten PR#412
  • Fix reference urls not being RFC3986-compliant PR#411

v0.7.0

03 Apr 21:39
Compare
Choose a tag to compare

[0.7.0] - 2022-04-03

Added

  • Add openapi component rename attribute PR#367
  • Allow automatically adding the module path to the openapi component name, via a feature "path-in-definition" PR#373
  • Add missing ip, ipv4 and ipv6 string format types
  • Add support for actix-web 4
    • Middleware support does not support non-BoxBody response payload types.
      As a workaround you can use actix-web::middlware::Compat.
  • Add support for Schemas wrapping Generic types (e.g. DataResponse<T> where T also derives
    Apiv2Schema) PR#332
  • Add support for actix-web validator PR#403

Fixed

  • Add more tuple sizes for web::Path for OperationModifier impl PR#379
  • Add missing extensions to openapi v2 Info
  • Schemas that enclose Generics are no longer conflicting/overwritten

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