Skip to content

Tags: juhaku/utoipa

Tags

utoipa-swagger-ui-10.0.1

Toggle utoipa-swagger-ui-10.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix utoipa-swagger-ui build (#1624)

Utoipa-swagger-ui build failed to build with `cache` feature on because
sha2 crate had updated its `generic-array` to `hybrid-array` dependency
breaking the existing implementation hex formatting. More details here:
RustCrypto/hybrid-array#201

utoipa-gen-6.0.1

Toggle utoipa-gen-6.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix min properties schema generation (#1623)

This bug has been around since `utoipa-gen 5.1.3` where the
`#[schema(min_properties=...)]` gets generated as `max_properties`
attribute.

Closes #1622

utoipa-swagger-ui-vendored-0.2.0

Toggle utoipa-swagger-ui-vendored-0.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Remove support for expression ignore in `ToSchema` and `IntoParams` (#…

…1619)

This commit removes support for expression style ignore attribute from `ToSchema` and `IntoParams` macro. This is to fix issue where ignore sometimes did not ignore values, because it was evaluated in runtime and function reference ignore can be evaluated only during runtime but we need to evaluate this at build time thus removing the possibility to define function reference as ignore attribute value.


 ## Breaking

Following syntax demonstrates what was allowed before, but will be not available in new version 6.
```rust
// before allowed

fn ignore_always() -> bool {
  true
}

#[derive(ToSchema)]
struct Value {
  #[schema(ignore = ignore_always)]
  field: String
}
```

utoipa-swagger-ui-10.0.0

Toggle utoipa-swagger-ui-10.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Remove support for expression ignore in `ToSchema` and `IntoParams` (#…

…1619)

This commit removes support for expression style ignore attribute from `ToSchema` and `IntoParams` macro. This is to fix issue where ignore sometimes did not ignore values, because it was evaluated in runtime and function reference ignore can be evaluated only during runtime but we need to evaluate this at build time thus removing the possibility to define function reference as ignore attribute value.


 ## Breaking

Following syntax demonstrates what was allowed before, but will be not available in new version 6.
```rust
// before allowed

fn ignore_always() -> bool {
  true
}

#[derive(ToSchema)]
struct Value {
  #[schema(ignore = ignore_always)]
  field: String
}
```

utoipa-scalar-0.4.0

Toggle utoipa-scalar-0.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Remove support for expression ignore in `ToSchema` and `IntoParams` (#…

…1619)

This commit removes support for expression style ignore attribute from `ToSchema` and `IntoParams` macro. This is to fix issue where ignore sometimes did not ignore values, because it was evaluated in runtime and function reference ignore can be evaluated only during runtime but we need to evaluate this at build time thus removing the possibility to define function reference as ignore attribute value.


 ## Breaking

Following syntax demonstrates what was allowed before, but will be not available in new version 6.
```rust
// before allowed

fn ignore_always() -> bool {
  true
}

#[derive(ToSchema)]
struct Value {
  #[schema(ignore = ignore_always)]
  field: String
}
```

utoipa-redoc-7.0.0

Toggle utoipa-redoc-7.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Remove support for expression ignore in `ToSchema` and `IntoParams` (#…

…1619)

This commit removes support for expression style ignore attribute from `ToSchema` and `IntoParams` macro. This is to fix issue where ignore sometimes did not ignore values, because it was evaluated in runtime and function reference ignore can be evaluated only during runtime but we need to evaluate this at build time thus removing the possibility to define function reference as ignore attribute value.


 ## Breaking

Following syntax demonstrates what was allowed before, but will be not available in new version 6.
```rust
// before allowed

fn ignore_always() -> bool {
  true
}

#[derive(ToSchema)]
struct Value {
  #[schema(ignore = ignore_always)]
  field: String
}
```

utoipa-rapidoc-7.0.0

Toggle utoipa-rapidoc-7.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Remove support for expression ignore in `ToSchema` and `IntoParams` (#…

…1619)

This commit removes support for expression style ignore attribute from `ToSchema` and `IntoParams` macro. This is to fix issue where ignore sometimes did not ignore values, because it was evaluated in runtime and function reference ignore can be evaluated only during runtime but we need to evaluate this at build time thus removing the possibility to define function reference as ignore attribute value.


 ## Breaking

Following syntax demonstrates what was allowed before, but will be not available in new version 6.
```rust
// before allowed

fn ignore_always() -> bool {
  true
}

#[derive(ToSchema)]
struct Value {
  #[schema(ignore = ignore_always)]
  field: String
}
```

utoipa-gen-6.0.0

Toggle utoipa-gen-6.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Remove support for expression ignore in `ToSchema` and `IntoParams` (#…

…1619)

This commit removes support for expression style ignore attribute from `ToSchema` and `IntoParams` macro. This is to fix issue where ignore sometimes did not ignore values, because it was evaluated in runtime and function reference ignore can be evaluated only during runtime but we need to evaluate this at build time thus removing the possibility to define function reference as ignore attribute value.


 ## Breaking

Following syntax demonstrates what was allowed before, but will be not available in new version 6.
```rust
// before allowed

fn ignore_always() -> bool {
  true
}

#[derive(ToSchema)]
struct Value {
  #[schema(ignore = ignore_always)]
  field: String
}
```

utoipa-config-0.1.3

Toggle utoipa-config-0.1.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Remove support for expression ignore in `ToSchema` and `IntoParams` (#…

…1619)

This commit removes support for expression style ignore attribute from `ToSchema` and `IntoParams` macro. This is to fix issue where ignore sometimes did not ignore values, because it was evaluated in runtime and function reference ignore can be evaluated only during runtime but we need to evaluate this at build time thus removing the possibility to define function reference as ignore attribute value.


 ## Breaking

Following syntax demonstrates what was allowed before, but will be not available in new version 6.
```rust
// before allowed

fn ignore_always() -> bool {
  true
}

#[derive(ToSchema)]
struct Value {
  #[schema(ignore = ignore_always)]
  field: String
}
```

utoipa-axum-0.3.0

Toggle utoipa-axum-0.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Remove support for expression ignore in `ToSchema` and `IntoParams` (#…

…1619)

This commit removes support for expression style ignore attribute from `ToSchema` and `IntoParams` macro. This is to fix issue where ignore sometimes did not ignore values, because it was evaluated in runtime and function reference ignore can be evaluated only during runtime but we need to evaluate this at build time thus removing the possibility to define function reference as ignore attribute value.


 ## Breaking

Following syntax demonstrates what was allowed before, but will be not available in new version 6.
```rust
// before allowed

fn ignore_always() -> bool {
  true
}

#[derive(ToSchema)]
struct Value {
  #[schema(ignore = ignore_always)]
  field: String
}
```