Releases: paperclip-rs/paperclip
Releases · paperclip-rs/paperclip
v0.9.4
v0.9.3
What's Changed
- build: update openapiv3 to v2.0 by @tiagolobocastro in #525
- feat: openapiv3 cli-ng codegen by @tiagolobocastro in #506
- fix: exit with error code on failure by @tiagolobocastro in #506
Added Experimental openapiv3 cli-ng codegen
Full Changelog: v0.9.2...v0.9.3
v0.9.2
What's Changed
- doc: Add instructions for git submodules by @RaulTrombin in #535
- Use re-export of serde_json in macros by @Sufflope in #541
- Change proc-macro-error dependency to proc-macro-error2 in macros by @thomedw in #545
- fix: bump paperclip-macros minor by @tiagolobocastro in #546
New Contributors
- @RaulTrombin made their first contribution in #535
- @Sufflope made their first contribution in #541
- @thomedw made their first contribution in #545
Full Changelog: v0.9.1...v0.9.2
v0.9.1
What's Changed
- fix(actix): support parsing arrays for schemas by @tiagolobocastro in #531
- chore: prepare 0.9.1 release by @tiagolobocastro in #533
Full Changelog: v0.9.0...v0.9.1
v0.9.0
[0.9.0] - 2024-09-07 ⚠️ Breaking Changes
Breaking Changes
Removed feature indexmap since it may simply be enabled via openapiv3
Fixed
- Support latest openapiv3 and indexmap. PR#507
- Clippy useless vec lint. PR#511
- Add lint ignores to paperclip unit struct. PR#514
- Fix map conversion for openapiv3. PR#529
Added
- Add TermsOfService to the openapi spec. PR#522
- Add max/min for integers. PR#523
- Parse max/min attributes on fields. PR#524
- Add support for jiff via feature flag. PR#526
- Support generic array size. PR#527
What's Changed
- fix(openapiv3-indexmap): support indexmap 2 by @tiagolobocastro in #508
- fix(useless vec): clippy + performance fix by @mharkins-cosm in #511
- add lint ignores to paperclip unit struct by @formlogic-kirk in #514
- ci: fix build failures by @tiagolobocastro in #521
- fix: add missing tos by @tiagolobocastro in #522
- feat: add max/min for 8, 16 and 128 bit integers by @tiagolobocastro in #523
- feat(openapi): add max and min attribute parsing by @tiagolobocastro in #524
- Add support for jiff by @snaggen in #526
- switch to const generic array instead of 0-32 manual impl of schema type by @formlogic-kirk in #527
- fix maps in v2->v3 schema conversion by @formlogic-kirk in #529
- doc: update changelog by @tiagolobocastro in #530
New Contributors
- @formlogic-kirk made their first contribution in #514
Full Changelog: v0.8.2...v0.9.0
v0.8.2
v0.8.1
v0.8.0
[0.8.0] - 2023-01-14 ⚠️ Breaking Changes
Added
- Support non-boxed bodies in scope middleware. PR#457
- Add
uuid0
anduuid1
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
tostd::sync
. PR#473 - Replaced dependency
pin-project
withpin-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
andswagger_ui
(extra slash). PR#460 - Fixed header-based
SecuritySchema
conversion forOpenAPI 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
[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
v0.7.0
[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 useactix-web::middlware::Compat
.
- Middleware support does not support non-
- Add support for Schemas wrapping Generic types (e.g.
DataResponse<T>
whereT
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