Releases: paperclip-rs/paperclip
Releases · paperclip-rs/paperclip
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
v0.6.1
[0.6.1] - 2021-10-15
Fixed
- Actix2 plugin: fix compilation error
ReqData
not found
What's Changed
- chore: several fixes by @tiagolobocastro in #350
- chore: prepare release of version 0.6.1 by @tiagolobocastro in #351
Full Changelog: v0.6.0...v0.6.1
v0.6.0
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
andwith_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
supportsurl
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 therequired
fields. - Actix plugin: Path tuples now inherit field names and descriptions from doc comments
What's Changed
- Preserve newlines in docstring description by @sfisol in #271
- Fix optional type aliases by @omid in #272
- Some code styling, thanks to nightly fmt and clippy by @omid in #273
- Fix clippy::field_reassign_with_default in macros by @sfisol in #275
- Support actix-files by @amarjanica in #277
- Define list items on query parameters by @platy in #278
- Provide the --no-root flag to the CLI which allows the crate to be embedded by @erikh in #281
- Update itertools requirement from 0.9 to 0.10 by @dependabot-preview in #283
- fix(tuples): make doc work in tuple struct path by @tiagolobocastro in #287
- fix(doc): missing documentation on types by @tiagolobocastro in #297
- feat(macro): add macro helpers for method routing by @tiagolobocastro in #289
- fix(tests): PR#289 needs an update after PR#297 by @tiagolobocastro in #302
- Adding impl for actix_web::Scope::app_data by @Jake-S6 in #303
- Actix plugin: add an empty impl for actix-web ReqData by @dsferruzza in #315
- chore: remove travis in preparation for GHA by @tiagolobocastro in #338
- ci: added github-actions by @ansrivas in #339
- ci: added linters by @ansrivas in #340
- feat(skip): add support for serde skip by @tiagolobocastro in #309
- Update paperclip version by @JackBocresion in #326
- properties with a leading '@' should be renamed to 'at_' to allow both variants (e.g. @type and type) at the same time by @jens1205 in #344
- feat: expose openapi v3 spec by @tiagolobocastro in #311
- feat(error responses): error responses definitions by @tiagolobocastro in #307
- chore: update cicd to include v3 feature test by @tiagolobocastro in #345
- fix: add missing Configure app_data and trim paths by @tiagolobocastro in #312
- Upgrade to GitHub-native Dependabot by @dependabot-preview in #319
- Update strum_macros requirement from 0.19 to 0.22 by @dependabot in #348
- Update strum requirement from 0.19 to 0.22 by @dependabot in #347
- Add Url feature by @patrickelectric in #334
- swagger-ui: Add feature by @patrickelectric in #331
- chore: prepare release of version 0.6 by @tiagolobocastro in #349
New Contributors
- @amarjanica made their first contribution in #277
- @erikh made their first contribution in #281
- @tiagolobocastro made their first contribution in #287
- @Jake-S6 made their first contribution in #303
- @dsferruzza made their first contribution in #315
- @JackBocresion made their first contribution in #326
- @jens1205 made their first contribution in #344
- @dependabot made their first contribution in #348
- @patrickelectric made their first contribution in #334
Full Changelog: v0.5.0...v0.6.0